/* Base styles and resets */
body {
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin: 0;
  padding: 0;
  line-height: 1.5;
  color: #1f2937; /* text-gray-900 */
  background-color: #ffffff; /* white background for the main content area */
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utility classes mimicking Tailwind */
/* .container {
  max-width: 1280px; 
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem; 
} */
/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 1rem;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: relative; /* For mobile menu positioning */
  z-index: 20; /* Ensure header is above other content */
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.main-nav {
  display: none; /* Hidden by default, shown on larger screens */
  align-items: center;
  gap: 1.5rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  width: 200px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ibom-green);
}

.main-nav {
  display: none; /* Hidden by default, shown on larger screens */
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--ibom-orange);
}

.nav-link--active {
  color: var(--ibom-orange);
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease-in-out;
  text-decoration: none; /* Ensure buttons don't have default link underline */
}
.btn--primary {
  background-color: var(--ibom-orange);
  color: #fff;
}

.btn--primary:hover {
  background-color: rgba(255, 140, 0, 0.9); /* ibomOrange-DEFAULT/90 */
}

.btn--green {
  background-color: var(--ibom-green);
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 4rem;
  margin-right: 1rem;
  border-radius: 0.5rem;
}

.btn--green:hover {
  background-color: rgba(0, 77, 37, 0.9); /* ibomGreen-DEFAULT/90 */
}

/* Icons */
.icon-chevron-down,
.icon-briefcase,
.icon-value,
.icon-map-pin,
.icon-mail {
  height: 1.25rem; /* h-5 */
  width: 1.25rem; /* w-5 */
  flex-shrink: 0;
}

.btn--internet-banking {
  display: none; /* Hidden by default, shown on larger screens */
  padding: 0.8rem 1.6rem;
  border-radius: 0.375rem;
  color: #000 !important;
}

.btn--internet-banking .icon-briefcase {
  margin-right: 0.5rem;
  height: 1rem;
  width: 1rem;
}

.btn--internet-banking .icon-chevron-down {
  margin-left: 0.5rem;
  height: 1rem;
  width: 1rem;
}

.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: block; /* Shown by default, hidden on larger screens */
}

.hamburger-menu svg {
  height: 1.5rem;
  width: 1.5rem;
  color: var(--gray-700);
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border-radius: 0.375rem;
  overflow: hidden;
  top: calc(100% + 0.5rem); /* Position below trigger */
  left: 0;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--gray-100);
}
.btn--primary {
  background-color: var(--ibom-orange);
  color: #fff;
}

.btn--primary:hover {
  background-color: rgba(255, 140, 0, 0.9); /* ibomOrange-DEFAULT/90 */
}

.ib-rental {
  background-color: rgba(1, 81, 43, .05);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(1, 81, 43);
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 16px;
}
.news-housing {
  background-image: url(../images/news_image_1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.news-report {
  background-image: url(../images/news_image_2.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.news-interest-rates {
  background-image: url(../images/news_image_3.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.news-home-buying {
  background-image: url(../images/news_image_4.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
.ib-footer {
  border-top: 6px var(--ibom-orange) solid;
  background-color: #013000;
  background-image: url(../images/Group\ 2.png);
  background-repeat: no-repeat;
  background-position: right bottom;
}
@media (min-width: 768px) {
  /* md */
  /* .container {
    padding-left: 1.5rem; 
    padding-right: 1.5rem; 
  } */
  .site-header {
    padding: 0 1.5rem; /* px-6 */
  }
  .main-nav {
    display: flex;
    gap: 2rem; /* lg:gap-8 */
  }
  .btn--internet-banking {
    display: flex;
  }
  .hamburger-menu {
    display: none;
  }
}

.tracking-tight {
  letter-spacing: -0.025em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.pb-0 {
  padding-bottom: 0;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-0 {
  padding-top: 0;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-b-lg {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.overflow-hidden {
  overflow: hidden;
}
.relative {
  position: relative;
}
.object-cover {
  object-fit: cover;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.w-fit {
  width: fit-content;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-none {
  max-width: none;
}

/* Colors */
.text-ibom-green {
  color: #004d00;
}
.text-ibom-orange {
  color: #ff6600;
}
.bg-ibom-orange {
  background-color: #ff6600;
}
.hover\:bg-ibom-orange-dark:hover {
  background-color: #e65c00;
}
.bg-light-green-badge {
  background-color: #e6ffe6;
}
.hover\:bg-light-green-badge-dark:hover {
  background-color: #d9ffd9;
}
.text-muted-foreground {
  color: #6b7280;
} /* A common gray for muted text */
.text-gray-300 {
  color: #d1d5db;
}
.text-gray-400 {
  color: #9ca3af;
}
.bg-ibom-dark-green {
  background-color: #004d00;
}

/* Header specific styles */
header .logo-text {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
}
header nav {
  display: none; /* hidden by default */
}
@media (min-width: 768px) {
  /* md */
  header nav {
    display: flex; /* md:flex */
    flex-direction: row; /* md:flex-row */
    align-items: center; /* md:items-center */
    gap: 1.25rem; /* md:gap-5 */
  }
}
@media (min-width: 1024px) {
  /* lg */
  header nav {
    gap: 1.5rem; /* lg:gap-6 */
  }
  .site-header {
    padding: 0 2.5rem; /* px-10 */
  }
  .main-nav {
    gap: 2rem; /* lg:gap-8 */
  }
}
header button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
header .nav-link-btn {
  background-color: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
header .nav-link-btn:hover {
  background-color: #f3f4f6; /* hover:bg-gray-100 */
}

/* Breadcrumbs specific styles */
.breadcrumbs nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Article content styles (mimicking prose) */
.article-body h2 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.article-body h3 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.article-body p {
  margin-bottom: 1rem;
}
.article-body ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}

/* Card styles */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  /* sm */
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  /* lg */
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  border: 1px solid #e5e7eb; /* border */
  background-color: #ffffff;
}
.card-read-more:hover {
  text-decoration: underline;
}

/* Footer specific styles */
footer {
  position: relative; /* For the orange line */
}
.footer-orange-line {
  height: 0.25rem; /* h-1 */
  background-color: #ff6600;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  /* md */
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.footer-column h3 {
  color: #d1d5db;
}
.footer-copyright p {
  margin-bottom: 0.5rem;
}
