@font-face {
  font-family: 'Square Peg';
  src: url('../fonts/SquarePeg-Regular.woff2') format('woff2'),
       url('../fonts/SquarePeg-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand-Regular.woff2') format('woff2'),
       url('../fonts/Quicksand-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Acumin Variable Concept';
  src: url('../fonts/Acumin Variable Concept.woff2') format('woff2'),
       url('../fonts/Acumin Variable Concept.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}




/* Headings: handwritten style */
h1, h2, h3 {
  font-family: 'Acumin Variable Concept', cursive;
}

/* Body text: classic readable serif */
body, p, li, a, blockquote, figcaption {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}
.mobile-menu .button_container span {
  background: #263958;
}
.overlay {
  background: #fff;
}
.mobile-menu .button_container.active .bottom, .mobile-menu .button_container.active .top, .mobile-menu .button_container.active .middle {
  background: #263958;
}

hr {
margin: 3rem 0;
}
/* === Image Post Layout === */
.image-post-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Desktop layout: float image right */
@media (min-width: 768px) {
  .image-post-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .image-post-media {
    flex: 0 0 auto;
    margin-left: 2rem;
    max-width: 300px;
  }

  .image-post-content {
    flex: 1;
  }
}
/* === Image Post Content Styling === */
.image-post-content {
  font-size: 1.1em;
  line-height: 1.6;
}

/* === Default Image Styling (Desktop and up) === */
.image-post-media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-top: 2rem;
  box-shadow: none; /* No shadow by default on desktop */
}

/* === Responsive Overrides for Mobile/Tablet === */
@media (max-width: 767px) {
  .image-post-media img {
    width: 65%;
    margin: 2rem auto;
    border-radius: 3px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); /* Soft blurred shadow only on small screens */
  }
}
#body-wrapper .container {
  padding: 0rem 0 2rem;
}

.lang-switcher-float {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 9999;
  font-size: 0.9rem;
padding: 15px 25px 15px 0px;
background:ffffffcc;
}
ul.langswitcher {
  margin: 0;
  display: inline;
}
.lang-switcher-float a {
  margin: 0 0.25rem;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

.lang-switcher-float a.active {
  text-decoration: none;
  color: #c5c5c5;
}





/* Show the mobile menu on small screens */
@media (max-width: 840px) {
  .mobile-menu { display: block; }
}

/* Place the container itself bottom-left on RTL pages */
html[dir="rtl"] .mobile-menu {
  position: fixed;
  left: 1.6rem; top: 2.8rem;
  right: auto; bottom: auto; z-index: 1002;
}
/* OVERRIDE the theme’s top/right on the inner button */
html[dir="rtl"] .mobile-menu .button_container {
  position: absolute !important;
  bottom: 0 !important;      /* put the button inside the container’s bottom */
  left: 0 !important;        /* and at the left edge */
  top: auto !important;
  right: auto !important;
  z-index: 1003;             /* above header bg/overlay */
  width: 28px;               /* keep existing sizes if needed */
  height: 24px;
}

/* Keep it in place when “open/active” (covers common classes) */
html[dir="rtl"] .mobile-menu #toggle.is-active,
html[dir="rtl"] .mobile-menu #toggle.active,
html[dir="rtl"] .mobile-menu #toggle.open {
  bottom: 0 !important;
  left: 0 !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
}
/* RTL: adjust mobile logo spacing */
html[dir="rtl"] .mobile-logo img,
html[dir="rtl"] .mobile-logo svg {
  height: 42px;
  margin-top: .7rem;
  margin-right: 1.4rem;
  margin-left: 0; /* cancel the LTR margin */
}
@media (max-width: 840px) {
  html[dir="rtl"] #header .navbar-section {
    margin-right: 0rem !important;
    margin-left: 0; /* cancel the LTR spacing */
  }
}

a.button {
    display: inline-block;
    background-color: #126bd9;
    color: #fff !important;
    font-size: 1.1em;
    border-radius: 2px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}
a.button:hover {
  background-color: #2b4c98;   /* darker pink */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

a.button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
