body,
html,
button,
input,
select,
textarea {
  font-family: 'Poppins', sans-serif !important;
}

.home-page .splide__arrow {
  top: 50%;
  background: #000;
  border-radius: 0;
}

.home-page .splide__arrow--prev {
  left: 0;
}

.home-page .splide__arrow--next {
  right: 0;
}

.preloader .preloader-inner .preloader-txt span {
  display: block;
}

.navbar .navbar-brand {
  position: relative;
  padding: 0 !important;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.navbar .navbar-brand::after {
  display: none;
}

.navbar .navbar-brand h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #111;
  background: #fff;
  padding: 10px;
  border-radius: 0;
  display: block;
  text-align: left;
}

.navbar .navbar-brand h1::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 120vw;
  background: #fff;
  z-index: -1;
}

.navbar .navbar-brand .logo-strong {
  font-weight: 700;
}

.navbar .navbar-brand .logo-thin {
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.navbar .menu__OpenBtn {
  position: relative;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  border: none;
  z-index: 2;
}

.navbar .menu__OpenBtn::after {
  display: none;
}

.blog-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  padding: 10px 12px;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
}

.blog-shortcut:hover {
  color: #174e8f;
  background: #e8f1fc;
}

.navbar .d-flex.justify-content-end {
  position: relative;
  background: #fff;
  padding: 10px;
}

.navbar .d-flex.justify-content-end::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 120vw;
  background: #fff;
  z-index: -1;
}

.post__Inner {
  position: relative;
}

.post__Inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

.post__Details {
  z-index: 2;
}

.post__ItemFullAfter .post__Inner::after {
  display: block;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0.72) 100%);
}

.post__LightboxGallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: 0 3rem;
}

.post__GalleryItem {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  background: #fff;
}

.post__GalleryItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post__GalleryItem:hover img {
  transform: scale(1.06);
}

.global-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 3000;
  padding: 2rem;
}

.global-lightbox.is-open {
  display: flex;
}

.global-lightbox .lightbox__image {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}

.global-lightbox .lightbox__image.is-slide-rtl {
  animation: lightboxSlideRtl 0.42s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes lightboxSlideRtl {
  0% {
    opacity: 0.2;
    transform: translateX(90px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.global-lightbox .lightbox__close {
  position: absolute;
  right: 20px;
  top: 14px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.global-lightbox .lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.global-lightbox .lightbox__prev {
  left: 18px;
}

.global-lightbox .lightbox__next {
  right: 18px;
}

.global-lightbox .lightbox__nav i {
  font-size: 30px;
  line-height: 1;
}

body.lightbox-open {
  overflow: hidden;
}

.nav-menu .menu__Item:first-child .menu__Link {
  background: linear-gradient(135deg, #f4f4f4 0%, #e9e9e9 100%) !important;
  transition: background 0.45s ease, color 0.35s ease, transform 0.35s ease;
}

.nav-menu .menu__Item:nth-child(2) .menu__Link {
  background: linear-gradient(135deg, #ececec 0%, #e0e0e0 100%) !important;
  transition: background 0.45s ease, color 0.35s ease, transform 0.35s ease;
}

.nav-menu .menu__Item:last-child .menu__Link {
  background: linear-gradient(135deg, #e4e4e4 0%, #d7d7d7 100%) !important;
  transition: background 0.45s ease, color 0.35s ease, transform 0.35s ease;
}

.nav-menu .menu__Link {
  color: #111 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100vh;
}

.nav-menu {
  height: 100vh;
}

.nav-menu .menu__Item {
  height: 100vh;
}

.nav-menu .menu__Link span {
  margin-left: 0 !important;
  width: 100%;
  text-align: center;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  font-size: calc(2.709rem - 26.667px) !important;
  letter-spacing: 2px;
}

.nav-menu .menu__Link span.is-open {
  height: auto !important;
}

.nav-menu .menu__Link .d-table {
  width: 100%;
  height: 100% !important;
}

.nav-menu .menu__Link .d-table-cell {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100% !important;
}

.nav-menu .menu__Link.active span:after,
.nav-menu .menu__Link span:after {
  background-color: #111 !important;
}

.nav-menu .menu__Item:first-child .menu__Link:hover {
  background: linear-gradient(135deg, #d7e8ff 0%, #b8d3ff 100%) !important;
  color: #0a2452 !important;
  transform: scale(1.015);
}

.nav-menu .menu__Item:nth-child(2) .menu__Link:hover {
  background: linear-gradient(135deg, #c4ddff 0%, #9fc4ff 100%) !important;
  color: #0a2452 !important;
  transform: scale(1.015);
}

.nav-menu .menu__Item:last-child .menu__Link:hover {
  background: linear-gradient(135deg, #afceff 0%, #84b4ff 100%) !important;
  color: #0a2452 !important;
  transform: scale(1.015);
}

.post__ItemFullAfter .post__Details {
  top: auto;
  left: calc(3rem + 10px);
  right: 2rem;
  bottom: 4.5rem !important;
  transform: none;
  width: auto !important;
  text-align: left;
  padding: 0;
}

.post__ItemFullAfter .post__Details .post__DetailsTitle {
  font-size: 90px !important;
}

.post__ItemFullAfter .post__Details .post__DetailsClient {
  text-align: left;
}

.hero__ScrollBtn {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.hero__ScrollBtn i {
  font-size: 24px;
  line-height: 1;
  animation: heroArrowFloat 1.5s ease-in-out infinite;
}

@keyframes heroArrowFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.post__MetaSmall {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.sivil__MetaData {
  padding-top: 32px !important;
}

.contact__Map {
  width: 100%;
  margin-top: 1.75rem;
  overflow: hidden;
}

.contact__Map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.blog-page {
  background: #eef0f3;
  color: #111;
}

.blog-main {
  overflow: hidden;
}

.blog-eyebrow {
  margin: 0 0 1rem;
  color: #2b67b0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
}

.blog-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 11rem 8vw 7rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #081b35 0%, #123a6b 58%, #285f9d 100%);
}

.blog-hero::before,
.blog-hero::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.blog-hero::before {
  width: 58vw;
  height: 58vw;
  right: -18vw;
  top: -24vw;
}

.blog-hero::after {
  width: 32vw;
  height: 32vw;
  right: 12vw;
  bottom: -24vw;
}

.blog-hero__glow {
  position: absolute;
  width: 32rem;
  height: 32rem;
  right: 4vw;
  top: 12vh;
  border-radius: 50%;
  background: rgba(107, 177, 255, 0.22);
  filter: blur(55px);
}

.blog-hero__content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.blog-hero .blog-eyebrow {
  color: #b8d7ff;
}

.blog-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.93;
}

.blog-hero h1 span,
.blog-intro h2 span,
.blog-local-seo h2 span {
  color: #8fc1ff;
}

.blog-hero p:not(.blog-eyebrow) {
  max-width: 560px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-hero__scroll {
  position: absolute;
  right: 8vw;
  bottom: 6rem;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.blog-hero__scroll:hover {
  color: #0b2547;
  background: #fff;
  transform: translateY(5px);
}

.blog-intro,
.blog-grid,
.blog-local-seo {
  width: min(1280px, calc(100% - 10vw));
  margin-right: auto;
  margin-left: auto;
}

.blog-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 0 4rem;
}

.blog-intro h2,
.blog-local-seo h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.blog-intro > p {
  max-width: 380px;
  margin: 0 0 0.25rem;
  color: #5a626d;
  line-height: 1.8;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.35rem;
  padding-bottom: 8rem;
}

.blog-card {
  grid-column: span 6;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23, 44, 72, 0.08);
}

.blog-card--featured,
.blog-card--wide {
  grid-column: span 7;
}

.blog-card--featured + .blog-card,
.blog-card--wide + .blog-card {
  grid-column: span 5;
}

.blog-card--compact {
  grid-column: span 4;
}

.blog-card__media {
  height: 260px;
  overflow: hidden;
  background: #d8dee7;
}

.blog-card--featured .blog-card__media,
.blog-card--wide .blog-card__media {
  height: 330px;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.045);
}

.blog-card__body {
  padding: 2rem;
}

.blog-card--compact .blog-card__body {
  min-height: 280px;
  padding: 2rem;
}

.blog-card__number {
  margin: 0 0 1rem;
  color: #2b67b0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14rem;
}

.blog-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.blog-card--compact h2 {
  font-size: 1.65rem;
}

.blog-card h3 {
  margin: 1.5rem 0 0.35rem;
  color: #174e8f;
  font-size: 1rem;
  font-weight: 700;
}

.blog-card p {
  color: #4e5863;
  font-size: 0.94rem;
  line-height: 1.75;
}

.blog-card .blog-card__keywords {
  margin-bottom: 1.3rem;
  color: #2b67b0;
  font-size: 0.76rem;
  line-height: 1.55;
}

.blog-table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.blog-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #4e5863;
  font-size: 0.8rem;
}

.blog-table th,
.blog-table td {
  padding: 0.75rem;
  border: 1px solid #dce2e9;
  text-align: left;
  vertical-align: top;
}

.blog-table thead th {
  color: #fff;
  background: #164c8b;
  font-weight: 600;
}

.blog-table tbody th {
  width: 22%;
  color: #193c65;
  background: #f1f5fa;
}

.blog-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #2b67b0;
  color: #174e8f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03rem;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.blog-whatsapp:hover {
  gap: 1rem;
  color: #0b2547;
}

.product-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  padding: 0.85rem 1.15rem;
  color: #fff;
  background: #159447;
  border: 1px solid #159447;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-whatsapp:hover {
  color: #fff;
  background: #0f7438;
  border-color: #0f7438;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(21, 148, 71, 0.22);
}

.blog-local-seo {
  margin-bottom: 8rem;
  padding: 5rem 6vw;
  color: #fff;
  background: #0b2547;
}

.blog-local-seo .blog-eyebrow {
  color: #8fc1ff;
}

.blog-local-seo h2 {
  margin-bottom: 1.5rem;
}

.blog-local-seo > p:not(.blog-eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.blog-whatsapp--large {
  margin-top: 1.5rem;
  border-color: #8fc1ff;
  color: #fff;
}

.blog-floating-whatsapp {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 2100;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none !important;
  line-height: 1;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(17, 86, 46, 0.28);
  opacity: 0;
  transform: translateY(16px) scale(0.72);
  animation: blogWhatsAppReveal 0.7s cubic-bezier(0.19, 1, 0.22, 1) 2s forwards;
  transition: transform 0.25s ease, background 0.25s ease;
}

.blog-floating-whatsapp i {
  font-size: 29px;
}

.blog-floating-whatsapp:hover {
  color: #fff;
  background: #159447;
  transform: translateY(-4px) scale(1.06);
}

@keyframes blogWhatsAppReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.blog-article-main .blog-local-seo {
  width: 100%;
  margin: 4rem 0 0;
}

@media (max-width: 575.98px) {
  .blog-floating-whatsapp {
    left: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .blog-floating-whatsapp i {
    font-size: 25px;
  }
}

.blog-page .nav-menu .menu__Item:nth-child(3) .menu__Link {
  background: linear-gradient(135deg, #e7eef8 0%, #d4e2f2 100%) !important;
}

.blog-page .nav-menu .menu__Item:nth-child(3) .menu__Link:hover {
  background: linear-gradient(135deg, #c4ddff 0%, #9fc4ff 100%) !important;
}

/* Keep the menu bright and consistent across the site. */
@keyframes menuLightShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-menu .menu__Link {
  background: linear-gradient(120deg, #eaf4ff 0%, #8fc5ff 42%, #d7ebff 68%, #6fa9ec 100%) !important;
  background-size: 300% 300%;
  animation: menuLightShift 10s ease infinite;
}

.nav-menu .menu__Item:nth-child(2) .menu__Link {
  background: linear-gradient(120deg, #dff0ff 0%, #78b3f0 42%, #eef8ff 68%, #5d9de3 100%) !important;
  background-size: 300% 300%;
}

.nav-menu .menu__Item:nth-child(3) .menu__Link {
  background: linear-gradient(120deg, #d6eaff 0%, #6ba7e9 42%, #e7f4ff 68%, #4e8fd9 100%) !important;
  background-size: 300% 300%;
}

.nav-menu .menu__Item:nth-child(4) .menu__Link {
  background: linear-gradient(120deg, #cce5ff 0%, #5e9be0 42%, #e3f2ff 68%, #4786d0 100%) !important;
  background-size: 300% 300%;
}

@media (max-width: 767.98px) {
  .nav-menu .menu__Item,
  .nav-menu .menu__Link {
    height: 33.333333vh !important;
    min-height: 33.333333vh;
  }

  .nav-menu.blog-nav-menu .menu__Item,
  .nav-menu.blog-nav-menu .menu__Link {
    height: 25vh !important;
    min-height: 25vh;
  }
}

/* A darker, more editorial menu treatment replaces the washed-out panels. */
@keyframes menuAtmosphere {
  0% {
    transform: translate3d(0, -8%, 0) scale(1.02);
    opacity: 0.28;
  }
  50% {
    transform: translate3d(0, 3%, 0) scale(1.08);
    opacity: 0.48;
  }
  100% {
    transform: translate3d(0, 8%, 0) scale(1.03);
    opacity: 0.3;
  }
}

.nav-menu .menu__Link,
.nav-menu .menu__Link:hover,
.nav-menu .menu__Link:focus {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #f4f8ff !important;
  background: linear-gradient(135deg, #061426 0%, #0b2948 46%, #071a31 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(128, 196, 255, 0.12);
  transform: none;
}

.nav-menu .menu__Link::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -30%;
  left: 0;
  width: 100%;
  height: 92%;
  background: radial-gradient(ellipse at 50% 0%, rgba(71, 163, 231, 0.42) 0%, rgba(23, 88, 150, 0.14) 38%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
  animation: menuAtmosphere 8s ease-in-out infinite alternate;
  transition: opacity 0.35s ease;
}

.nav-menu .menu__Item:nth-child(2) .menu__Link::before {
  animation-delay: -2s;
}

.nav-menu .menu__Item:nth-child(3) .menu__Link::before {
  animation-delay: -4s;
}

.nav-menu .menu__Item:nth-child(4) .menu__Link::before {
  animation-delay: -6s;
}

.nav-menu .menu__Link > .d-table {
  position: relative;
  z-index: 1;
}

.nav-menu .menu__Item .menu__Link:hover,
.nav-menu .menu__Item .menu__Link:focus {
  background: linear-gradient(135deg, #061426 0%, #0b2948 46%, #071a31 100%) !important;
  transform: none !important;
}

.nav-menu .menu__Link span {
  color: #f4f8ff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.nav-menu .menu__Link span::after,
.nav-menu .menu__Link.active span::after {
  background-color: #72c7ff !important;
}

/* Use the blog hover blue as the default menu state; hover removes the glow. */
.nav-menu .menu__Item .menu__Link,
.nav-menu .menu__Item .menu__Link:focus {
  color: #0a2452 !important;
  background: linear-gradient(135deg, #c4ddff 0%, #9fc4ff 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.nav-menu .menu__Item .menu__Link:hover {
  color: #0a2452 !important;
  background: linear-gradient(135deg, #c4ddff 0%, #9fc4ff 100%) !important;
}

.nav-menu .menu__Item .menu__Link:hover::before,
.nav-menu .menu__Item .menu__Link:focus::before {
  animation: none;
  opacity: 0;
}

.nav-menu .menu__Item .menu__Link span {
  color: #0a2452 !important;
  text-shadow: none;
}

/* Final menu palette: deep blue on open, without a glow on hover. */
.nav-menu .menu__Item .menu__Link,
.nav-menu .menu__Item .menu__Link:hover,
.nav-menu .menu__Item .menu__Link:focus {
  color: #f4f8ff !important;
  background: linear-gradient(135deg, #061426 0%, #0b2948 52%, #071a31 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(114, 199, 255, 0.16);
}

.nav-menu .menu__Item .menu__Link span {
  color: #f4f8ff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.nav-menu .menu__Item .menu__Link.active span::after,
.nav-menu .menu__Item .menu__Link span::after {
  background-color: #72c7ff !important;
}

@media (max-width: 991.98px) {
  .blog-hero {
    min-height: 72vh;
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .blog-hero__scroll {
    right: 6vw;
  }

  .blog-intro,
  .blog-grid,
  .blog-local-seo {
    width: min(100% - 8vw, 760px);
  }

  .blog-intro {
    display: block;
  }

  .blog-intro > p {
    margin-top: 2rem;
  }

  .blog-card,
  .blog-card--featured,
  .blog-card--wide,
  .blog-card--featured + .blog-card,
  .blog-card--wide + .blog-card {
    grid-column: span 12;
  }

  .blog-card--compact {
    grid-column: span 6;
  }
}

@media (max-width: 575.98px) {
  .blog-hero {
    min-height: 78vh;
    padding: 9rem 1.25rem 5rem;
  }

  .blog-hero h1 {
    font-size: 3.4rem;
  }

  .blog-hero__scroll {
    right: 1.25rem;
    bottom: 3rem;
  }

  .blog-intro,
  .blog-grid,
  .blog-local-seo {
    width: calc(100% - 2.5rem);
  }

  .blog-intro {
    padding: 5rem 0 2.5rem;
  }

  .blog-card--compact {
    grid-column: span 12;
  }

  .blog-card__body,
  .blog-card--compact .blog-card__body {
    padding: 1.5rem;
  }

  .blog-card__media,
  .blog-card--featured .blog-card__media,
  .blog-card--wide .blog-card__media {
    height: 220px;
  }

  .blog-local-seo {
    margin-bottom: 5rem;
    padding: 3rem 1.5rem;
  }
}

.blog-hero--compact {
  min-height: 62vh;
}

.blog-intro--single {
  align-items: center;
}

.blog-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-grid--three .blog-card,
.blog-grid--three .blog-card--featured,
.blog-grid--three .blog-card--wide,
.blog-grid--three .blog-card--compact,
.blog-grid--three .blog-card--featured + .blog-card,
.blog-grid--three .blog-card--wide + .blog-card {
  grid-column: auto;
}

.blog-card--text {
  min-height: 360px;
  border-top: 4px solid #2b67b0;
}

.blog-card--text .blog-card__body {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-card--text h2 {
  font-size: 1.55rem;
}

.blog-card--text p:not(.blog-card__number) {
  margin-bottom: 0;
}

.blog-review {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #174e8f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  text-decoration: none;
  transition: background 0.25s ease, gap 0.25s ease;
}

.blog-review:hover {
  gap: 1rem;
  color: #fff;
  background: #0b2547;
}

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

@media (max-width: 575.98px) {
  .blog-grid--three {
    grid-template-columns: 1fr;
  }

  .blog-card--text,
  .blog-card--text .blog-card__body {
    min-height: 320px;
  }
}

.blog-article-page {
  background: #eef0f3;
}

.blog-article-main {
  width: min(980px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 11rem 0 7rem;
}

.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
  color: #174e8f;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-decoration: none;
}

.blog-article-back:hover {
  color: #0b2547;
}

.blog-article-header {
  margin-bottom: 3rem;
}

.blog-article-header h1 {
  max-width: 900px;
  margin: 0;
  color: #0b2547;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.blog-article-header .blog-article-lead {
  max-width: 730px;
  margin: 2rem 0 0;
  color: #53606d;
  font-size: 1.1rem;
  line-height: 1.85;
}

.blog-article-content {
  padding: clamp(1.5rem, 5vw, 4.5rem);
  background: #fff;
  box-shadow: 0 20px 55px rgba(23, 44, 72, 0.08);
}

.blog-article-content p {
  margin: 0 0 1.35rem;
  color: #4e5863;
  font-size: 1rem;
  line-height: 1.9;
}

.blog-article-content h2 {
  margin: 2.5rem 0 0.75rem;
  color: #174e8f;
  font-size: 1.35rem;
  font-weight: 700;
}

.blog-article-content h2:first-child {
  margin-top: 0;
}

.blog-article-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: #4e5863;
  line-height: 1.9;
}

.blog-article-content li::marker {
  color: #2b67b0;
}

.blog-article-table-wrap {
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
}

.blog-article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #4e5863;
  font-size: 0.86rem;
}

.blog-article-table th,
.blog-article-table td {
  padding: 0.8rem;
  border: 1px solid #dce2e9;
  text-align: left;
  vertical-align: top;
}

.blog-article-table thead th {
  color: #fff;
  background: #174e8f;
}

.blog-article-table tbody th {
  width: 22%;
  color: #193c65;
  background: #f1f5fa;
}

.blog-article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #dce2e9;
}

.blog-article-cta .blog-whatsapp {
  margin-top: 0;
}

@media (max-width: 575.98px) {
  .blog-article-main {
    width: calc(100% - 2.5rem);
    padding-top: 9rem;
  }

  .blog-article-content p {
    font-size: 0.94rem;
  }
}

.post__MetaSmall p {
  margin: 0 0 0.8rem;
}

.post__ItemFullAfter .post__BackBtn {
  position: fixed;
  top: 64px;
  left: 0;
  width: auto !important;
  z-index: 1040;
}

.post__ItemFullAfter .post__BackBtn .back__ToCases {
  margin: 0 !important;
  width: 116px;
  height: 44px;
  border-radius: 0;
  padding: 0 !important;
  border: none;
  background: #d61b1b !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.post__ItemFullAfter .post__BackBtn .back__ToCases i {
  font-size: 18px;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.post__ItemFullAfter .post__BackBtn .back__ToCases .back__Label {
  position: absolute;
  inset: 0 !important;
  width: 100%;
  height: 100%;
  transform: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap;
  letter-spacing: 0.4px;
  pointer-events: none;
}

/* Detail pages are loaded directly as well as from the homepage slider. */
.post__ItemFull {
  left: 0;
  right: 0;
  width: 100%;
}

.post__Img:is(img) {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1399.98px) {
  .post__ItemFullAfter .post__Details .post__DetailsTitle {
    font-size: 90px !important;
  }
}

@media (max-width: 991.98px) {
  .post__ItemFullAfter .post__Details .post__DetailsTitle {
    font-size: calc(5.625rem - 13.333px) !important;
  }
}

@media (max-width: 575.98px) {
  .post__LightboxGallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 1rem;
  }

  .post__ItemFullAfter .post__Details {
    left: calc(1rem + 10px);
    right: 1rem;
    bottom: 3.5rem !important;
    padding: 0;
  }

  .post__ItemFullAfter .post__Details .post__DetailsTitle {
    font-size: calc(7.81vw - 13.333px) !important;
  }

  .post__ItemFullAfter .post__BackBtn {
    top: 64px;
    left: 0;
  }

  .hero__ScrollBtn {
    bottom: 18px;
  }
}

/* Keep the compact mobile navbar on one row and pin the menu to the viewport. */
@media (max-width: 767.98px) {
  .post__ItemFullAfter .post__Inner {
    height: 100dvh !important;
    min-height: 100svh;
  }

  .post__ItemFullAfter .post__Img {
    background-size: cover !important;
    background-position: center center !important;
  }

  .post__ItemFullAfter .post__Img:is(img) {
    object-fit: cover;
    object-position: center center;
  }

  .post__ItemFullAfter .post__GalleryItem {
    aspect-ratio: 4 / 3;
    background: #111;
  }

  .post__ItemFullAfter .post__GalleryItem img {
    object-fit: contain;
  }

  .home-page .splide,
  .home-page .splide__track,
  .home-page .splide__list,
  .home-page .splide__slide,
  .home-page .post__Inner {
    height: 100dvh !important;
    min-height: 100svh;
  }

  .home-page .post__Img {
    background-size: cover;
    background-position: center center;
  }

  .navbar.navbar-expand-lg {
    flex-wrap: nowrap !important;
    min-height: 56px;
    padding: 0.55rem 0.75rem !important;
  }

  .navbar.navbar-expand-lg .container-fluid {
    flex-wrap: nowrap !important;
    min-width: 0;
    padding: 0 !important;
  }

  .navbar .navbar-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .navbar .navbar-brand h1 {
    max-width: 100%;
    overflow: hidden;
    padding: 7px 8px;
    font-size: 0.9rem !important;
    line-height: 1.1;
    white-space: nowrap;
  }

  .navbar .d-flex.justify-content-end {
    flex: 0 0 auto;
    padding: 4px;
  }

  .blog-shortcut {
    margin-right: 4px;
    padding: 8px 5px;
    font-size: 9px;
    letter-spacing: 0.06rem;
  }

  .navbar .menu__OpenBtn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu.blog-nav-menu {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, minmax(0, 1fr));
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    z-index: 2000;
  }

  .nav-menu.blog-nav-menu .menu__Item {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-menu.blog-nav-menu .menu__Item .menu__Link {
    height: 100% !important;
    min-height: 0 !important;
  }

  .global-lightbox {
    padding: 3.25rem 0.75rem 1rem;
    overflow: hidden;
  }

  .global-lightbox .lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100dvh - 4.75rem);
    object-fit: contain;
  }

  .global-lightbox .lightbox__close {
    top: 7px;
    right: 10px;
    font-size: 32px;
  }

  .global-lightbox .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .global-lightbox .lightbox__nav i {
    font-size: 22px;
  }

  .global-lightbox .lightbox__prev {
    left: 4px;
  }

  .global-lightbox .lightbox__next {
    right: 4px;
  }

  .post__ItemFullAfter .post__Meta .d-table {
    display: block !important;
    height: auto !important;
    min-height: 0;
  }

  .post__ItemFullAfter .post__LightboxGallery {
    padding: 1rem;
  }
}
