/* General Reset */
body, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#181818;
    padding: 0.5rem 1rem;
    color: white;
}
.article-content {
    max-height: 200px; /* Αρχικό ύψος πριν το Read More */
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.article-content.open {
    max-height: 600px; /* Ύψος μετά το Read More */
}
/* Right Section (Wise Media Name) */
.header-right {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    color: #163fc9;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Tagline */
.tagline {
    margin-top: -0.2rem;  /* Adjust vertical spacing */
    font-size: 0.4rem;  /* Slightly smaller font size */
    font-weight: normal;  /* Lighter weight */
    color: #163fc9;  /* Ensures it's visible on dark background */
    line-height: 1.2;  /* Adds some spacing between lines if necessary */
}

/* Left Section (Hamburger + Logo) */
.header-left {
    display: flex;
    align-items: center;
}


.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger-menu div {
    width: 100%;
    height: 3px;
    background-color: white;
}

.header-logo {
    margin-left: 10px;
    width: 50px;
    height: auto;
}

/* Center Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #00274d;
    color: white;
    overflow-y: auto;
    transition: 0.3s ease-in-out;
    padding: 1rem;
    z-index: 1000;
}

.side-menu.active {
    left: 0;
}

.side-menu ul {
    list-style: none;
    margin-top: 1rem;
}

.side-menu ul li {
    margin-bottom: 1rem;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Close Button (Arrow) */
.close-button {
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1rem;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00274d;
}


/* Footer Section in Side Menu */
.side-menu-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #ccc;
}

/* Social Media Section */
.social-media {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-media li {
    list-style: none;
}

.social-media .social-icon {
    color: #ccc;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-media .social-icon:hover {
    color: white;
}

/* Αφαίρεση οποιουδήποτε overflow από τη σελίδα */
body, html {
    overflow-x: hidden;
}
/* Hide Wise Media on screens smaller than 945px */
@media (max-width: 910px) {
    .header-right {
        display: none;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .social-media {
        flex-direction: row;
    }
}
/* Show Wise Media on screens bigger than 200px and smaller than 768px */
@media (max-width: 768px) {
    .header-right {
        display: block;
    }
}
/* Hide Wise Media on screens smaller than 200px */
@media (max-width: 220px) {
    .header-right {
        display: none;
    }
}