/*
Theme Name: Wordify
Theme URI: http://underscores.me/
Author: 4nt0n
Description: simple wordpress starter based on underscores
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wordify
Tags:
*/

@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');

body * {
	font-family: "Commissioner", sans-serif!important;	
}

body header .main-logo {
	width: auto;
	height: 73px;
    margin-top: 10px;
    margin-bottom: 10px;
}

body header .menu {
	justify-content: space-between;
	margin-top: 0;
    margin-bottom: 0;
}

header nav ul li svg {
	    position: relative;
    top: 3px;
}

body nav svg path {
	stroke: #9ea6a8;
}

body header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

body .fixed-header-small {
    height: 75px;
}

body .fixed-header-small .main-logo {
    width: auto;
    height: 50px;
}

body .slider-text {
   width: 50%;
   max-width: none;
}

@media (max-width: 1279px) {
	body .slider-text {
	   width: 90%;
	}
}

@media (max-width: 767px) {
    body .main-wrapper {
        margin-top: 0px;
    }
}
/* Main Navigation */
.main-navigation {
    background-color: transparent;
    position: relative;
    z-index: 100;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
	height: 100%;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
	margin-right: 15px;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu-item > a:hover {
    color: #6C9AAE;
}

/* Submenu Arrow */
.submenu-arrow {
    transition: transform 0.3s ease;
}

.menu-item:hover .submenu-arrow {
    transform: rotate(180deg);
}

/* Submenu Styles */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(10px);
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Submenu triangle */
.submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,0.05);
}

.submenu-item {
    position: relative;
}

.submenu-item a {
    display: block;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submenu-item a:hover {
    color: #0066cc;
    background-color: #f5f5f5;
}

/* Search Button */
.search-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: #0066cc;
}

/* Search Popup */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.search-popup.active {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.search-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.search-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background-color: #ffffff36;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: #333;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-field {
    flex: 1;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    border-color: #0066cc;
}

.search-submit {
    padding: 20px 25px;
    background-color: #7d99ac;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background-color: #0052a3;
}

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

/* Responsive */
@media (max-width: 1279px) {
    .primary-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .menu-item {
        width: 100%;
    }
    
    .menu-item > a {
        padding: 15px 0;
        justify-content: space-between;
    }
    
    /* Mobile submenu styles */
    .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        background-color: #f8f8f8;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
    }
    
    .submenu::before {
        display: none;
    }
    
    .menu-item.submenu-open .submenu {
        display: block;
    }
    
    .menu-item.submenu-open .submenu-arrow {
        transform: rotate(180deg);
    }
    
    .submenu-item a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
    }
    
    .submenu-item a:hover {
        background-color: #efefef;
    }
    
    .search-popup-content {
        padding: 30px 20px;
    }
    
    .search-field {
        font-size: 16px;
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 15px;
    }
}

/* Burger Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Burger animation when active */
.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
/* Mobile controls container */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

/* Hide mobile search on desktop */
.search-toggle.mobile-search {
    display: none;
}

/* Show desktop search on desktop */
.search-toggle.desktop-search {
    display: block;
}

/* Mobile-specific styles */
@media (max-width: 1279px) {
    /* Show mobile controls */
    .mobile-controls {
        display: flex;
        order: 1;
    }
	
	body.menu-open .mobile-controls {
        order: 0;
    }
    
    /* Hide desktop search, show mobile search */
    .search-toggle.desktop-search {
        display: none;
    }
    
    .search-toggle.mobile-search {
        display: block;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        color: #333;
    }
    
    /* Ensure menu container uses flexbox for mobile layout */
    body header .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* Logo should be on the left */
    .logo-h1, 
    body header .menu > a:first-child {
        order: 0;
        margin: 0;
    }
    
    /* Hide main navigation on mobile */
    body header .main-navigation {
        display: none;
    }
	
	body.menu-open header .main-navigation {
        display: flex!important;
		top: 0;
		right: 0;
		height: 0;
		width: 100%;
		padding: 0;
    }
    
    /* Mobile menu toggle already has display: block from existing CSS */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Primary menu mobile styles - keep existing */
    .primary-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 90%;
        height: 100vh;
        background-color: #ffffff;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
        flex-direction: column;
        gap: 0;
        margin-right: 0;
		padding-left: 40px;
		padding-right: 40px;
    }
    
    .primary-menu.active {
        right: 0;
    }
	
	.menu-item:hover .submenu{
		transform: none;
		background-color: white;
	}
}

/* Overlay when menu is open */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
    body header .main-logo {
		width: auto;
		height: 53px;
	}
}

body .hero-slide-title .title {
	font-weight: 500;
	font-size: 35px;
}

body .hero-slide-title .org {
	font-size: 24px;
}

body .main-container {
    background: #f1f4f6;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

body .main-container .main-text {
	width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

body .main-container .main-text * {
	    width: 80%;
    text-align: left;
    margin: 0 auto;
	padding: 0;
}

body .main-container .main-text h4 {
	font-size: 26px;
    font-weight: 500;
    margin-bottom: 20px;
}

body .main-container .main-text p {
	font-size: 18px;
	line-height: 140%;
}

body .main-container .main-text a.more,
body .main-container .main-text a.button {
    color: #6C9AAE;
    leading-trim: both;
    text-edge: cap;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    padding-bottom: 4px;
    border-bottom: 1px solid #6C9AAE;
	position: relative;
    top: 10px;
	text-transform: uppercase;
}

body .main-container .main-text a.more:hover,
body .main-container .main-text a.button:hover {
	color: black;
		border-bottom: 1px solid  black;
}

body .main-container .main-image {
	width: 100%;
	overflow: hidden;
}

body .main-container .main-image img{
	    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .latest-news {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 50px;
	    display: block;
}

body .latest-news h3{
    border-bottom: none;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 46px;
}

body .latest-news h3 a {
    color: #1C1C1C;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
}

body .latest-news .link {
	position: relative;
	right: auto;
	top: auto;
	font-size: 12px;
	border-bottom: 1px solid #6C9AAE;
	font-style: normal;
	font-weight: 700;
	    letter-spacing: normal;
}

body .latest-news .items-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-top: 32px;
}

body .latest-news .items-container .item {
    width: 100%;	
}

body .latest-news .items-container .item h4 {
	    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    color: #1D1C1B;
	margin-bottom: 16px;
} 

body .latest-news .items-container .item h4 a {
		    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    height: calc(31px * 3);
}

body .latest-news .items-container .item .image {
    aspect-ratio: 1.667;
}

body a.more {
	color: #6C9AAE;
	leading-trim: both;
	text-edge: cap;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	padding-bottom: 4px;
	border-bottom: 1px solid  #6C9AAE;
}

body a.more:hover {
	color: black;
	border-bottom: 1px solid  black;
}

body .actions h3 {
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
	margin-bottom: 30px;
}

body .actions .items-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

body .actions .items-container .item {
    aspect-ratio: 1;
    background: #1D2D35;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
	width: 100%;
	    padding: 50px;
    text-align: center;
}

body .actions .items-container .item * {
	color: white;
}

body .actions .items-container .item:nth-child(even) {
    background: #EFF4F6;
}

body .actions .items-container .item:nth-child(even) * {
    color: #1C1C1C;
}

body .actions .items-container .item .dates {
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	color: #7AD7D7;
}

body .actions .items-container .item h4 {
	font-size: 26px;
	font-style: normal;
	font-weight: 500;
	margin-bottom: 32px;
}

body .actions .items-container .item p {
	font-size: 18px;
font-style: normal;
font-weight: 400;
}

body .actions .items-container .item a {
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	margin-top: 40px;
	padding-bottom: 4px;
	border-bottom: 1px solid white;
}

body .actions .items-container .item a:hover {
   color: #7AD7D7;	 
	border-bottom: 1px solid #7AD7D7;
}

body .actions .items-container .item:nth-child(even) a {
    border-color: #1C1C1C;
}

body .actions .items-container .item:nth-child(even) a:hover {
    border-color: #7AD7D7;
}

body .logos-list h3 {
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    color: #1C1C1C;
    text-align: center;
    border: none;
    padding: 0;
    margin-bottom: 8px;
}

.logos-list h4 {
    text-align: center;	
}

.logos-list h4 a {
    color: #6C9AAE;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.logos-list h4 a:hover {
	color: black!important;
}

body .logos-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    max-width: 1920px;
    margin: 40px auto;
	padding: 0 40px;
}

body .logos-container .site-logo {
        width: 210px;
    position: relative;
    padding-right: 20px;
	    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
}

body .logos-container .site-logo:after {
    content: "";
    width: 9px;
    display: block;
    height: 70%;
    position: absolute;
    top: 50%;
    right: -20px;
    background: #7d99ac;
    transform: translateY(-50%);
}

body .logos-container .site-logo img {
	width: 100%;
}

body .logos-container .logos {
    width: 100%;
    padding-left: 40px;
}

body .logos-list .logos .logo {
    flex-basis: auto;
	padding: 0;
    margin: 0;
}

.podcast-container {
    background: #EFF4F6;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.podcast-container .image {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
	padding: 0;
	justify-content: center;
}

.podcast-container .podcast-content {
    width: 100%;
}

.podcast-container .podcast-content h4 {
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    color: #1D2D35;
	margin-bottom: 24px;
}

.podcast-container .podcast-content p {
    color: #1D2D35;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
	margin-bottom: 32px;
}

.podcast-container .podcast-content a {
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    padding-bottom: 4px;
    border-bottom: 1px solid #1D2D35;
    color: #1D2D35;
}

.podcast-container .podcast-content a:hover {
    border-bottom: 1px solid #7AD7D7;
    color: #7AD7D7;	
}


/* Footer styleing */
.site-footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 60px 0 20px;
    font-size: 14px;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li:first-child a {
    text-transform: uppercase;
    color: white;
    pointer-events: none;
    cursor: default;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact {
    color: #bdc3c7;
}

.footer-contact a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-newsletter p {
    color: #bdc3c7;
    margin-bottom: 20px;
    font-size: 13px;
}

.footer-newsletter .gform_wrapper.gravity-theme .gfield_label {
	color: #FFF;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 22.4px */
}

.footer-newsletter .gform_wrapper.gravity-theme .gchoice label {
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}

.footer-newsletter .gform_wrapper.gravity-theme input[type=submit] {
	background: transparent;
	    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    color: white;
    border: 1px solid white;
    padding: 16px 40px;
    margin-bottom: 30px;
}

.footer-newsletter .gform_wrapper.gravity-theme input[type=submit]:hover {
	border: 1px solid black;
	background: white;
	color: black;
}

.newsletter-form .form-control {
    background-color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.newsletter-form .form-check {
    margin-bottom: 15px;
}

.newsletter-form .form-check-label {
    color: #bdc3c7;
    font-size: 12px;
    margin-left: 5px;
}

.btn-newsletter {
    background-color: #3498db;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    padding: 10px 30px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-newsletter:hover {
    background-color: #2980b9;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.social-links li {
    display: inline-block;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #34495e;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
}

.copyright {
    color: #bdc3c7;
    font-size: 13px;
}

.copyright a {
    color: #3498db;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.bottom-footer {
    background-color: #2c3e50;
    padding: 20px 0;
    font-size: 14px;
    color: #bdc3c7;
}

.footer-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-credits a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
	font-size: 11px;
}

.footer-credits a:hover {
    color: #ffffff;
}

.footer-credits .separator {
    color: #556575;
    margin: 0 10px;
}

@media (max-width: 1279px) {
	body .main-container {
		        flex-direction: column;
	}
	body .main-container .main-text {
		order: 2;
		padding: 60px 20px;
	}
	body .main-container .main-image {
		order: 1;
	}
	body .latest-news .link {
		text-align: left;
		display: inline;
	}
	body .latest-news .items-container {
		flex-direction: column;
	}
	body .actions .items-container {
		flex-direction: column;
	}
	body .logos-list h3 {
    	padding: 0 30px;
	}
	body .logos-container .site-logo {
    	display: none;
	}
	.podcast-container {
		flex-direction: column;
	}
	.podcast-container .image {
    	order: 2;
	}
	.podcast-container .podcast-content {
		padding: 40px 24px 0;
		order: 1;
	}
	.site-footer {
    	padding: 60px 20px;
	}
	.footer-logo {
		display: none;
	}
	.footer-links a {
    	padding: 10px 0;
	}
	.site-footer .footer-newsletter {
		order: 1;	
		        margin-bottom: 62px;
	}
	.site-footer .footer-menu{
		order: 2;
		        margin-bottom: 62px;
	}
	.site-footer .footer-menu-2{
		order: 3;
		        margin-bottom: 62px;
	}
	.site-footer .footer-contact {
		order: 4;
		        margin-bottom: 62px;
	}
	.footer-credits {
		flex-direction: column;
	}
	body .logos-container .logos {
		padding-left: 0px;
	}
	body .logos-list .logos .logo {
		max-width: 50%;
	}
}

.grid-container .grid-item a img {
    max-height: 350px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 0 0;
    object-position: 0 0;
    opacity: 1;
    display: block;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1;
    object-position: center;
}