section {
    margin-bottom: 15px;
    scroll-margin-top: var(--header-height);
}

/* article path */

.article-path {
    margin: 20px 0;

    @media only screen and (max-width:1120px) {
        margin: 10px 0;

    }
}

.article-path a {
    color: var(--excerpt-bg);
    text-decoration: none;
}

#main-image {
    max-width: var(--general-width);
    height: 100%;
    width: 100%;
}


#main-content {
    width: 80%;
    margin-left: auto;

    @media only screen and (max-width:1120px) {
        width: 100%;
        margin: 10px 0;

    }
}

.sections-container {

    @media only screen and (min-width:1120px) {
        max-width: 950px;
        margin-left: 5%;
    }
}

.sections-wrapper {
    @media only screen and (min-width:1120px) {
        
        width: 93%;
        float: right;
    }
}

#content-banner {
    display: flex;
    justify-content: center;
    padding: 15px;

    @media only screen and (min-width:1120px) {
        width: 100%;
    }

    img {
        display: block;

        @media only screen and (max-width:1120px) {
            margin: auto;
        }
        @media only screen and (min-width:1120px) {
            max-width: 100%;
            height: auto;
        }
        
    }
}


#content-banner-2-media {
    width: 75%;
    margin: auto;

    padding: 15px 0;
    display: flex;
    font-size: 13px;
    flex-direction: row;

    @media only screen and (max-width:1120px) {
        flex-direction: column;
        width: 300px;
    }


    img {
        height: 250px;
        width: 300px;

        margin-bottom: 10px;

        box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);

        @media only screen and (min-width:1120px) {
            max-width: 80%;
        }
    
    }

}

#content-banner-2-text {
    display: flex;
    flex-direction: column;
    
    @media only screen and (min-width:1120px) {
        width: 45%;
        margin: 10px;
    }

    p {
        font-size: 12px;
        color:#5B5B5B;
    }
}

#next-articles {
    border-top: #000000 3px solid;
    margin-top: 50px;
}

#next-articles-title {
    margin-top: 20px;
    font-size: 28px;
    line-height: 25px;
    vertical-align: middle;
    font-weight: 600;
    @media only screen and (max-width:1120px) {
        text-align: center;
        font-size: 22px;
    }
}

.next-article {
    display: flex;
    flex-direction: row;
    padding: 20px;
    
    @media only screen and (max-width:1120px) {
        flex-direction: column;
    }

}

.next-article-text {
    padding: 20px;
    display: flex;
    flex-direction: column;

    @media only screen and (max-width:1120px) {
        text-align: center;
    }
    
}

.next-article-title {
        
        font-weight: 600;
        font-size: 22px;
        line-height: 25px;
        vertical-align: middle;
        letter-spacing: 0%;
        margin-bottom: 10px;

        a {
            text-decoration: none;
            color: black;
        }
}

.next-article-description {
    font-size: 18px;
    line-height: 27px;
    vertical-align: middle;
    font-weight: 400;
}

.next-article-image {
    min-width: 150px;

    @media only screen and (min-width:1120px) {
        margin: 20px;
        height: 100px;
    }
    
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* next articles section end */

/* Call to action start */
#cta-placeholder {
    height: 60px;
    background-color: var(--excerpt-bg);
    width: 100%;
    box-shadow: 0px -2px 6px 0px rgba(0, 0, 0, 0.40);
    position: fixed;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;

    a {
        text-decoration: none;
        color: white;
        width: 100%;
    }

    #cta {
    
        width: 100%;
        height: 60px;    
        /*color: white;*/
        font-size: 16px;
        text-align: center;
        line-height: 60px;
    
        margin-right: 30px;
        transition: transform 3s ease;
    }

}

#cta-placeholder:hover {
    color: white;
    background-color: var(--dark-bg);
}

/* Call to action end */

/* RANKING */

/* ranking */



.light-bg-rec {
  background-color: var(--light-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: 240px;
  padding: 30px 40px;
  border-radius: 8px;
  margin-bottom: 30px;
  flex-direction: row;
}

.light-bg-rec-left {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 28px;
  font-weight: 700;
  font-weight: bold;
  color: var(--dark-bg);
  line-height: 1.2;
  text-transform: uppercase;
}

.light-bg-rec-right {
  width: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;

  justify-content: center;
  margin: 30px;
  padding: 30px;
}

.ranking-info-buttons {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.ranking-review-link {
  margin: 30px 0 10px 0;

  a {
    color: black;
  }

}

.ranking-cta-button {
  background-color: white;
  text-align: center;
  width: fit-content;
  border: none;
  padding: 8px 16px;
  border-color: var(--excerpt-bg);
  border-width: 1px;
  border-style: solid;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  margin: 25px 0 10px 0;
  display: block;
  cursor: pointer;
  transition: background-color 0.3s ease;

  a {
    color: var(--excerpt-bg);
    text-decoration: none;
  }

}

.ranking-cta-button-text {
  color: var(--excerpt-bg);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;

  a {
    text-decoration: none;
  }

}

.ranking-cta-button.fill {
  background: var(--excerpt-bg);
}

.ranking-cta-button-text.fill {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  color: white;
  
  a {  
    text-decoration: none;
    color: white;
  }
}

.ranking-cta-button:hover {
  background-color: var(--dark-bg);
  a {
    text-decoration: none;
    color: white;
  }
}

#sponsored-text {
  width: 50%;
  text-align: center;
}

#sponsored-logo-wrap {
background-color: white;
border-radius: 8px;
}

#sponsored-logo {
height: 100px;
width: 100px;
}

.light-bg-rec-right-items {
display: flex;
flex-direction: row;
gap: 15px;
}

.light-bg-rec-right-item {
background-color: white;
border-radius: 10px;
width: 40px;
height: 40px;
font-size: 24px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: inherit; 
  }

}

.ranking-section {
  margin: auto;
}

.ranking-section h2 {
  font-size: 50px;
  color: var(--dark-bg);
  margin-bottom: 25px;
}

.highlight-description h2 {
  font-size: 25px;
  color: black;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.ranking-item {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.position-tag {
  background-color: var(--light-bg);
  color: var(--excerpt-bg);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 18px;
}

.position-tag.top{
  background-color: var(--dark-bg);
  color: white;
}

.ranking-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.4;
  flex: 1;

  a {
    display: flex;
    align-items: center; 
    gap: 10px;
    text-decoration: none;
  }

}

.logo-inline {
  width: 20px;
  height: auto;
  vertical-align: middle;
}

.ranking-text {
  flex: 1;
  min-width: 200px;

  strong {
    color: black;
  }
}

.highlight-card {
  border: 1px solid var(--excerpt-bg);
  border-radius: 10px;
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.platform-name {
  font-size: 18px;
  font-weight: bold;
}

.highlight-description p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.highlight-description ol li {
  text-justify: inter-word;
}

/* === Responsive Design === */
@media (max-width: 1120px) {
  
  .ranking-section {
      padding: 16px;
    }

  .ranking-item {
    flex-direction: column;
    align-items: flex-start;
  }

  #sponsored-text {
    width: 100%;
  }

  .ranking-info {
      flex-direction: row;
      align-items: flex-start;

      a {
        margin-bottom: 10px;
      }
  }

  .ranking-review-link {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
  }

  .highlight-header {
      flex-direction: row;
      align-items: center;
      gap: 8px;
  }

  .highlight-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .platform-name {
    font-size: 16px;
  }

  .ranking-section h2 {
    font-size: 20px;
  }

  .light-bg-rec {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 3rem 1rem;
    min-height: 270px;
  }

  .light-bg-rec-left {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .light-bg-rec-right {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  #question-marks {
    justify-content: center;
  }

  .ranking-info-buttons {
    flex-direction: column;
  }
}

/* RANKING PAGE END */