/*
 Theme Name: Evalue News Theme
 Author: Your Name
 Description: A custom WordPress theme for the Evalue news page, matching the main site design.
 Version: 1.0
 Text Domain: evalue-news-theme
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fahkwang:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');/* News List Styles */

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures body takes at least viewport height */
}

.content-container-pc, .content-container-mobile {
    display: none;
}@media (min-width: 768px) {
    .content-container-pc {
        display: flex;
        justify-content: center;
        gap: 75px;
        padding-top: 30px;
        flex: 1;
    }
}@media (max-width: 767px) {
    .content-container-mobile {
        display: block;
        align-items: center;
        justify-self: center;
        padding-top: 30px;
        flex: 1;
    }
}@media (min-width: 768px) {
    .central-content-container {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding-bottom: 20px;
        flex: 1;
    }
}@media (max-width: 767px) {
    .central-content-container-mb {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding-top: 30px;
        margin: 0px;
        flex: 1;
    }
}.white-container-article {
    display: none;
}

@media (min-width: 768px) {
    .white-container-article {
        display: grid;
        flex-direction: column;
        gap: 20px;
        background-color: white;
        width: 600px;
        border-radius: 10px;
        padding: 20px;
        text-align: left;
        justify-content: left;
        align-items: left;
        
    }
    
}

@media (max-width: 767px) {
    .white-container-article {
        display: grid;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        background-color: white;
        min-width: 250px;
        max-width: 360px;
        border-radius: 10px;
        padding: 20px;
    }
}@media (min-width: 768px) {
    .image-article {
        max-width: 540px;
    }
}@media (max-width: 767px) {
    .image-article {
        max-width: 200px;
    }
}.image-container {
    display: none;
}@media (min-width: 768px) {
    .image-container {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
}@media (max-width: 767px) {
    .image-container {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
}.title {
    width:100%;
    font-family: Fahkwang;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: -1px;
    color: black;
    text-align: left;}a {
    text-decoration: none;
}
.description {
    width: 100%;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    line-height: 120%;
    letter-spacing: 0px;
    color: black;
     text-align: left;
}.bottom-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}.bottom-date {
    font-family: Inter, Arial;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0px;
    color: rgba(128, 128, 128, 1);
}.bottom-text {
    font-family: Inter, Arial;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0px;
    color: rgba(2, 122, 255, 1);
}/* News Detail Styles */
.central-content-container, .central-content-container-mb {
    display: none;
}@media (min-width: 768px) {
    .central-content-container {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding-top: 50px;
        padding-bottom: 30px;}}@media (max-width: 767px) {
    .central-content-container-mb {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding-top: 50px;
        padding-bottom: 30px;
    }
}@media (min-width: 768px) {
    .title {
        font-size: 40px;
    }
}@media (max-width: 767px) {
    .title {
        font-size: 30px;
        line-height: 100%;
    }
}.bodyText {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 17px;
    line-height: 150%;
    letter-spacing: 0px;
}


@media (min-width: 768px) {
    .white-container-article {
        display: flex;
        flex-direction: column;
        width: 750px;
        gap: 20px;
        align-items: center;
        justify-content: center;
        background-color: white;
        border-radius: 10px;
        padding: 30px;
        text-align: left;
    }
}@media (max-width: 767px) {
    .white-container-article {
        display: grid;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        background-color: white;
        min-width: 250px;
        max-width: 360px;
        border-radius: 10px;
        padding: 30px;
    }
}.button-container {
    display: flex;
    width: 100%;
}@media (min-width: 768px) {
    .button-capsule {
        display: flex;
        background-color: white;
        border-radius: 20px;
        width: 80px;
        height: 25px;
        padding: 5px 10px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        border: 1px solid rgba(179, 179, 179, 1);
        margin-top: 15px;
        margin-bottom: 30px;
    }
}@media (max-width: 767px) {
    .button-capsule {
        display: flex;
        background-color: white;
        border-radius: 20px;
        width: 80px;
        height: 25px;
        padding: 5px 10px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        border: 1px solid rgba(179, 179, 179, 1);
        margin-top: 10px;
        margin-bottom: 15px;
    }
}.text-capsule {
    font-family: Inter;
    font-weight: 400;
    font-size: 15px;
    line-height: 16px;
    letter-spacing: 0px;
    color: black;
}@media (min-width: 768px) {
    .text-description {
        width: 100%;
        font-family: Inter;
        font-weight: 400;
        font-style: Regular;
        font-size: 17px;
        line-height: 150%;
        letter-spacing: 0px;
        text-align: left;
    }
    
}
@media (max-width: 767px) {
    .text-description {
        font-family: Inter;
        font-weight: 400;
        font-style: Regular;
        font-size: 15px;
        line-height: 120%;
        letter-spacing: 0px;
    }
}.container-date-author {
    display: flex;
    width: 100%;
    justify-content: left;
}.text-date-author {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0px;
    color: rgba(128, 128, 128, 1);
}.hashtags {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0px;
    color: rgba(128, 128, 128, 1);
    padding-bottom: 10px;
}.hashtag {
    margin-right: 5px; /* Space between hashtags */
    display: inline; /* Ensure hashtags display inline */
}   .header-container-pc, .header-container-mobile {
      display: none; /* Hide both by default */
    } @media (min-width: 1400px) {
.header-container-pc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
    max-width: 100%;
    }
}.header-container-centerTexts-pc {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-left: 10px;
    padding-right: 10px;
}

.header-text-pc {
text-decoration: none;
font-family: Inter, Arial;
font-size: 15px;
font-weight: 300;
line-height: 16px;
letter-spacing: 0px;
color: black;
}
.flagImage {
    height: 12px;
}

body {
    background-color: rgb(247, 247, 247);
}
/* MOBILE */  @media (max-width: 1399px) {
    .header-container-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    margin-left: 15px; 
    margin-right: 15px; 
        
    }
}

/* Mobile styles (≤767px) */
@media (max-width: 1399px) {
  .header-container-mobile {
    display: flex;
    padding: 0px;  }  .header-container-mobile nav {
    position: relative;
  }  /* Hide checkbox */
  #checkBurger {
    display: none;
  }  /* Style hamburger button */
  .checkBurger-button {
    display: inline-block;
    cursor: pointer;
    line-height: 0; 
    padding: 5px;
  }  .checkBurger-button img {
    display: block;
  }  /* Navigation menu (hidden by default) */
  .nav-mobile {
    display: none;
    flex-direction: column;
    background: #fff; /* White background for menu */
    position: absolute; /* Position relative to nav */
    top: 100%; /* Below hamburger image */
    width: 50%; /* Your specified width */
    min-width: 200px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    z-index: 90;
    overflow-x: hidden;
    overflow-y: auto;
  }  /* Show menu when checkbox is checked */
  #checkBurger:checked ~ .nav-mobile {
    display: flex;  }  /* Style navigation links */
  .burger-link {
    text-decoration: none;
    padding: 10px;
    font-family: Inter, Arial;
    font-size: 25px;
    font-weight: 300;
    line-height: 16px;
    letter-spacing: 0px;
    color: black;
    padding-top: 25px;
    padding-bottom: 25px
  }  .burger-link:hover {
    background: #e0e0e0; /* Hover effect */
  }
}@media (min-width: 768px) {
    .js-news-articles-list {
        display: flex;
        flex-direction: column;
        gap: 20px; /* Spacing between posts */
        text-align: left;
    }
}@media (max-width: 767px) {
    .js-news-articles-list-mb {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Spacing between posts */
    }
}


footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 50px;
  margin-bottom: 0px; 
  box-sizing: border-box;
}

footer nav {
  width: 100%;
  text-align: center;
  /* position: relative; */
  /* left: 50%; */
}


footer a {
     text-align: center;
    font-family: Inter, Arial;
    font-size: 11px;
    color: #606060; /* Link color */
    text-decoration: none; /* Remove underline */
  
}



