/*==========================================================================*/
/*  Theme Information                                                      */
/*==========================================================================*/
/* Theme metadata */
/* Theme Name: c7web */
/* Theme URI: http://underscores.me/ */
/* Author: c7Websites */
/* Author URI: https://www.c7websites.com/ */
/* Description: WordPress custom ACF flexible content-based simple theme */
/* Version: 1.0.0 */
/* Text Domain: c7web */

/*==========================================================================*/
/*  CSS Variables                                                           */
/*==========================================================================*/
:root {
    --default-font: "Roboto", sans-serif;
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
    --background-color: #ffffff;
    --default-color: #000000;
    --heading-color: #38a949;
    --accent-color: #38a949;
    --surface-color: #ffffff;
    --contrast-color: #2a4088;
    --nav-color: #2a4088;
    --nav-hover-color: #38a949;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #000;
    --nav-dropdown-hover-color: #2a4088;
    --black: #000; 
    --white: #ffffff;
    --bg-light: #f5f9fc;
    --light-color:#f5f5f5;
    --gray:#9b9b9b;
    scroll-behavior: smooth;
}

/*==========================================================================*/
/*  Global Styles                                                           */
/*==========================================================================*/
body {
    color: var(--default-color);
    background-color: var(--white);
    font-family: var(--default-font);
    margin: 0;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}
h2 {
    font-weight: bold;
}
h4 {
  font-weight: 600;
  font-size: 18px;
  color: var(--nav-color);
}
h5 {
  font-size: 18px;
  font-weight: 700;
}
h5 a {
  color: var(--contrast-color);
}
h5 a:hover{
  opacity: 0.8;
}
/*==========================================================================*/
/*  Buttons                                                                 */
/*==========================================================================*/
.btn.btn-primary {
    font-size: 16px;
    padding: 10px 30px;
    border-radius: 4px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.btn.btn-primary:hover,
.btn.btn-secondary:focus {
    opacity: 0.8;
}
.btn.btn-secondary,
.btn.btn-secondary:focus{
  color: var(--contrast-color);
  font-size: 16px;
  padding: 8px 30px;
  border-radius: 50px;
  transition: 0.3s;
  border: 2px solid var(--accent-color);
  background: transparent;
}
.btn.btn-secondary:focus,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus:hover,
.btn.btn-secondary:active {
  color: var(--surface-color);
  background: var(--accent-color);
}
.btn.btn-tertiary {
  padding: 0;
}
.btn.btn-tertiary:hover{
  text-decoration: underline;
}
.btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 600;
  color: var(--default-color);
  opacity: 1;
}

.btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  line-height: 0;
  margin-right: 8px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.btn-watch-video:hover {
  color: var(--accent-color);
}

.btn-watch-video:hover i {
  color: var(--accent-color);
  opacity: 0.8;
}
.buttons-wrapper {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	column-gap: 20px;
	row-gap: 16px;

}
.buttons-wrapper .button-wrapper .btn {
	width: 100%;
}
.bg-black .btn.btn-secondary,
.bg-dark .btn.btn-secondary {
  border-color: var(--white);
  opacity: 1;
  color: var(--white);
}
.bg-black .btn.btn-secondary:hover,
.bg-dark .btn.btn-secondary:hover{
  border-color: var(--accent-color);
}
/*==========================================================================*/
/*  Global                                                                  */
/*==========================================================================*/
img{
    max-width: 100%;
    height: auto;
}
.img-wrapper img{
    display: block;
    width: 100%;
    height: auto;
}
.img-border,
.image-border,
.section-content-side-image .col-image .img-wrapper{
  border: 6px solid var(--surface-color);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
}
.img-border img,
.section-content-side-image .col-image .img-wrapper img,
.image-border img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  aspect-ratio: 16/9;
}
.img-border:hover img,
.image-border:hover img,
.section-content-side-image .col-image .img-wrapper:hover img {
  transform: scale(1.03);
}
.bg-white .img-border,
.bg-white .image-border,
.bg-white.section-content-side-image .col-image .img-wrapper,
.bg-transparent .image-border,
.bg-transparent .img-border,
.bg-transparent.section-content-side-image .col-image .img-wrapper{
    border-color: var(--bg-light);
}
.background-image-wrapper {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.background-image-wrapper img {
	object-fit: cover;
	object-position: top center;
	width: 100%;
	height: 100%;
}
section{
	position: relative;
	padding: 64px 0;
}
.no-results,
.not-found,
.no-results.not-found{
  padding: 0;
}
section:has(.background-image-wrapper):before {
	content: "";
	background: rgba(42,64,136,0.9);
	position: absolute;
	inset: 0;
	z-index: 2;
}
section.bg-dark:has(.background-image-wrapper):before {
	background: rgba(0,0,0,0.75);
}
iframe{
    display: block;
    width: 100%;
}
figure{
	display: block;
	margin: 0;
}
section:has(.background-image-wrapper) > .section-content {
	z-index: 5;
	position: relative;
}
.background-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.video-background {
	height: 100%;
}
section:has(.background-video-wrapper):before {
	opacity: 0.7;
	background: rgba(0,0,0,0.9);
}
/*==========================================================================*/
/*  Header                                                                  */
/*==========================================================================*/
.header {
    color: var(--default-color);
    background-color: var(--surface-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999999;
    transition: all 0.5s;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.header .logo img {
    max-height: 55px;
    transition: transform 0.3s ease;
}
.header .btn{
	margin: 0 0 0 30px;
}
/*==========================================================================*/
/*  Navigation Menu                                                         */
/*==========================================================================*/

.mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
}
.navmenu {
    padding: 0;
}

.navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
}

  .navmenu a {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
  .navmenu ul li .btn-getstarted,
  .navmenu ul li .btn-getstarted:focus {
    margin: 10px 10px 0;
    padding: 6px 15px;
  }

.mobile-nav-active .navmenu ul{
    display: flex;
}
.btn-nav a{
    color: var(--contrast-color);
  font-size: 16px;
  border-radius: 50px;
  transition: 0.3s;
  border: 2px solid var(--accent-color);
  margin: 10px 10px 0;
    padding: 6px 15px;
}
.btn-nav a:hover{
    color: var(--surface-color);
  background: var(--accent-color);
}
/*==========================================================================*/
/*  Footer                                                                  */
/*==========================================================================*/
.footer {
    color: #fff;
    background-color: var(--contrast-color);
    font-size: 14px;
    padding: 50px 0;
}

.footer .footer-top {
    padding-top: 50px;
}

.footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 10px;
}

.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
    color: #fff;
}

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

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul a {
    color: #fff;
    display: inline-block;
    line-height: 1;
}

.footer .footer-links a:hover {
    color: var(--accent-color);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #fff;
    font-size: 16px;
    color: #fff;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .footer-contact p,
.footer .footer-about p {
    margin-bottom: 5px;
}

.footer .footer-about p {
    font-size: 14px;
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid #fff;
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

/*==========================================================================*/
/*  Utilities                                                               */
/*==========================================================================*/
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.pt-8 { padding-top: 8px; }
.pb-8 { padding-bottom: 8px; }

.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.pt-16 { padding-top: 16px; }
.pb-16 { padding-bottom: 16px; }

.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.pt-32 { padding-top: 32px; }
.pb-32 { padding-bottom: 32px; }

.mt-64 { margin-top: 64px; }
.mb-64 { margin-bottom: 64px; }
.pt-64 { padding-top: 64px; }
.pb-64 { padding-bottom: 64px; }

.mt-128 { margin-top: 128px; }
.mb-128 { margin-bottom: 128px; }
.pt-128 { padding-top: 128px; }
.pb-128 { padding-bottom: 128px; }

.mt-256 { margin-top: 256px; }
.mb-256 { margin-bottom: 256px; }
.pt-256 { padding-top: 256px; }
.pb-256 { padding-bottom: 256px; }

/* Background Classes */

/* Transparent Background */
.bg-transparent {
    background: transparent;
}

.bg-transparent h1, .bg-transparent h2, .bg-transparent h3,
.bg-transparent h4, .bg-transparent h5, .bg-transparent h6,
.bg-transparent p, .bg-transparent span, .bg-transparent a,
.bg-transparent .intro-text {
    color: #000;
}

/* Black Background */
.bg-black {
    background-color: #000;
}

.bg-black h1, .bg-black h2, .bg-black h3, .bg-black h4,
.bg-black h5, .bg-black h6, .bg-black p, .bg-black span,
.bg-black a, .bg-black .intro-text {
    color: #fff;
}

/* Dark Background */
.bg-dark {
    background-color: #343434;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.bg-dark h5, .bg-dark h6, .bg-dark p, .bg-dark span,
.bg-dark a, .bg-dark .intro-text {
    color: #fff;
}

/* Light Background */
.bg-light {
    background-color: #f5f9fc !important;
    --background-color: #f5f9fc;
    --surface-color: #ffffff;
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4,
.bg-light h5, .bg-light h6, .bg-light span, .bg-light a,
.bg-light .intro-text {
    color: var(--heading-color);
}

/* White Background */
.bg-white {
    background-color: #ffffff;
}

.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4,
.bg-white h5, .bg-white h6, .bg-white p, .bg-white span,
.bg-white a, .bg-white .intro-text {
    color: #000;
}

/* Scroll To Top */
.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}
.section-title h2,
.section-title h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}
.section-title h1{
  font-size: 2.5rem;
  text-transform: uppercase;
}
.section-title h2::before,
.section-title h1::before {
    content: "";
    position: absolute;
    display: block;
    width: 160px;
    height: 1px;
    background: var(--black);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
}
.section-title h2::after,
.section-title h1::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.bg-dark .section-title h2::before,
.bg-black .section-title h2::before{
  background: var(--white);
}
.section-title p {
    margin-bottom: 0;
}
/*==========================================================================*/
/*   404 Styles                                                             */
/*==========================================================================*/
.section-error-404 {
  padding: 64px 0
}
.section-error-404 .page-header {
  margin-bottom: 30px;
}
.section-error-404 .page-content{
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*==========================================================================*/
/*   Form Styles                                                            */
/*==========================================================================*/
form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
form > p{
	margin: 0;
}
form input[type=tel],
form input[type=text],
form input[type=email],
form textarea,
select {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border:1px solid var(--gray);
  display: block;
  width: 100%;
  outline: none;
}
form input[type=tel]:focus,
form input[type=text]:focus,
form input[type=email]:focus,
form textarea:focus,
form select:focus {
  border-color: var(--accent-color);
}
form textarea {
	resize: none;
	max-height: 150px;
}
form input[type=text]::placeholder,
form input[type=email]::placeholder,
form textarea::placeholder {
  color: var(--gray);
}

form input[type=submit] {
  color: var(--white);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 0;
  display: block;
  width: 100%;
  font-size:16px;
}
form input[type=submit]:hover {
  opacity:0.8; 
}
.wpcf7-spinner{
	position: absolute;
}
form.invalid .wpcf7-response-output{
	border-color: red;
	color: red;
	text-align: center;
}
form.sent {
	border-color: var(--accent-color);
	text-align: center;
	padding: 10px;
	color: var(--accent-color);
}


/*==========================================================================*/
/*   Background video Styles                                                */
/*==========================================================================*/
.background-video-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.background-video-wrapper{
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding-bottom: 57%;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  touch-action: none;
}
.background-video-wrapper iframe {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  border: none;
  user-select: none;
  pointer-events: none;
  touch-action: none;
}
.background-video-wrapper {
  display: none;
}
[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/*==========================================================================*/
/*   Blog Styles                                                            */
/*==========================================================================*/
.blog-posts{
  padding: 32px 0; 
}

.blog-posts .post-item{
  background-color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.blog-posts .post-img {
  overflow: hidden;
  transition:all 0.3s;
}
.blog-posts .post-img img{
  width: 100%;
  transition:all 0.3s;
}
.blog-posts .post-img:hover img{
  transform: scale(1.1);
}
.blog-posts .col-grid .post-img {
  width: 100%;
  height: 280px;
}
.blog-posts .col-grid .post-img img{
  display: block;
  height: 100%;
  object-fit: cover;
}
.blog-posts .post-body{
  padding:30px;
}
.blog-posts .entry-title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 0;
}

.blog-posts .entry-title a {
  color: var(--black);
  transition: 0.3s;
}

.blog-posts .entry-title a:hover {
  color: var(--accent-color);
}

.blog-posts .entry-meta {
  margin-top: 20px;
}

.blog-posts .entry-meta a {
  color: var(--accent-color);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}
.blog-posts .entry-meta a:hover{
  text-decoration: underline;
}

.blog-posts .entry-content {
  margin-top: 20px;
}

.blog-posts .entry-content .read-more-button {
  transition: 0.3s;
  font-size: 14px;
  border-radius: 5px;
}
.page-numbers {
  display: flex;
  padding: 0;
  margin: 44px 0 0;
  list-style: none;
  justify-content: center;
}

.page-numbers li {
  margin: 0 5px;
  transition: 0.3s;
}

.page-numbers li a,
.page-numbers li span {
  color: var(--black);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
}

.page-numbers li span.current,
.page-numbers li a:hover {
  background: var(--accent-color);
  color: var(--white);
}
.widget-area {
  background-color: var(--white);
  padding: 30px;
  margin:0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.widget-area .wp-block-group__inner-container{
  padding-top: 0;
  margin:0;
  max-width: 100%;
  width: 100%; 
}
.widget-area .wp-block-heading,
.widget-area .wp-block-search__label{
  color: var(--black);
  font-size: 20px;
  font-weight: 600;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-area .widget  {
  margin-bottom: 40px;
  padding: 0;
}

.widget-area .widget:last-child {
  margin-bottom: 0;
}
.widget-area .widget form{
  background: none;
  padding: 0;
  box-shadow: none;
}
.wp-block-search__inside-wrapper {
  position: relative;
  overflow: hidden;
}
.wp-block-search__inside-wrapper:before {
  content: "\f52a";
 display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  font-weight: 400;
  text-rendering: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 0;
  width: 50px;
  height: 100%;
  line-height: 1em;
  color: var(--white);
  background: var(--accent-color);
}
.wp-block-search__inside-wrapper .wp-block-search__input {
  font-size: 16px;
  background-color: #fff;
  border: 1px solid var(--accent-color);
  color: #6c7176;
  width: 100%;
  border-radius: 0;
  padding: 10px 60px 10px 17px;
  box-shadow: none;
  outline: 0;
  -webkit-appearance: none;
  transition: 0.3s linear;
  border-radius: 4px;
}
.wp-block-search__inside-wrapper .wp-block-search__input:focus {
  border-color: var(--contrast-color);
}
.wp-block-search__inside-wrapper .wp-block-search__button {
  display: block;
  text-indent: -1000px;
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 100%;
  padding: 0;
  border: none !important;
  background: 0 0 !important;
  z-index: 1;
  cursor: pointer;
}
.wp-block-search__inside-wrapper .wp-block-search__button:hover{
  opacity: 0.6;
}

.wp-block-latest-posts.wp-block-latest-posts__list li{
  margin-bottom: 15px;
}
.wp-block-latest-posts.wp-block-latest-posts__list li:last-child {
  margin-bottom: 0;
}
.wp-block-latest-posts.wp-block-latest-posts__list .wp-block-latest-posts__post-title{
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 21px;
}
.wp-block-latest-posts.wp-block-latest-posts__list .wp-block-latest-posts__post-title:hover{
  color: var(--accent-color)
}
.wp-block-latest-posts.wp-block-latest-posts__list time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: #999;
}
.archive-header {
  padding: 64px 0 0; 
}
.col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.archive-banner {
  position: relative;
  display: block;
  color: var(--surface-color);
  position: relative;
  padding: 128px 0;
}
.archive-banner:before {
  content: "";
  background: rgba(42,64,136,0.9);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.archive-banner .section-title h1{
  color: #fff;
}
.archive-banner .section-title h1::before{
  background: #fff;
}
.archive-banner .col-hero-archive {
  position: relative;
  z-index: 3;
  text-align: center; 
}
@media (min-width: 768px) {
	.buttons-wrapper{
		flex-direction: row;
	}
  .col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
.background-video-wrapper {
    display: flex;
  }
  .blog-posts{
    padding: 64px 0; 
  }
  .col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
	.header .logo img {
		max-height: 100px;
	}
	.scrolled .header .logo img {
		max-height: 60px;
	}
  .navmenu ul {
    flex-direction: row;
    display: flex;
    align-items: center;
    background: none;
    padding: 0;
    position: relative;
    box-shadow: none;
    inset: 0;
  }
  .navmenu a {
    color: var(--nav-color);
    padding: 18px 15px;
    font-family: var(--nav-font);
    transition: color 0.3s ease;
  }
  .navmenu a:hover,
  .navmenu .active,
  .current-menu-item a {
      color: var(--nav-hover-color);
  }
  .section-error-404 {
    padding: 128px 0
  }    
}

.col-main-content-portfolios .gallery.gallery-columns-3 {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.col-main-content-portfolios .gallery.gallery-columns-3 .gallery-item {
	margin: 0 !important;
	width: 100% !important;
}

.col-main-content-portfolios .gallery.gallery-columns-3 .gallery-icon img {
	width: 100%;
	display: block;
	min-height: 300px;
	max-height: 300px;
	object-fit: cover;
	object-position: center;
}

@media screen and (max-width: 768px) {
	.col-main-content-portfolios .gallery.gallery-columns-3 {
		grid-template-columns: repeat(2, 1fr); /* 2 items per row on tablets/mobiles */
	}
}


.archive-portfolio-cards .col-main-content-portfolios .gallery{
	margin-bottom: 64px;
}

.archive-portfolio-cards .col-main-content-portfolios .entry-title {
	margin-bottom: 24px;
}