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

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

#RESET

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

:root {
    --White: #FFF;
    --Off-White: #F5F5F5;
    --Black: #0A0A0A;
    --Grey: #808080;
    --Light-Grey: #AAAAAA;
    --Dark-Grey: #4D4E50;
    --Red: #FE0000;
    --Dark-Red: #950000;
    --BG: #EBEEF2;
    --spacing-small: clamp(20px, 2vw, 32px);
    --spacing-medium: clamp(20px, 3vw, 40px);
    --spacing-large: clamp(20px, 6.65vw, 90px);
    --spacing-120: clamp(20px, 7.11vw, 120px);
    --spacing-xl: clamp(20px, 8.44vw, 162px);
    --spacing-xxl: clamp(20px, 10vw, 192px);
    --body-text-small: clamp(15px, 1.26vw, 17px);
    --body-text: clamp(16px, 1.36vw, 19px);
    --body-text-large: clamp(18px, 1.88vw, 24px);
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('./assets/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

body {
    background: var(--BG);
    color: var(--Black);
    font-family: 'Roboto', sans-serif;
    font-size: var(--body-text-small);
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--Black);
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

h6, .h6 {
    font-size: clamp(20px, 2vw, 20px);
    font-weight: 500;
    line-height: 115%;
}

h5, .h5 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 500;
    line-height: 115%;
}

h4, .h4 {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    line-height: 115%;
}

h3, .h3 {
    font-size: clamp(24px, 2.88vw, 30px);
    font-weight: 500;
}

h2, .h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
}

h1, .h1 {
    font-size: clamp(32px, 3.22vw, 50px);
    font-weight: 500;
    line-height: 111%;
}

div, span, p, label, input, a {
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

.animation {
    -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;
}

a {
    color: inherit;
}

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

button:not(:disabled) {
    cursor: pointer;
}

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

.relative{
    position: relative;
}

.center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

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

.self-center {
    align-self: center;
}

.nopad {
    padding: 0 !important;
}

.nogap {
    gap: 0;
}

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

.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.more-btn,
.wp-editor-link a {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: var(--body-text-small);
    line-height: 98%;
    text-align: center;
    text-transform: uppercase;
    background: var(--Red);
    color: var(--White);
    padding: 16px 37px;
    min-width: 250px;
}

.more-btn.alt,
.wp-editor-link.alt a {
    background: none;
    color: var(--White);
    border: 1px solid var(--White);
}

.more-btn.reverse,
.wp-editor-link.reverse a {
    background: none;
    color: var(--Red);
    border: 1px solid var(--Red);
}

.wp-editor-link.white-fill a {
    background: var(--White);
    color: var(--Red);
    border: none;
}

button.more-btn {
    border: none;
    cursor: pointer;
}

.w-100 {
    width: 100%;
}

.letter-stack {
    letter-spacing: -0.03em;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-700 {
    font-weight: 700;
}

.lh-140 {
    line-height: 140%;
}

.bg {
    background-color: var(--BG);
}

.bg-white {
    background-color: var(--White);
}

.bg-off-white {
    background-color: var(--Off-White);
}

.bg-red {
    background-color: var(--Red);
}

.bg-dark-red {
    background-color: var(--Dark-Red);
}

.c-white {
    color: var(--White);
}

.c-black {
    color: var(--Black);
}

.c-grey {
    color: var(--Grey);
}

.c-light-grey {
    color: var(--Light-Grey);
}

.c-dark-grey {
    color: var(--Dark-Grey);
}

.c-red {
    color: var(--Red);
}

.body-text-small {
    font-size: var(--body-text-small);
}

.body-text {
    font-size: var(--body-text);
}

.body-text-large {
    font-size: var(--body-text-large);
}

.body-desktop-link {
    font-size: var(--body-text-small);
    font-weight: 600;
    line-height: 130%;
}

.mi-small {
    margin-inline: var(--spacing-small);
}

.mi-medium {
    margin-inline: var(--spacing-medium);
}

.mi-large {
    margin-inline: var(--spacing-large);
}

.mi-xl {
    margin-inline: var(--spacing-xl);
}

.mb-small {
    margin-block: var(--spacing-small);
}

.mb-medium {
    margin-block: var(--spacing-medium);
}

.mb-large {
    margin-block: var(--spacing-large);
}

.mb-xl {
    margin-block: var(--spacing-xl);
}

.pi-small {
    padding-inline: var(--spacing-small);
}

.pi-medium {
    padding-inline: var(--spacing-medium);
}

.pi-large {
    padding-inline: var(--spacing-large);
}

.pi-120 {
    padding-block: var(--spacing-120);
}

.pi-xl {
    padding-inline: var(--spacing-xl);
}

.pi-xxl {
    padding-inline: var(--spacing-xxl);
}

.pb-small {
    padding-block: var(--spacing-small);
}

.pb-medium {
    padding-block: var(--spacing-medium);
}

.pb-large {
    padding-block: var(--spacing-large);
}

.pb-120 {
    padding-block: var(--spacing-120);
}

.pb-xl {
    padding-block: var(--spacing-xl);
}

.pb-xxl {
    padding-block: var(--spacing-xxl);
}

.pl-l {
    padding-left: var(--spacing-large);
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: clamp(20px, 3vw, 30px) !important;
}

.mt-50 {
    margin-top: clamp(20px, 4.5vw, 50px) !important;
}

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

#BREADCRUMBS

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

#crumbs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding-block: 8px;
}

#crumbs a {
    color: var(--Black);
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
}

#crumbs span.current {
    color: var(--Black);
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    opacity: 50%;
}


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

#HEADER

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

.header-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.header-wrapper .navbar {
    background: var(--BG);
    height: 100%;
}

.header-logo {
    background-color: var(--White);
    padding: 14px 14px 14px 30px;
    display: flex;
    align-items: center;
}

.header-logo .logo {
    max-height: 60px;
    min-width: 150px;
}

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

.menu {
    height: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
}

.nav.main {
    display: flex;
    padding: 0;
    list-style: none;
    align-items: center;
    height: 100%;
}

.nav.main:not(.sub-menu) li a {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    text-transform: uppercase;
}

.nav.main:not(.sub-menu) li {
    display: flex;
    align-items: center;
    padding-inline: 14px;
    height: 100%;
    position: relative;
}

.nav.main:not(.sub-menu) li.menu-item-has-children:hover {
    background: var(--White);
}

ul.sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    background: var(--White);
    border-bottom: 5px solid var(--Red);
}

.search-toggle {
    background: none;
    border: none;
    display: flex;
    margin: 0 25px 0 32px;
    padding: 0;
}

.donation-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 38px 34px;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--Red);
    color: var(--White);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
}

.search-close:hover {
    color: var(--Red);
}

.search-form-wrapper {
    background: white;
    border-radius: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
}

.search-form {
    width: 100%;
    display: flex;
    align-items: center;
}

.search-field {
    flex: 1;
    border: none;
    background: none;
    padding: 15px 20px;
    font-size: 18px;
    outline: none;
}

.search-submit {
    background: var(--Red);
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.search-submit svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.search-submit svg path {
    fill: inherit;
}

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

#GLOBAL

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

.swiper .swiper-pagination-bullet {
    background: var(--Black);
    width: 10px;
    height: 10px;
    opacity: 1;
}

.swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--Red);
}

.wp-editor-link {
    display: flex;
}

.link-color a {
    color: var(--Red);
    text-decoration: underline;
}

.flex-half > * {
    flex: 1 1 50%;
}

/* .wp-block-group .mini-heading { */
.mini-heading {
    border-bottom: 1px solid var(--Grey);
    margin-inline: auto;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    font-weight: 700;
    line-height: 98%;
    text-transform: uppercase;
}

.mini-heading.c-light-grey {
    border-bottom: 1px solid var(--Light-Grey);
}

.intro-text-block.block-padding {
    padding: clamp(20px, 5vw, 54px) 0 clamp(20px, 5vw, 69px);
}

.intro-text-block .wp-block-group {
    max-width: 987px;
}

.intro-text-stack .wp-block-heading {
    margin-bottom: 25px;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.white-separator {
    border-color: #FFF;
    margin-block: clamp(20px, 5vw, 50px) !important;
}

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

#POSTS

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

.page-wrapper.single-post {
    padding-top: clamp(20px, 4.44vw, 63px);
}

.single-post .entry-content {
    max-width: 942px;
    margin: 0 auto;
}

.single-post .entry-content h1 {
    margin-bottom: 36px;
}

.single-post .entry-content .single-featured-image img {
    width: 100%;
    object-fit: cover;
}

.post-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-top: 20px;
}

.single-post .post-header {
    margin-bottom: 48px;
}

.more-posts-list {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.more-post {
    flex: 1 calc(33% - 24px);
}

.more-post-thumb {
    display: flex;
    margin-bottom: var(--spacing-medium);
}

.more-post-thumb img {
    aspect-ratio: 463 / 305;
    width: 100%;
    object-fit: cover;
}

.more-posts-title {
    margin-bottom: clamp(20px, 5vw, 60px);
}

.single-post .page-item {
    position: relative;
    text-align: center;
}

.single-post .page-item .mini-heading {
    border-color: var(--White);
    margin-bottom: 35px;
}

.single-post .page-item .page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 864px;
}

.single-post .page-item .page-content h2 {
    margin-bottom: 9px;
}

.single-post .page-item .page-content p {
    margin: 0;
}

.single-post .page-item .more-btn {
    margin-top: var(--spacing-large);
}

.single-post .pages-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.single-post .page-image {
    display: flex;
}

.single-post .page-image img {
    width: 100%;
    height: 595px;
    object-fit: cover;
}

.single-file-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(20px, 3.5vw, 50px);
}

.single-post-type .single-file-item {
    border-bottom: 1px solid var(--Black);
    padding-bottom: 21px;
    margin-bottom: 29px;
}

.single-file-item .item-content {
    display: flex;
    gap: 24px;
    flex: 0 75%;
}

.single-file-item .item-thumbnail {
    width: 64px;
    height: 80px;
}

.single-file-item .item-thumbnail img {
    height: 100%;
    object-fit: fill;
}

.item-titles-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.single-file-item .item-date {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.single-file-item .item-title {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    margin: 0;
}

.single-file-item .item-file,
.single-file-item .item-link {
    align-self: flex-end;
}

.posts-block {
    padding-top: var(--spacing-large);
    padding-bottom: var(--spacing-xl);
}

.posts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 calc(50% - 14px);
    margin-bottom: var(--spacing-120);
}

.post-item .post-link {
    width: 100%;
}

.post-item .post-thumb {
    display: flex;
}

.post-item .post-thumb img {
    width: 100%;
    max-height: 402px;
    object-fit: cover;
}

.post-item .post-title {
    margin-block: var(--spacing-medium);
}

.post-item .more-btn {
    background: var(--Dark-Grey);
}

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

#ARCHIVES

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

.archive-hero {
    display: flex;
    flex-direction: column;
}

.archive-hero-image {
    max-height: 485px;
    width: 100%;
    object-fit: cover;
}

.archive-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: clamp(20px, 5vw, 62px);
}

.single-post-type {
    padding-bottom: var(--spacing-large);
}

.single-post-type-wrapper {
    max-width: 1400px;
    width: 100%;
}

.single-post-type-filter {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-120);
}

.year-filter {
    border: 1px solid #000;
    font-size: var(--body-text-small);
    padding: 10px 14px;
}

.year-filter option {
    font-size: 11px;
}

.year-filter option:hover {
    background: var(--Dark-Grey);
}

.pagination-wrapper {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.page-numbers {
    border: 1px solid var(--Light-Grey);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--Dark-Grey);
}

.page-numbers.current {
    background: var(--Red);
    color: var(--White);
    border: none;
}

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

#PAGES

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

.news-block {
    background-color: var(--White);
    padding-top: var(--spacing-large);
}

.news-block-content {
    max-width: 865px;
    margin: 0 auto;
}

.chairman-block {
    margin-bottom: var(--spacing-large);
}

.chairman-block .pretitle {
    font-weight: bold;
    border-bottom: 1px solid var(--Light-Grey);
    margin-bottom: var(--spacing-small);
    padding-bottom: 12px;
}

.chairman-img img {
    max-width: 492px;
    height: 770px;
    object-fit: cover;
}

.first-aid-block .content-wrapper {
    max-width: 650px;
}

.first-aid-block .image-col figure {
    height: 100%;
    width: 100%;
}

.first-aid-block .image-col img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.statements-block .statements-block-content .content-group {
    max-width: 687px;
}

.statements-block-content .mini-heading {
    border-bottom: 1px solid #8F9D9E;
    margin-bottom: clamp(20px, 5vw, 52px);
    max-width: 1400px;
}

.history-text-block {
    padding-top: clamp(20px, 8vw, 112px);
    padding-bottom: clamp(20px, 4.4vw, 40px);
}

.history-text-block .wp-block-group {
    max-width: 1100px;
    gap: 44px;
}

.cols-block-1-row {
    max-width: 1280px;
    margin: 0 auto;
    justify-content: space-between;
}

.cols-block-1 img {
    max-width: 408px;
}

.cols-block-1-stack {
    gap: 20px;
    max-width: 688px;
}

.cols-block-2-row {
    max-width: 1280px;
    margin: 0 auto;
    justify-content: space-between;
}

.cols-block-2-stack {
    gap: 20px;
    max-width: 683px;
}

.cols-block-2 img {
    max-width: 391px;
}

.ifrc-block .wp-block-group {
    max-width: 937px;
}

.ifrc-block .wp-block-group p {
    max-width: 755px;
}

.emblems-block {
    padding-block: clamp(20px, 8.66vw, 142px);
}

.emblems-stack {
    max-width: 1263px;
    width: 100%;
    gap: var(--spacing-large);
}

.emblems-row {
    align-items: flex-start;
}

.emblems-row .wp-block-group {
    max-width: 539px;
}

.emblems-row .wp-block-group .wp-block-heading {
    margin-bottom: 25px;
}

.emblems-stack .emblems-text {
    margin-bottom: 30px;
}

.emblems-stack .emblems-image {
    margin-top: 14px;
}

.action-text-block {
    padding-top: clamp(20px, 7.44vw, 105px);
    padding-bottom: clamp(20px, 6vw, 74px);
}

.action-text-block .wp-block-group {
    max-width: 865px;
}

.action-text-block .wp-block-group .wp-block-heading {
    margin-bottom: 25px;
}

.cg-text-block {
    padding-top: clamp(20px, 5vw, 69px);
    padding-bottom: clamp(20px, 5vw, 83px);
}

.cg-text-block .wp-block-group {
    gap: 25px;
    max-width: 993px;
}

.donation-info-block {
    padding-block: clamp(20px, 6vw, 60px);
}

.donation-info-block .wp-block-group {
    max-width: 789px;
}

.donation-info-block .wp-block-group .wp-block-heading {
    margin-bottom: 42px;
}

.volunteer-text-block {
    padding: 66px 0 49px;
}

.volunteer-text-block .wp-block-group {
    max-width: 865px;
}

.volunteer-text-block .wp-block-group .wp-block-heading {
    margin-bottom: 25px;
}

.intro-img-short {
    display: flex;
    margin: 0;
}

.intro-img-short img {
    max-height: 485px;
    width: 100%;
    object-fit: cover;
}

.press-release-title {
    padding-block: clamp(20px, 5vw, 62px);
}

.youth-title-block {
    padding: clamp(20px, 5.55vw, 85px) 0 clamp(20px, 4.33vw, 68px);
}

.youth-title-block .wp-block-group {
    max-width: 735px;
}

.youth-title-block .youth-block-subtitle {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    margin: clamp(20px, 2vw, 28px) 0 clamp(20px, 4.33vw, 64px);
}

.bd-text-block .wp-block-group {
    max-width: 1059px;
}

.ge-text-block {
    padding-block: clamp(20px, 5vw, 72px);
}

.ge-text-block .wp-block-group {
    max-width: 1029px;
}

.ge-list-block {
    padding-block: clamp(20px, 5vw, 87px);
}

.ge-list-block .wp-block-group {
    max-width: 1280px;
    width: 100%;
    margin-bottom: 30px;
}

.ge-list-block a {
    color: var(--Red);
    margin-right: 30px;
}

.in-memory-text-block {
    padding: clamp(20px, 5vw, 76px) 0 clamp(20px, 3vw, 40px);
}

.in-memory-text-block .wp-block-group {
    max-width: 1257px;
}

.in-memory-text-block .wp-block-group .wp-block-heading {
    margin-bottom: clamp(20px, 4vw, 45px);
}

.in-memory-text-block .wp-block-group p {
    font-size: clamp(17px, 2.22vw, 21px);
}

.fundraiser-text-block {
    padding-block: clamp(20px, 5vw, 58px);
}

.faq-title {
    padding-block: clamp(20px, 5vw, 66px);
}

.yt-video-block .wp-block-group {
    gap: clamp(20px, 5vw, 74px);
    max-width: 1036px;
    width: 100%;
}

.yt-video-block .wp-block-embed {
    width: 100%;
}

.yt-video-block .wp-block-embed iframe {
    width: 100%;
    min-height: 500px;
}

.join-text-block {
    padding: clamp(20px, 5vw, 50px) var(--spacing-xxl) clamp(20px, 5vw, 78px);
}

.banks-text-block {
    padding-block: clamp(20px, 5vw, 69px);
}

.banks-text-block .wp-block-group {
    max-width: 470px;
    gap: 34px;
}

.contact-info-block {
    padding: clamp(20px, 6.66vw, 97px) 0 clamp(20px, 7vw, 114px);
}

.contact-info-block .wp-block-group {
    max-width: 830px;
}

.join-info-block {
    padding-block: clamp(20px, 5vw, 74px);
    gap: clamp(20px, 5vw, 77px);
}

.join-info-block > .wp-block-group {
    max-width: 1020px;
}

.member-info-stack {
    justify-content: space-between;
    width: 100%;
}

.member-info-stack .wp-block-group {
    position: relative;
}

.member-info-stack .wp-block-group:not(:last-child)::after {
    content: "";
    width: 3px;
    height: 43px;
    background: var(--White);
    position: absolute;
    right: -50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.economics-block {
    padding: clamp(20px, 5vw, 67px) 0 clamp(20px, 8vw, 109px);
}

.sectors-flex {
    align-items: flex-start;
    justify-content: space-evenly;
    row-gap: clamp(20px, 5vw, 78px);
    margin-top: var(--spacing-large) !important;
}

.sector-item {
    flex: 0 calc(33% - 10px);
}

.sectors-flex .sector-item .wp-block-heading {
    margin-bottom: 18px;
}

.contact-pdf-stack {
    margin-top: var(--spacing-120) !important;
}

.search-header {
    padding-top: var(--spacing-xl);
}

.search-results-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

article.search-result-item {
    flex: 1 calc(33% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: var(--BG);
    border-radius: 25px;
    padding: 28px 14px;
}

.result-footer {
    display: flex;
}

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

#FOOTER

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

footer {
    background: var(--White);
    border-top: 2px solid var(--Red);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: clamp(20px, 5vw, 72px);
}

.footer-logo {
    padding-right: clamp(20px, 7vw, 120px);
    display: flex;
    align-items: center;
}

.footer-logo .logo {
    max-height: 100px;
}

.footer-info {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.footer-info-col {
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-info-col p {
    margin: 0;
}

.contact-info-wrapper {
    display: flex;
    margin-bottom: 32px;
}

.contact-info p, 
.contact-info .footer-link {
    font-weight: 500;
    font-size: clamp(16px, 4vw, 19px);
    line-height: 134%;
    margin: 0;
}

.contact-info.address {
    border-right: 3px solid var(--Red);
    padding-right: 36px;
}

.contact-info.contact {
    display: flex;
    flex-direction: column;
    padding-left: 36px;
}

.nav.footer {
    display: flex;
    gap: 28px;
}

.nav.footer li {
    position: relative;
}

.nav.footer li:not(:last-child)::after {
    content: "";
    background: var(--Black);
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 13px;
    right: -18px;
    height: 8px;
    width: 8px;
}

.nav.footer li a {
    color: var(--Red);
    font-weight: 700;
    font-size: clamp(16px, 4vw, 19px);
    line-height: 184%;
}

.socials {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-block: 24px;
}

.social-link {
    display: flex;
    align-items: center;
}

.social-link:last-child img {
    margin-top: 3px;
}

.newsletter .newsletter-title {
    margin-bottom: 5px;
}

.newsletter .newsletter-subtitle {
    margin-bottom: 14px;
}

.newsletter .wpcf7-form p:last-of-type {
    height: 34px;
} 

.newsletter .wpcf7-form p:last-of-type input {
    height: 34px;
    max-width: 237px;
}

.newsletter .wpcf7-form p:last-of-type .wpcf7-submit {
    border: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16" viewBox="0 0 15 16" fill="none"><path d="M14.7071 8.70711C15.0976 8.31658 15.0976 7.68342 14.7071 7.29289L8.34315 0.928932C7.95262 0.538408 7.31946 0.538408 6.92893 0.928932C6.53841 1.31946 6.53841 1.95262 6.92893 2.34315L12.5858 8L6.92893 13.6569C6.53841 14.0474 6.53841 14.6805 6.92893 15.0711C7.31946 15.4616 7.95262 15.4616 8.34315 15.0711L14.7071 8.70711ZM0 8V9H14V8V7H0V8Z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 16px;
    text-indent: -9999px;
    width: 37px;
}

.newsletter .wpcf7-form p:last-of-type .wpcf7-not-valid-tip {
    position: absolute;
}

.newsletter .wpcf7-form .wpcf7-submit {
    background: var(--Dark-Grey);
    color: var(--White);
}

.createdby {
    flex: 1 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

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

#CONTACT FORM

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




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

#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) {
    
}

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

@media (min-width: 1200px) {

    .navbar-toggle {
        display: none;
    }

    .mobile.menu-items {
        display: none;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    ul.sub-menu {
        display: none;
        list-style: none;
        padding: 0;
    }

    .nav.main li.menu-item-has-children:hover .sub-menu {
        display: flex;
        flex-direction: column;
        padding: 28px 23px;
        min-width: 220px;
        position: absolute;
        top: 100%;
        left: 0;
    }

    .nav.main .sub-menu li {
        padding: 10px 0;
    }

    .nav.main .sub-menu li a {
        text-transform: none;
    }

}

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

}

/*
// Desktop First
*/

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

    footer {
        column-gap: clamp(20px, 3vw, 52px);
        padding-inline: var(--spacing-medium) !important;
    }

    .footer-logo {
        padding-right: 0;
    }

}

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

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .menu-wrapper {
        background: var(--White);
        padding: 0;
        border-bottom: 1px solid;
    }

    .nav.footer {
        flex-direction: row;
    }

    .navbar.mobile-nav {
        /* display: flex; */
        flex-wrap: nowrap;
        justify-content: space-between;
        background: var(--White);
    }

    .mobile-nav-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .navbar-toggle {
        background: none;
        border: none;
        display: flex;
        align-items: center;
    }

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

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

    .burger path {
        transition: transform 0.5s ease, opacity 0.5s ease;
        transform-origin: center;
    }

    .nooverflow .burger path:nth-child(1) {
        opacity: 0;
    }

    .nooverflow .burger path:nth-child(2) {
        /* transform: rotate(45deg) translate(5px, 5px); */
        transform: rotate(45deg);
    }

    .nooverflow .burger path:nth-child(3) {
        opacity: 0;
    }

    #mobile-menu-container {
        display: flex;
        align-items: flex-start;
        position: absolute;
        top: 73px;
        /* right: 0; */
        left: -100%;
        bottom: 0;
        /* background: rgba(0, 0, 0, 0.5); */
        background: transparent;
        height: calc(100vh - 72px);
        width: 100%;
        transition: left 0.3s ease;
    }

    #mobile-menu-container .nav {
        background: var(--White);
        width: 80%;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 10%;
    }

    .nooverflow #mobile-menu-container {
        left: 0;
    }

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

    .nav.main:not(.sub-menu) li {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        width: 100%;
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-open .mobile-menu-toggle {
        top: 5px;
    }

    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
        fill: var(--Black);
    }

    .nav.main li.menu-item-has-children.mobile-menu-open .sub-menu {
        display: flex;
        flex-direction: column;
        gap: 15px;
        background: var(--BG);
        padding: 15px;
        margin-top: 20px;
        width: 100%;
    }

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

    .search-toggle {
        display: none;
    }

    .home-link {
        display: flex;
    }

    .header-logo {
        padding: 0 10px;
    }

    .donation-link {
        padding: 0 10px;
        height: 72px;
    }

    form.inline-search-form {
        display: flex;
    }

    input.inline-search-field {
        border: none;
        border-bottom: 1px solid;
    }

    button.inline-search-submit {
        border: none;
        background: none;
    }

    .chairman-img img {
        max-width: 100%;
    }

    footer {
        flex-direction: column;
        padding-top: var(--spacing-medium);
    }

}

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

    :root {
        --spacing-120: clamp(20px, 5.55vw, 120px);
        --spacing-xxl: clamp(20px, 5.77vw, 192px);
    }

    .footer-info {
        flex-direction: column;
    }

    .chairman-block {
        flex-direction: column;
    }

    .cols-block-1, .cols-block-2, .emblems-block, .action-text-block {
        padding-inline: var(--spacing-medium);
    }

    .history-titles-wrapper {
        padding-inline: var(--spacing-medium);
    }

    .article-content {
        padding-inline: var(--spacing-small);
    }

    .single-post .page-item .page-content {
        width: 100%;
        padding-inline: var(--spacing-small);
    }

    .all-categories {
        padding-top: var(--spacing-large) !important;
    }

    .category-wrapper:not(:last-child) {
        margin-bottom: 40px !important;
    }
}

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

    :root {
        --spacing-large: clamp(20px, 4.5vw, 90px);
        --spacing-xl: clamp(20px, 4.5vw, 162px);
        --spacing-xxl: clamp(20px, 4.5vw, 192px);
    }

    .news-block-content {
        padding-inline: var(--spacing-small);
    }

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

    .donation-link {
        padding: 0px 8px;
    }

    .more-posts-list {
        flex-direction: column;
    }

    .post-item {
        flex: 1 100%;
    }

}

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

    .footer-logo {
        padding-right: 0;
        justify-content: center;
    }

    .contact-info-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info.address {
        border-right: none;
        padding-right: 0;
        border-bottom: 2px solid var(--Red);
        padding-bottom: 5px;
    }

    .contact-info.contact {
        padding-left: 0;
        padding-top: 5px;
    }

    .footer-menu .menu {
        justify-content: center;
    }

    .nav.footer {
        flex-direction: column;
        gap: 0;
    }

    .nav.footer li::after {
        content: none !important;
    }

    .footer-info-col {
        text-align: center;
    }

    .footer-info-col .socials {
        justify-content: center;
    }

    .newsletter .wpcf7-spinner {
        display: flex;
        margin: 0 auto;
    }

    .category-wrapper:not(:last-child) {
       padding-inline: var(--spacing-small);
    }

}

@media (max-width: 500px) {
.page-id-17 .page-intro-img
	{object-position: 55% 50%;}
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-80px); /* slide in from further left */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(80px); /* slide in from further right */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Default hidden */
.slidein-col-left,
.slidein-col-right {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

/* Smooth slide with longer duration (no delay) */
.slidein-col-left.is-visible {
  animation: slideInFromLeft 1.5s ease-out forwards;
}

.slidein-col-right.is-visible {
  animation: slideInFromRight 1.5s ease-out forwards;
}
