/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
/* Center the Joomla language switcher */
#g-navigation .g-content {
  padding: 0 0rem !important;
}
.mod-languages {
  display: flex;
  justify-content: center;
  text-align: center;
}
/* Adjust the hero overlay opacity */
#g-hero::before {
  background-color: rgba(245, 244, 244, 0.35) !important;
}
/* Adjust logo to center */
.jl-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}
.jl-logo img {
  margin: 0 auto;
  display: block;
}
/* ---- Chapter Grid Styles ---- */
/* ---- Chapter Grid Container (No Change) ---- */
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}
/* ---- Individual Square - UPDATED ---- */
.chapter-square a {
  display: flex;
  /* Use flexbox to position the content bar */
  align-items: flex-end;
  /* This pushes the content bar to the bottom */
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 10px;
  text-decoration: none;
}
/* ---- Background Image (No Change) ---- */
.chapter-square .square-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  z-index: 1;
  /* Sits behind the text bar */
}
/* ---- Text Content Bar - UPDATED ---- */
.chapter-square .square-content {
  position: relative;
  z-index: 2;
  /* Sits on top of the background image */
  width: 100%;
  /* Make the background bar span the full width */
  background-color: rgba(255, 255, 255, 0.85);
  /* Semi-transparent white */
  padding: 15px;
  box-sizing: border-box;
  /* Ensures padding doesn't add to the width */
  transition: background-color 0.3s ease;
}
.chapter-square .square-content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #333;
  /* Dark text color for readability on the white background */
  text-align: center;
}
/* ---- Hover Effects - UPDATED ---- */
.chapter-square a:hover .square-bg {
  transform: scale(1.1);
  /* Zoom in on the background image */
}
.chapter-square a:hover .square-content {
  background-color: white;
  /* Make background fully opaque on hover */
}
/* ---- List Styling for Content Pages ---- */
/* Increase indentation for nested lists */
ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 1.5em;
  /* Adjust as needed */
}
/* ---- External Link Styles ---- */
article a[href^="http"]:not([href*="yourdomain.com"]) {
  color: #6a7ba2;
  text-decoration: underline;
}
article a:hover {
  color: #4c6b6b;
}
article a[href^="http"]:not([href*="yourdomain.com"])::after {
  content: " ↗";
  font-size: 0.8em;
  color: inherit;
}
/* ---- Article Navigation Buttons ---- */
.article-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 2em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  background-color: #00bcd4;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}
.nav-button::after {
  content: "";
  position: absolute;
  bottom: 0.4em;
  height: 2px;
  background-color: #fff;
  transition: all 0.4s ease;
}
/* Next button - left to right */
.nav-button.next::after {
  left: 0;
  width: 0%;
}
.nav-button.next:hover::after {
  width: 100%;
}
/* Back button - right to left */
.nav-button.back::after {
  right: 0;
  width: 0%;
}
.nav-button.back:hover::after {
  width: 100%;
}
/* Table of contents - center outward */
.nav-button.toc::after {
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
}
.nav-button.toc:hover::after {
  width: 100%;
}
.nav-button:hover {
  background-color: #00acc1;
  color: #fff;
}
/* ---- Paragraph and List Spacing ---- */
p + ul, p + ol {
  margin-top: -1em;
}
/* ---- Emphasis Styling ---- */
em {
  color: #3c3c3c !important;
}
/* --- FAB --- */
.pdf-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #d32f2f;
  /* Red color, adjust to match your branding */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  z-index: 1000;
  gap: 2px;
}
.pdf-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: #b71c1c;
}
.pdf-fab svg {
  width: 24px;
  height: 24px;
}
.fab-text {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .pdf-fab {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
}
.eu-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.eu-footer-logo img {
  max-height: 60px;
  height: auto;
  width: auto;
}
.eu-footer-text {
  flex: 1;
  font-size: 0.9rem;
}
/*# sourceMappingURL=custom_19.css.map */