/* -------------------------------------------------------------------------
   CSS Reset & Normalize
 ------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F0F6FA;
  color: #213655;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.01em;
}
img {
  border: 0;
  max-width: 10%;
  display: block;
}
ol, ul {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
a {
  text-decoration: none;
  color: #213655;
  transition: color 0.16s;
}
a:focus {
  outline: 2px dashed #579BAA;
  outline-offset: 2px;
}
a:hover {
  color: #579BAA;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #213655;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p {
  margin-bottom: 14px;
  color: #2E4159;
  font-size: 1rem;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
}
 section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Container & Layout Utility Classes */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
}

/* -------------------------------------------------------------------------
   Header & Navigation
 ------------------------------------------------------------------------- */
header {
  background: #213655;
  box-shadow: 0 3px 14px rgba(33, 54, 85,0.04);
  padding: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 16px;
  gap: 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F0F6FA;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a.cta {
  background: #579BAA;
  color: #fff;
  border-radius: 24px;
  padding: 8px 22px;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(87,155,170,0.10);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  transition: filter 0.18s, background 0.18s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #41768a;
  filter: brightness(0.98);
}
header nav a:hover,
header nav a:focus {
  background: rgba(87,155,170,0.18);
  color: #fff;
}
header img[alt="KartaPorównaj"] {
  height: 42px;
  margin-right: 28px;
}
header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F0F6FA;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 8px;
  margin-left: 16px;
  transition: background 0.18s, color 0.18s;
  z-index: 201;
  align-self: stretch;
}
header .mobile-menu-toggle:focus, header .mobile-menu-toggle:hover {
  background: #579BAA;
  color: #fff;
}
/* -------------------------------------------------------------------------
   Mobile Menu Overlay
 ------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(33,54,85,0.97);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.78,.23,.22,.89);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
  width: 100vw;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 20px 16px 20px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 10px;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #579BAA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  border-radius: 8px;
  padding: 13px 0 13px 6px;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background .17s, color .17s;
  display: flex;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #579BAA;
  color: #fff;
}
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1020px) {
  header .container {
    padding-right: 10px;
  }
}

/* -------------------------------------------------------------------------
   Hero Section Styles
 ------------------------------------------------------------------------- */
.hero {
  background: #F0F6FA;
  padding: 72px 0 56px 0;
  margin-bottom: 0;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 700px;
}
.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: #213655;
}
.hero p {
  font-size: 1.16rem;
  color: #466081;
  margin-bottom: 36px;
}
.hero .cta {
  margin-top: 12px;
}

/* -------------------------------------------------------------------------
   Flex Utility Patterns (as required)
 ------------------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(87,155,170,0.08);
  padding: 32px 24px;
  flex: 1 1 340px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 265px;
  max-width: 390px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(33,54,85,0.05);
  background: #fff;
  margin-bottom: 24px;
  font-size: 1rem;
  color: #23304A;
}
.testimonial-card p {
  flex: 1 1 auto;
  margin-bottom: 0;
  color: #213655;
  font-weight: 500;
  font-size: 1.11rem;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #579BAA;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(87,155,170,0.08);
}
/* For guide/article lists, snippet cards, etc. */
.guide_list_preview, .featured_guides_list, .values_list, .trust_points, .criteria_list, .rights_descriptions, .terms_sections {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

/* Feature Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 225px;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(33,54,85,0.054);
  border-radius: 10px;
  padding: 24px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid img {
  width: 40px; height: 40px;
  margin-bottom: 10px;
}
.feature-grid h3 {
  font-size: 1.15rem;
  color: #213655;
  margin-bottom: 7px;
}
.feature-grid p {
  font-size: 0.99rem;
  color: #466081;
}

/* Card Ranking Snippet */
.card_ranking_snippet ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(33,54,85,0.07);
  margin-bottom: 18px;
}
.card_ranking_snippet li {
  font-size: 1.09rem;
  color: #213655;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.card_ranking_snippet li span {
  color: #579BAA;
  font-weight: 600;
}

/* General Card/Button Styles */
.cta, button.cta {
  display: inline-block;
  background: #213655;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 10px 32px;
  margin: 14px 6px 0 0;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(33,54,85, 0.08);
  transition: background 0.14s, box-shadow 0.17s, color 0.13s;
  letter-spacing: 0.01em;
  outline: none;
}
.cta:hover, .cta:focus, button.cta:focus, button.cta:hover {
  background: #579BAA;
  color: #fff;
  box-shadow: 0 2px 18px rgba(87,155,170,0.11);
}

/* Table Styles */
.comparison-table, .ranking_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(33,54,85,0.08);
  margin-bottom: 28px;
  overflow: hidden;
  font-size: 1rem;
}
.comparison-table th, .ranking_table th {
  background: #579BAA;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 6px;
  text-align: left;
  font-size: 1.04rem;
  font-weight: 600;
  border-right: 1px solid #E0E6ED;
}
.comparison-table th:last-child, .ranking_table th:last-child {
  border-right: none;
}
.comparison-table td, .ranking_table td {
  border-bottom: 1px solid #EFF3F6;
  padding: 12px 6px;
  background: #fff;
  color: #213655;
  font-size: 0.98rem;
  vertical-align: middle;
}
.comparison-table tr:last-child td, .ranking_table tr:last-child td {
  border-bottom: none;
}
.comparison-table input[type="checkbox"], .ranking_table input[type="checkbox"] {
  transform: scale(1.18);
  accent-color: #579BAA;
  cursor: pointer;
}
/* Table Responsive */
@media (max-width: 650px) {
  .comparison-table, .ranking_table, .comparison-table thead, .comparison-table tbody, .ranking_table thead, .ranking_table tbody {
    display: block;
  }
  .comparison-table tr, .ranking_table tr {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(33,54,85,0.06);
    margin-bottom: 14px;
    overflow-x: auto;
    background: #fff;
  }
  .comparison-table th, .ranking_table th {
    display: none;
  }
  .comparison-table td, .ranking_table td {
    display: flex;
    width: 100%;
    border: none;
    align-items: center;
    padding: 11px 13px;
  }
  .comparison-table td:before, .ranking_table td:before {
    content: attr(data-label);
    flex-basis: 40%;
    font-weight: 600;
    color: #579BAA;
    font-size: 0.97rem;
    margin-right: 12px;
  }  
}

/* -------------------------------------------------------------------------
   Section & Article Utilities
 ------------------------------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.articles_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.articles_grid article {
  background: #fff;
  box-shadow: 0 2px 14px rgba(87,155,170,0.09);
  border-radius: 10px;
  padding: 24px 18px 16px 18px;
  min-width: 205px;
  max-width: 320px;
  flex: 1 1 245px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.categories_filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.categories_filter button {
  background: none;
  border: 1.5px solid #579BAA;
  color: #579BAA;
  border-radius: 16px;
  padding: 6px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  margin-right: 7px;
  transition: background 0.15s, color 0.13s, border-color 0.14s;
}
.categories_filter button:hover, .categories_filter button:focus {
  background: #579BAA;
  color: #fff;
  border-color: #213655;
}
.pagination {
  display: flex;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  color: #213655;
  margin-bottom: 18px;
  align-items: center;
}
.search_guides {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.search_guides input[type="text"] {
  border: 1px solid #579BAA;
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 1rem;
  background: #fff;
  color: #213655;
  margin-left: 6px;
  transition: border-color 0.16s;
}
.search_guides input[type="text"]:focus {
  border-color: #213655;
  outline: none;
}

/* -------------------------------------------------------------------------
   Forms & Accordion
 ------------------------------------------------------------------------- */
.faq_accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq_accordion h3 {
  cursor: pointer;
  font-weight: 600;
  color: #213655;
  background: #F0F6FA;
  border-radius: 3px;
  padding: 10px 12px;
  margin-bottom: 4px;
  font-size: 1.09rem;
  transition: background 0.18s;
}
.faq_accordion h3.active, .faq_accordion h3:hover {
  background: #d9ebf3;
  color: #579BAA;
}
.faq_accordion p {
  padding-left: 15px;
  color: #2e4159;
  font-size: 0.99rem;
  margin-bottom: 12px;
}

/* Step By Step, Decision Tree */
.step_by_step_guide, .decision_tree {
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(33,54,85, 0.06);
  margin-bottom: 22px;
}

/* -------------------------------------------------------------------------
   Utility Styles
 ------------------------------------------------------------------------- */
.period_tabs, .sort_options, .card_filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.period_tabs button, .sort_options span, .card_filters span {
  background: none;
  border: 1.3px solid #579BAA;
  color: #579BAA;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 17px;
  margin-right: 5px;
  transition: background 0.15s, color 0.13s;
  cursor: pointer;
}
.period_tabs button:hover, .period_tabs button:focus {
  background: #579BAA;
  color: #fff;
}

/* Footer Styles */
footer {
  background: #213655;
  padding: 36px 0 18px 0;
  color: #fff;
  position: relative;
  width: 100%;
  margin-top: 28px;
  border-top: 3px solid #579BAA;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 44px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  padding: 2.5px 0;
  border-radius: 3px;
  margin-right: 7px;
  transition: background 0.16s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #579BAA;
  background: rgba(87,155,170,0.10);
}
.footer-contact {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  padding-left: 32px;
  flex: 1 1 320px;
}
.footer-contact img[alt="KartaPorównaj"] {
  height: 38px;
  margin-bottom: 6px;
  display: inline;
  vertical-align: middle;
}
.footer-contact img[alt^="icon-"] {
  height: 18px;
  width: 18px;
  display: inline;
  margin: 0 3px -3px 7px;
  vertical-align: middle;
}
.footer-contact span {
  color: #fff;
}
.footer-contact div {
  font-size: 0.96rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 5px;
  }
  .content-wrapper {
    padding: 0 2px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 0 10px;
  }
  .footer-contact {
    padding-left: 0;
    gap: 11px;
  }
}

/* -------------------------------------------------------------------------
   Cookie Consent Banner
 ------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #213655;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 8000;
  box-shadow: 0 -3px 10px rgba(33,54,85,0.20);
  padding: 20px 10px 20px 10px;
  gap: 32px;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: banner-slideup 0.55s cubic-bezier(.71,.22,.25,1);
}
@keyframes banner-slideup {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-banner-message {
  line-height: 1.7;
  max-width: 600px;
  margin-right: 20px;
  color: #F0F6FA;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  border-radius: 24px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0px;
  margin-bottom: 0;
  transition: background 0.13s, color 0.13s;
  outline: none;
}
.cookie-banner .accept {
  background: #579BAA;
  color: #fff;
  margin-right: 2px;
  box-shadow: 0 1px 8px rgba(87,155,170,0.09);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #41768a;
}
.cookie-banner .reject {
  background: #eff3f6;
  color: #213655;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #c7d7df;
  color: #213655;
}
.cookie-banner .settings {
  background: none;
  border: 1.5px solid #579BAA;
  color: #579BAA;
  padding: 9px 17px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #579BAA;
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    padding: 19px 8px 19px 8px;
    gap: 22px;
    font-size: 0.98rem;
    align-items: stretch;
  }
  .cookie-banner .cookie-banner-message {
    margin-right: 0;
    max-width: 100%;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(33,54,85,0.59);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: backdrop-fadein 0.19s cubic-bezier(.51,.08,0,1);
}
@keyframes backdrop-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #213655;
  border-radius: 14px;
  box-shadow: 0 2px 28px rgba(33,54,85,0.22);
  padding: 36px 28px 24px 28px;
  max-width: 440px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 12005;
  animation: modal-slide-down 0.33s cubic-bezier(.83,.19,.22,1);
}
@keyframes modal-slide-down {
  0% { transform: translateY(-80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: #213655;
  margin-bottom: 6px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F0F6FA;
  padding: 10px 15px;
  border-radius: 7px;
}
.cookie-modal .cookie-category label {
  font-size: 1.03rem;
  color: #213655;
}
.cookie-modal .cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #579BAA;
  cursor: pointer;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category input[type="checkbox"]:disabled {
  accent-color: #afbac2;
  cursor: not-allowed;
  opacity: 0.55;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #579BAA;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #f0f6fa;
  color: #213655;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 25px 10px 20px 10px;
  }
}

/* -------------------------------------------------------------------------
   Responsive Typography and Layout
 ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .feature-grid {
    gap: 14px;
  }
  .card-container, .articles_grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .card {
    min-width: 120px; max-width: none;
    flex: 1 1 160px;
    padding: 16px 12px;
  }
  .card-container, .articles_grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.01rem; }
  .hero {
    padding: 44px 0 18px 0;
  }
  section, .section {
    padding: 19px 2px 24px 2px;
    margin-bottom: 44px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    font-size: 0.93rem;
  }
  .feature-grid, .card-container, .articles_grid {
    gap: 9px;
  }
}

/* List Responsive */
@media (max-width: 700px) {
  .guide_list_preview, .featured_guides_list, .values_list, .trust_points {
    gap: 9px;
  }
}

/* -------------------------------------------------------------------------
   Special Card/Info Section Styles
 ------------------------------------------------------------------------- */
.brand_story, .mission_statement, .team_roles, .certifications, .decision_tree,
.policy_sections, .terms_of_use, .data_protection, .cookies_policy, .manage_cookies_instructions {
  background: #fff;
  border-radius: 10px;
  padding: 24px 18px;
  box-shadow: 0 2px 11px rgba(87,155,170,0.06);
  margin-bottom: 22px;
  color: #213655;
  font-size: 1.04rem;
}
.certifications img {
  height: 34px;
}

/* Check List Icon Style For Points (if used) */
.values_list li::before, .trust_points li::before, .criteria_list li::before, .rights_descriptions li::before, .terms_sections li::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #579BAA;
  margin: 0 9px 2px 0;
}

/* Cookie Banner Example for Integration
<div class="cookie-banner">
 <span class="cookie-banner-message">Używamy plików cookies... </span>
 <div class="cookie-banner-buttons">
   <button class="accept">Akceptuję</button>
   <button class="reject">Odrzucam</button>
   <button class="settings">Ustawienia</button>
 </div>
</div>
*/

/* Miscellaneous */
::-webkit-input-placeholder { color: #a7bac7; }
::placeholder { color: #a7bac7; }

/* Custom scrollbar for Desktop */
@media (min-width: 768px) {
  *::-webkit-scrollbar {
    width: 9px;
    background: #f0f6fa;
  }
  *::-webkit-scrollbar-thumb {
    background: #cbd8e2;
    border-radius: 6px;
  }
  *::-webkit-scrollbar-thumb:hover {
    background: #b1c0d2;
  }
}

/* Micro-interactions & Animations */
.cta, button.cta, .categories_filter button, .period_tabs button, .mobile-menu-close, header .mobile-menu-toggle {
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
}
.card, .feature-grid > div, .testimonial-card, .faq_accordion h3 {
  transition: box-shadow 0.19s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(33,54,85,0.18);
}

/* Accessibility focus highlight */
a:focus, button:focus, .faq_accordion h3:focus {
  outline: 2px solid #579BAA;
  outline-offset: 2px;
}

/* -------------------------------------------------------------
   Hide scroll on mobile-menu when not open
---------------------------------------------------------------*/
.mobile-menu {
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
}

/* -------------------------------------------------------------
   Hide mobile-menu when inactive (simulates display: none)
---------------------------------------------------------------*/
.mobile-menu {
  display: flex;
}

/* -------------------------------------------------------------
   Ensure all section and card spacing at least 20px
---------------------------------------------------------------*/
section > .container > .content-wrapper > *,
.section > * {
  margin-bottom: 20px;
}

/* Last child of section: no extra margin */
section > .container > .content-wrapper > *:last-child,
.section > *:last-child {
  margin-bottom: 0 !important;
}

/* -------------------------------------------------------------
   Remove grid/columns/absolute forbidden properties
---------------------------------------------------------------*/
/* (Not used anywhere above, per requirements) */
