/*
Theme Name: Heart of Football
Author: Tuo Nome
Description: Versione WordPress del sito Heart of Football
Version: 1.0
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f3f3;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f3f3;
}

header {
    background-color: #2e7d32;
    color: white;
    padding: 1% 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.logo {
    justify-self: start;
}

.logo img {
    height: 4.5vw;
    width: auto;
    display: block;
}

.menu {
    justify-self: center;
    display: flex;
    gap: 3vw;
}

.menu a {
    font-size: 1.5vw;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
}

.menu a:hover {
    text-decoration: underline;
}

.login-btn {
    background-color: #39c840;
    padding: 0.5vw 1.2vw;
    border-radius: 20px;
}

.header-actions {
    justify-self: end;
}

.banner-container {
    margin-top: 2%;
    padding-right: 1%;
    margin-left: 1%;
    display: flex;
    justify-content: center;
    gap: 2%;
}

.img-banner {
    border-radius: 30px;
    width: 97.5%;
    height: 10%;
}
.menu {
    display: flex;
    align-items: center;
    gap: 3vw;
    position: relative;
}

.menu a {
    font-size: 1.5vw;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.5vw 1vw;
}

.menu a:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu-container {
    display: none;
    position: absolute;
    background-color: #2e7d32;
    min-width: 180px;
    border-radius: 20px;
    top: 100%;
    left: 0;
    z-index: 10;
}

.dropdown-menu-container a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: white;
}

.dropdown-menu-container a:hover {
    background-color: #388e3c;
}

.dropdown:hover .dropdown-menu-container {
    display: block;
}

.slogan-container {
    text-align: center;
}

.title {
    font-size: 4.5vw;
    margin-bottom: 1%;
}

.desc {
    font-size: 1.5vw;
}

.news-btn {
    cursor: pointer;
    font-size: 1.5vw;
    white-space: nowrap;
    background-color: #39c840;
    border: none;
    padding: 1% 2.2% 1% 2.2%;
}

.info-container {
    background-color: white;
    border-radius: 20px;
    margin-right: 2.5%;
    margin-left: 2.5%;
    padding: 1% 5% 0 5%;
    margin-top: 2%;
}

.info-title {
    font-size: 3vw;
}

.data {
    font-size: 1vw;
}

.img-banner {
    border-radius: 20px;
    width: 97.5%;
    height: 40%;
    object-fit: cover;
}

.news img.img-banner {
    width: 32%;
    height: auto;
    border-radius: 20px;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 2%;
}

.news {
    display: flex;
    flex-direction: row;
    gap: 2%;
    padding-bottom: 2%;
    background-color: white;
    border-radius: 20px;
}

.article-title {
    font-size: 2vw;
    margin-top: 0;
    margin-bottom: 1%;
}

.article-description {
    font-size: 1.3vw;
    margin-bottom: 9.5%;
}

.news-description {
    display: flex;
    flex-direction: column;
    margin-left: 2%;
    justify-content: center;
}
/* --- Highlights --- */
.highlights-container {
    background-color: #eaf7ec; /* verde molto chiaro tendente al bianco */
    border-radius: 20px;
    margin: 2.5%;
    padding: 2% 5%;
}


.video-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: center;
}

.video-item {
    background-color: #f9f9f9;
    border-radius: 15px;
    width: 30%;
    padding: 1%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.video-item video {
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.video-info h2 {
    font-size: 1.4vw;
    margin-top: 0.5em;
    color: #2e7d32;
}

.video-date {
    font-size: 1vw;
    color: #666;
}

/* --- Footer --- */
footer {
    background-color: #2e7d32;
    color: white;
    padding: 2% 5%;
    margin-top: 3%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-info h3 {
    font-size: 2vw;
    margin-bottom: 0.5em;
}

.footer-info p {
    font-size: 1.2vw;
    margin-bottom: 1em;
}

.footer-links {
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy p {
    font-size: 1vw;
    opacity: 0.8;
}
/* Pulsante "Torna su" nel footer */
.footer-btn {
    display: inline-block;
    background-color: #39c840;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 0.6em 1.2em;
    border-radius: 30px;
    margin-top: 1.5em; /* spazio sopra */
    margin-bottom: 1.5em; /* stesso spazio sotto rispetto ai link */
    transition: background 0.2s, transform 0.2s;
}

.footer-btn:hover {
    background-color: #2e7d32;
    transform: translateY(-2px);
}
.footer-contacts {
    margin-bottom: 1.5em;
    font-size: 1.1vw;
}

.footer-contacts a {
    color: #fff;
    text-decoration: underline;
}



