.news-color  { --color: #FFCC32; --tag-bg: #5b4800; }
.tcg-color { --color: #29b6f6; --tag-bg: #135181; }
.reviews-color { --color: #ff4c53; --tag-bg: #7a1519; }
.gear-color    { --color: #5fffbc; --tag-bg: #2d443a; }

.section-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    color: #fff;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: gigabold, sans-serif;
    border-bottom:1px solid #303741;
    text-transform:uppercase;
  }
  
  .section-title .dot {
    font-size: 1.4em;
  }
  
  .dot { color: var(--color); }
  
  .top-layout {
    display: flex;
    gap: 28px;
    height:450px;
  }

  .reverse {
    flex-direction: row-reverse;
  }
  
  .featured-col, .side-col {
    flex: 1;
    min-width: 0;
  }
  
  .featured-card, .side-card, .regular-card {
    background: #181b22;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .featured-card img, .regular-card img {
    width: 100%;
    display: block;
  }

  .featured-card > a:first-of-type, .regular-card > a:first-of-type {
    border-bottom: 2px solid var(--color);
    overflow: hidden;
    display: block; 
    border-radius: 0; 
}

.side-card > a:first-of-type {
  border-right: 2px solid var(--color);
  overflow: hidden;
  display: block; 
  border-radius: 0; 
}
  
  .featured-card a { border-bottom-color: var(--color) !important; }
  .regular-card a { border-bottom-color: var(--color) !important; }
  .side-card a {border-right-color: var(--color);}
  
  .featured-card .content, .side-card .content, .regular-card .content {
    padding: 18px 18px 12px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .featured-card h2, .side-card h3, .regular-card h4 {
    color: #fff;
    font-weight: bold;
    margin: 0 0 12px 0;
    line-height: 1.3;
  }
  
  .side-col {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 16px;
    min-width: 0;
  }
  
  .side-card {
    min-height: 110px;
    flex-direction: row;
  }

  .side-card a {
    width:280px;
    overflow:hidden;
  }
  
  .side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .side-card .content {
    padding: 16px;
    flex: 1;
  }
  
  .grid-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
  
  .regular-card img {
    aspect-ratio: 16 / 9;
    height: auto;
    width: 100%;
    object-fit: cover;
    display: block;
  }
  
  .meta {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
  }
  
  .author-info {
    color: #b3b3b3;
    margin-right: 12px;
    font-size:1.0em;
  }
  
  .author-info a {
    color: inherit;
    text-decoration: none;
  }
  
  .author-info a:hover {
    text-decoration: underline;
  }
  
  
  .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: right;
  }
  
  .tag {
    color:#fff;
    border:2px solid var(--color);
    border-radius:6px;
    padding: 6px 8px;
    font-size: 10px;
    text-transform: uppercase;
    z-index: 100;
  }

  .author-info a {
    min-width: 24px;
    min-height: 24px;
    font-size:14px;
    padding-top:5px;
    padding-bottom:5px;
    padding-right:5px;
  }

  .tag {
    min-width: 24px;
    min-height: 24px;
    font-size:12px;
  }


  
  @media (max-width: 900px) {
    .top-layout { flex-direction: column; gap: 18px; }
    .side-col { flex-direction: column; gap: 14px; }
    .grid-cards { grid-template-columns: 1fr; }
    .side-card {flex-direction: column; }
    .top-layout {
      height:auto;
    }
    .main-menu {
      display:none;
    }
    h3, h4 {
      font-size:1.5em;
    }
    .side-card img {
      border-right-color:transparent;
      border-bottom-color: var(--color) !important;
      border-bottom:2px solid;
      height:230px;
    }
    .side-card a {
      width:100%;
    }
    .regular-card img {
      height:230px;
    }
    section {
      padding-left:10px;
      padding-right:10px;
    }

  }
  

  .featured-card img,
.side-card img,
.regular-card img {
    transition: transform 0.33s cubic-bezier(.42,0,.58,1), box-shadow 0.25s;
    will-change: transform;
}

/* Powiększanie po hover na CAŁĄ KARTĘ */
.featured-card:hover img,
.side-card:hover img,
.regular-card:hover img {
    transform: scale(1.045);
    box-shadow: 0 5px 28px #0003;
    z-index: 2;
}
