/* Section settings + headlines */

.homepage-ct {
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
    padding: 2rem 1rem;
    max-width: 1590px;
}

.homepage-ct .homepage-ct-wrapper {
    max-width: 1590px;
}

.esports-style {
    background-color: #0a0b0f;
    border-top: 4px solid #00c2ff;
}

.light-style {
    background-color: #f9f9f9;
}

.white-style {
    background-color: #fff;
}

.homepage-ct .homepage-ct-wrapper h2 {
    text-align: left;
    font-size: 2rem;
    padding-left: 1rem;
    margin-bottom: 2.5rem;
}

.esports-style .homepage-ct-wrapper h2 {
    color: #00c2ff;
    border-left: 5px solid#00c2ff;
}

.light-style .hompepage-ct-wrapper h2, .white-style .homepage-ct-wrapper h2 {
    color: #111;
    border-left: 5px solid #f7be23;
}

/* Layouts */ 

.grid-layout {
    display: grid;
    gap: 1.5rem;
}

.grid-auto-fill {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.grid-2-c {
    grid-template-columns: repeat(2, 1fr);
}

.grid-4-c {
    grid-template-columns: repeat(4, 1fr);
}

.grid-5-c {
    grid-template-columns: repeat(5, 1fr);
}



@media (max-width: 1024px) {
    .grid-4-c, .grid-5-c {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-4-c, .grid-5-c {
        grid-template-columns: 1fr;
    }
}
/* Podcast list wrapper styles */
.podcast-list {
  background: #16181d;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.podcast-list h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #2b2e35;
  padding-bottom: 0.5rem;
}

.podcast-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #2b2e35;
  padding-bottom: 1rem;
}

.podcast-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.podcast-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
}

.podcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #fff;
}

.podcast-info span {
  font-size: 0.8rem;
  color: #b3c4d2;
}

.play-btn {
  background: #ff005c;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.play-btn::before {
  content: "▶";
  color: #fff;
  font-size: 0.8rem;
  margin-left: 2px;
}

.play-btn:hover {
  background: #ff3377;
}

/* Article wrapper styles */

.grid-layout article {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.grid-layout article {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
}

.grid-layout article a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.esports-style .grid-layout article {
    background-color: #181b22;
}

.light-style .grid-layout article {
    background-color: #fff;
}

.white-style .grid-layout article {
    background-color: #f5f5f5;
}

article .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

article .post-tags > *:first-child {
    margin-left: 0;
}

article .post-tags .tag-item {
    display: inline-block;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;  
}

.light-style article .post-tags .tag-item {
    background: #f1f1f1;
    color: #666;
}

.grid-layout article a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-layout article img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;    
}

.grid-layout article .content-div {
    padding: 1rem;
}

.grid-layout article h3 {
    font-size: 1.1rem!important;
    font-weight: 600;
    margin-bottom: 0.5rem!important;
    margin-top: 0.1rem;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;  
}

.esports-style .grid-layout article h3 {
    color: #fff;
}

.light-style .grid-layout article h3 {
    color: #111;
}

.grid-layout article .content-excerpt {
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;    
}

.light-style .grid-layout article .content-excerpt {
    color: #666;
}

@media (max-width: 1024px) {
    .grid-layout article h3 {
        font-size: 1rem!important;
        line-height: 1rem!important;      
    }
}

/* Article wrapper styles - hover effects */

.grid-layout article:hover {
    transform: scale(1.02);
}

.esports-style .homepage-ct-wrapper .grid-layout article:hover {
    box-shadow: 0 4px 20px rgba(0, 194, 255, 0.1), 0 0 0 1px rgba(0, 194, 255, 0.05);
}

.light-style .grid-layout article:hover, .white-style .grid-layout article:hover {
    box-shadow: 0 6px 24px rgba(247, 190, 35, 0.2), 0 0 0 1px rgba(247, 190, 35, 0.08);
}

.light-style article .post-tags .tag-item:hover {
    background: #111;
    color: #f1f1f1;
}

.grid-layout article:hover img {
    transform: scale(1.05);
}

.esports-style .grid-layout article:hover h3 {
    color: #00c2ff;
}

.light-style .grid-layout article:hover h3, .white-style .grid-layout article:hover h3 {
    color: #f7be23!important;
}

/* CTA row styles*/

.homepage-ct-wrapper .cta-row {
    text-align: right;
    margin-top: 1.5rem;
}

.homepage-ct-wrapper .cta-row .cta-link {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;    
}

.esports-style .cta-row .cta-link {
    color: #00c2ff;
    border: 1px solid #00c2ff;
}

.light-style .cta-row .cta-link, .white-style .cta-row .cta-link, .read-more-btn {
    color: #F7BE23!important;
    background-color: inherit;
    border: 1px solid #F7BE23;
    box-shadow: none;
}

.esports-style .cta-row .cta-link:hover {
    background-color: #00c2ff;
    color: #0a0b0f !important;
}

.light-style .cta-row .cta-link:hover, .white-style .cta-row .cta-link:hover, .read-more-btn:hover {
    background-color: #f7be23;
    color: #fff!important;
} 