:root {
  --body-bg-color: #ffffff;
  --body-bg-gradient1: #ffffff;
  --body-bg-gradient2: #e2e8f0;
  --body-text-color: #262626;
  --heading-color: #0a0a0a;
  --hero-gradient1: #4986bb;
  --hero-gradient2: #4986bb;
  --footer-bg-color: #0a0a0a;
  --footer-bg-gradient1: #0a0a0a;
  --footer-bg-gradient2: #1f2937;
  --link-color: #ff9900;
  --link-text-color: #1a1a1a;
  --footer-link-color: #ff9900;
  --box-color: #171717;
  --box-text-color: #ffffff;
  --header-bg-color: #000000;
  --font-family: system-ui;
  --nav-link-color: #f5f5f5;
  --footer-text-color: #d4d4d4;
  --header-text-color: #ffffff;
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}


h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}

p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}


main {
  background: #000;
  color: #fff;
}




.sidebar-search-box,
.sidebar-links {
  width: 100%;
  max-width: 420px;
  margin-bottom: 20px;
}

.sidebar-search-box h3,
.sidebar-links h3 {
  margin: 0 0 14px !important;
  font-size: 1.1rem !important;
  font-weight: 700;
}

.sidebar-search-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-search-box input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid color-mix(in srgb, var(--body-text-color) 18%, var(--body-bg-color));
  border-radius: 10px;
  background: color-mix(in srgb, var(--body-text-color) 4%, var(--body-bg-color));
  color: var(--body-text-color);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
}

.sidebar-search-box input::placeholder {
  color: color-mix(in srgb, var(--body-text-color) 55%, transparent);
}

.sidebar-search-box input:focus {
  border-color: var(--link-color);
}

.sidebar-search-box button {
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.sidebar-newsletter-box p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  opacity: 0.8;
}

.sidebar-page-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-page-list a {
  display: block;
  color: var(--body-text-color);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    padding 0.2s ease;
}

.sidebar-search-box,
.sidebar-links {
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--body-text-color) 12%, var(--body-bg-color));
  border-radius: 14px;
  background: color-mix(in srgb, var(--body-text-color) 3%, var(--body-bg-color));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sidebar-search-box h3,
.sidebar-links h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--body-text-color) 12%, var(--body-bg-color));
  color: var(--heading-color) !important;
}

.sidebar-search-box button {
  background: var(--link-color);
  color: var(--link-text-color, #ffffff);
}

.sidebar-page-list li {
  border-bottom: 1px solid color-mix(in srgb, var(--body-text-color) 10%, var(--body-bg-color));
}

.sidebar-page-list li:last-child {
  border-bottom: 0;
}

.sidebar-page-list a {
  padding: 10px 2px;
}

.sidebar-page-list a:hover {
  padding-left: 10px;
  color: var(--link-color);
}

.sidebar-page-list a.active {
  color: var(--link-color);
  font-weight: 700;
}

.twitter-tweet {
  width: 279px !important;
}

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


.error_page {
  min-height: 70vh;
}


.footer {
  background: var(--footer-bg-color);
  color: var(--footer-text-color);
  padding-top: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(1.75rem, 2.5vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.footer a {
  color: var(--footer-link-color, var(--link-color));
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;

  transition: opacity .2s ease, text-decoration-color .2s ease;
}

.footer a:hover,
.footer a:focus-visible {
  opacity: .9;
}

.footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--link-color) 45%, var(--footer-bg-color));
  border-radius: 999px;
  color: var(--footer-link-color, var(--link-color));
  background: color-mix(in srgb, var(--link-color) 20%, var(--footer-bg-color));
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.footer .social-icon:hover,
.footer .social-icon:focus-visible {
  transform: translateY(-3px);
  border-color: var(--link-color);
  color: var(--link-text-color, #fff);
  background: var(--link-color);
}

.footer .footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      var(--footer-text-color) 40%,
      transparent);
  margin: 1.25rem 0;
}

.footer .small {
  font-style: italic;
  font-size: .95rem;
}

@media (max-width: 575.98px) {
  .footer .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .footer .small {
    font-size: .9rem;
  }
}




.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.246);
}

.hero-section.gradient-bg {
  background: linear-gradient(135deg, var(--hero-gradient1), var(--hero-gradient2));
}

.hero-section .container {
  position: relative;
  z-index: 2;
}


@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

}

.navbar .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  padding: 0 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar .navbar-nav .nav-link:hover {
  color: var(--link-color) !important;
  transform: translateY(-1px);
}

.navbar .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--link-color);
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb,
        var(--header-bg-color) 65%,
        transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}


.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(in srgb,
      var(--header-bg-color) 65%,
      transparent) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}

.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(in srgb,
      var(--header-bg-color) 95%,
      transparent) !important;
}

.nav-item.dropdown>.nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown>.nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item.dropdown>.nav-link .arrow {
    margin-left: 7px;
  }

  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover>.nav-link .arrow {
    transform: rotate(-135deg);
  }

  .nav-item.dropdown:hover>.dropdown-menu {
    display: block !important;
  }
}

@media (max-width: 1199px) {
  .nav-item.dropdown>.nav-link .arrow {
    padding: 4px;
  }
}



.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.coaches-table {
  width: 100%;
  max-width: 36rem;
  margin: 0 0 1.5rem auto;
  border: 1px solid #dcc6a5;
  border-collapse: collapse;
  background-color: #feebcd;
  color: #30271d;
  font-family: Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
}

.coaches-table caption {
  padding: 1rem;
  border: 1px solid #dcc6a5;
  border-bottom: 0;
  background-color: #f5d7aa;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.coaches-table th,
.coaches-table td {
  padding: 0.625rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid #dcc6a5;
}

.coaches-table thead th {
  background-color: #f9dfba;
  font-weight: 700;
}

.coaches-table tbody th {
  width: 1%;
  white-space: nowrap;
  font-weight: 700;
}

.coaches-table tbody tr:nth-child(even) {
  background-color: #fff3df;
}

.coaches-table tbody tr:last-child>* {
  border-bottom: 0;
}

@media (max-width: 480px) {
  .coaches-table {
    font-size: 0.8125rem;
  }

  .coaches-table th,
  .coaches-table td {
    padding: 0.5rem;
  }
}

.content-area>section {
  display: flow-root;
}

.coaches-table {
  float: right;
  clear: right;
  width: 242px;
  max-width: 100%;
  margin: 8px 0 16px 12px;
  border: 3px double #f39a00;
  border-collapse: separate;
  border-spacing: 0;
  padding: 0 6px 16px;
  background: #feebcd;
  color: #000;
  font-family: Arial, sans-serif;
  line-height: 1.2;
  text-align: left;
}

.coaches-table caption {
  caption-side: top;
  padding: 18px 6px 12px;
  border: 3px double #f39a00;
  border-bottom: 0;
  background: #feebcd;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.coaches-table {
  border-top: 0;
}

.coaches-table thead {
  display: none;
}

.coaches-table tbody th,
.coaches-table tbody td {
  padding: 0;
  border: 0;
  background: transparent;
  vertical-align: top;
  text-align: left;
}

.coaches-table tbody th {
  width: 1%;
  padding-right: 3px;
  font-weight: 700;
  white-space: nowrap;
}

.coaches-table tbody td {
  font-weight: 400;
}

@media (max-width: 575.98px) {
  .coaches-table {
    float: none;
    clear: both;
    width: 100%;
    margin: 16px 0;
  }
}

.grid-imgs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  clear: both;
}

@media (max-width: 767.98px) {
  .grid-imgs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 399.98px) {
  .grid-imgs {
    grid-template-columns: 1fr;
  }
}

[class*="bg-img-"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-img-krunoslav-odlazak {
  background-image: url("/pictures/krunoslav-odlazak.jpg");
}

.bg-img-isnik {
  background-image: url("/pictures/isnik.jpg");
}

.bg-img-povijest {
  background-image: url("/pictures/povijest.jpg");
}

.bg-img-dobrodosao {
  background-image: url("/pictures/20230207_163439_0000.png");
}

.bg-img-borimir-odlazak {
  background-image: url("/pictures/borimir-odlazak.jpg");
}

.bg-img-povratak-u-prvoligasko-drustvo {
  background-image: url("/pictures/povratak-u-prvoligasko-drustvo.jpg");
}

.bg-img-nova-pojacanja {
  background-image: url("/pictures/nova-pojacanja.jpg");
}

.bg-img-jorge {
  background-image: url("/pictures/jorge.jpg");
}

.bg-img-luka {
  background-image: url("/pictures/luka.jpg");
}

.bg-img-suad {
  background-image: url("/pictures/suad.jpg");
}

.bg-img-sergi-dolazak {
  background-image: url("/pictures/sergi-dolazak.jpg");
}

.bg-img-emir {
  background-image: url("/pictures/emir.jpg");
}

.bg-img-sergi-odlazak {
  background-image: url("/pictures/sergi-odlazak.jpg");
}

.news-section .row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}

.news-section [class*="bg-img-"] {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Dark gradient behind the text */
.news-section [class*="bg-img-"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 30%,
      rgba(0, 0, 0, 0.55) 65%,
      #000 100%);
}

.news-section h2,
.news-section a {
  position: relative;
  z-index: 1;
  color: #fff;
}

.news-section h2 {
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--body-bg-color) !important;
}

.news-section a {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid #f58220;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
}

.news-section a i {
  margin-left: 6px;
}

/* Space below the first featured article */
.news-section>.bg-img-krunoslav-odlazak {
  margin-bottom: 24px;
}