.site-header {
  background-color: var(--color-white);
  padding-top: 1.25em;
  padding-bottom: 1.25em;
  position: sticky;
  left: 0;
  top: 0;
  z-index: 99;
}

.site-header__wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.sub-menu {
  display: none;
}

.main-menu li {
  position: relative;
}

.header-nav ul.sub-menu {
  left: 0;
  top: calc(100% + 3em);
  z-index: 100;
  margin: 0;
  padding: 0;
  height: auto;
  min-width: 250px;
  display: block;
  border: none;
  border-radius: 0;
  position: absolute;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  background-color: #fff;
  background-clip: inherit;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform-origin: center top 0;
  transform-origin: center top 0;
  box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 5%);
  border-radius: var(--border-radius--small);
  padding: 1em;
}

.header-nav ul.sub-menu::after {
  position: absolute;
  content: "";
  content: 0;
  left: 0;
  width: 100%;
  height: 3em;
  top: -3em;
}

.header-nav ul.sub-menu li {
  border-bottom: 1px solid #e5e5e5;
}

.header-nav ul.sub-menu a {
  padding: 0.75em 0;
  display: inline-block;
}

.menu-item-has-children ul.sub-menu {
  list-style: none;
}
.menu-item-has-children:hover ul.sub-menu {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.header-nav li ul li ul {
  top: 0 !important;
  left: calc(100% + 2em) !important;
  visibility: hidden;
  opacity: 0;
  max-height: 60vh;
  overflow-y: auto;
}

.header-nav li ul li ul::before {
  content: "";
  position: absolute;
  left: -2em;
  top: 0;
  width: 2em;
  height: 100%;
}

.menu-item-has-children:hover ul.sub-menu li ul.sub-menu {
  list-style: none;
  border-radius: var(--border-radius--small);
}

.menu-item-has-children:hover ul.sub-menu li:hover ul.sub-menu {
  opacity: 1;
  visibility: visible;
}

.menu-item-has-children ul.sub-menu li ul.sub-menu a {
  padding: 0.75em 0;
  display: inline-block;
}

.mainmenu .site-navigation .navigation li:hover ul.sub-menu {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2.5em;
}

.header-nav li a {
  text-decoration: none;
  color: var(--color-dark);
}

.header-nav li a:hover,
.header-nav .current-menu-item a {
  color: var(--color-main);
}

.header-nav .menu-item-has-children {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.header-nav .menu-item.menu-item-has-children::after {
  content: "";
  background-color: currentColor;
  -webkit-mask: url("../img/arrow-h.svg") no-repeat center;
  mask: url("../img/arrow-h.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: var(--color-dark);
  transition: transform 0.3s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 0.75em;
  height: 0.75em;
  transition: all 0.3s ease;
}

.header-nav .menu-item.menu-item-has-children:hover::after {
  background-color: var(--color-main);
  transform: rotate(180deg);
}

.site-header__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-header__list-search {
  position: relative;
}

.site-header__list-menu {
  display: none;
}

.search-form {
  position: absolute;
  right: 0;
  top: calc(100% + 1em);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  width: 290px;
  z-index: 2;
  inset-inline-end: 0;
  transition: all 0.4s ease;
}

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

.search-form button {
  position: absolute;
  right: 5px;
  font-size: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  padding: 1em 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form button svg path {
  transition: all 0.3s ease;
}

.search-form button:hover svg path {
  fill: var(--color-secondary);
}

.search-form input {
  color: #444;
  padding-inline-end: 50px;
  padding-inline-start: 15px;
  width: 100%;
  background: var(--color-white);
  border-radius: 5px;
  border: 1px solid rgba(62, 62, 62, 0.1);
  font-size: 0.9em;
  height: 50px;
  outline: none;
  transition: all 0.4s ease;
}

.search-form input:focus {
  border-color: var(--color-secondary);
}

.search-btn {
  background-color: var(--color-main);
  border-radius: var(--border-radius--small);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7em;
  height: 2.7em;
  cursor: pointer;
}

.site-branding,
.site-header__list {
  max-width: 10em;
  width: 100%;
}

.search-btn svg {
  display: none;
}

.search-btn .icon-search {
  display: block;
}

/* kada je aktivno */
.main-navigation-mobile,
.search-btn.is--active .icon-search {
  display: none;
}

.search-btn.is--active .icon-close {
  display: block;
}
.overlay-site {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-dark);
  opacity: 0.8;
  z-index: 99;
  transition: all 0.4s ease;
  transform: translateX(100%);
}
.overlay-site.is--active {
  transform: translateX(0%);
}

@media only screen and (max-width: 1280px) {
  .site-header__list {
    max-width: 5.2em;
    padding-left: 2.5em;
  }
  .main-navigation {
    justify-content: flex-end;
  }
}

@media only screen and (max-width: 1024px) {
  .site-header__list-menu {
    display: block;
  }

  .site-header__list-menu,
  .search-btn {
    width: 3em;
    min-width: 3em;
    height: 3em;
  }

  .site-header__list-menu {
    background-color: var(--color-main);
    border: 1px solid var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius--small);
  }
  .site-header__list {
    max-width: auto;
    gap: 6px;
  }

  .main-navigation {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    display: block;
    background-color: var(--color-white);
    z-index: 999;
    width: 100%;
    max-width: 400px;
    padding: 1.8em;
    transform: translateX(100%);
    transition: all 0.6s ease-out;
    overflow-y: auto;
  }

  .main-navigation.is--active {
    transform: translateX(0%);
  }

  .header-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .header-nav li {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
  }

  .header-nav li > a {
    padding: 10px 0px;
  }

  .header-nav ul.sub-menu a,
  .header-nav li a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .site-header__wrap {
    justify-content: space-between;
  }

  .header-nav li svg {
    width: 1em;
  }

  .mobile-menu-icon {
    cursor: pointer;
    padding-left: 1em;
    z-index: 9;
    position: absolute;
    right: 0;
    top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-bar-icon {
    width: 1.4em;
    height: 1em;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: color 0.2s ease-out;
  }

  .header-bar-icon span {
    width: 100%;
    height: 2px;
    background: var(--color-white);
    display: inline-block;
    transition: color 0.2s ease-out;
    margin: 0 auto;
    margin-right: auto;
    margin-right: 0;
  }

  .header-bar-icon span:nth-child(1) {
    width: 100%;
    transition: all 0.3s linear;
  }

  .header-bar-icon span:nth-child(2) {
    width: 100%;
    transition: all 0.3s linear;
  }

  .header-bar-icon span:nth-child(3) {
    width: 100%;
    transition: all 0.3s linear;
  }

  .main-navigation-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2em;
    position: sticky;

    top: 0;
    z-index: 999;
    background: var(--color-white);
  }

  .main-navigation-mobile::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    z-index: 9;
    left: 0;
    top: -1.8em;
    background-color: var(--color-white);
  }

  .main-navigation-mobile .close-menu-icon,
  .main-navigation-mobile .custom-logo-link {
    position: relative;
    z-index: 99;
  }

  .main-navigation-mobile img {
    max-height: 2.5em;
    width: auto;
  }

  .close-menu-icon {
    cursor: pointer;
    border: 1px solid var(--color-main);
    background-color: var(--color-main);
    border-radius: var(--border-radius--small);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    min-width: 2.5em;
    height: 2.5em;
  }

  .close-menu-icon svg {
    width: 60%;
  }

  .header-nav .menu-item.menu-item-has-children::after {
    background-color: currentColor;
    -webkit-mask: url("../img/mobile-x.svg") no-repeat center;
    mask: url("../img/mobile-x.svg") no-repeat center;
    transform: rotate(-45deg);
    cursor: pointer;
    content: none !important;
  }
  .header-nav .menu-item.menu-item-has-children:hover::after {
    transform: rotate(-45deg);
    background-color: var(--color-dark);
  }

  .header-nav ul.sub-menu::after {
    content: none;
  }

  .header-nav ul.sub-menu {
    left: 0;
    top: auto;
    position: relative;
    z-index: 100;
    margin: 0;
    padding: 0;
    height: auto;
    min-width: 100%;
    display: block;
    border: none;
    border-radius: 0;

    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    background-color: #fff;
    background-clip: inherit;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform-origin: center top 0;
    transform-origin: center top 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .header-nav .menu-item-has-children {
    flex-wrap: wrap;
  }
  .header-nav ul.sub-menu {
    padding-left: 1em;
    -webkit-transition: none;
    transition: none;
  }
  .header-nav li ul li ul {
    opacity: 1;
    visibility: visible;
    max-height: 100%;
    left: auto !important;
  }

  .menu-item-has-children ul.sub-menu li {
    padding: 0;
  }
  .menu-item-has-children ul.sub-menu li ul.sub-menu a {
    padding: 10px 0px;
  }

  .header-nav ul.sub-menu {
    display: none;
  }

  .header-nav .menu-item-has-children.is-open {
    border-color: transparent;
  }
  .header-nav .menu-item-has-children {
    gap: 0;
  }

  .header-nav .menu-item-has-children .mobile-menu-icon svg {
    transition: all 0.4s ease;
  }

  .header-nav .menu-item-has-children.is-open .mobile-menu-icon svg {
    transform: rotate(-45deg);
  }
}

@media only screen and (max-width: 991px) {
  .site-header {
    padding: 12px;
  }
}

@media only screen and (max-width: 575px) {
  .search-form {
    width: calc(100vw - 24px);
    right: 12px;
    position: fixed;
    z-index: 99;
    top: 5.75em;
  }
  .main-navigation {
    max-width: 100%;
  }
}

/* Hero */

.hero {
  position: relative;
}

.hero-item {
  width: 100%;
  height: calc(100vh - 92.25px);
  position: relative;
}

.hero-progress {
  height: 2px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
}

.hero-item::before {
  content: "";
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: var(--color-dark);
  opacity: 0.35;
  position: absolute;
  z-index: 1;
}

.hero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-item-content {
  position: absolute;
  left: 0;
  z-index: 2;
  top: 15%;
  width: 100%;
  opacity: 0;
}

.swiper-slide-active .hero-item-content {
  opacity: 1;
  transition: all 0.3s ease-out;
}
.featured-category {
  background-color: var(--color-secondary);
  border-radius: 0.4em;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 1em;
  padding: 0.45em 1em;
  font-size: 0.85em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0.8em;
  text-decoration: none;
  transition: all 0.4s ease;
}

.single-category {
  background-color: var(--color-secondary);
  border-radius: 0.4em;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 0.5em;
  padding: 0.45em 1em;
  font-size: 0.85em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0.8em;
  text-decoration: none;
  transition: all 0.4s ease;
}

.featured-category:hover,
.single-category:hover {
  opacity: 0.85;
}

h2.featured-title {
  color: var(--color-white);
  max-width: 16em;
  font-size: 3.2em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--color-white);
  gap: 15px;
  margin-bottom: 3em;
}

.featured-meta > a,
.featured-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  text-decoration: none;
}

.featured-meta > a svg,
.featured-meta > span svg {
  width: 1.1em;
}

.btn-theme {
  border: 1px solid var(--color-secondary);
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 1em 2em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease;
}

.btn-theme:hover {
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.hero-item.swiper-slide {
  transition: 0 !important;
}

.hero-navigation {
  position: absolute;
  left: 0;
  bottom: 2em;
  width: 100%;
  z-index: 3;
}

.flexible-navigation {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.hero-navigation-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75em;
  border-radius: var(--border-radius--medium);
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: calc(25% - 1.5em / 1.33);
}

.hero-navigation-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.hero-navigation-img,
.hero-navigation-item img {
  width: 5.75em;
  min-width: 5.75em;
  height: 5.75em;
  object-fit: cover;
  border-radius: var(--border-radius--small);
  transition: all 0.8s ease;
}

.hero-navigation-img {
  overflow: hidden;
}

.hero-navigation-item:hover img.featured-img {
  transform: scale(1.2);
}

h5.featured-title {
  font-size: 1em;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-white);
  line-height: 1.25;
}

h5.featured-title a {
  text-decoration: none;
  position: relative;
}

h5.featured-title a:hover {
  color: var(--color-light);
}

.featured-author {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-navigation-item-content .featured-category {
  margin-bottom: 0.5em;
  font-size: 0.75em;
  padding: 0.35em 0.75em;
}

.hero-navigation-item-content .featured-meta > a,
.hero-navigation-item-content .featured-meta > span {
  font-size: 0.75em;
  gap: 4px;
}

.hero-navigation-item-content .featured-meta {
  margin-bottom: 0;
}

@media only screen and (max-width: 991px) {
  .flexible-navigation {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-navigation-item {
    width: calc(50% - 12px / 2);
  }
  .hero-item-content {
    padding: 6em 12px;
    top: 0;
  }
}

@media only screen and (max-width: 767px) {
  .hero-navigation {
    display: none;
  }

  .hero-item-content {
    position: relative;
  }
  .hero-item img {
    position: absolute;
  }

  .hero-item {
    height: auto;
  }

  .hero-item h2.featured-title {
    font-size: 2.8em;
    line-height: 1.1;
  }
}

@media only screen and (max-width: 479px) {
  .hero-item h2.featured-title {
    font-size: 2em;
  }
  .featured-meta {
    margin-bottom: 2.5em;
    font-size: 0.9em;
  }
  .btn-theme {
    font-size: 0.9em;
  }
}

/*Main Section*/

.homepage-main-sections {
  padding-top: 5em;
  padding-bottom: 5em;
  background-color: var(--color-light);
}

.main-with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 3.1em;
}

.main-content {
  flex: 1;
}

.sidebar-column {
  width: calc(31.7% - 3.1em);
}

.trending-sidebar-widget {
  position: sticky;
  top: 6.5em;
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 1.15em 0.9em;
}

.trending-post-item {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e5e5e5;
}

.trending-post-item:first-of-type {
  border-top: 1px solid #e5e5e5;
}

.trending-post-item a {
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.trending-post-item a {
  text-decoration: none;
}

.trending-post-item a:hover .trending-title {
  color: var(--color-secondary);
}

.trending-post-item a .trending-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 0.95em;
  line-height: 1.25em;
}

.trending-image {
  width: 4em;
  min-width: 4em;
  height: 4em;
}

.trending-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--small);
}

.widget-title {
  margin-bottom: 0.35em;
  font-size: 1.575em;
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.widget-title-icon svg {
  width: 1.25em;
}

.news-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
  gap: 8px;
}

.section-title {
  font-size: 2.5em;
  margin: 0;
}

.news-main-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 0.75em;
  flex: 1;
  border: 1px solid #e5e5e5;
}

.btn-url {
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
  transition: all 0.4s ease;
}

.btn-url:hover {
  color: var(--color-secondary);
}

svg,
svg path {
  transition: all 0.4s ease;
}

.btn-url:hover svg,
.btn-url:hover svg path {
  fill: var(--color-secondary);
}

.btn-url:hover svg {
  transform: rotate(-45deg);
}

.card-image {
  width: 100%;
  position: relative;
}

.card-image img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius--small);
  object-fit: cover;
}

.card-category {
  position: absolute;
  left: 1.25em;
  top: 1.25em;
  text-decoration: none;
  background-color: var(--color-secondary);
  border-radius: 50px;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 0em;
  font-size: 0.75em;
  padding: 0.35em 0.75em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 100px;
  transition: all 0.4s ease;
}

.card-category:hover {
  opacity: 0.8;
}

.card-body {
  padding: 0.5em 1em;
  padding-top: 1em;
}

.card-link {
  text-decoration: none;
}

.card-title {
  font-size: 1.3em;
  line-height: 1.25;
  margin-bottom: 0.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a {
  text-decoration: none;
}

.card-link:hover .card-title {
  color: var(--color-secondary);
}

.card-excerpt {
  margin: 0;
  font-size: 0.9em;
}

.blog-card .featured-meta svg,
.blog-card .featured-meta {
  color: var(--color-dark);
}

.blog-card .featured-meta {
  margin-bottom: 0;
  margin-top: 1em;
  font-size: 0.75em;
}

.news-sidebar-posts {
  margin-top: 1.5em;
}

.sidebar-posts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-post-item {
  width: calc(33.333% - 0.75em / 1.5);
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 0.65em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e5e5e5;
  gap: 6px;
  justify-content: flex-start;
}

.sidebar-post-item .card-category {
  position: relative;
  left: auto;
  top: auto;
  padding: 0.25em 0.75em;
}

.sidebar-post-item .featured-meta {
  margin: 0;
  font-size: 0.75em;
  color: var(--color-dark);
}

.sidebar-post-item a {
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9em;
  line-height: 1.25;
}

.sidebar-post-item a:hover {
  color: var(--color-secondary);
}

.news-section-block {
  margin-top: 4.5em;
}

.sidebar-post-item svg {
  width: 1.5em;
}

.news-main-card.blog-card.swiper-slide {
  /* margin-right: 1.5em; */
  flex: none;
}

.swiper-pagination {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  bottom: 0;
  margin-top: 0.5em;
}

.swiper-pagination-bullet {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50px !important;
  background-color: var(--color-main);
  opacity: 0.5;
}

.swiper-pagination-bullet:hover {
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-main);
  width: 2.5em;
  border-radius: 50px !important;
  transition: all 0.4s ease-out 0s;
  opacity: 1;
}

.features-interviews-section {
  padding-top: 6em;
  padding-bottom: 6em;
  background-color: var(--color-main);
}

.features-interviews-section .news-section-header,
.features-interviews-section .section-title {
  color: var(--color-white);
}

.features-interviews-section .section-title svg {
  stroke: var(--color-white);
}
.features-interviews-sectio .news-section-header .btn-url svg {
  stroke: var(--color-white);
  fill: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));

  gap: 0em 1.75em;
}

.card-category > a,
.card-category:hover > a {
  color: var(--color-white);
}

.trending-image,
.blog-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius--small);
}
.trending-image img,
.card-image img {
  transition: all 0.8s ease;
  display: block;
}

.trending-link:hover .trending-image img,
.blog-card:hover .card-image img {
  transform: scale(1.2);
}

@media only screen and (max-width: 991px) {
  .main-with-sidebar {
    flex-direction: column;
    gap: 2em;
  }
  .sidebar-column {
    width: 100%;
  }

  .trending-posts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.15em;
  }
  .trending-post-item {
    width: calc(50% - 1.15em / 2);
  }

  #competitions {
    overflow: hidden;
  }
}

@media only screen and (max-width: 767px) {
  .news-main-posts {
    gap: 12px;
  }
  .sidebar-post-item {
    width: calc(50% - 0.75em / 2);
  }
  .news-sidebar-posts {
    margin-top: 12px;
  }
  .section-title {
    font-size: 2em;
  }
  .swiper-pagination {
    margin-top: 1.2em;
  }

  .news-main-card.blog-card.swiper-slide a {
    display: block;
    width: 100%;
  }

  #competitions.news-section .news-main-posts {
    flex-direction: row;
  }
}

@media only screen and (max-width: 575px) {
  .news-main-posts {
    flex-direction: column;
  }
  .trending-post-item {
    width: 100%;
  }
  #competitions.news-section .news-main-posts {
    flex-direction: row;
  }
}

/* MAIN CARD – CENTAR */
.feature-card-main {
  grid-column: 2 / 3;
  grid-row: 1 / 4;
}

/* LEVA KOLONA */
.features-grid article:nth-child(1),
.features-grid article:nth-child(2),
.features-grid article:nth-child(3) {
  grid-column: 1 / 2;
}

/* DESNA KOLONA */
.features-grid article:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.features-grid article:nth-child(6) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.features-grid article:nth-child(7) {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.feature-card {
  padding-top: 0.85em;
  padding-bottom: 0.85em;
  border-bottom: 1px solid #e5e5e5;
}

.features-grid article:nth-child(5),
.features-grid article:nth-child(1) {
  border-top: 1px solid #e5e5e5;
}

.feature-card {
  display: flex;
  gap: 1.2em;
}

.feature-card .card-image {
  width: 8em;
  min-width: 8em;
  height: 8em;
}

.feature-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--small);
}

.feature-card-main .card-content .card-title,
.feature-card .card-title {
  color: var(--color-white);
  -webkit-line-clamp: 3;
  font-size: 1em;
}

.feature-card-main .card-content .card-title {
  margin-bottom: 1em;
  font-size: 1.2em;
}

.feature-card-main .card-content a,
.feature-card .card-title a {
  text-decoration: none;
}

.feature-card-main .card-content a:hover,
.feature-card .card-title a:hover {
  color: var(--color-secondary);
}

.feature-card .featured-meta {
  margin: 0;
  gap: 10px 15px;
  font-size: 0.75em;
}

.feature-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card-main {
  position: relative;
  border-radius: var(--border-radius--medium);
  overflow: hidden;
}

.feature-card-main::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: var(--color-dark);
  opacity: 0.35;
  z-index: 1;
}

.feature-card-main .card-image {
  width: 100%;
  height: 100%;
}

.feature-card-main .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--medium);
}

.feature-card-main .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 1.5em 2em;
  padding-top: 0;
}

.feature-card-main .card-content .featured-meta {
  margin-bottom: 0;
  font-size: 0.85em;
}

.feature-card .card-image {
  overflow: hidden;
  border-radius: var(--border-radius--small);
}

.feature-card:hover .card-image img {
  transform: scale(1.2);
}

.feature-card-main:hover .card-image img {
  transform: scale(1.2);
}

.feature-card-main a.featured-author:hover {
  color: var(--color-light);
}

@media only screen and (max-width: 991px) {
  .features-grid {
    gap: 12px;
    display: flex;
    flex-wrap: wrap;
  }
  .feature-card,
  .feature-card-main {
    width: 100%;
  }
}

/*All News*/

.all-news-section {
  background-color: var(--color-white);
  padding-top: 6em;
  padding-bottom: 6em;
  background-color: #f7f7f7;
}

.all-news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8em;
}

.all-news-main {
  flex: 1;
}

.all-news-sidebar {
  width: calc(35% - 1.8em);
}

.all-news-sidebar .widget.widget-tabbed-posts {
  position: sticky;
  top: 6.5em;
  margin-bottom: 0;
}

.single-post .widget.widget-tabbed-posts {
  position: relative;
  top: 0;
  margin-bottom: 1.8em;
}

.news-card {
  padding: 0.75em 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  gap: 1.75em;
}

.news-card:first-of-type {
  border-top: 1px solid #e5e5e5;
}

.news-card .card-category {
  position: relative;
  left: auto;
  top: auto;
}

.news-card .card-image {
  width: 20em;
  min-width: 20em;
  height: 16em;
  overflow: hidden;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image {
  overflow: hidden;
  border-radius: var(--border-radius--small);
}

.news-card .card-body {
  padding: 1em 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card .featured-meta {
  color: var(--color-dark);
  margin-bottom: 0;
}

.news-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35em;
}

.news-card-top .card-title a {
  text-decoration: none;
}

.news-card-top .card-title a:hover {
  color: var(--color-secondary);
}

.all-news-sidebar .widget {
  border-radius: var(--border-radius--medium);
  background-color: var(--color-white);
  border: 1px solid #e5e5e5;
  padding: 1.25em 1.8em;
  margin-bottom: 1.8em;
}

/* .widget-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
} */

.widget-title svg {
  width: 1.25em;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1em;
}

.newsletter-form .form-group {
  flex: 1;
}

.newsletter-form .form-group input {
  height: 3em;
  border-radius: var(--border-radius--small);
  padding-inline-start: 20px;
  padding-inline-end: 20px;
  background: var(--color-light);
  border-radius: 1px solid #e5e5e5;
  width: 100%;
  outline: none;
}

.newsletter-form .form-group input:focus {
  border-color: var(--color-main);
}

.newsletter-form button {
  height: 3em;
  border-radius: var(--border-radius--small);
  padding-inline-start: 20px;
  overflow: hidden;
  padding-inline-end: 20px;
  color: var(--color-white);
  background: var(--color-main);
  border: 1px solid var(--color-main) !important;
  outline: none !important;
  padding: 0 2em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-out;
}

.newsletter-form button:hover {
  background-color: var(--color-white);
  color: var(--color-main);
}

.tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.tabs-nav button {
  flex: 1;
  border: 1px solid #e5e5e5;
  background-color: var(--color-white);
  color: var(--color-dark);
  border-radius: var(--border-radius--small);
  font-size: 0.9em;
  padding: 0.75em 0.2em;
}

.tabs-nav button:hover,
.tab-btn.active {
  border-color: var(--color-main);
  background-color: var(--color-main);
  color: var(--color-white);
}

.tabbed-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tabbed-post-item {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e5e5e5;
}

.trending-post-item:first-of-type {
  border-top: 1px solid #e5e5e5;
}

.tabbed-post-item a {
  display: flex;
  gap: 0.75em;
}

.tabbed-post-item a {
  text-decoration: none;
}

.tabbed-post-item a:hover .trending-title {
  color: var(--color-secondary);
}

.tabbed-post-item a .trending-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 0.95em;
  line-height: 1.25em;
}

.tabbed-post-item .post-image {
  width: 5em;
  min-width: 5em;
  height: 5em;
}

.tabbed-post-item .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius--small);
}

.tabbed-post-item .post-title {
  font-size: 0.9em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tabbed-post-item .post-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75em;
  color: var(--color-dark);
}

.tabbed-post-item .post-date svg {
  font-size: 1.1em;
}

.tabbed-post-item .post-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card:hover .card-image img {
  transform: scale(1.2);
}

@media only screen and (max-width: 991px) {
  .all-news-grid {
    flex-direction: column;
  }
  .all-news-main,
  .all-news-sidebar {
    width: 100%;
  }
  .news-card .card-image img {
    aspect-ratio: 16/9;
    height: auto;
  }
  .news-card .card-image {
    height: auto;
  }
}

@media only screen and (max-width: 575px) {
  .news-card {
    flex-direction: column;
    gap: 0;
  }
  .news-card .card-image {
    width: 100%;
    min-width: 100%;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .form-group,
  .newsletter-form button {
    width: 100%;
  }
}

/*Gallery*/

.photos-section {
  background-color: var(--color-light);
  padding-top: 6em;
  padding-bottom: 6em;
}

.gallery__wrap {
  column-width: 250px;
  column-gap: 1rem;
}

.gallery__item {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  /* Prevent images from breaking across columns */
  break-inside: avoid;
}
.gallery__item img {
  border-radius: var(--border-radius--medium);
}

/*Footer*/

.site-footer {
  background-color: var(--color-main);
}

.site-footer__wrap {
  display: flex;
  align-items: flex-start;
  padding: 6em 0;
}

.footer-bottom {
  background-color: #1c3574;
  text-align: center;
  color: var(--color-white);
  padding: 1.65em 12px;
  font-size: 0.85em;
}

.footer-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
}

.footer-grid .footer-col {
  width: calc(25% - 2.5em / 1.33);
}

.footer-logo img {
  filter: invert(1) brightness(999);
}

.footer-heading {
  font-size: 1.25em;
  color: var(--color-white);
  position: relative;
  margin-bottom: 2em;
}

.footer-heading span {
  position: relative;
  padding-right: 2em;
  padding-bottom: 1em;
  display: inline-block;
}

.footer-heading span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  opacity: 0.6;
  z-index: 1;
}

.footer-heading span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 2px;
  background-color: var(--color-white);
  opacity: 1;
  z-index: 2;
}

.footer-menu li {
  color: var(--color-light);
  margin-bottom: 0.5em;
}
.footer-menu li a {
  text-decoration: none;
  color: var(--color-light);
  opacity: 0.8;
}

.footer-menu li a:hover {
  color: var(--color-secondary);
  opacity: 1;
}

.footer-main-contact,
.footer-recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.footer-recent-posts .recent-post-item {
  display: flex;
  gap: 0.5em;
}

.footer-recent-posts img {
  border-radius: var(--border-radius--small);
  width: 5em;
  min-width: 5em;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.footer-recent-posts .post-info {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  justify-content: center;
}

.footer-recent-posts .post-info a {
  text-decoration: none;
  color: var(--color-white);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s ease;
}

.footer-recent-posts .post-info a:hover {
  color: var(--color-secondary);
}

.post-thumb {
  overflow: hidden;
  border-radius: var(--border-radius--small);
  width: 5em;
  min-width: 5em;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.recent-post-item .post-thumb img {
  transition: all 0.4s ease;
}

.recent-post-item:hover .post-thumb img {
  transform: scale(1.2);
}

.footer-recent-posts .post-date {
  color: var(--color-white);
  display: inline-block;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
}

.footer-description {
  color: var(--color-light);
}

.footer-social {
  margin-top: 2em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.footer-social a {
  background-color: var(--color-secondary);
  border-radius: var(--border-radius--small);
  width: 2.2em;
  height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-secondary);
}

.footer-social a:hover {
  background-color: transparent;
  border-color: var(--color-white);
}

.footer-social svg {
  max-height: 60%;
  width: auto;
}

.footer-main-contact a,
.footer-main-contact .location {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color-white);
  text-decoration: none;
}

.footer-main-contact .icon-footer {
  max-width: 1em;
}

.footer-main-contact .icon-footer svg {
  transition: all 0.4s ease;
  max-width: 100%;
}

.footer-main-contact a:hover svg path {
  transition: all 0.4s ease;
}

.footer-main-contact a:hover {
  color: var(--color-secondary);
}

.footer-main-contact a:hover svg path {
  fill: var(--color-secondary);
  transition: all 0.4s ease;
}

@media only screen and (max-width: 1199px) {
  .footer-grid .footer-col {
    width: calc(50% - 2.5em / 2);
  }
}

@media only screen and (max-width: 991px) {
  .site-footer__wrap {
    padding-top: 4em;
    padding-bottom: 4em;
  }
}

@media only screen and (max-width: 767px) {
  .footer-grid .footer-col {
    width: 100%;
  }
}

/*Single Page Style*/

.afrsoc-breadcrumb-area {
  background-color: var(--color-light);
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

.afrsoc-breadcrumb-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.8em;
  font-size: 0.9em;
}

.afrsoc-breadcrumb-area ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.afrsoc-breadcrumb-area ul li a:hover,
.afrsoc-breadcumb-item--main {
  color: var(--color-main);
}

.afrsoc-breadcrumb-area ul li svg {
  width: 0.9em;
}

.afrsoc-blog-post-area {
  padding-top: 4.5em;
}

.afrsoc-blog-post-title {
  font-size: 1.8em;
}

.afrsoc-blog-post-wrapper {
  display: grid;
  grid-template-columns: 870px auto;
  gap: 2em;
  justify-content: space-between;
}

.afrsoc-post-meta ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.afrsoc-post-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5em;
}

.afrsoc-blog-post-social {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 2.04em;
  justify-content: flex-end;
}

.theme-social.afrsoc-social-links a.is-facebook {
  background: #1559c2;
}
.theme-social.afrsoc-social-links a.is-instagram {
  background: #e1306c;
}
.theme-social.afrsoc-social-links a.is-twitter {
  background: #202021;
}
.theme-social.afrsoc-social-links a.is-linkedin {
  background: #0077b5;
}

.afrsoc-blog-post-social-title {
  font-weight: 600;
}

.afrsoc-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-social.afrsoc-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  min-width: 2em;
  border-radius: var(--border-radius--small);
}

.featured-meta.featured-meta--single {
  color: var(--color-dark);
  font-size: 0.9em;
  margin-bottom: 0;
}

.afrsoc-blog-post-description {
  margin-top: 1.5em;
}

.afrsoc-section-border-wrapper {
  display: flex;
  align-items: center;
}
.afrsoc-section-border-wrapper .section-border {
  width: 100%;
  display: flex;
  align-items: center;
}

.afrsoc-section-border-wrapper .afrsoc-section-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-main);
  display: inline-block;
  transform: rotate(45deg);
  margin-inline-end: 5px;
  margin-inline-start: 5px;
}
.afrsoc-section-border-wrapper .afrsoc-section-line {
  border: 1px solid var(--color-light);
  border-width: 1px 0;
  flex-grow: 1;
  height: 4px;
}

.afrsoc-blog-post-border {
  margin-top: 1.5em;
}

.afrsoc-postbox-area-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8em;
}

.afrsoc-postbox-area-sidebar {
  width: calc(35% - 1.8em);
}

.afrsoc-postbox-area-content {
  flex: 1;
}

.afrsoc-postbox-area {
  padding-top: 3.5em;
  padding-bottom: 4em;
}

.afrsoc-postbox-details-thumb {
  margin-bottom: 2em;
}

.afrsoc-postbox-details-thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius--medium);
  display: block;
}

.afrsoc-postbox-details-social .afrsoc-blog-post-social {
  margin-top: 0;
}

.afrsoc-postbox-details-social {
  padding: 1.2em 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-top: 2em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em 3em;
}

.afrsoc-postbox-details-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 10px;
}

.afrsoc-social-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.afrsoc-social-icon svg {
  width: 1.2em;
}

.afrsoc-postbox-details-tags span {
  font-weight: 500;
}

.afrsoc-postbox-details-tags a {
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius--small);
  text-decoration: none;
  display: inline-block;
  padding: 0.55em 1em;
}

.single-post {
  background-color: rgb(247, 247, 247);
}

.afrsoc-social-wrapper {
  list-style: none;
  padding: 0;
  margin: 0;
}

.afrsoc-social-wrapper li {
  margin-top: 0.5em;
}
.afrsoc-social.afrsoc-social-one ul {
  margin-top: 1em;
}

.afrsoc-social-one .afrsoc-social-item a {
  display: flex;
  align-items: center;
  background: var(--color-main);
  padding: 15px;
  border-radius: 6px;
  height: 52px;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-white);
}

.afrsoc-social-one .afrsoc-social-item:nth-child(1) a {
  background: #1da1f2;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(2) a {
  background: #1877f2;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(3) a {
  background: #e1306c;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(4) a {
  background: #ff4500;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(5) a {
  background: #69c9d0;
}
.afrsoc-social-one .afrsoc-social-item:nth-child(6) a {
  background: #e1306c;
}

.archive-posts-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.archive-posts-wrapper .blog-card {
  width: calc(50% - 1.5em / 2);
  flex: auto;
}
.archive-layout {
  padding-bottom: 6em;
}

.navigation .nav-links {
  display: flex;
  justify-content: center;
  margin-top: 2em;
  gap: 8px;
  flex-wrap: wrap;
}

.navigation .nav-links span,
.navigation .nav-links a {
  text-decoration: none;
  height: 2.2em;
  border: 1px solid var(--color-main);
  border-radius: var(--border-radius--small);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1em 0.8em;
  min-width: 2.2em;
}

.navigation .nav-links span.current,
.navigation .nav-links a:hover {
  background-color: var(--color-main);
  color: var(--color-white);
}

.navigation .nav-links .page-numbers.dots {
  background-color: transparent;
  border-color: transparent;
  min-width: auto;
  padding-left: 0;
  padding-right: 0;
}

body.archive {
  background-color: #f7f7f7;
}

@media only screen and (max-width: 1199px) {
  .afrsoc-blog-post-wrapper {
    grid-template-columns: 550px auto;
  }
}

@media only screen and (max-width: 991px) {
  .afrsoc-blog-post-wrapper {
    grid-template-columns: auto;
  }
  .afrsoc-blog-post-social {
    justify-content: flex-start;
    margin-top: 0;
  }
  .afrsoc-blog-post-border {
    margin-top: 2em;
  }
  .afrsoc-postbox-area-wrapper {
    flex-direction: column;
  }
  .afrsoc-postbox-area-sidebar {
    width: 100%;
  }

  .archive-layout {
    padding-bottom: 4em;
  }
}

@media only screen and (max-width: 575px) {
  .archive-posts-wrapper .blog-card {
    width: 100%;
  }
}

/*404 Page*/

.afrsoc-error-area {
  padding-top: 5em;
  padding-bottom: 5em;
  text-align: center;
}

.error-title {
  font-size: 12em;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-btn {
  display: flex;
  justify-content: center;
  margin-top: 3em;
}

.error-btn .btn-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.error404 {
  background-color: var(--color-light);
}

.default-page-wrapper {
  padding-bottom: 6em;
}

header.entry-header {
  padding-top: 4em;
  padding-bottom: 4em;
  background-color: var(--color-light);
  text-align: center;
  margin-bottom: 5em;
}

h1.entry-title {
  margin-bottom: 16px;
}

.afrsoc-breadcrumb-menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.afrsoc-breadcrumb-menu ul li a {
  text-decoration: none;
}

.afrsoc-breadcrumb-menu ul li a:hover {
  color: var(--color-main);
}

.entry-content--white {
  background-color: var(--color-white);
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius--medium);
  padding: 1.8em;
}

.search,
.page-tamplate-bg {
  background-color: #f7f7f7;
}

.widget-search .search-form {
  position: relative;
  opacity: 1;
  visibility: visible;
  top: auto;
  width: 100%;
}

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

.widget.widget-categories ul li.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap;
}

.widget.widget-categories ul li a {
  padding: 1em 0px;
  text-decoration: none;
}

.widget.widget-categories ul li a:hover {
  color: var(--color-secondary);
}

.widget.widget-categories ul.children {
  width: 100%;
  display: none;
}

body.search .all-news-grid {
  padding-bottom: 6em;
}

@media only screen and (max-width: 991px) {
  .entry-content--white {
    padding: 12px;
  }
  header.entry-header {
    margin-bottom: 3em;
  }

  body.search .all-news-grid,
  .default-page-wrapper {
    padding-bottom: 5em;
  }
}

/*Author*/

.author-box-top {
  display: flex;
  gap: 1em;
}

.author-avatar {
  width: 6em;
  min-width: 6em;
  height: 6em;
}

.author-box-top img {
  border-radius: var(--border-radius--small);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box-top-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.author-posts {
  border-radius: var(--border-radius--small);
  background-color: var(--color-main);
  padding: 0.5em;
  color: var(--color-white);
  font-size: 0.75em;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.2em 0.4em;
}

.author-posts h4,
.author-posts p {
  margin: 0;
  color: var(--color-white);
}

.author-posts h4 {
  margin-bottom: 0em;
}

.author-socials {
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.author-socials a {
  background-color: var(--color-secondary);
  border-radius: var(--border-radius--small);
  width: 2.2em;
  height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-secondary);
}

.author-socials a:hover {
  background-color: transparent;
}

.author-socials svg {
  max-height: 60%;
  width: auto;
}

.author-socials a:hover svg path {
  fill: var(--color-secondary);
}

.single-related-products {
  margin-top: 2.4em;
}

form.wpcf7-form {
  background-color: #f7f7f7;
  border-radius: var(--border-radius--medium);
  padding: 1.8em;
  margin-top: 2em;
}

.cf7-row {
  display: flex;
  gap: 1em;
}

.cf7-field {
  flex: 1;
}

.cf7-field p {
  margin: 0;
}

.cf7-row {
  margin-bottom: 1.5em;
}

.cf7-row textarea,
.cf7-row input {
  outline: none;
  background-color: transparent;
  min-height: 3em;
  width: 100%;
  font-size: 1em;
  border: none;

  border-radius: var(--border-radius--small);
  border: 1px solid #e5e5e5;
  color: var(--color-dark);
  padding-inline-start: 1.2em;
  padding-inline-end: 1.2em;
  background: var(--color-white);
  resize: none;
}

.cf7-row label {
  font-size: 16px;
  color: var(--color-dark);
  margin-bottom: 0.35em;
  display: inline-block;
  font-weight: 600;
}

.cf7-row input:focus {
  border-color: var(--color-main);
}

input.btn-theme {
  padding: 0.8em 2em;
  font-weight: 600 !important;
}

.wpcf7 form .wpcf7-response-output {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: var(--border-radius--small);
  padding: 1em !important;
}

@media only screen and (max-width: 991px) {
  form.wpcf7-form {
    padding: 12px;
  }
}

@media only screen and (max-width: 575px) {
  .cf7-row {
    flex-direction: column;
  }
}

.country-page-title {
  text-align: left;
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.country-page-title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  opacity: 0.4;
}

.country-page-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5em;
  position: relative;
  z-index: 2;
}

.country-page-title-flag {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  border-radius: var(--border-radius--medium);
  padding: 0.5em;
  gap: 0.3em;
}

.country-page-title-flag p {
  margin: 0;
  font-weight: 600;
}

.country-page-title-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.country-page-title-flag img {
  max-width: 2em;
}

.country-single-wrapper-inside {
  display: flex;
  flex-wrap: wrap;
  gap: 3.1em;
}

.country-single-sidebar {
  width: calc(31.7% - 3.1em);
}

.country-single-content {
  flex: 1;
}

body.single-country {
  background-color: #f7f7f7;
}

.country-single-sidebar .widget-title {
  justify-content: space-between;
}

.country-single-sidebar .widget-title svg {
  width: 1em;
}

.country-single-wrapper {
  padding-bottom: 6em;
}

.zone-list {
  border-top: 1px solid #e5e5e5;
  margin-top: 1em;
}

.zone-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 0;
  cursor: pointer;
}

.zone-list-item {
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.zone-countries {
  display: none;
}

.zone-countries {
  list-style: none;
  padding: 0;
  margin: 0;
}

.country-item {
  border-top: 1px solid #e5e5e5;
  transition: all 0.4s ease;
}

.country-item a {
  padding: 0.75em 1em;
  display: inline-block;
  text-decoration: none;
}

.zone-title img {
  transition: all 0.4s ease;
}
.zone-title.is-active img {
  transform: rotate(180deg);
}

.country-item:hover,
.country-item.active {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.tabs-nav.tabs-nav-single button {
  white-space: nowrap;
  padding-right: 1em;
  padding-left: 1em;
}

.tabs-nav.tabs-nav-single {
  margin-top: 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.country-list {
  padding: 0;
  margin: 0;
  list-style: none;

  display: flex;
  flex-wrap: wrap;
  gap: 12px 3em;
}

.country-list li {
  background-color: var(--color-white);
  border-radius: var(--border-radius--small);
  padding: 0.75em 1em;
  display: flex;
  gap: 1em;
  width: calc(50% - 3em / 2);
}

.country-list li b {
  font-weight: 500;
  width: 30%;
}

.country-list li span {
  flex: 1;
}

.country-list li a {
  color: var(--color-main);
  text-decoration: none;
}

.country-list li a:hover {
  color: var(--color-secondary);
}

.country-single-content .tabs-content {
  margin-top: 2em;
}

.country-single-content .tabs-content h4 {
  color: var(--color-main);
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--color-main);
  margin-bottom: 1em;
}

.country-list:not(:last-of-type) {
  margin-bottom: 2em;
}

.country-main-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.country-main-posts .blog-card {
  width: calc(33.333% - 1.5em / 1.5);
  flex: none;
}

.leagues-table {
  width: 100%;
  border: 1px solid #eee;
  border-radius: var(--border-radius--small);
  overflow: hidden;
  font-family: inherit;
}

.leagues-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  align-items: center;
  background: #fff;
}

.leagues-row:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.leagues-header {
  background: #fafafa;
  font-weight: 600;
}

.leagues-col {
  padding: 0.75em 1em;
  border-right: 1px solid #eee;
}

.leagues-col:last-child {
  border-right: none;
}

.col-logo {
  text-align: center;
}

.col-logo img {
  max-width: 1.5em;
  height: auto;
  display: inline-block;
}

.col-name {
  color: #111;
}

.col-session {
  color: #111;
}

.leagues-row.leagues-row-medium {
  font-size: 0.95em;
}

.leagues-table-four .leagues-row {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.countries-wrapper .zone-countries-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  border-top: 1px solid #e5e5e5;
  padding: 1.5em 0;
  margin-top: 1em;
}

.countries-wrapper .zone-countries .country-item {
  width: calc(25% - 1.5em / 1.33);
  border-top: none;
}

.countries-wrapper .zone-countries .country-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius--small);
  overflow: hidden;
}

.countries-wrapper .zone-countries .country-item {
  border-radius: var(--border-radius--small);
}

.countries-wrapper .zone-countries .country-item a:hover {
  border-color: var(--color-secondary);
  transition: all 0.4s ease;
  color: var(--color-dark);
}

.countries-wrapper .zone-countries .country-item:hover {
  transition: all 0.2s ease;
  background-color: transparent;
}

.countries-wrapper .zone-title {
  padding: 0;
  font-weight: 600;
  font-size: 1.2em;
}

.countries-wrapper .zone-list-item {
  padding: 1em;
  border-radius: var(--border-radius--medium);
  background-color: var(--color-white);
  margin-bottom: 12px;
}

.page-template-tmplt-countries {
  background-color: #f7f7f7;
}

.countries-wrapper .zone-countries .country-item img {
  width: 100%;
  max-width: 5em;
}

button {
  cursor: pointer;
}

@media only screen and (max-width: 991px) {
  .country-single-sidebar {
    width: 100%;
  }
  .country-single-wrapper-inside {
    gap: 2em;
  }
  .tabs-nav.tabs-nav-single {
    flex-wrap: wrap;
  }
  .tabs-nav.tabs-nav-single button {
    flex: none;
  }
}

@media only screen and (max-width: 767px) {
  .country-list {
    gap: 12px 20px;
  }
  .country-list li {
    width: calc(50% - 20px / 2);
  }

  .country-main-posts .blog-card {
    width: calc(50% - 12px / 2);
    flex: none;
  }

  .country-main-posts {
    gap: 12px;
  }

  .main-table-w {
    overflow-x: hidden;
    width: calc(100vw - 24px);
    border-radius: var(--border-radius--small);
  }

  .leagues-table-four .leagues-row {
    grid-template-columns: 200px 200px 200px 200px;
  }

  .leagues-table {
    overflow-x: scroll;
  }
  .leagues-col {
    background: #fff;
  }
  .leagues-header .leagues-col {
    background: #fafafa;
  }

  .countries-wrapper .zone-countries .country-item {
    width: calc(33.33% - 1.5em / 1.5);
  }
}

@media only screen and (max-width: 575px) {
  .country-list {
    gap: 12px;
    flex-direction: column;
  }
  .country-list li {
    width: 100%;
  }
  .country-main-posts .blog-card {
    width: 100%;
    flex: none;
  }

  .countries-wrapper .zone-countries .country-item {
    width: calc(50% - 1.5em / 2);
  }
}
