body {
    font-family: 'Libre Franklin', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #EDEDED;
    color: #222;
}
.header, .footer {
    width: 100%;
}
.header {
    background-color: #114c78;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
}
.container {
    width: 80%;
    margin: 0 auto;
}
.content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 40px 0;
    flex-direction: row;
}
.text-section {
    width: 45%;
    text-align: left;
    padding-left: 30px;
}
.image-section {
    width: 45%;
    text-align: center;
    margin-top: 10px;
}
.image-section img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    display: block;
}
.tabs-container {
    padding: 40px 0;
}
.tabs-title {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 20px;
}
.tabs-layout {
    display: flex;
    align-items: stretch;
}
.tab-buttons {
    width: 20%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #555;
    padding-right: 20px;
}
.tab-buttons button {
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    font-size: 30px;
    color: #000;
    font-weight: bold;
    text-align: left;
    width: 100%;
}
.tab-buttons button.active {
    border-right: 3px solid #A6192E;
    padding-right: 5px;
}
.tab-content-container {
    width: 75%;
    padding-left: 20px;
}
.tab-content {
    display: none;
    padding: 17px;
    background: #EDEDED;
    font-size: 20px;
}
.tab-content.active {
    display: block;
}
.footer {
    background-color: #F4F4F4;
    padding: 20px;
    text-align: center;
    font-size: 25px;
    color: #666;
    margin-top: 40px;
}
.listen-button {
    display: block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #A6192E;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}
.listen-button:hover {
    background-color: #8E162A;
}
@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }
    .image-section {
        order: -1;
        width: 100%;
        text-align: center;
    }
    .text-section {
        width: 100%;
        text-align: left;
        padding-left: 0;
    }
    .tabs-layout {
        flex-direction: column;
    }
    .tab-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #555;
        padding-right: 0;
        justify-content: space-around;
    }
    .tab-buttons button {
        text-align: center;
        padding: 10px;
    }
    .tab-buttons button.active {
        border-bottom: 3px solid #A6192E;
        border-right: none;
        padding-bottom: 5px;
    }
    .tab-content-container {
        width: 100%;
        padding-left: 0;
    }
}

.nav-button {
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    background-color: #A6192E;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.nav-button:hover {
    background-color: #8E162A;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-button {
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    background-color: #A6192E;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.nav-button:hover {
    background-color: #8E162A;
}

p {
    text-align: left;
}


.card {
      background-color: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      cursor: pointer;
      transition: transform 0.2s;
      display: block; /* necesario para <a> como tarjeta */
      text-decoration: none; /* quita el subrayado */
      color: inherit; /* mantiene el color normal del texto */
    }

    .card:hover {
      transform: scale(1.05);
    }

    .card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      display: block;
    }

    .card .name {
      padding: 10px;
      text-align: center;
      font-weight: bold;
      font-size: 16px;
      text-transform: capitalize;
      font-family: 'Libre Franklin', sans-serif;
    }