/*
 Theme Name:     Democracy
 Theme URI:      https://www.wildwildweb.gr/
 Description:    Made by wildwildweb
 Author:         Wildwildweb
 Author URI:     https://www.wildwildweb.gr/
 Version:        1.0.0
*/

/*------------------------------------------------------------

#RESET

--------------------------------------------------------------*/

:root {
    --color-white: #FFF;
    --color-black: #000;
    --color-light-blue: #72B5C4;
    --color-dark-blue: #2C8DA3;
    --color-grey: #F6F6F6;
}

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */ 
}

body {
    color: var(--color-black) !important;
    background: var(--color-grey) !important;
    font-family: "greycliff-cf",sans-serif;
}

div, span, p, h1, h2, h3, h4, h5, h6, label, input, a {
    font-family: "greycliff-cf",sans-serif;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

button {
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

b, strong {
    font-weight: 800!important;
}

a,
a:hover,
a:focus {
    text-decoration: none !important;
}

.nooverflow {
    overflow: hidden !important;
    touch-action: none;
    -ms-touch-action: none;
}

.center {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.spacing {
    padding: 60px 0;
}

.nopad {
    padding: 0 !important;
}

.white {
    color: var(--color-white) !important;
}

.h1 {
    font-size: clamp(42px, 5.5vw, 64px) !important;
    font-weight: 700 !important;
}

.h2 {
    font-size: clamp(32px, 5.5vw, 52px) !important;
    font-weight: 700 !important;
}

.h3 {
    font-size: clamp(24px, 5.5vw, 36px) !important;
    font-weight: 700 !important;
}

.h4 {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    font-weight: 700 !important;
}

.h5 {
    font-size: clamp(18px, 5.5vw, 20px) !important;
    font-weight: 700 !important;
}

.collapse,
.collapsing {
  opacity: 0;
  overflow: hidden;
  height: 0;
  transition: opacity 0.40s ease;
  height: 100%;
}

.collapse.show {
  opacity: 1;
  height: auto;
}

/*------------------------------------------------------------

#HEADER

--------------------------------------------------------------*/

.header-wrapper {
    height: 600px;
    position: relative;
}

.hero-image {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-overlay {
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.00) 100%);
    height: 300px;
    position: relative;
}

.menu-wrapper {
    position: relative;
    transition: all 0.3s ease;
    z-index: 100;
}

.menu-wrapper.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-flex {
    position: relative;
    justify-content: center;
    gap: 16px;
}

.header-logo {
    display: flex;
}

.home-link {
    display: inline-block;
    background: var(--color-dark-blue);
    padding: 20px 24px;
    max-height: 105px;
}

menu.header-menu {
    display: flex;
    align-items: center;
    padding: 0;
}

ul.main {
    display: flex;
    flex-direction: row;
    gap: clamp(12px, 1.5vw, 28px);
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.main li a {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

ul.main li.current-menu-item a {
    color: var(--color-dark-blue);
}

.menu-wrapper.sticky ul.main li a {
    color: var(--color-black);
}

.menu-wrapper.sticky .search-toggle svg path {
    fill: var(--color-black);
}

.donation-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-light-blue);
    color: var(--color-black);
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
    max-height: 105px;
}

.search-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.search-container {
    position: absolute;
    top: 100%;
    right: -16px;
}

.search-form {
    display: flex;
}

.search-form .search-field {
    border: none;
    padding: 18px 24px;
}

.search-form .search-submit {
    background: var(--color-light-blue);
    border: none;
    color: var(--color-white);
    font-size: 20px;
    padding: 15px 3em;
}
  
/*------------------------------------------------------------

#PAGES

--------------------------------------------------------------*/

.intro-section {
    background: var(--color-white);
}

.pre-title {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 300;
}

.intro-title {
    color: var(--color-black);
}

.intro-excerpt {
    color: var(--color-black);
    font-size: 20px;
    font-weight: 300;
}

.intro-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: flex-end;
    gap: 20px;
    height: 100%;
    flex-wrap: wrap;
}

.read-more-btn {
    font-size: 16px;
    font-weight: 700;
}

.read-more-btn.dark {
    background: var(--color-dark-blue);
    color: var(--color-white);
    padding: 20px 80px;
}

.download-btn {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
    border-bottom: 2px solid var(--color-black);
    position: relative;
    left: -10px;
}

.download-btn::after {
    content: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2225%22%20height%3D%2225%22%20viewBox%3D%220%200%2025%2025%22%20fill%3D%22none%22%3E%3Cmask%20id%3D%22mask0_2_533%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2225%22%20height%3D%2225%22%3E%3Crect%20x%3D%220.780029%22%20y%3D%220.659912%22%20width%3D%2223.4%22%20height%3D%2223.4%22%20fill%3D%22%23D9D9D9%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23mask0_2_533)%22%3E%3Cpath%20d%3D%22M18.3301%2021.1349L22.2301%2017.2349L20.8651%2015.8699L19.3051%2017.4299V13.3593H17.3551V17.4299L15.7951%2015.8699L14.4301%2017.2349L18.3301%2021.1349ZM14.4301%2024.0599V22.1099H22.2301V24.0599H14.4301ZM6.63006%2020.1599C6.09381%2020.1599%205.63474%2019.9689%205.25287%2019.5871C4.87099%2019.2052%204.68005%2018.7461%204.68005%2018.2099V4.55987C4.68005%204.02361%204.87099%203.56455%205.25287%203.18268C5.63474%202.8008%206.09381%202.60986%206.63006%202.60986H13.4551L19.3051%208.45987V11.4092H17.3551V9.43487H12.4801V4.55987H6.63006V18.2099H12.4801V20.1599H6.63006Z%22%20fill%3D%22%231C1B1F%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
    width: 25px;
    height: 25px;
    position: absolute;
    margin-left: 10px;
}

.video-wrapper {
    position: relative;
}

.video-overlay {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(44, 141, 163, 0.55) 0%, rgba(44, 141, 163, 0.55) 100%);
    z-index: 20; 
}

.video-cover {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 100%;
    z-index: 10;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 30;
    border: none;
    background: none;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.video-player {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.accent-title {
    display: flex;
    align-items: center;
    gap: 46px;
}

.accent-title::before {
    content: "";
    display: block;
    width: 44px;
    height: 6px;
    background: var(--color-light-blue);
}

.body-text {
    font-size: clamp(18px, 5.5vw, 20px);
    font-weight: 300;
}

.elections-section-title {
    margin-top: 2em;
}

.about-us-section {
    position: relative;
}

.about-us-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    max-height: 620px;
}

.about-us-image::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(44, 141, 163, 0.20) 0%, rgba(44, 141, 163, 0.20) 100%);
    z-index: 5;
}

.about-us-image img {
    position: relative;
    z-index: 1;
    object-fit: cover;
    height: 100%;
    max-width: clamp(200px, 25vw, 500px);
}

.about-us-text {
    margin-bottom: 3em;
}

.action-link {
    color: #000;
}

.actions-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-icon img {
    min-width: 100px;
}

.action-text-wrapper {
    border-left: 6px solid var(--color-light-blue);
    padding-left: 20px;
    position: relative;
}

.action-text-wrapper p {
    margin-bottom: 0;
}

.action-text-wrapper.active .action-excerpt {
    display: none;
}

.action-text {
    display: none;
}

.action-text-wrapper.active .action-text {
    display: block;
}

.action-text-button {
    position: absolute;
    bottom: -35px;
    left: 50%;
    border: none;
    background: none;
    transition: none;
}

.action-text-wrapper.active .action-text-button {
    rotate: 180deg;
}

.election-pages-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.election-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}

.election-item:nth-child(even) {
    flex-direction: row-reverse;
}

.election-item-content-bg {
    background: var(--color-light-blue);
    color: var(--color-white);
    position: absolute;
    left: 50%;
    right: 0;
}

.election-item:nth-child(even) .election-item-content-bg {
    display: flex;
    justify-content: flex-end;
    left: 0;
    right: 50%;
}

.election-item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--color-dark-blue);
    padding-right: clamp(20px, 5vw, 80px);
    padding-left: clamp(20px, 5vw, 80px);
    padding-top: clamp(20px, 4vw, 60px);
    padding-bottom: clamp(20px, 4vw, 60px);
    max-width: 560px;
}

.articles-section {
    position: relative;
}

.articles-section::after {
    content: "";
    display: block;
    background: url('./images/four.svg');
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 535px;
    width: 440px;
} 

.articles-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 2em;
}

.article-item {
    display: flex;
    flex-direction: row;
    position: relative;
    z-indeX: 9;
}

.articles-section .article-item {
    align-items: center;
    margin-bottom: 26px;
}

.article-item-image {
    display: flex;
    align-items: center;
}

.article-item-content {
    background: var(--color-white);
    border-right: 4px solid var(--color-light-blue);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.articles-section .article-item-content {
    position: relative;
    left: clamp(-80px, -3vw, -20px);
    padding: 28px;
}

.article-category, .article-category a {
    color: var(--color-light-blue);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.article-item-title {
    display: flex;
    width: 100%;
}

.article-item-title a {
    color: var(--color-black);
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.article-item-title a::after {
    content: "";
    width: 11px;
    height: 17px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="17" viewBox="0 0 11 17" fill="none"><path d="M2.99999 0.625L0.501526 3.12346L6.00306 8.625L0.501526 14.1265L2.99999 16.625L11 8.625" fill="black"/></svg>') no-repeat center center;
}

.article-item-excerpt {
    font-size: 20px;
    font-weight: 300;
}

.article-link {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    border-bottom: 2px solid var(--color-white);
}

.article-link.alt {
    color: var(--color-dark-blue);
    border-bottom: 2px solid var(--color-dark-blue);
}

.inner-page-link {
    color: var(--color-black);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    align-self: center;
    margin: 3em 0;
}

.read-more-btn.donate-btn {
    background: var(--color-light-blue);
    color: var(--color-black);
    display: inline-block;
    padding: 20px 40px;
}

.support-section {
    background: var(--color-white);
}

.support-title-wrapper {
    display: flex;
    justify-content: space-between;
}

.support-section .body-text {
    margin-top: 2em;
}

.latest-news-section {
    position: relative;
}

.latest-news-section div.d-flex {
    flex-direction: column;
}

.news-bg {
    background: var(--color-dark-blue);
    position: absolute;
    top: calc(50% - 150px);
    left: 0;
    right: 0;
    bottom: 0;
    height: 300px;
}

.news-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.news-wrapper .article-item-image a {
    position: relative;
    left: 15px;
}

.news-wrapper .article-item-image img {
    max-width: 350px;
    object-fit: cover;
}

.news-wrapper .article-item-content {
    padding: 26px 26px 26px 52px;
    max-width: 360px;
}

.news-item {
    flex: 1 1 calc(50% - 20px);
}

.faq-section {
    position: relative;
    display: none;
}

.faq-bg {
    background: var(--color-dark-blue);
    height: 220px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.faq-titles-wrapper {
    position: relative;
    background: var(--color-white);
    padding: 24px 40px;
    margin-top: 25px;
}

.accordion-item {
    background: var(--color-grey) !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 2px solid var(--color-dark-blue) !important;
    padding: 0 10px;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: none !important;
    color: var(--color-black) !important;
    font-size: 1em !important;
    font-weight: bold;
    border: none !important;
    box-shadow: none !important;
    padding: clamp(10px, 5vw, 28px) clamp(10px, 5vw, 40px) !important;
}

.accordion-button::after {
    background-image: url('./images/expand_more.svg') !important;
    background-size: contain !important;
    transform: rotate(0) !important;
    height: 40px !important;
    width: 40px !important;
}

.accordion-button[aria-expanded="true"]::after {
    transform: rotate(180deg) !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-body {
    font-size: 20px;
    padding: clamp(10px, 5vw, 28px) clamp(10px, 5vw, 40px) !important;
}

.articles-page-section::after {
    content: none;
}

.page-header-wrapper {
    background: var(--color-dark-blue);
    padding: 20px 0;
}

#crumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: var(--color-white);
    margin-bottom: 10px;
}

#crumbs a {
    color: var(--color-white);
}

.accent-title.alt {
    color: var(--color-white);
}

.accent-title.alt::before {
    background: var(--color-white);
}

.article-title {
    margin: 12px 0 !important;
}

.single-article-excerpt.body-text {
    margin-bottom: 3em;
}

.wp-block-image img {
    object-fit: cover;
    width: 100%;
}

.single-article-navigation {
    display: flex;
    justify-content: space-between;
    padding: 1em 0;
}

.previous-article a, .next-article a {
    color: var(--color-light-blue);
    font-size: 20px;
    font-weight: 700;
    border-bottom: 3px solid var(--color-light-blue);
}

.about-us-page {
    position: relative;
}

.about-us-page::after {
    content: "";
    display: block;
    background: url('./images/four.svg');
    background-size: contain;
    position: absolute;
    bottom: -144px;
    right: 0;
    height: 535px;
    width: 440px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.page-numbers {
    color: var(--color-dark-blue);
}

.page-numbers.current {
    color: var(--color-black);
}

.activity-item {
    border: 2px solid var(--color-dark-blue);
    margin-top: 25px;
}

.activity-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.activity-content-wrapper {
    background: var(--color-white);
    padding: 40px;
}

.activity-footer-wrapper {
    display: flex;
    justify-content: space-between;
}

.activity-date {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}

.activity-link {
    color: var(--color-dark-blue);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-dark-blue);
}

.activity-content {
    margin-top: 10px;
}

.legal-item {
    margin-top: 25px;
}

.legal-link {
    color: var(--color-black);
}

.legal-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
    padding: 0 20px;
}

.legal-title {
    border-bottom: 3px solid var(--color-light-blue);
    padding-bottom: 10px;
}

.legal-content-wrapper {
    background: var(--color-white);
    padding: 20px;
}

/*------------------------------------------------------------

#FOOTER

--------------------------------------------------------------*/

.newsletter {
    background: var(--color-dark-blue);
}

.newsletter .wpcf7 {
    display: flex;
    height: 100%;
    align-items: center;
}

.newsletter .wpcf7 p {
    margin-bottom: 0;
}

.newsletter .wpcf7 form {
    display: flex;
    align-items: center;
}

.newsletter form input#Email {
    border: none;
    padding: 18px 24px;
    width: 100%;
}

.newsletter form input#Email::placeholder {
    color: var(--color-light-blue);
    font-size: 18px;
    font-weight: 300;
}

.newsletter .subscribe-btn {
    background: var(--color-light-blue);
    color: var(--color-white);
    font-size: 20px;
    border: none;
    padding: 15px 3em;
}

.newsletter form p:last-of-type {
    position: relative;
}

.newsletter form p:last-of-type::after {
    content: "";
    background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%3E%3Cmask%20id%3D%22mask0_59_755%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2222%22%20height%3D%2222%22%3E%3Crect%20x%3D%220.842773%22%20y%3D%220.333344%22%20width%3D%2221%22%20height%3D%2221%22%20fill%3D%22%23D9D9D9%22%2F%3E%3C%2Fmask%3E%3Cg%20mask%3D%22url(%23mask0_59_755)%22%3E%3Cpath%20d%3D%22M13.0929%2018.8862L11.6786%2017.4719L14.7136%2014.4537H5.04004V3.65549H7.03069V12.463H14.7136L11.6786%209.42812L13.0763%208.01386L18.5208%2013.4584L13.0929%2018.8862Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') no-repeat center center;
    display: inline-block;
    width: 22px;
    height: 22px;
    position: absolute;
    top: calc(50% - 11px);
    right: 2em;
}

.wpcf7-spinner {
    position: absolute;
}

.footer-nav {
    padding-left: clamp(0px, 10vw, 10%);
    padding-right: clamp(0px, 10vw, 10%);
}

.footer-nav-wrapper {
    display: flex;
    justify-content: space-evenly;
}

.footer-nav-title {
    color: var(--color-dark-blue);
    font-size: 16px;
    font-weight: 500;
}

.footer-menu {
    padding: 0;
}

.footer-menu ul {
    display: flex;
    gap: 10px;
}

.footer-menu ul li a {
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.socials {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
}

.socials a img {
    width: 25px;
    height: 25px;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-dark-blue);
    padding-left: clamp(0px, 10vw, 10%);
    padding-right: clamp(0px, 10vw, 10%);
}

.copy-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.privacy-menu {
    padding: 0;
}

.nav.privacy {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.nav.privacy li a {
    color: var(--color-white);
}

.www-logo {
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 16px;
}

/*------------------------------------------------------------

#CONTACT FORM

--------------------------------------------------------------*/

.contact-info {
    align-items: center;
}

.page-section form {
    background: var(--color-white);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 40px;
    padding: 20px;
    margin-top: 20px;
}

.page-section form p {
    position: relative;
}

.page-section form p label {
    background: var(--color-white);
    position: absolute;
    padding: 5px;
    left: 10px;
    top: 7px;
    z-index: 9;
}

.page-section form p:nth-child(-n+5) {
    flex: 1 1 calc(50% - 20px);
}

.page-section form p:nth-child(6) {
    width: 100%;
}

.page-section form p input, .page-section form p textarea {
    background: none;
    border: 2px solid var(--color-dark-blue);
    padding: 20px;
    width: 100%;
}

.page-section form p input.wpcf7-submit {
    background: var(--color-light-blue);
    border: none;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
    padding: 20px 40px;
}

/*------------------------------------------------------------

#MEDIA QUERIES

--------------------------------------------------------------*/

/*
// Mobile First
*/

/*
// Extra small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .articles-section .article-item-image img {
        min-width: 420px;
        object-fit: cover;
    }

    .action-item {
        flex: 1 1 calc(50% - 20px);
    }
    
}

/* X-Large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {

    .home-link {
        height: 105px;
    }
    
    .donation-link {
        height: 105px;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

    .news-wrapper .article-item-image img {
        min-height: 340px;
    }

}



/*
// Desktop First
*/

@media (max-width: 1460px) {

    .news-wrapper .article-item-image img {
        max-width: 320px;
        object-fit: cover;
    }

}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1400px) {

    .menu-wrapper {
        padding: 0;
    }

    ul.main li a {
        font-size: 15px;
    }

    .about-us-image {
        position: relative;
    }

    .about-us-image img {
        width: 100%;
    }

    .news-wrapper .article-item {
        flex-direction: column;
    }

    .news-wrapper .article-item-image a {
        left: 0;
    }

    .news-wrapper .article-item-image img {
        max-width: 360px;
        object-fit: cover;
    }

}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {

    .menu-wrapper {
        background: var(--color-white);
        padding: 0;
    }

    .navbar.mobile {
        display: flex;
        flex-wrap: nowrap;
        gap: 32px;
    }

    .mobile-menu-item:first-child {
        margin-right: auto;
    }

    .mobile-menu-item:not(:first-child) {
        margin-left: 0;
    }

    .navbar-toggle .burger {
        display: block;
    }

    .navbar-toggle .closed {
        display: none;
    }

    .nooverflow .burger {
        display: none !important;
    }

    .nooverflow .closed {
        display: block !important;
    }

    .navbar-toggle svg  {
        width: 25px;
        height: 25px;
    }

    .navbar-toggle svg path {
        fill: var(--color-black);
    }

    .search-toggle svg {
        width: 25px;
        height: 25px;
    }

    .search-toggle svg path {
        fill: var(--color-black);
    }

    .home-link {
        padding: 14px;
        max-height: 100%;
    }

    .donation-link {
        height: 93px;
    }

    .navbar.mobile {
        padding: 0;
    }

    .navbar-toggle {
        background: none;
        border: none;
    }

    .navbar-toggle .closed {
        display: none;
    }

    #mobile-menu-container {
        position: absolute;
        top: 93px;
        right: 0;
        left: 0;
        bottom: 0;
        background: var(--color-white);
        height: 100vh;
    }

    .nav.mobile {
        display: flex;
        align-items: center;
        gap: 32px;
        justify-content: center;
        margin-top: 5em;
    }

    .nav.mobile li a {
        color: var(--color-black);
        font-size: 32px;
        font-weight: bold;
    }

    .search-container {
        top: 75px;
    }

    .articles-section::after {
        content: none;
    }

    .about-us-page::after {
        content: none;
    }

    .about-us-image {
        margin-top: 4em;
    }

    .about-us-image img {
        max-width: 100%;
    }

    .footer-logo a svg {
        max-width: 240px;
    }

    .wpcf7-spinner {
        display: block;
        position: absolute;
    }

}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {

    .intro-btn-wrapper {
        align-content: center;
        margin-top: 20px;
    }

    .election-item {
        flex-wrap: wrap;
    }

    .election-item-content-bg {
        position: relative;
        left: auto;
    }

    .election-item-content {
        width: 100%;
        max-width: 100%;
    }

    .article-item {
        flex-wrap: wrap;
    }

    .articles-section .article-item {
        margin-bottom: 4em;
    }

    .articles-section .article-item-content {
        left: 0;
    }

    .faq-bg {
        height: 205px;
    }

    .footer-nav {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 4em;
    }

    .actions-wrapper {
        gap: 32px;
    }

}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {

    .article-item {
        justify-content: center;
    }

    .news-wrapper .article-item-image a {
        left: auto;
    }

    .article-item-image {
        flex-direction: column;
    }

    .news-wrapper .article-item-image img {
        max-width: 100%;
        width: 100%;
    }

    .news-wrapper .article-item-content {
        padding: 26px 26px 26px 52px;
        max-width: 100%;
    }

    .support-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 576px) { 

    .header-wrapper {
        height: 450px;
        position: relative;
    }

    .navbar.mobile {
        gap: 0;
    }

    .mobile-menu-item:first-child {
        margin-right: 0;
    }

    .donation-link {
        gap: 0;
        padding: 0 5px;
    }

    .donation-link svg {
        display: none;
    }

    .footer-nav-wrapper {
        display: flex;
        flex-direction: column;
        }
    
    .footer-logo svg {
        max-width: 100%;
    }

    .copyright .d-flex {
        flex-direction: column;
    }

    .newsletter .wpcf7 form {
        flex-direction: column;
        gap: 20px;
    }

    .page-section form {
        flex-direction: column;
    }
}

.header-menu, 
.header-menu ul, 
.header-menu li, 
.mobile ul,
.mobile li,
.mobile {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu li.menu-item-has-children > a::after {
  content: " +";
  font-weight: bold;
  margin-left: 5px;
  color: #fff;
}

.mobile li.menu-item-has-children > a::after {
  content: " -";
  font-weight: bold;
  margin-left: 5px;
  color: #000;
}

.mobile ul.sub-menu a{
    padding: 10px 20px;
    font-size: 22px;}

.sticky .header-menu li.menu-item-has-children > a::after {
     color: #000;
}


.header-menu li {
  position: relative;
}

.header-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.header-menu li:hover > ul {
  display: block;
}

/* Optional: style submenu links */
.header-menu li ul li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.header-menu li ul li a:hover {
  background: #f2f2f2;
}