/* Insert CSS Below */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
/* config */
:root {
  /* brand colours */
  --white: rgb(255 255 255);
  --black: rgb(35 31 32);
  --hr-ivory: rgb(234 220 193);
  --hr-green: rgb(18 85 56);
  
  /* basic config*/
  --primary-color-fg: var(--hr-green);
  --primary-color-bg: var(--hr-ivory);
  --nav-coulour-fg: var(--hr-green);
  --nav-color-bg: var(--hr-ivory);
  --secondary-color-fg: var(--primary-color-fg);
  --secondary-color-bg: var(--primary-color-bg);
  --accent-color: unset;
  --font-face: Poppins;
  --base-font-size: 1.2rem;
 
  
  --btn-color-fg: var(--white);
  --btn-color-bg: var(--hr-green);
   
}
/* Overwrite all theme fonts */
body {
  font-family: var(--font-face), sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
footer p,
footer pre,
footer ul li a {
  font-family: var(--font-face), sans-serif;
  color: var(--hr-green);
}
body {
  font-size: var(--base-font-size);
  color: var(--black);
}
h1, .article-title {
  font-size: 2.3rem;
}
h2 {
  font-size: 2.1rem;
}
h3 {
  font-size: 1.8rem;
}
h4 {
	font-size: 1.6rem;
}
h5 {
  font-size: 1.3rem;
}
body {
  margin-top: 0px;
  background-color: var(--white);
}
.site-header {
  background-color: var(--nav-color-bg);
  padding: 20px;
  width: 100vw; 
  margin-left: calc((-100vw + 100%) / 2);
  margin-right: calc((-100vw + 100%) / 2);
  font-size: 0.9rem;
}
@media (min-width: 1200px) {
  .site-header {
    padding-inline: 50px;
    font-size: 1.1rem;
  }
}
.navbar-custom {
  background-color: var(--nav-color-bg);
}
.navbar-custom.navbar-dark .navbar-nav .nav-link,
.navbar-custom.navbar-dark .navbar-nav .nav-link:hover,
.navbar-custom.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--nav-coulour-fg);
}
.journal-title {
  height:100px;
}
/* Make the logo a consistent size */
#journal-title > .row:first-child > .col-md-2 {
  flex: 0 0 16.666667%;
}
#journal-title > .row:first-child > .col-md-2 img {
  height: 80px;
  max-width: unset;
}
@media (min-width: 1200px) {  
  #navbarCollapse {
    margin-top: -35px;
  }
}
#navbarCollapse > ul.navbar-nav:first-child {
  margin-left: auto;
  margin-right:unset !important;
}
.site-footer {
  border-top: 0px;
}
.btn-primary {
  color: var(--btn-color-fg);
  background-color: var(--btn-color-bg);
}
.homepage-element-about {
  margin-top: 15px;
}
.dropdown-menu{
  font-size: 1.1rem;
}
.navbar-nav > .nav-item > .nav-link {
  font-size: 1.1rem;
}
.homepage-element-news{
  .card-title {
    font-size: 1.3rem;
  }
  .card-subtitle {
    font-size: 1.1rem;
  }
  .card-text {
    font-size: 1.0rem;
  }
}
/* Custom collapse breakpoint for your .navbar-expand-lg at 990px */
@media (max-width: 990px) {
  /* show the toggler, hide the expanded menu */
  .navbar.navbar-expand-lg .navbar-toggler {
    display: block;
  }
  .navbar.navbar-expand-lg .navbar-collapse {
    display: none !important;
  }
  .navbar.navbar-expand-lg .navbar-collapse.show {
    display: block !important;
  }
  /* stack nav items vertically in mobile */
  .navbar.navbar-expand-lg .navbar-nav {
    flex-direction: column;
  }
  /* optional: make dropdowns full-width in mobile if you like */
  .navbar.navbar-expand-lg .dropdown-menu {
    position: static;
    float: none;
  }
}
@media (min-width: 990px) {
  /* hide the toggler and show the expanded menu */
  .navbar.navbar-expand-lg .navbar-toggler {
    display: none;
  }
  .navbar.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  /* inline nav items on desktop */
  .navbar.navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
}
#carousel.carousel {
  background-color: var(--hr-green);
  padding: 2.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}
#carousel .carousel-inner {
  overflow: visible;
}
#carousel .carousel-item {
  display: none;
  min-height: 500px;
}
#carousel .carousel-item.active,
#carousel .carousel-item-next,
#carousel .carousel-item-prev {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: center;
}
#carousel .article-img {
  order: 2;
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
#carousel .carousel-caption {
  position: static !important;
  display: block !important;
  order: 1;
  text-align: left;
  padding: 0 1rem 0 0;
  min-width: 0 !important;
  background: transparent !important;
  color: var(--white);
  text-shadow: none;
}
#carousel .carousel-caption h2 {
  font-family: var(--font-face), sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
#carousel .carousel-caption h2 a,
#carousel .carousel-caption h2 a:hover,
#carousel .carousel-caption h2 a:focus,
#carousel .carousel-caption h2 a:visited {
  color: var(--white);
  text-decoration: none;
  border-bottom: none;
}
#carousel .carousel-caption h2 a:hover {
  opacity: 0.85;
}
#carousel .carousel-caption p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 32ch;
  color: var(--white);
}
#carousel .carousel-caption .read-journal {
  display: inline-block;
  background: var(--white);
  color: var(--hr-green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#carousel .carousel-caption .read-journal:hover,
#carousel .carousel-caption .read-journal:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--hr-green);
  text-decoration: none;
}
#carousel .carousel-control-prev,
#carousel .carousel-control-next {
  width: 3rem;
  opacity: 0.7;
}
#carousel .carousel-control-prev:hover,
#carousel .carousel-control-next:hover {
  opacity: 1;
}
#carousel #carousel-buttons {
  position: absolute;
  top: auto;
  bottom: 1rem;
  right: 1rem;
  left: auto;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
#carousel #carousel-buttons .btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}
#carousel #carousel-buttons .btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
@media (max-width: 768px) {
  #carousel.carousel {
    padding: 1.5rem 3rem;
  }
  #carousel .carousel-item.active,
  #carousel .carousel-item-next,
  #carousel .carousel-item-prev {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #carousel .article-img {
    order: 1;
    max-height: 280px;
  }
  #carousel .carousel-caption {
    order: 2;
    padding: 0;
  }
  #carousel .carousel-caption h2 {
    font-size: 1.6rem;
  }
}