@charset "UTF-8";
.container {
  padding: 0;
}

body, html {
  overflow-x: hidden;
}

a {
  color: #007bff;
  /* Replace with your desired link color */
}

header#masthead {
  margin-bottom: 2rem;
  margin-top: 1rem;
  background: #ffffff;
}

header#masthead .header-main {
  padding: 15px;
  align-items: center;
  border-radius: 11px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

header#masthead .site-branding h1 {
  margin: 0;
}

header#masthead .site-branding .site-title a {
  color: #000;
  font-size: 1.75rem;
  text-transform: none;
  margin-right: 7px;
  text-decoration: none;
}

header#masthead .site-branding img.custom-logo {
  width: 150px;
  height: auto;
}

header#masthead .menu a {
  padding: 13px 13px;
  font-size: 16px;
  color: #000;
  margin-right: 3px;
  text-transform: capitalize;
}

header#masthead .menu a:hover {
  color: #5f5f5f;
}

header#masthead .menu .menu-item-has-children::after,
header#masthead .menu .page_item_has_children::after {
  content: '⮟';
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  font-size: 12px;
}

header#masthead .current-menu-item {
  border-bottom: 2px solid grey;
  color: #000;
}

header#masthead .main-navigation {
  width: 100%;
  justify-items: center;
}

header#masthead .main-navigation ul {
  flex-wrap: wrap;
  justify-content: lefts;
}

header#masthead .main-navigation ul ul {
  display: inline-block;
  position: absolute;
  background: #fff;
}

header#masthead .main-navigation ul ul a {
  display: inline-flex;
  padding: 0.75rem 1rem;
}

@media (max-width: 968px) {
  header#masthead .main-navigation ul ul a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }
}

header#masthead .main-navigation ul ul .menu-item-has-children::after,
header#masthead .main-navigation ul ul .page_item_has_children::after {
  content: '⮟';
  position: absolute;
  top: 50%;
  transform: rotate(270deg) translateY(-50%);
  right: 8px;
  font-size: 12px;
}

header#masthead .menu-toggle {
  background: none;
  border: none;
  position: absolute;
  top: 10%;
  right: 2rem;
}

header#masthead .menu-toggle img {
  width: 1.5rem;
  height: auto;
}

.featured-posts {
  position: relative;
  overflow: hidden;
}

.featured-posts figure {
  margin: 0;
  position: relative;
}

.featured-posts img {
  width: 100%;
  height: 100%;
  /* Ensures the image covers the container */
  object-fit: cover;
  /* Maintains aspect ratio and fills the container */
  aspect-ratio: 4/3;
  display: block;
}

.col-md-6.featured-posts {
  padding: 5px;
}

.featured-posts .info {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  color: #fff;
  /* White text color */
  padding: 10px;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
  /* Hidden initially */
}

.featured-posts .info a {
  font-size: 20px;
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 400;
}

.flex-wrap {
  flex-wrap: wrap !important;
  padding: 0 !important;
}

.featured-posts .info {
  transform: translateY(0);
  /* Slide up on hover */
}

.box-shadow {
  border-radius: 5px;
  position: absolute;
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: linear-gradient(45deg, #000, transparent);
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.row.custom-loop {
  padding: 0 25px 25px 25px;
}

h2.category-title {
  margin-left: 25px;
  border-style: solid;
  border-width: 0 0 2px 0;
  padding-bottom: 5px;
  margin-bottom: 20px;
  width: fit-content;
  border-image: linear-gradient(45deg, black, #b9b9b9) 1;
}

.col-md-5.post-thumbnail {
  padding: 0px;
}

.site-footer {
  background-color: #ffffff;
  color: #000000;
  padding: 20px 0;
  text-align: center;
}

.site-footer ul {
  margin: 0;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.site-footer .footer-inner .footer-menu-container {
  margin-bottom: 20px;
}

.site-footer .footer-inner #footer-menu {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer .footer-inner #footer-menu li {
  margin: 0 10px;
}

.site-footer .footer-inner #footer-menu li a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
}

.site-footer .footer-inner #footer-menu li a:hover {
  text-decoration: underline;
}

.site-footer a {
  color: #000000;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-text {
  margin-top: 10px;
  font-size: 14px;
  color: #498bb7;
}

footer.entry-footer {
  border-top: solid 1px #cfcfcf;
  padding-top: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
  color: #000;
}

.entry-meta {
  margin-bottom: 0.5rem;
}

#primary article {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 30px;
  margin: 0 0 1rem;
  box-shadow: 2px 5px 20px rgba(245, 245, 245, 0.14);
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
}

#primary article:hover {
  transform: translateY(-10px);
  /* Adds a slight zoom */
  box-shadow: 0px 5px 20px rgba(151, 151, 151, 0.45);
}

#primary .entry-content p {
  font-size: .85rem;
  opacity: .8;
}

#primary .entry-meta {
  font-size: .85rem;
  opacity: .8;
}

#primary .entry-meta a {
  color: #000;
  text-decoration: none;
}

@media (max-width: 600px) {
  #primary {
    padding: 20px;
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  #primary {
    display: block;
    margin: 0;
    padding: 0;
  }
}

#primary .entry-title a {
  color: #121212;
  text-decoration: none;
  font-size: 26px;
}

main.grid .post-content {
  text-align: center;
  padding: 1rem;
}

/* Sidebar (Secondary Content Area) */
#secondary {
  color: #1b1b1b;
  border-left: solid 1px #eee;
}

#secondary .widget {
  margin-bottom: 10px;
  padding: 20px;
}

#secondary .widget a {
  color: #000;
  text-decoration: none;
}

#secondary .widget ul {
  list-style: none;
  margin: 0;
}

#secondary .widget ul li {
  padding: 10px 0;
  color: #3b3b3b;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  border-radius: 5px;
}

img {
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.social-menu-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #929292;
  height: 2rem;
}

.menu-social-menu-container #social-menu ul {
  display: flex;
  list-style: none;
}

.menu-social-menu-container #social-menu a {
  position: relative;
  color: transparent;
  display: inline-block;
  width: 32px;
  overflow: hidden;
}

.menu-social-menu-container #social-menu a:after {
  display: block;
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
  font-size: 15px;
  position: absolute;
  top: 0;
}

.menu-social-menu-container #social-menu a[href*="twitter.com"]:after {
  content: "\f099";
  color: #00aced;
}

.menu-social-menu-container #social-menu a[href*="github.com"]:after {
  content: "\f09b";
  color: black;
}

.menu-social-menu-container #social-menu a[href*="linkedin.com"]:after {
  content: "\f0e1";
  color: #007bb6;
}

.menu-social-menu-container #social-menu a:after {
  color: #fff !important;
  padding: 3px 9px;
  border-radius: 50%;
}

@media (max-width: 992px) {
  .search-form {
    display: none;
  }
}

.row.custom-loop .col-md-4:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2098d1;
  color: white;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s ease-out;
}

.row.custom-loop .col-md-4:hover {
  color: white;
}

div:hover:before {
  transform: scaleY(1);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
