.world-home{
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  /* gap:2px; */
}

#world-news{
  background-color: rgb(245, 245, 245);
  width: 70%;
  /* height: 100vh; */
  display:flex;
  flex-direction: column;       /* lay out children vertically */
  /* align-items: center;          center them horizontally */
  justify-content: flex-start;  /* align children to the top */
  padding: 10px;
  box-sizing: border-box;
}

.ranking-table-world{
    display:flex;
    flex-direction: column;
    width:100%;
    border: 2px solid #000;
    border-radius: 5px;
    overflow: hidden;
    font-size: 1.25em;
}

.ranking-header-world, .ranking-row-world{
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
}

.ranking-header-world{
    background-color: #e0e0e0;
    font-weight: bold;
}

.ranking-row-world:last-child {
    border-bottom: none;
}

/* .ranking-row-world span,
.ranking-header-world span {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border-right: 1px solid black;
    box-sizing: border-box;    
}

.ranking-row-world span:first-child,
.ranking-header-world span:first-child {
    text-align: left;
}

.ranking-row-world span:last-child,
.ranking-header-world span:last-child {
    text-align: right;
    border-right: none;
} */

.ranking-header-world span:nth-child(1),
.ranking-row-world span:nth-child(1) {
  flex: 0.3;         /* Rank: smaller width */
  text-align: center;
  border-right: 1px solid black;
}

.ranking-header-world span:nth-child(2),
.ranking-row-world span:nth-child(2) {
  flex: 2;           /* Country: wider */
  justify-content: center; /* keep centered */
  text-align: center;
  border-right: none; /* no right border on last column */
}

#rankings-note-world{
    text-align: center;
    padding-top: 10px;
}

#rankings-div-titles {
  font-size: 1.8em;
  margin-bottom: 15px;
  color:#000000;
  border-bottom: 2px solid #000000;
  padding-bottom: 5px;
  /* width: 100%; */
  text-align: center;
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-style: normal;
}


@media screen and (max-width: 650px) {

  .ranking-table-world{
    font-size: .70em;
  }

  #rankings-note-world{
    font-size: .80em;
  }

  .ranking-header-world span:nth-child(1) {
    flex: 0.3;
    text-align: center;
    margin-left: -8px;
    padding-right: 5px;
  }

  .ranking-row-world span:nth-child(1) {
    flex: 0.35;        /* Rank */
    text-align: left; /* keep left aligned */
  }

  .ranking-header-world span:nth-child(2),
  .ranking-row-world span:nth-child(2) {
    flex: 2;          /* Team */
    text-align: center;
  }

  .ranking-header-world span:nth-child(3),
  .ranking-row-world span:nth-child(3) {
    flex: 0.7;        /* Conference */
    text-align: right;
    border-right: none;
  }

  #rankings-div-titles {
    font-size: 1.3em;
  }
}
