:root {
  --max-phone-height: 1280px;
  --min-desktop-width: 1281px;
}


body {
    margin: 0;
    padding: 0;
    background-color: #151515;
    font-family: Arial, sans-serif;
}

/* ---------------------------- */
/* -------- Navigation -------- */
/* ---------------------------- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    z-index: 1000;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 1280px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
}

nav li {
    position: relative;
    margin: 0 20px;
    top: -13px;
}

nav a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

nav a:hover {
    color: #e0e0e0;
}

/* ---------------------------- */
/* --------- Sections --------- */
/* ---------------------------- */

.content-section {
    background-color: #151515;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
	width: 100%;
}

#section-welcome {
    background-image: url('img/bg/fabulania_halvmane.jpg');
}

/* ---------------------------- */
/* ----------- Page ----------- */
/* ---------------------------- */

.content-container {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 10px;
	margin: 10em 0em;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	max-width: 1280px;
  width: 90%;
  box-sizing: border-box;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	color: white;
}
h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
h2 {
  font-size:2rem;
}

p, li {
	font-size: 1.25em;
	color: white;
	margin: 0 5;
}
ol {
  list-style-position: inside;
}

p a {
	color: deepskyblue;
}

p img {
  border-style: solid;
  border-width: 2px;
  border-top-color: #79F;
  border-left-color: #79F;
  border-bottom-color: #57F;
  border-right-color: #57F;
  border-radius: 5px;
}

/* ---------------------------- */
/* ----------- News ----------- */
/* ---------------------------- */

#news {
	overflow-y:scroll;
	max-height: 60vh;
	width: 100%;
}
#news h3 {
	font-size: 0.5cm;
	/*position: absolute;
	right: 0px;
	top: -13px;*/
}
#news img {
	width: 33%;
}

/* ---------------------------- */
/* -------- Download ---------- */
/* ---------------------------- */

.download-container {
  width: 100%;
  clear: both;
  float: left;
}

.download-texture, .download-wallpaper {
  clear: none;
  float: left;
  box-sizing: border-box;
  color: white;
  overflow-y: hidden;
  padding: 0 8px 18px;
}
.download-texture {
  min-height: 30em;
  width: 25%;
}
.download-wallpaper {
  height: 14em;
  width: 20%;
}
  
.download-texture img, .download-wallpaper img {
  display: block;
  width: 100%;
}

.download-texture h3 {
  margin: 1em 0 0.7em;
}

.download-texture p {
  color: white;
  line-height: 1.25;
}

.download-latest,
.download-version-picker {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  margin: 0.65em auto;
}

.download-latest span {
  color: white;
  font-size: 1.15em;
  font-weight: bold;
}

.download-button {
  background: rgba(0, 150, 210, 0.9);
  border: 1px solid rgba(125, 225, 255, 0.95);
  border-radius: 5px;
  box-sizing: border-box;
  color: white;
  display: inline-block;
  font-size: 1.05em;
  font-weight: bold;
  line-height: 1.2;
  padding: 0.45em 0.75em;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.download-button:hover,
.download-button:focus {
  background: rgba(0, 180, 240, 0.95);
  color: white;
}

.download-button.secondary {
  background: rgba(35, 35, 35, 0.85);
  border-color: rgba(255, 255, 255, 0.55);
}

.download-version-picker {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  max-width: 15em;
  padding: 0.7em;
}

.download-version-label {
  color: white;
  display: block;
  font-weight: bold;
  margin: 0;
}

.download-version-select {
  appearance: none;
  background-color: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  color: white;
  font: inherit;
  max-width: 100%;
  min-width: 9em;
  padding: 0.35em 2em 0.35em 0.6em;
  text-align: center;
}

@media only screen and (max-width: 1280px) {
  .download-texture, .download-wallpaper  {
    width: 50%;
  }
  .download-wallpaper p {
    display: none;
  }
  .download-wallpaper {
    height: auto;
  }
  .download-texture {
    min-height: 31em;
  }
}

@media only screen and (max-width: 700px) {
  .download-texture, .download-wallpaper {
    width: 100%;
  }
  .download-texture {
    min-height: 0;
  }
}

/* ---------------------------- */
/* ----------- Info ----------- */
/* ---------------------------- */

.player-class {
	color: black;
	font-weight: bold;
	width: 20%;
	min-width: 10em;
	margin: auto;
}
#player-class-new {
	background-color: white;
}
#player-class-all {
	background-color: lightgreen;
}
#player-class-active {
	background-color: gold;
}
#player-class-ops {
	background-color: lightblue;
}
#player-class-afk {
	background-color: lightgray;
}
#player-class-ban {
	background-color: lightcoral;
}

/* ---------------------------- */
/* ---------- Rules ----------- */
/* ---------------------------- */

.rule-list {
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rule-item {
  border-bottom: 1px solid #555;
  padding: 0.5rem 0;
}

.rule-title {
  cursor: pointer;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
}

.rule-title .arrow {
  display: inline-block;
  width: 1.2em;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.rule-title.open .arrow {
  transform: rotate(90deg);
}

.rule-description {
  display: none;
  font-size: 1.25em;
  font-family: Arial, sans-serif;
  margin-top: 0.3rem;
  padding-left: 1.7em;
  color: #FFF;
}

.grayzone-rules {
  margin-top: 2.5rem;
}

.grayzone-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin: 1.25rem 0;
}

.grayzone-legend span {
  white-space: nowrap;
}

.grayzone-list {
  list-style: none;
  margin: 0 auto;
  max-width: 900px;
  padding: 0;
  text-align: left;
}

.grayzone-list li {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
  line-height: 1.4;
  padding: 0.3rem 0;
}

.grayzone-status {
  flex: 0 0 1.4em;
  text-align: center;
}

/* ---------------------------- */
/* ----------- Map ------------ */
/* ---------------------------- */

.nether-navigator {
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.95), rgba(42, 42, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 5px solid #63d7df;
  border-radius: 8px;
  box-sizing: border-box;
  margin: 2.5em 0;
  max-width: none;
  padding: 1.5em;
  text-align: left;
  width: 100%;
}

.nether-navigator-heading {
  align-items: flex-start;
  display: flex;
  gap: 1em;
  justify-content: space-between;
}

.nether-navigator-heading h2 {
  margin: 0.1em 0 0.4em;
}

.nether-navigator-kicker {
  color: #63d7df;
  font-size: 0.9em;
  font-weight: bold;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.nether-route-form {
  margin-top: 1.5em;
}

.nether-origin-mode {
  border: 0;
  display: inline-flex;
  gap: 0;
  margin: 0 0 1em;
  padding: 0;
}

.nether-origin-mode legend {
  color: #ccc;
  font-size: 0.88em;
  font-weight: bold;
  margin-bottom: 0.45em;
}

.nether-origin-mode label {
  cursor: pointer;
}

.nether-origin-mode input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.nether-origin-mode span {
  background: #292929;
  border: 1px solid #777;
  color: #ddd;
  display: block;
  padding: 0.55em 1.1em;
}

.nether-origin-mode label:first-of-type span {
  border-radius: 5px 0 0 5px;
}

.nether-origin-mode label:last-of-type span {
  border-left: 0;
  border-radius: 0 5px 5px 0;
}

.nether-origin-mode input:checked + span {
  background: #63d7df;
  border-color: #63d7df;
  color: #111;
}

.nether-origin-mode input:focus-visible + span {
  outline: 2px solid white;
  outline-offset: 2px;
}

.nether-origin-mode:disabled {
  opacity: 0.55;
}

.nether-route-fields {
  align-items: end;
  display: grid;
  gap: 0.8em;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
}

.nether-route-fields.coordinates-mode {
  align-items: start;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
}

.nether-route-origin {
  min-width: 0;
}

.nether-route-form label {
  color: white;
  font-size: 1em;
  font-weight: bold;
}

.nether-route-form select,
.nether-route-form input[type="number"] {
  background: #171717;
  border: 1px solid #999;
  border-radius: 4px;
  box-sizing: border-box;
  color: white;
  display: block;
  font: inherit;
  margin-top: 0.4em;
  min-height: 2.8em;
  padding: 0.55em;
  width: 100%;
}

.nether-coordinate-origin {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid #555;
  border-radius: 6px;
  padding: 0.8em;
}

.nether-coordinate-fields {
  display: grid;
  gap: 0.7em;
  grid-template-columns: 1fr 1fr;
}

.nether-coordinate-dimension {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.55em;
  margin-top: 0.75em;
}

.nether-coordinate-dimension input {
  accent-color: #63d7df;
  height: 1.15em;
  width: 1.15em;
}

.nether-nearest-station {
  color: #63d7df;
  font-size: 0.9em;
  line-height: 1.35;
  margin: 0.65em 0 0;
}

.nether-route-form button {
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: bold;
  min-height: 2.8em;
  padding: 0.55em 0.9em;
}

.nether-route-form button:disabled,
.nether-route-form select:disabled {
  cursor: wait;
  opacity: 0.55;
}

.nether-route-swap {
  background: #555;
  color: white;
  font-size: 1.25em !important;
}

.nether-route-submit {
  background: #63d7df;
  color: #111;
}

.coordinates-mode .nether-route-submit {
  margin-top: 1.45em;
}

.nether-route-swap:hover,
.nether-route-swap:focus {
  background: #777;
}

.nether-route-submit:hover,
.nether-route-submit:focus {
  background: #89eef3;
}

.nether-route-status {
  color: #ccc;
  margin-top: 1em;
}

.nether-route-result {
  border-top: 1px solid #666;
  margin-top: 1.25em;
  padding-top: 1.25em;
}

.nether-route-summary {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  margin-bottom: 1.2em;
}

.nether-route-summary strong {
  color: #ffdd57;
  font-size: 1.5em;
}

.nether-route-summary span {
  color: #ddd;
}

.nether-route-steps {
  counter-reset: route-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nether-route-steps li {
  border-left: 3px solid #63d7df;
  margin-left: 0.8em;
  padding: 0 0 1.4em 1.5em;
  position: relative;
}

.nether-route-steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.nether-route-steps li:last-child::before {
  background: #79b87a;
}

.nether-route-steps li::before {
  background: #ffdd57;
  border: 3px solid #222;
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  height: 1.1em;
  left: -0.57em;
  position: absolute;
  top: 0.15em;
  width: 1.1em;
}

.nether-route-step-title {
  color: white;
  display: block;
  font-weight: bold;
}

.nether-route-leg {
  color: #bbb;
  display: block;
  font-size: 0.82em;
  margin-top: 0.3em;
}

.nether-route-steps li.nether-route-approach::before {
  background: white;
}

.nether-route-steps li.nether-route-start::before {
  background: white;
}

.nether-route-transfer {
  color: #ffdd57;
  display: block;
  font-size: 0.82em;
  margin-top: 0.3em;
}

.nether-route-transfer.portal-start {
  color: white;
}

.nether-route-transfer.portal-end {
  color: #79b87a;
}

.nether-route-station-coordinates {
  color: #9edba4;
  display: block;
  font-size: 0.82em;
  margin-top: 0.3em;
}

@media only screen and (max-width: 850px) {
  .nether-route-fields,
  .nether-route-fields.coordinates-mode {
    grid-template-columns: 1fr;
  }

  .nether-route-swap {
    display: none;
  }

  .coordinates-mode .nether-route-submit {
    margin-top: 0;
  }

  .nether-route-submit {
    width: 100%;
  }
}

@media only screen and (max-width: 520px) {
  .nether-navigator {
    padding: 1em;
  }

  .nether-navigator-heading {
    display: block;
  }

}

.iframe-section {
  overflow: hidden;
}

.iframe-section iframe {
  border: none;
  display: block;
  width: 100%;
  height: 100%;
}

.bluemap-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 1.5em 0 2.5em;
  overflow: hidden;
  border-radius: 8px;
  background: #101820 url('img/karta-unavailable.png') center / contain no-repeat;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.bluemap-frame:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.bluemap-fullscreen {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 7px;
  color: #fff;
  background: rgba(15, 20, 26, 0.82);
  font: 28px/1 sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.bluemap-fullscreen:hover,
.bluemap-fullscreen:focus-visible {
  background: rgba(0, 110, 222, 0.95);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------------------------- */
/* ---------- Cities ---------- */
/* ---------------------------- */

.city-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
  text-align: left;
  margin-bottom: 1.5em;
  border-top-style: solid;
  border-width: 2px;
  border-color: white;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 1em;
  transition: all 0.3s ease;
  overflow: hidden;
}

.city-title {
  margin-top: 0;
  margin-bottom: 0.5em;
  transition: all 0.3s ease;
  text-align: left;
  font-size: 1.5rem;
  display: block;
}

/* When collapsed, show title left-aligned */
.city-collapsed-state .city-title {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

/* When expanded, center and enlarge the title */
.city-expanded-state .city-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1em;
}

/* Collapsed state */
.city-collapsed {
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding: 0.5em 0;
}

.city-collapsed-info {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Single attributes list - positioned differently in collapsed vs expanded */
.city-attributes {
  font-size: 1em;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
  width: 100%;
}

.city-attributes li {
  margin: 0.3em 0;
  padding: 0;
}

/* In collapsed state: attributes in collapsed-info reach to thumbnail */
.city-collapsed-info .city-attributes {
  font-size: 1em;
  width: 100%;
}

/* In expanded state: attributes in expanded layout */
.city-expanded-attributes-container .city-attributes {
  font-size: 1.1em;
  list-style-position: inside;
  padding-left: 0;
}

.city-thumbnail {
  flex-shrink: 0;
  width: 300px;
  height: 220px;
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.city-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide collapsed state when expanded */
.city-expanded-state .city-collapsed {
  display: none;
}

/* Expanded state */
.city-expanded {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.city-expanded-content {
  padding-top: 1em;
}

.city-expanded .slideshow-container {
  margin-bottom: 1.5em;
  margin-left: 0;
  margin-right: 0;
  z-index: 10;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
  box-sizing: border-box;
}

.city-expanded-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2em;
  margin-top: 1em;
}

.city-expanded-attributes-container {
  position: relative;
}

.city-expanded-description {
  font-size: 1em;
  line-height: 1.6;
}

.city-expanded-description p {
  margin-bottom: 1em;
}

/* Toggle button */
.city-toggle-btn {
  width: 100%;
  padding: 0.75em;
  margin-top: 1em;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: white;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.city-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.city-appendix {
  margin-top: 1em;
  font-size: 0.9em;
  font-style: italic;
}

/* Quick links container */
.quick-links-container {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 2em;
  flex-wrap: wrap;
}

.quick-link-btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75em 1.5em;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: white;
  font-size: 0.9em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.quick-link-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  color: white;
}

/* Responsive */
@media only screen and (max-width: 1280px) {
  .city-collapsed {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .city-thumbnail {
    width: 100%;
    max-width: 100%;
    height: 240px;
    align-self: center;
    box-sizing: border-box;
  }
  
  .city-expanded-layout {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  
  .city-expanded .slideshow-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* ---------------------------- */
/* ------- City Emblems ------- */
/* ---------------------------- */

.flag {
  width: 4em;
  height: 4em;
  padding: 1em;
  border-width: 0px;
  border-radius: 1em;
  background-color: rgba(255, 255, 255, 0.33);
}

/* ---------------------------- */
/* ---------- Footer ---------- */
/* ---------------------------- */

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-logo h2 {
    font-size: 1.5rem;
}

.footer-links ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e0e0e0;
}

.footer-social .social-icon {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s;
}

.footer-social .social-icon:hover {
    color: #e0e0e0;
}

/* ---------------------------- */
/* ----- Responsive Styles ---- */
/* ---------------------------- */
@media only screen and (max-width: 1280px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 10px 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .footer-social {
        margin-top: 20px;
    }
}

/* ---------------------------- */
/* -------- Hamburger --------- */
/* ---------------------------- */

.hamburger {
    display: none; /* Hide by default and only show on smaller screens */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.line {
    width: 25px;
    height: 3px;
    background-color: white;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.nav-links ul {
  width: 100%;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}

@media only screen and (min-width: 1281px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
  }
  
  .nav-links ul {
    flex-direction: row;
  }
  .nav-links li {
    font-size: 0.9em !important;
  }
  nav {
    height: 20px;
  }
}

@media only screen and (max-width: 1280px) {
    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }
}

/* ---------------------------- */
/* -------- Slideshow --------- */
/* ---------------------------- */

.slideshow-container {
  position: relative;
  max-width: 750px;
  margin: auto;
  box-sizing: border-box;
}

.main-image {
  overflow: hidden;
  position: relative;
}

.main-image img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateX(0);
  transition: transform 0.2s ease;
  will-change: transform;
}

.main-image img.slide-current-left {
  transform: translateX(-100%);
}

.main-image img.slide-current-right {
  transform: translateX(100%);
}

.main-image img.slide-image-next {
  left: 0;
  position: absolute;
  top: 0;
}

.main-image img.slide-next-from-left {
  transform: translateX(-100%);
}

.main-image img.slide-next-from-right {
  transform: translateX(100%);
}

.main-image img.slide-next-active-left,
.main-image img.slide-next-active-right {
  transform: translateX(0);
}

.main-image img.slide-no-transition {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .main-image img {
    transition: none;
  }
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 35%;  /* Centers the button vertically */
  width: auto;
  height: 20%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);  /* Optional: Adds a semi-transparent background for better visibility */
}
@media only screen and (max-width: 1280px) {
  .prev, .next {
    top: 30%;
    height: 40%;
  }
  
  .quick-links-container {
    gap: 0.75em;
  }
  
  .quick-link-btn {
    font-size: 0.85em;
    padding: 0.6em 1.2em;
  }
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.image-previews img {
  cursor: pointer;
  width: 64px;
  height: 64px;
  margin: 5px;
  border: 2px solid transparent;
  transition: border 0.2s ease;
  filter: brightness(1) saturate(25%);
  transition: filter 0.3s ease, border 0.3s ease;
}

.image-previews img:hover {
  border: 2px solid #f00;
}

.image-previews img.active {
  filter: saturate(100%) brightness(1);
}
