* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', Helvetica, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #222;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    width: 100px;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

header nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

header a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    font-size: 0.95rem;
}

header a:hover,
header a.active {
    color: #0077cc;
    border-bottom: 2px solid #0077cc;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #222;
}

button {
    background-color: #0077cc;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #005fa3;
    transform: scale(1.05);
}

.entrevistas {
    max-width: 1300px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 20px;
}

.entrevista {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entrevista:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.entrevista img {
    width: 180px;
    height: 120px;
    object-fit: cover;
  object-position: 50% 20%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}


.entrevista img:hover {
    transform: scale(1.03);
}

.entrevista p {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.entrevista a {
    text-decoration: none;
    background-color: #0077cc;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.2s ease;
}

.entrevista a:hover {
    background-color: #005fa3;
    transform: translateY(-2px);
}

.entrevista-actions {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.like-btn,
.fav-btn {
    cursor: pointer;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    background: #eee;
}

.like-btn.active {
    background: #ffdddd;
}

.fav-btn.active {
    background: gold;
}

footer {
    background-color: #0077cc;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-section {
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e0f2ff;
}

footer .copyright {
    font-size: 14px;
    color: #f0f0f0;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #0077cc;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn.show {
    display: flex;
}

#scrollTopBtn:hover {
    background-color: #005fa3;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

body.dark-mode {
    background-color: #121212;
    color: #f4f4f4;
}

body.dark-mode header {
    background-color: #1e1e1e;
}

body.dark-mode header a {
    color: #f4f4f4;
}

body.dark-mode header a:hover,
body.dark-mode header a.active {
    color: #80cbc4;
    border-bottom-color: #80cbc4;
}

body.dark-mode .entrevista {
    background-color: #1e1e1e;
}

body.dark-mode .entrevista p {
    color: #f4f4f4;
}

body.dark-mode .entrevista a {
    background-color: #0077cc;
    color: #fff;
}

body.dark-mode .entrevista a:hover {
    background-color: #005fa3;
}

body.dark-mode footer {
    background-color: #1e1e1e;
    color: #f4f4f4;
}

body.dark-mode footer .footer-section ul li a {
    color: #f4f4f4;
}

body.dark-mode #scrollTopBtn {
    background-color: #0077cc;
    color: #fff;
}

body.dark-mode #scrollTopBtn:hover {
    background-color: #005fa3;
}

body.high-contrast {
    background-color: #000;
    color: #fff;
    font-weight: bold;
}

body.high-contrast header {
    background-color: #000;
}

body.high-contrast header a {
    color: #fff;
}

body.high-contrast header a:hover,
body.high-contrast header a.active {
    color: #ff0;
    border-bottom-color: #ff0;
}

body.high-contrast .entrevista {
    background-color: #000;
}

body.high-contrast .entrevista p {
    color: #fff;
}

body.high-contrast .entrevista a {
    background-color: #fff;
    color: #000;
}

body.high-contrast .entrevista a:hover {
    background-color: #ff0;
}

body.high-contrast footer {
    background-color: #000;
    color: #fff;
}

body.high-contrast footer .footer-section ul li a {
    color: #fff;
}

body.protanopia {
    filter: url(#protanopia);
}

body.deuteranopia {
    filter: url(#deuteranopia);
}

body.tritanopia {
    filter: url(#tritanopia);
}

body.dark-mode .menu-toggle {
    color: #f4f4f4;
}

body.high-contrast .menu-toggle {
    color: #fff;
}

body.dark-mode .menu-toggle:hover,
body.high-contrast .menu-toggle:hover {
    color: #80cbc4;
}

body.dark-mode header nav.open {
    background-color: #1e1e1e;
}

body.dark-mode header nav.open a {
    color: #f4f4f4;
}

body.dark-mode header nav.open a:hover,
body.dark-mode header nav.open a.active {
    color: #80cbc4;
}

body.high-contrast header nav.open {
    background-color: #000;
}

body.high-contrast header nav.open a {
    color: #fff;
}

body.high-contrast header nav.open a:hover,
body.high-contrast header nav.open a.active {
    color: #ff0;
}

body.protanopia header nav.open,
body.deuteranopia header nav.open,
body.tritanopia header nav.open {
    filter: inherit;
}

@media screen and (max-width: 768px) {
    .entrevista {
        flex-direction: column;
        align-items: flex-start;
    }

    .entrevista img {
        width: 100%;
        height: auto;
    }

    .entrevista a {
        align-self: flex-end;
        margin-top: 10px;
    }

    .menu-toggle {
        display: block;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #fff;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    header nav a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    header nav.open {
        display: flex;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .copyright {
        text-align: left;
    }

    #scrollTopBtn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .entrevista p {
        font-size: 15px;
    }

    #scrollTopBtn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }
}