* {
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}
:root {
  --bulma-family-primary: "Inter", sans-serif;
  --bulma-family-secondary: "Inter", sans-serif;
  --bulma-column-gap: 0 !important;
}
body {
  margin-bottom: 0 !important;
  padding-top: 68px;
}
.container .navbar-brand {
  margin-inline-start: 0 !important;
}

@media screen and (max-width: 768px) {
  .post table,
  .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
}

.navbar {
  /* padding-top: 1rem;
  padding-bottom: 1rem; */
  background-color: #f8f9fa;
}

.custom-logo {
  max-width: 268px;
  max-height: 45px;
}
.navbar-link:not(.is-arrowless)::after {
  border-color: hsl(222, 13.5%, 29%);
}
.entry-title,
h1.title {
  font-weight: 700;
  font-size: 2rem;
  color: #0288c1;
}
.featured-image {
  margin-bottom: 1.5rem;
}
.post-thumbnail img,
.featured-image img {
  width: 100%;
  height: auto;
}
.wp-caption {
  background-color: #f8f9fa;
  padding-bottom: 0.1rem;
  text-align: left;
  border-radius: 0 0 10px 10px;
}
.meta-info .icon {
  color: #999;
  font-size: 1.2rem;
}
.meta-info .separator {
  display: inline-block;
  padding: 0 8px;
  font-weight: normal;
  opacity: 0.7;
  transform: translateY(3px);
}
.meta-info {
  font-size: 0.9rem;
  color: #666;
}
.box.has-background-light {
  background-color: #f9f9f9;
  border-left: 4px solid #e4c04f;
}
.widget {
  padding: 1rem 1.1rem 1.5rem;
  background-color: #f3f4f6;
  border-radius: 10px;
  border: 1px solid #e7e8eb;
}
.widget-area .widget-title,
.widget h2,
.widget_search .wp-block-search__label {
  font-weight: 700;
  border-bottom: none;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.wp-block-search__inside-wrapper {
  padding-top: 0.5rem;
}
.wp-block-search__input {
  border-radius: 10px 0 0 10px;
  border-right: 0;
}
.wp-block-search__input:focus-visible,
.wp-block-search__input:focus {
  border-color: #949494;
  box-shadow: none;
  outline: none;
}
.wp-block-search__button {
  border: 1px solid #ff8d0e;
  background-color: #ff8d0e;
  color: #fff;
  border-radius: 0 10px 10px 0;
  margin-left: 0px;
}
.widget ul {
  padding: 0 1rem !important;
  list-style: disc !important;
}
.widget ul li {
  line-height: 1.25rem;
  margin-bottom: 0.5rem;
}
.wpp-cards li .wpp-post-title {
  font-size: 1em !important;
  font-weight: 500 !important;
}
.widget a:hover {
  color: #fd850c;
}
.content a:hover {
  text-decoration: underline;
}
.wp-post-image {
  border-radius: 10px;
}
.wp-caption img[class*="wp-image-"] {
  border-radius: 10px 10px 0 0;
}
/* Fixed buttons visible only on mobile */
.mobile-fixed-buttons {
  position: fixed !important;
  bottom: 0px !important;
  left: 0;
  display: flex;
  width: 100%;
  z-index: 1001;
  text-align: center;
}

.mobile-fixed-buttons a {
  flex: 1;
  padding: 14px 0;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}

.btn-call {
  background-color: #58c102;
  border-right: 1px solid #60d302;
}

.btn-quote {
  background-color: #e67300;
  border-left: 1px solid #ff8f18;
}

@media (min-width: 769px) {
  .site-headers {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
  }
  body {
    padding-top: 83px;
  }
  .mobile-fixed-buttons {
    display: none;
  }
  .homepage-post-row .columns {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    --columnGap: 1.5rem;
  }

  .homepage-post-row .column {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 39;
  /* background-color: #142d4e; */
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, bottom 0.3s ease;
}
#scrollTopBtn:hover {
  /* background-color: #e4c04f;
  color: #142d4e; */
  background: #ff5722;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #scrollTopBtn {
    display: none !important;
  }
  .custom-logo {
    width: 209px;
    height: 35px;
  }
}
/* Remove box, padding, and shadow by default */
.homepage-post-row {
  padding: 0;
  transition: box-shadow 0.3s ease;
  /* margin-bottom: 1.5rem; */
}
.homepage-post-row .title a {
  transition: color 0.3s ease;
}
/* Add subtle hover effect */
.homepage-post-row:hover .title a {
  color: #fd850c;
}
/* Divider */
.post-divider {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #ddd;
}
.hero {
  background: linear-gradient(rgba(20, 45, 78, 0.6), rgba(20, 45, 78, 0.6)),
    url("../webp/ahaldara_1360.webp")
      center center / cover no-repeat;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}
.hero .title,
.hero .subtitle {
  color: #fff;
}

.pagination ul {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin-top: 1.5rem;
}
.pagination li a,
.pagination li span {
  padding: 0.5em 0.75em;
  border: 1px solid #ccc;
  color: #142d4e;
  border-radius: 6px;
}
.pagination li .current {
  background-color: #142d4e;
  color: #fff;
  border-color: #142d4e;
}
@media (max-width: 480px) {
  .pagination {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 6px;
    justify-content: center;
    padding: 0.5rem 0.5rem 2rem 5rem;
  }
}
/* Mobile Menu */
/* Hamburger icon */
.mobile-header {
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  z-index: 1001;
  display: flex;
  align-items: center;
}

.mobile-header a {
  font-size: 1.75rem;
  color: #142d4e;
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1002;
  padding: 1.25rem;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.mobile-menu-content a {
  display: block;
  margin-bottom: 1rem;
  color: #142d4e;
  font-weight: 500;
  font-size: 1rem;
}

.mobile-menu-content a i {
  margin-right: 8px;
}

/* Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 45, 78, 0.5);
  z-index: 1000;
  display: none;
}

.mobile-overlay.active {
  display: block;
}

/* Header scroll effect */
.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
/* Make the full header fixed */
.site-headers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease;
  /* padding-left: 1rem;
  padding-right: 1rem; */
  padding: 0.5rem 0.75rem;
}

/* Hide the header on scroll */
.header-hidden {
  transform: translateY(-100%);
}

#openMobileMenu {
  align-items: center;
  align-self: center;
  appearance: none;
  background: 0 0;
  border: none;
  color: hsl(
    var(--bulma-burger-h),
    var(--bulma-burger-s),
    var(--bulma-burger-l)
  );
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  margin-inline-end: 0.375rem;
  margin-inline-start: auto;
  position: relative;
  vertical-align: top;
  width: 2.5rem;
}
/* Mobile responsive layout for post row */
@media (max-width: 768px) {
  .homepage-post-row .columns.is-mobile {
    flex-direction: column !important;
  }

  .homepage-post-row .column.is-one-third {
    width: 100% !important;
    max-width: 100%;
  }

  .homepage-post-row .column:not(.is-one-third) {
    width: 100% !important;
    max-width: 100%;
  }

  .homepage-post-row .image.is-rounded {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .homepage-post-row {
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.09);
    margin-bottom: 2rem;
  }

  .homepage-post-row .column {
    padding: 1rem;
  }
}

/* Fix pagination layout on mobile */
@media (max-width: 768px) {
  .pagination {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pagination li {
    flex: 0 0 auto;
  }
  .is-small-mobile {
    padding-top: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hero {
    padding: 1.5rem 0.5rem;
  }
  .hero.is-light .hero-body {
    padding: 40px 5px;
  }
  .site-title {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  .carousel-nav {
    display: none;
  }
  .carousel-header .title.is-4 {
    font-size: 1.4rem;
  }
}
.menu-icon {
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px 16px;
  color: #343a40;
}
/* Carousel Codes */
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 1rem 0 2rem;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  user-select: none;
  cursor: grab;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.c-card {
  flex: 0 0 auto;
  width: 260px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e1e4;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.c-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.carousel-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.carousel-content {
  padding: 1rem;
  text-align: left;
}
.carousel-content strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.25rem;
}
.carousel-content p {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.carousel-content .button {
  background-color: #54c403;
  border-color: #54c403;
  color: #fff;
}
.carousel-content .button:hover {
  background-color: #ff890c;
  border-color: #ff890c;
}
.carousel-nav {
  display: flex;
  gap: 5px;
}
.carousel-nav button {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.copyright a,
.footer ul li a {
  transition: color 0.3s;
  text-decoration: none;
  color: #333;
}
.footer {
  background-color: #efefef;
  padding: 3rem 1.5rem;
  color: #333;
}
.footer h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #d17b05;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.footer ul li a {
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}
.copyright a:hover,
.footer ul li a:hover {
  color: #0056b3;
}
.footer ul li a::before {
  content: "\f105";
  font-family: "Line Awesome Free";
  font-weight: 900;
  display: inline-block;
}
.footer .contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 15px;
}
.footer .contact-info a {
  color: #0056b3;
  font-weight: 400;
  white-space: nowrap;
}
.article a:hover,
.footer .contact-info a:hover {
  text-decoration: underline;
}
.footer .contact-info p i {
  font-size: 1rem;
  padding-top: 0.4rem;
}
.copyright {
  background-color: #d7d8d9;
  padding: 20px 0;
  color: #333;
}
.copyright .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.copyright .social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 5px;
}
.copyright .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
  font-size: 18px;
}
.copyright .social-icons a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
.recognition-header {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 30px 0;
}
.recognition-header::after,
.recognition-header::before {
  content: "";
  flex: 1;
  height: 2px;
  background: #ccc;
  margin: 0 15px;
}
.grid.recognition img {
  height: 80px;
}
.grid.recognition p {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .recognition-header {
    font-size: 1.2rem;
  }
  .recognition-header::after,
  .recognition-header::before {
    margin: 0 5px;
  }
  .grid.recognition {
    margin-bottom: 2rem;
  }
}
.wp-block-image img{
  border-radius: 8px;
}
/* Hide featured image if it's duplicated as the first image in content */
.featured-image + .content figure.wp-block-image:first-of-type {
  display: none;
}
@media (prefers-color-scheme: dark) {
  /* Base colors */
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  /* Header / Navbar */
  .site-headers,
  .navbar,
  .navbar-menu,
  .navbar-dropdown {
    background-color: #14161a;
    color: #e0e0e0;
  }

  a,
  a:visited,
  .navbar-item,
  .navbar-link,
  .carousel-content p,
  .mobile-menu-content a,
  .menu-icon {
    color: #e0e0e0;
  }

  a:hover,
  .navbar-item:hover,
  .navbar-link:hover {
    color: #ffffff;
  }

  .navbar-link:not(.is-arrowless)::after {
    border-color: #e0e0e0;
  }

  .post-divider {
    border-top: 1px solid #222429;
  }
  .post-navigation {
    border-top: 1px solid #222429;
    border-bottom: 1px solid #222429;
  }
  .recognition-header::after,
  .recognition-header::before {
    background: #222429;
  }
  /* Buttons */
  .button,
  .pagination li a,
  .pagination li span {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
  }

  .button:hover,
  .pagination li a:hover,
  .pagination li span:hover {
    background-color: #3a3a3a;
    color: #fff;
  }

  /* Panels / Cards / Boxes */
  .card,
  .box,
  .panel,
  .message,
  .widget,
  .c-card,
  .mobile-menu{
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-color: #2c2c2c;
  }

  h1, h2, h3, h4, .title{
    color: #90caf9 !important;
  }

  .box.has-background-light{
    background-color: #1e1e1e !important;
    border-left: 4px solid #e4c04f;
    box-shadow: none;
  }
@media screen and (max-width: 768px) {
  .homepage-post-row .column{
    background-color: #2a2a2a;
    color: #f0f0f0;
    border-color: #3a3a3a;
  }
}

.homepage-post-row h3.title{
  margin-bottom: 0.5rem !important;
}

.homepage-post-row .title a{
  color: #fff;  
}
  .homepage-post-row{
    background: none;
  }

  .has-cyan-bluish-gray-background-color,
  table,
  table.has-background,
  table[style*="background-color"] {
    background-color: hsl(221, 14%, 14%) !important;
  }
  .wp-block-table.is-style-stripes tbody tr:nth-child(odd){
    background-color: hsl(222deg 17.96% 18.82%) !important;
  }
  .wp-block-table thead,
  .content table thead td,
  .content table thead th,
  .content table td,
  .content table th {
    border-color: hsl(222deg 1.99% 42.61%);
  }
  /* Sidebar Widgets */
  .widget-title,
  .sidebar,
  .widget {
    color: #e0e0e0;
    border-color: #2c2c2c;
  }

  /* Forms */
  input,
  textarea,
  select {
    background-color: #2a2a2a;
    color: #f0f0f0;
    border-color: #3a3a3a;
  }

  input::placeholder,
  textarea::placeholder {
    color: #aaa;
  }

  /* Blog Cards or Tour Boxes */
  .columns .column .card {
    background-color: #222;
    border-color: #333;
  }

  /* Pagination, Tags, Meta, etc. */
  .pagination-link,
  .tag,
  .meta-info {
    /* background-color: #2b2b2b; */
    color: #ddd;
    border-color: #3a3a3a;
  }

  /* Footer */
  .footer,
  .wp-caption {
    background-color: #222429;
    color: #e0e0e0;
  }

  .copyright, .mobile-menu-content a:hover {
    background-color: #292b30;
    color: #e0e0e0;
}
.copyright .social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5px;
}
.footer a, .copyright a {
    color: #e0e0e0 !important;
}
.footer a:hover, .copyright a:hover{
    color: #90caf9 !important;
}
}
