h1, h2, h3, h4, h5 {
    line-height: 1.3;
}

/* HERO */

.hero {
    background: #ffffff;
    padding: 50px 0;
    margin-bottom: 30px;
  }

  .article-hero-img img {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    height: 250px;
    object-fit: cover;
}
  
  /* CATEGORIES */
  
 /* SEKCJA: POPULARNE USŁUGI */

.categories {
    background: #ffffff;
    padding: 40px 0;
    margin-bottom: 40px;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
  }
  
  .categories h2 {
    margin-bottom: 20px;
  }
  
  
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .category-card {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    transition: box-shadow 0.2s;
  }
  
  .category-card:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  }
  
  /* LAYOUT: CONTENT + SIDEBAR */
  
  .content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Desktop */
  @media (min-width: 992px) {
    .content-with-sidebar {
      grid-template-columns: 1fr 220px;
      align-items: start;
    }
  }
  
  /* ARTICLES GRID */
  
  .article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Desktop */
  @media (min-width: 768px) {
    .article-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* ARTICLE CARD */
  
  .article-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  
  .article-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
  }
  
  .article-title {
    font-size: 17px;
    margin-bottom: 10px;
  }
  
  .article-title a {
    color: #111;
  }
  
  .article-thumb {
    margin-bottom: 12px;
  }
  
  .article-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
  }
  
  .article-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
  }
  
  .read-more {
    margin-top: auto;
    font-size: 13px;
    color: #0073e6;
    font-weight: 500;
  }

  .relatedbox a {
    text-decoration: underline;
}

.relatedbox {
    background: #f2f2f2;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}
  
  /* SIDEBAR – PARTNERZY */
  
  .content-sidebar {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 15px;
  }

  @media (min-width: 992px) {
    .content-sidebar {
      margin-top: 50px;
    }
  }
  
  .content-sidebar h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  /* PARTNER CARD */
  
  .partner-card {
    margin-bottom: 15px;
    text-align: center;
  }
  
  .partner-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 6px;
  }
  
  .partner-card a {
    font-size: 14px;
    font-weight: 500;
    color: #0073e6;
  }
  

  /* CATEGORY PAGE */

.category-hero {
    background: #ffffff;
    padding: 40px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
  }
  
  .category-intro {
    font-size: 15px;
    color: #555;
    max-width: 800px;
  }
  
  .category-description {
    margin-bottom: 40px;
  }
  
  .category-description h2 {
    margin-bottom: 15px;
  }
  
  .category-description p {
    margin-bottom: 15px;
  }
  
  /* COMPANY LIST */
  
  .company-list {
    margin-bottom: 50px;
  }
  
  .company-row {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .company-row h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .company-row h3 a {
    color: #111;
  }
  /* COMPANY GRID */

.company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Desktop */
  @media (min-width: 768px) {
    .company-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* COMPANY CARD */
  
  .company-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  
  .company-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }
  
  .company-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .company-title a {
    color: #111;
  }
  
  .company-thumb {
    margin-bottom: 12px;
  }
  
  .company-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
  }
  
  .company-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
  }

  
  /* COMPANY PAGE */

.company-page {
    margin-bottom: 50px;
  }
  
  .company-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  
  
  /* Desktop */
  @media (min-width: 992px) {
    .company-layout {
      grid-template-columns: 1fr 300px;
      align-items: start;
    }
  }
  
  /* LEFT */

  .company-main {
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1; 
    border-radius: 6px;
  }
  
  .company-main h1 {
    margin-bottom: 20px;
  }
  
  .company-logo {
    margin-bottom: 20px;
  }
  
  .company-logo img {
    max-width: 200px;
    height: auto;
    display: block;
  }
  
  .company-description {
    line-height: 1.6;
    color: #444;
  }
  
  /* RIGHT */
  
  .company-sidebar {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 20px;
  }
  
  .company-sidebar h3 {
    margin-bottom: 15px;
    font-size: 16px;
  }
  
  .company-data {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
  }
  
  .company-data li {
    margin-bottom: 12px;
    font-size: 14px;
  }
  
  .company-data a {
    color: #0073e6;
    font-weight: 500;
  }
  
  /* MAP */
  
  .company-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 4px;
  }
  
  /* SPONSORED BOX */

.sponsored-box {
    margin-top: 50px;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background: #fafafa;
  }
  
  .sponsored-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .sponsored-content {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  
  .sponsored-logo img {
    max-width: 80px;
    height: auto;
    display: block;
  }
  
  .sponsored-text p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
  }
  
  .sponsored-text a {
    color: #0073e6;
    font-weight: 600;
  }
  .sponsored-external {
    margin-top: 8px;
    font-size: 13px;
  }
  
  .sponsored-external a {
    color: #0073e6;
    text-decoration: underline;
  }
  
  .site-footer {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    font-size: 13px;
    color: #666;
  }
  
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  
  .footer-nav a {
    margin-left: 15px;
    color: #666;
  }
  
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 15px;
    z-index: 9999;
    display: none;
  }
  
  .cookie-actions button {
    margin-right: 10px;
  }
  
  .cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
  }
  
  .cookie-modal-content {
    background: #fff;
    padding: 20px;
    max-width: 400px;
    margin: 10% auto;
  }
  .cookie-modal-content small {
    display:block;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #444;
}  
.exclusive-company {
    margin-bottom: 50px;
    position: relative;
  }
  
  .exclusive-badge {
    background: #000;
    color: #fff;
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    position: absolute;
    right: 0;
  }
  
  .company-card.featured {
    border: 0px solid #000;
    background: #fffef8;
  }
  
  .cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    background: #000;
    color: #fff;
    font-weight: 600;
  }
  
  .cook {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-size: 14px;
}