/* ==========================================================================
   PART 1: HOMEPAGE TOURIST ATTRACTIONS INFINITE CAROUSEL (v4.6.0)
   Scoped under .ak-hattr-* — Placed immediately below "খুলনার ৯টি উপজেলা"
   ========================================================================== */
.ak-hattr-section {
  margin-top: 26px;
  margin-bottom: 30px;
  overflow-x: clip;
}

.ak-hattr-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ak-hattr-title-group {
  min-width: 0;
}

.ak-hattr-title {
  margin: 0 0 5px;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  color: #0c261b;
}

.ak-hattr-subtitle {
  margin: 0;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.5;
  color: #425f52;
  font-weight: 500;
}

.ak-hattr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ak-hattr-nav-btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ak-hattr-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(7, 93, 58, 0.22);
  background: #ffffff;
  color: #075d3a;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(7, 93, 58, 0.06);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.ak-hattr-arrow-btn:hover {
  background: #075d3a;
  color: #ffffff;
  border-color: #075d3a;
}

.ak-hattr-arrow-btn:focus-visible {
  outline: 2.5px solid #075d3a;
  outline-offset: 2px;
}

.ak-hattr-viewall-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 18px;
  background: #075d3a;
  color: #ffffff !important;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(7, 93, 58, 0.16);
  transition: background-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.ak-hattr-viewall-btn:hover {
  background: #05472c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(7, 93, 58, 0.22);
}

.ak-hattr-viewall-btn:focus-visible {
  outline: 2.5px solid #075d3a;
  outline-offset: 2px;
}

.ak-hattr-viewport {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  padding: 4px 2px 12px;
  cursor: grab;
  user-select: none;
}

.ak-hattr-viewport::-webkit-scrollbar {
  display: none;
}

.ak-hattr-viewport.is-dragging {
  cursor: grabbing;
}

.ak-hattr-viewport:focus-visible {
  outline: 2px solid #075d3a;
  outline-offset: 4px;
  border-radius: 16px;
}

.ak-hattr-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
}

/* Desktop: ~4.35 cards visible (4–5 cards visible) */
.ak-hattr-card {
  width: 268px;
  flex: 0 0 268px;
  background: #ffffff;
  border: 1px solid rgba(7, 93, 58, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(7, 93, 58, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ak-hattr-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 93, 58, 0.30);
  box-shadow: 0 10px 24px rgba(7, 93, 58, 0.13);
}

.ak-hattr-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.ak-hattr-card-media {
  position: relative;
  width: 100%;
  height: 158px;
  background: #d9ece3;
  overflow: hidden;
  flex-shrink: 0;
}

.ak-hattr-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.32s ease;
}

.ak-hattr-card:hover .ak-hattr-card-img {
  transform: scale(1.04);
}

.ak-hattr-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: rgba(7, 93, 58, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.ak-hattr-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.ak-hattr-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.ak-hattr-card-title {
  margin: 0 0 5px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.32;
  color: #0c261b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
}

.ak-hattr-card-loc {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.2px;
  font-weight: 600;
  color: #3f6152;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-hattr-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eaf5ef;
  color: #075d3a;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ak-hattr-card:hover .ak-hattr-card-arrow {
  background: #075d3a;
  color: #ffffff;
  transform: translateX(2px);
}


/* ==========================================================================
   PART 2: TOURIST ATTRACTIONS DIRECTORY PAGE (v4.6.0)
   Scoped under .ak-attr-* — Desktop 4-Col, Tablet 3-Col, Mobile 2-Col Grid
   ========================================================================== */
.ak-attr-dir {
  background: #f4f8f6;
  padding-bottom: 64px;
  overflow-x: clip;
}

.ak-attr-hero {
  position: relative;
  background-color: #eaf6f0;
  background-image: var(--ak-attr-hero-bg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 24px 0 48px;
  border-bottom: 1px solid rgba(7, 93, 58, 0.10);
  overflow: hidden;
}

.ak-attr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(239, 248, 244, 0.98) 0%,
    rgba(239, 248, 244, 0.94) 48%,
    rgba(239, 248, 244, 0.48) 76%,
    rgba(239, 248, 244, 0.12) 100%
  );
  pointer-events: none;
}

.ak-attr-hero-inner {
  position: relative;
  z-index: 2;
}

.ak-attr-hero-copy {
  max-width: 640px;
}

.ak-attr-back-row {
  margin-bottom: 10px;
}

.ak-attr-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 5px 15px 5px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #075d3a;
  border: 1.5px solid #075d3a;
  border-radius: 999px;
  font-size: 13.2px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ak-attr-back-btn:hover {
  background: #075d3a;
  color: #ffffff;
  text-decoration: none;
}

.ak-attr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #365b4a;
}

.ak-attr-breadcrumb a {
  color: #075d3a;
  text-decoration: none;
}

.ak-attr-bc-current {
  color: #0c261b;
  font-weight: 700;
}

.ak-attr-hero-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  color: #0c261b;
}

.ak-attr-hero-desc {
  margin: 0 0 14px;
  font-size: clamp(13.8px, 1.4vw, 16px);
  line-height: 1.58;
  color: #254638;
}

.ak-attr-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ak-attr-hbadge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(7, 93, 58, 0.16);
  border-radius: 999px;
  font-size: 12.2px;
  font-weight: 700;
  color: #075d3a;
}

/* Filter Panel */
.ak-attr-main-container {
  position: relative;
  z-index: 3;
}

.ak-attr-filter-panel {
  margin-top: -24px;
  margin-bottom: 22px;
  background: #ffffff;
  border: 1px solid rgba(7, 93, 58, 0.14);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(7, 93, 58, 0.08);
}

.ak-attr-filter-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) minmax(170px, 1fr) minmax(150px, 0.85fr) auto;
  gap: 10px;
  margin-bottom: 14px;
}

.ak-attr-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f9f7;
  border: 1px solid rgba(7, 93, 58, 0.18);
  border-radius: 12px;
  padding: 0 12px;
}

.ak-attr-search-wrap:focus-within {
  background: #ffffff;
  border-color: #075d3a;
}

.ak-attr-search-icon {
  color: #466658;
  display: inline-flex;
  flex-shrink: 0;
}

.ak-attr-search-wrap input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  padding: 10px 4px;
  font-family: inherit;
  font-size: 14px;
  color: #0c261b;
  outline: none !important;
  box-shadow: none !important;
}

.ak-attr-clear-q {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: #e2eee8;
  color: #1f3d30;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ak-attr-select-wrap select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: #f5f9f7;
  border: 1px solid rgba(7, 93, 58, 0.18);
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #0c261b;
}

.ak-attr-submit-btn {
  height: 44px;
  padding: 0 22px;
  background: #075d3a;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ak-attr-submit-btn:hover {
  background: #05472c;
}

.ak-attr-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ak-attr-cat-pills {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  flex: 1 1 auto;
}

.ak-attr-cat-pills::-webkit-scrollbar {
  display: none;
}

.ak-attr-cpill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(7, 93, 58, 0.18);
  background: #f3f8f5;
  color: #234335;
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.ak-attr-cpill.is-active {
  background: #075d3a;
  color: #ffffff;
  border-color: #075d3a;
}

.ak-attr-cpill.is-nearby-pill {
  border-style: dashed;
}

.ak-attr-reset-inline {
  background: transparent;
  border: 0;
  color: #b91c1c;
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.ak-attr-reset-inline:hover {
  text-decoration: underline;
}

/* Toolbar & Count */
.ak-attr-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ak-attr-count-text {
  margin: 0;
  font-size: 14px;
  color: #2f4f41;
}

/* Desktop Grid: 4 Cards Per Row (Requirement 2.8) */
.ak-attr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ak-attr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(7, 93, 58, 0.11);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(7, 93, 58, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.ak-attr-card[hidden] {
  display: none !important;
}

.ak-attr-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 93, 58, 0.28);
  box-shadow: 0 10px 24px rgba(7, 93, 58, 0.11);
}

.ak-attr-card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 152px;
  background: #d9ece3;
  overflow: hidden;
  flex-shrink: 0;
}

.ak-attr-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ak-attr-card:hover .ak-attr-card-img {
  transform: scale(1.04);
}

.ak-attr-card-cat {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 3px 9px;
  background: rgba(7, 93, 58, 0.88);
  color: #ffffff;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
}

.ak-attr-card-cat.is-nearby {
  background: rgba(180, 83, 9, 0.92);
}

.ak-attr-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 13px 14px 15px;
  min-width: 0;
}

.ak-attr-card-loc {
  margin: 0 0 5px;
  font-size: 11.8px;
  font-weight: 700;
  color: #075d3a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-attr-card-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.32;
  color: #0c261b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
}

.ak-attr-card-title-link {
  color: inherit;
  text-decoration: none;
}

.ak-attr-card-title-link:hover {
  color: #075d3a;
}

.ak-attr-card-desc {
  margin: 0 0 13px;
  font-size: 12.8px;
  line-height: 1.48;
  color: #466356;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.95em;
}

.ak-attr-card-footer {
  margin-top: auto;
}

.ak-attr-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 7px 14px;
  background: #eaf5ef;
  color: #075d3a !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ak-attr-card:hover .ak-attr-card-btn,
.ak-attr-card-btn:hover {
  background: #075d3a;
  color: #ffffff !important;
}

.ak-attr-loadmore-wrap {
  text-align: center;
  margin-top: 24px;
}

.ak-attr-loadmore-wrap[hidden] {
  display: none !important;
}

.ak-attr-loadmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  background: #ffffff;
  color: #075d3a;
  border: 1.5px solid #075d3a;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ak-attr-loadmore-btn:hover {
  background: #075d3a;
  color: #ffffff;
}

.ak-attr-empty {
  text-align: center;
  background: #ffffff;
  border: 1px dashed rgba(7, 93, 58, 0.24);
  border-radius: 18px;
  padding: 40px 20px;
  margin-top: 12px;
}

.ak-attr-empty[hidden] {
  display: none !important;
}

.ak-attr-empty-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.ak-attr-empty-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0c261b;
}

.ak-attr-empty-desc {
  margin: 0 auto 18px;
  max-width: 460px;
  font-size: 14px;
  color: #466356;
}

.ak-attr-reset-btn {
  padding: 9px 22px;
  background: #075d3a;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}


/* ==========================================================================
   PART 3: SINGLE ATTRACTION DETAIL PAGE (v4.6.0)
   Scoped under .ak-sattr-*
   ========================================================================== */
.ak-sattr-page {
  background: #f4f8f6;
  padding-bottom: 64px;
  overflow-x: clip;
}

.ak-sattr-topbar-wrap {
  background: #ffffff;
  border-bottom: 1px solid rgba(7, 93, 58, 0.10);
  padding: 10px 0;
}

.ak-sattr-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ak-sattr-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.ak-sattr-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f2f9f5;
  color: #075d3a;
  border: 1.5px solid #075d3a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ak-sattr-back-btn:hover {
  background: #075d3a;
  color: #ffffff;
  text-decoration: none;
}

.ak-sattr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.8px;
  color: #49685a;
  flex-wrap: wrap;
}

.ak-sattr-breadcrumb a {
  color: #075d3a;
  text-decoration: none;
  font-weight: 600;
}

.ak-sattr-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ak-sattr-util-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(7, 93, 58, 0.18);
  background: #ffffff;
  color: #1f3d30;
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 700;
  cursor: pointer;
}

.ak-sattr-util-btn:hover {
  background: #eaf5ef;
  border-color: #075d3a;
}

.ak-sattr-main {
  padding-top: 22px;
}

.ak-sattr-hero-card {
  background: #ffffff;
  border: 1px solid rgba(7, 93, 58, 0.11);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(7, 93, 58, 0.05);
}

.ak-sattr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.ak-sattr-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ak-sattr-badge.is-cat {
  background: #075d3a;
  color: #ffffff;
}

.ak-sattr-badge.is-loc {
  background: #eaf5ef;
  color: #075d3a;
}

.ak-sattr-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  color: #0c261b;
}

.ak-sattr-subtitle {
  margin: 0 0 18px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.55;
  color: #365648;
}

.ak-sattr-main-photo-wrap {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  background: #d9ece3;
}

.ak-sattr-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ak-sattr-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.ak-sattr-thumb-btn {
  width: 86px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid transparent;
  padding: 0;
  background: #d9ece3;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.72;
  transition: opacity 0.16s ease, border-color 0.16s ease;
}

.ak-sattr-thumb-btn.is-active,
.ak-sattr-thumb-btn:hover {
  opacity: 1;
  border-color: #075d3a;
}

.ak-sattr-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2-Column Content Grid */
.ak-sattr-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(290px, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 28px;
}

.ak-sattr-col-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ak-sattr-card {
  background: #ffffff;
  border: 1px solid rgba(7, 93, 58, 0.10);
  border-radius: 18px;
  padding: 20px 22px;
}

.ak-sattr-card.is-highlight {
  background: #eff8f3;
  border-color: rgba(7, 93, 58, 0.18);
}

.ak-sattr-sec-title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  color: #0c261b;
}

.ak-sattr-prose p,
.ak-sattr-prose-p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #234235;
}

.ak-sattr-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ak-sattr-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #1f3d30;
  line-height: 1.5;
}

.ak-sattr-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #075d3a;
  color: #ffffff;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ak-sattr-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ak-sattr-tip-box {
  background: #f5f9f7;
  border: 1px solid rgba(7, 93, 58, 0.11);
  border-radius: 14px;
  padding: 14px;
}

.ak-sattr-tip-box.is-tip {
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.22);
}

.ak-sattr-tip-box h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0c261b;
}

.ak-sattr-tip-box p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.55;
  color: #365648;
}

/* Sidebar */
.ak-sattr-side-card {
  background: #ffffff;
  border: 1px solid rgba(7, 93, 58, 0.12);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(7, 93, 58, 0.05);
}

.ak-sattr-side-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0c261b;
}

.ak-sattr-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.ak-sattr-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(7, 93, 58, 0.12);
}

.ak-sattr-info-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #547264;
}

.ak-sattr-info-val {
  font-size: 13.8px;
  font-weight: 700;
  color: #0c261b;
  line-height: 1.45;
}

.ak-sattr-info-val a {
  color: #075d3a;
  text-decoration: none;
}

.ak-sattr-side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ak-sattr-map-cta,
.ak-sattr-upz-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
}

.ak-sattr-map-cta {
  background: #075d3a;
  color: #ffffff !important;
}

.ak-sattr-map-cta:hover {
  background: #05472c;
}

.ak-sattr-upz-cta {
  background: #eaf5ef;
  color: #075d3a !important;
}

.ak-sattr-nearby-sec {
  margin-top: 12px;
}

.ak-sattr-nearby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ak-sattr-all-link {
  color: #075d3a;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1024px, 768px, 414px, 390px, 375px, 360px, 320px)
   ========================================================================== */
@media (max-width: 1023px) {
  /* Tablet Carousel: ~2.6 cards visible */
  .ak-hattr-card {
    width: 248px;
    flex: 0 0 248px;
  }

  .ak-attr-filter-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Tablet Directory Grid: 3 Cards Per Row */
  .ak-attr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .ak-sattr-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ak-hattr-section {
    margin-top: 20px;
    margin-bottom: 22px;
  }

  .ak-hattr-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .ak-hattr-title {
    font-size: 19px;
  }

  .ak-hattr-subtitle {
    font-size: 12.5px;
  }

  .ak-hattr-arrow-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .ak-hattr-viewall-btn {
    min-height: 34px;
    padding: 5px 14px;
    font-size: 12.5px;
  }

  .ak-hattr-track {
    gap: 12px;
  }

  /* Mobile Carousel: ~1.65–1.85 cards visible (1.5–2 cards visible depending on width) */
  .ak-hattr-card {
    width: clamp(195px, 56vw, 224px);
    flex: 0 0 clamp(195px, 56vw, 224px);
    border-radius: 14px;
  }

  .ak-hattr-card-media {
    height: 122px;
  }

  .ak-hattr-card-badge {
    top: 7px;
    left: 7px;
    padding: 2px 8px;
    font-size: 10px;
  }

  .ak-hattr-card-body {
    padding: 10px 11px 11px;
    gap: 6px;
  }

  .ak-hattr-card-title {
    font-size: 13.8px;
    margin-bottom: 3px;
  }

  .ak-hattr-card-loc {
    font-size: 11px;
  }

  .ak-hattr-card-arrow {
    width: 26px;
    height: 26px;
    font-size: 12.5px;
  }

  /* Directory Mobile Hero & Filters */
  .ak-attr-dir,
  .ak-sattr-page {
    padding-bottom: 80px;
  }

  .ak-attr-hero {
    padding: 16px 0 36px;
  }

  .ak-attr-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(239, 248, 244, 0.96) 0%,
      rgba(239, 248, 244, 0.90) 65%,
      rgba(239, 248, 244, 0.80) 100%
    );
  }

  .ak-attr-hero-title {
    font-size: 23px;
  }

  .ak-attr-hero-desc {
    font-size: 13px;
  }

  .ak-attr-filter-panel {
    margin-top: -18px;
    padding: 12px;
    border-radius: 14px;
  }

  .ak-attr-filter-top {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Strictly 2 Cards Per Row on Mobile Directory (Requirement 2.7) */
  .ak-attr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ak-attr-card {
    border-radius: 13px;
  }

  .ak-attr-card-media {
    height: 104px;
  }

  .ak-attr-card-cat {
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    font-size: 9.5px;
  }

  .ak-attr-card-body {
    padding: 9px 10px 11px;
  }

  .ak-attr-card-loc {
    font-size: 10.2px;
    margin-bottom: 3px;
  }

  .ak-attr-card-title {
    font-size: 13.5px;
    margin-bottom: 4px;
  }

  .ak-attr-card-desc {
    font-size: 11.2px;
    line-height: 1.38;
    margin-bottom: 9px;
  }

  .ak-attr-card-btn {
    min-height: 31px;
    padding: 5px 10px;
    font-size: 11.5px;
    justify-content: center;
    gap: 5px;
  }

  /* Single Attraction Mobile */
  .ak-sattr-hero-card {
    padding: 14px;
    border-radius: 15px;
  }

  .ak-sattr-main-photo-wrap {
    height: 210px;
    border-radius: 12px;
  }

  .ak-sattr-card {
    padding: 15px;
    border-radius: 14px;
  }

  .ak-sattr-tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  .ak-hattr-card {
    width: 184px;
    flex: 0 0 184px;
  }

  .ak-attr-grid {
    gap: 8px;
  }

  .ak-attr-card-media {
    height: 92px;
  }

  .ak-attr-card-title {
    font-size: 12.6px;
  }
}


.ak-sattr-main-photo-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  background: #d9ece3;
}

.ak-sattr-lightbox-trigger {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(12, 38, 27, 0.78);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.ak-sattr-lightbox-trigger:hover {
  background: #075d3a;
  transform: translateY(-1px);
}

.ak-sattr-lead-p {
  font-size: 15.2px !important;
  font-weight: 700;
  color: #075d3a !important;
  margin-bottom: 10px !important;
}

.ak-sattr-sec-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ak-sattr-gallery-hint {
  font-size: 12.2px;
  font-weight: 600;
  color: #547264;
}

.ak-sattr-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ak-sattr-grid-photo-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 150px;
  padding: 0;
  border: 1px solid rgba(7, 93, 58, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #d9ece3;
  cursor: pointer;
}

.ak-sattr-grid-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.ak-sattr-grid-photo-btn:hover img {
  transform: scale(1.05);
}

.ak-sattr-grid-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(12, 38, 27, 0.74);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.ak-sattr-inline-map-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(7, 93, 58, 0.14);
}

.ak-sattr-inline-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eaf5ef;
  color: #075d3a !important;
  border: 1px solid rgba(7, 93, 58, 0.20);
  font-size: 13.2px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.16s ease, color 0.16s ease;
}

.ak-sattr-inline-map-btn:hover {
  background: #075d3a;
  color: #ffffff !important;
}

.ak-sattr-tip-box.is-instruction {
  background: #f0f7ff;
  border-color: rgba(2, 132, 199, 0.22);
  grid-column: 1 / -1;
}

/* Lightbox Modal */
.ak-sattr-lightbox[hidden] {
  display: none !important;
}

.ak-sattr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 22, 16, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ak-sattr-lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.ak-sattr-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.ak-sattr-lb-nav.is-prev {
  left: 18px;
}

.ak-sattr-lb-nav.is-next {
  right: 18px;
}

.ak-sattr-lb-stage {
  max-width: min(980px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ak-sattr-lb-img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

.ak-sattr-lb-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  color: #e6f4ed;
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .ak-sattr-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ak-sattr-grid-photo-btn {
    height: 112px;
  }
  .ak-sattr-lightbox-trigger {
    right: 10px;
    bottom: 10px;
    padding: 5px 11px;
    font-size: 11.5px;
  }
}




/* ==========================================================================
   AMAR KHULNA v4.9.0 — PREMIUM HOMEPAGE REDESIGN & COLOR-COORDINATED SECTIONS
   Global Design Tokens:
   - Deep Emerald Green: #075B40
   - Dark Forest Green: #103D2C
   - Soft Mint: #EAF8F1
   - Clean White: #FFFFFF
   - Premium Off-White: #F7FAF8
   - Text Dark: #172B24
   - Muted Text: #64756C
   ========================================================================== */

body.home {
  background-color: #F7FAF8;
  color: #172B24;
  overflow-x: clip;
}

/* Entrance Reveal Animations (250-550ms, prefers-reduced-motion safe) */
@media (prefers-reduced-motion: no-preference) {
  .ak-reveal-sec {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  .ak-reveal-sec.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1. Desktop Top Utility Bar */
.ak-top-infobar {
  background: #103D2C;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.ak-top-infobar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 12px;
}

.ak-top-infobar-left,
.ak-top-infobar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ak-top-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.ak-top-loc svg {
  width: 13px;
  height: 13px;
  color: #34D399;
}

.ak-top-sep {
  opacity: 0.35;
}

.ak-top-infobar-right a {
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.16s ease;
}

.ak-top-infobar-right a:hover {
  color: #FFFFFF;
}

.ak-top-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.ak-top-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.ak-top-socials a:hover {
  background: #075B40;
}

.ak-top-socials svg {
  width: 12px;
  height: 12px;
}

/* 2. Section 2: Premium Hero Banner (.ak-hp-hero) */
.ak-hp-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 46px;
  background: #0c2b1f;
  color: #FFFFFF;
}

.ak-hp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ak-hp-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.ak-hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    94deg,
    rgba(234, 248, 241, 0.94) 0%,
    rgba(234, 248, 241, 0.84) 44%,
    rgba(16, 61, 44, 0.42) 100%
  );
}

.ak-hp-hero-inner {
  position: relative;
  z-index: 2;
}

.ak-hp-hero-top-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ak-hp-hero-copy {
  max-width: 680px;
}

.ak-hp-hero-eyebrow {
  margin: 0 0 4px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  color: #172B24;
}

.ak-hp-hero-title {
  margin: 0 0 8px;
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.ak-hp-title-green {
  color: #075B40;
}

.ak-hp-title-red {
  color: #E11D48;
}

.ak-hp-hero-subtitle {
  margin: 0 0 20px;
  font-size: clamp(14px, 1.45vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  color: #1F3B30;
}

.ak-hp-hero-pride {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  color: #172B24;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(7, 91, 64, 0.16);
}

.ak-hp-hero-pride span {
  font-size: 14px;
  font-weight: 700;
  color: #075B40;
}

.ak-hp-hero-pride strong {
  font-size: 18px;
  font-weight: 800;
  color: #103D2C;
}

.ak-hp-search-wrap {
  max-width: 760px;
}

.ak-hp-search-pill {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 5px 6px 5px 16px;
  box-shadow: 0 12px 30px rgba(7, 91, 64, 0.16);
  border: 1.5px solid rgba(7, 91, 64, 0.20);
  gap: 6px;
}

.ak-hp-search-icon {
  display: inline-flex;
  align-items: center;
  color: #64756C;
  flex-shrink: 0;
}

.ak-hp-search-icon svg {
  width: 19px;
  height: 19px;
}

.ak-hp-search-pill input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  padding: 9px 6px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: #172B24;
  outline: none !important;
  box-shadow: none !important;
}

.ak-hp-cat-select-wrap,
.ak-hp-loc-select-wrap {
  flex: 0 0 auto;
  border-left: 1px solid #E2EBE6;
  padding-left: 6px;
}

.ak-hp-cat-select-wrap select,
.ak-hp-loc-select-wrap select {
  border: none !important;
  background: transparent !important;
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 700;
  color: #075B40;
  padding: 6px 6px;
  cursor: pointer;
  outline: none;
  max-width: 145px;
}

.ak-hp-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #075B40 0%, #087A58 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ak-hp-search-btn svg {
  width: 15px;
  height: 15px;
}

.ak-hp-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(7, 91, 64, 0.32);
}

.ak-hp-popular-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ak-hp-pop-label {
  font-size: 13px;
  font-weight: 800;
  color: #172B24;
  background: rgba(255, 255, 255, 0.78);
  padding: 3px 10px;
  border-radius: 999px;
}

.ak-hp-pop-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.ak-hp-pop-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(7, 91, 64, 0.22);
  color: #172B24 !important;
  font-size: 12.6px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.ak-hp-pop-pill.is-blood {
  background: #FFF1F2;
  border-color: #FDA4AF;
  color: #BE123C !important;
}

.ak-hp-pop-pill:hover {
  background: #075B40;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* Main Container & Section Block Shared Spacing */
.ak-hp-main-container {
  padding-top: 22px;
  padding-bottom: 48px;
}

.ak-hp-sec-block {
  border-radius: 22px;
  padding: 24px 22px;
  margin-bottom: 26px;
  box-shadow: 0 8px 26px rgba(16, 61, 44, 0.05);
}

/* Shared Section Header (.ak-hp-sec-header) */
.ak-hp-sec-header {
  margin-bottom: 18px;
}

.ak-hp-sec-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ak-hp-sec-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ak-hp-sec-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #DCFCE7;
  color: #075B40;
  flex-shrink: 0;
}

.ak-hp-sec-emblem svg {
  width: 20px;
  height: 20px;
}

.ak-hp-sec-emblem.is-crimson { background: #FFE4E6; color: #E11D48; }
.ak-hp-sec-emblem.is-green   { background: #D1FAE5; color: #075B40; }
.ak-hp-sec-emblem.is-blue    { background: #DBEAFE; color: #1D4ED8; }
.ak-hp-sec-emblem.is-peach   { background: #FFEDD5; color: #EA580C; }
.ak-hp-sec-emblem.is-lavender{ background: #E0E7FF; color: #4338CA; }
.ak-hp-sec-emblem.is-mint    { background: #CCFBF1; color: #0F766E; }

.ak-hp-sec-title {
  margin: 0;
  font-size: clamp(20px, 2.25vw, 25px);
  font-weight: 800;
  line-height: 1.22;
  color: #172B24;
}

.ak-hp-sec-subtitle {
  margin: 4px 0 0 48px;
  font-size: 13.8px;
  font-weight: 500;
  color: #52665D;
  line-height: 1.45;
}

.ak-hp-sec-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #075B40;
  color: #FFFFFF !important;
  font-size: 13.2px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(7, 91, 64, 0.20);
  transition: background 0.18s ease, transform 0.18s ease;
}

.ak-hp-sec-btn:hover {
  background: #103D2C;
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION 3 — IMPORTANT SERVICES ("জরুরি ও গুরুত্বপূর্ণ সেবা")
   Background: Soft blush pink/red (#FFF5F6 -> #FDECEF)
   ========================================================================== */
.ak-hp-emergency-sec {
  background: linear-gradient(145deg, #FFF6F7 0%, #FDECEF 100%);
  border: 1px solid #FBCFE8;
}

/* Desktop: 6 cards per row (12 cards total in 2 balanced rows) or 5-6 cards depending on width */
.ak-hp-imp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.ak-hp-imp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 10px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(16, 61, 44, 0.09);
  text-decoration: none !important;
  color: #172B24 !important;
  box-shadow: 0 4px 14px rgba(16, 61, 44, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.ak-hp-imp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(16, 61, 44, 0.10);
  border-color: rgba(7, 91, 64, 0.28);
}

.ak-hp-imp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 8px;
  background: #EAF8F1;
  color: #075B40;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ak-hp-imp-card:hover .ak-hp-imp-icon {
  transform: scale(1.06);
}

.ak-hp-imp-icon svg {
  width: 24px;
  height: 24px;
}

.ak-hp-imp-label {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #172B24;
  margin-bottom: 3px;
}

.ak-hp-imp-sub {
  font-size: 11.2px;
  line-height: 1.35;
  color: #64756C;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Special Blood Donor Card: Sophisticated Red Gradient */
.ak-hp-imp-card.is-blood-featured {
  background: linear-gradient(145deg, #E11D48 0%, #BE123C 100%);
  border-color: #9F1239;
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.26);
}

.ak-hp-imp-card.is-blood-featured .ak-hp-imp-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.ak-hp-imp-card.is-blood-featured .ak-hp-imp-label {
  color: #FFFFFF;
}

.ak-hp-imp-card.is-blood-featured .ak-hp-imp-sub {
  color: rgba(255, 255, 255, 0.90);
}

.ak-hp-imp-blood-pill {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
}

/* Card Icon Color Tones */
.ak-hp-imp-card.is-blue .ak-hp-imp-icon    { background: #DBEAFE; color: #1D4ED8; }
.ak-hp-imp-card.is-emerald .ak-hp-imp-icon { background: #D1FAE5; color: #059669; }
.ak-hp-imp-card.is-amber .ak-hp-imp-icon   { background: #FEF3C7; color: #D97706; }
.ak-hp-imp-card.is-purple .ak-hp-imp-icon  { background: #F3E8FF; color: #7C3AED; }
.ak-hp-imp-card.is-orange .ak-hp-imp-icon  { background: #FFEDD5; color: #EA580C; }
.ak-hp-imp-card.is-rose .ak-hp-imp-icon    { background: #FFE4E6; color: #E11D48; }
.ak-hp-imp-card.is-teal .ak-hp-imp-icon    { background: #CCFBF1; color: #0F766E; }
.ak-hp-imp-card.is-sky .ak-hp-imp-icon     { background: #E0F2FE; color: #0284C7; }
.ak-hp-imp-card.is-green .ak-hp-imp-icon   { background: #DCFCE7; color: #075B40; }
.ak-hp-imp-card.is-indigo .ak-hp-imp-icon  { background: #E0E7FF; color: #4338CA; }
.ak-hp-imp-card.is-slate .ak-hp-imp-icon   { background: #E2E8F0; color: #334155; }

/* ==========================================================================
   SECTION 4 — NINE UPAZILAS OF KHULNA ("খুলনার ৯টি উপজেলা")
   Background: Soft mint-green (#EAF8F1 -> #DFF3E9)
   ========================================================================== */
.ak-hp-upazilas-sec {
  background: linear-gradient(145deg, #EAF8F1 0%, #DFF3E9 100%) !important;
  border: 1px solid #B7E4CE !important;
  min-height: 0 !important;
}

.ak-hp-upz-viewport {
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.ak-hp-upz-track {
  display: grid;
  grid-template-columns: repeat(9, minmax(140px, 1fr));
  gap: 12px;
}

.ak-hp-upz-card {
  background: #FFFFFF;
  border: 1px solid rgba(7, 91, 64, 0.14);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(7, 91, 64, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ak-hp-upz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(7, 91, 64, 0.12);
  border-color: #075B40;
}

.ak-hp-upz-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

.ak-hp-upz-media {
  position: relative;
  width: 100%;
  height: 106px;
  overflow: hidden;
  background: #D1EADF;
}

.ak-hp-upz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ak-hp-upz-card:hover .ak-hp-upz-media img {
  transform: scale(1.06);
}

.ak-hp-upz-union-pill {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 61, 44, 0.80);
  color: #FFFFFF;
  font-size: 9.8px;
  font-weight: 600;
}

.ak-hp-upz-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ak-hp-upz-name {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 800;
  color: #172B24;
  text-align: center;
}

.ak-hp-upz-desc {
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1.35;
  color: #52665D;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ak-hp-upz-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11.2px;
  font-weight: 700;
  color: #075B40;
}

/* ==========================================================================
   SECTION 5 — TOURIST ATTRACTIONS ("খুলনার দর্শনীয় স্থান")
   Background: Warm cream / light golden (#FFFDF4 -> #FDF6E2)
   ========================================================================== */
.ak-hattr-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #FFFDF4 0%, #FDF6E2 100%);
  border: 1px solid #F3E3B8;
  border-radius: 22px;
  padding: 24px 22px 22px;
  margin-top: 0;
  margin-bottom: 26px;
  box-shadow: 0 8px 26px rgba(180, 130, 30, 0.06);
}

.ak-hattr-decor {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  pointer-events: none;
}

.ak-hattr-header {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 16px;
}

.ak-hattr-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.ak-hattr-heading-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ak-hattr-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FEF3C7;
  border: 1px solid rgba(217, 119, 6, 0.25);
  flex-shrink: 0;
}

.ak-hattr-title {
  margin: 0;
  font-size: clamp(20px, 2.25vw, 25px);
  font-weight: 800;
  line-height: 1.22;
  color: #172B24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-hattr-subtitle {
  margin: 4px 0 0 48px;
  font-size: 13.8px;
  font-weight: 500;
  line-height: 1.45;
  color: #5C5338;
}

.ak-hattr-viewall-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #075B40;
  color: #FFFFFF !important;
  font-size: 13.2px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(7, 91, 64, 0.20);
  transition: background 0.18s ease, transform 0.18s ease;
}

.ak-hattr-viewall-btn:hover {
  background: #103D2C;
  transform: translateY(-1px);
}

.ak-hattr-viewport {
  position: relative;
  z-index: 2;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
}

.ak-hattr-viewport::-webkit-scrollbar {
  display: none;
}

.ak-hattr-viewport.is-dragging {
  cursor: grabbing;
}

.ak-hattr-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
}

/* Desktop: ~4.5 to 5 cards visible */
.ak-hattr-card {
  width: 244px;
  flex: 0 0 244px;
  background: #FFFFFF;
  border: 1px solid #EFE4C4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(120, 90, 20, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ak-hattr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(7, 91, 64, 0.14);
  border-color: #075B40;
}

.ak-hattr-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

.ak-hattr-card-media {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #EFE7D3;
}

.ak-hattr-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ak-hattr-card:hover .ak-hattr-card-img {
  transform: scale(1.06);
}

.ak-hattr-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 32, 22, 0.18) 0%, rgba(6, 32, 22, 0) 45%, rgba(6, 32, 22, 0.28) 100%);
  pointer-events: none;
}

.ak-hattr-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(7, 91, 64, 0.90);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.ak-hattr-card-body {
  padding: 12px 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.ak-hattr-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.32;
  color: #172B24;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ak-hattr-card-meta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ak-hattr-card-loc {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #64756C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-hattr-pin {
  display: inline-flex;
  align-items: center;
  color: #E11D48;
  flex-shrink: 0;
}

.ak-hattr-card-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: #075B40;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 6 — LATEST KHULNA NEWS ("খুলনার সর্বশেষ খবর")
   Background: Soft sky-blue (#EFF7FF -> #E3F0FF)
   Desktop: 4 cards/row; Mobile: 2 compact cards/row
   ========================================================================== */
.ak-hp-news-sec {
  background: linear-gradient(145deg, #EFF7FF 0%, #E3F0FF 100%);
  border: 1px solid #BFDBFE;
}

.ak-hp-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ak-hp-news-card {
  background: #FFFFFF;
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.ak-hp-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.10);
}

.ak-hp-news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

.ak-hp-news-media {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: #DBEAFE;
}

.ak-hp-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ak-hp-news-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.90);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
}

.ak-hp-news-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.ak-hp-news-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.38;
  color: #172B24;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ak-hp-news-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.8px;
  color: #64756C;
  font-weight: 600;
}

.ak-hp-news-read {
  color: #1D4ED8;
  font-weight: 700;
}

.ak-hp-empty-box {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  border: 1px dashed #93C5FD;
}

.ak-hp-empty-box p {
  margin: 0 0 8px;
  font-size: 13.8px;
  color: #334155;
}

.ak-hp-inline-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #1D4ED8;
  text-decoration: none;
}

/* ==========================================================================
   SECTION 7 — SHOPPING, MARKETS AND LOCAL BUSINESS ("খুলনার বাজার ও কেনাকাটা")
   Background: Soft peach (#FFF7F2 -> #FDECE2)
   ========================================================================== */
.ak-hp-markets-sec {
  background: linear-gradient(145deg, #FFF7F2 0%, #FDECE2 100%);
  border: 1px solid #FED7AA;
}

.ak-hp-markets-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ak-hp-market-card {
  background: #FFFFFF;
  border: 1px solid rgba(234, 88, 12, 0.14);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.ak-hp-market-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.10);
}

.ak-hp-market-media {
  position: relative;
  display: block;
  height: 142px;
  overflow: hidden;
  background: #FFEDD5;
}

.ak-hp-market-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ak-hp-market-card:hover .ak-hp-market-media img {
  transform: scale(1.05);
}

.ak-hp-market-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(194, 65, 12, 0.90);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
}

.ak-hp-market-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.ak-hp-market-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.32;
}

.ak-hp-market-title a {
  color: #172B24 !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ak-hp-market-loc {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.2px;
  font-weight: 600;
  color: #64756C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-hp-market-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ak-hp-mbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  border-radius: 9px;
  font-size: 12.2px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.16s ease;
}

.ak-hp-mbtn.is-primary {
  flex: 1 1 auto;
  background: #075B40;
  color: #FFFFFF !important;
  padding: 5px 12px;
}

.ak-hp-mbtn.is-primary:hover {
  background: #103D2C;
}

.ak-hp-mbtn.is-icon {
  width: 34px;
  height: 34px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #C2410C !important;
  flex-shrink: 0;
}

.ak-hp-mbtn.is-icon svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   SECTION 8 — EDUCATION AND HEALTHCARE ("শিক্ষা ও স্বাস্থ্যসেবা")
   Background: Very light lavender/blue (#F4F5FF -> #EAEBFF)
   ========================================================================== */
.ak-hp-eduhealth-sec {
  background: linear-gradient(145deg, #F4F5FF 0%, #EAEBFF 100%);
  border: 1px solid #C7D2FE;
}

.ak-hp-eh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ak-hp-eh-card {
  background: #FFFFFF;
  border: 1px solid rgba(67, 56, 202, 0.12);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.ak-hp-eh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(67, 56, 202, 0.10);
  border-color: #4338CA;
}

.ak-hp-eh-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 18px;
  text-decoration: none !important;
  color: inherit !important;
}

.ak-hp-eh-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.ak-hp-eh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #EEF2FF;
  color: #4338CA;
}

.ak-hp-eh-icon svg {
  width: 22px;
  height: 22px;
}

.ak-hp-eh-card.is-blue .ak-hp-eh-icon    { background: #DBEAFE; color: #1D4ED8; }
.ak-hp-eh-card.is-teal .ak-hp-eh-icon    { background: #CCFBF1; color: #0F766E; }
.ak-hp-eh-card.is-indigo .ak-hp-eh-icon  { background: #E0E7FF; color: #4338CA; }
.ak-hp-eh-card.is-purple .ak-hp-eh-icon  { background: #F3E8FF; color: #7C3AED; }
.ak-hp-eh-card.is-emerald .ak-hp-eh-icon { background: #D1FAE5; color: #059669; }
.ak-hp-eh-card.is-amber .ak-hp-eh-icon   { background: #FEF3C7; color: #D97706; }

.ak-hp-eh-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

.ak-hp-eh-title {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 800;
  color: #172B24;
}

.ak-hp-eh-desc {
  margin: 0 0 12px;
  font-size: 12.8px;
  line-height: 1.5;
  color: #52665D;
}

.ak-hp-eh-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.8px;
  font-weight: 700;
  color: #075B40;
}

/* ==========================================================================
   SECTION 9 — JOBS AND OPPORTUNITIES ("খুলনার চাকরি ও সুযোগসমূহ")
   Background: Soft neutral mint (#F0FAF5 -> #E4F5EC)
   Mobile: 2 cards per row at supported widths
   ========================================================================== */
.ak-hp-jobs-sec {
  background: linear-gradient(145deg, #F0FAF5 0%, #E4F5EC 100%);
  border: 1px solid #A7F3D0;
}

.ak-hp-jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ak-hp-job-card {
  background: #FFFFFF;
  border: 1px solid rgba(7, 91, 64, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.ak-hp-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(7, 91, 64, 0.10);
}

.ak-hp-job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.ak-hp-job-type-badge {
  padding: 2px 9px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #075B40;
  font-size: 10.8px;
  font-weight: 700;
}

.ak-hp-job-deadline {
  font-size: 11px;
  font-weight: 600;
  color: #B91C1C;
}

.ak-hp-job-title {
  margin: 0;
  font-size: 15.2px;
  font-weight: 800;
  line-height: 1.32;
}

.ak-hp-job-title a {
  color: #172B24 !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ak-hp-job-org {
  margin: 0;
  font-size: 12.8px;
  font-weight: 700;
  color: #075B40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ak-hp-job-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #52665D;
}

.ak-hp-job-salary {
  color: #0F766E;
  font-weight: 700;
}

.ak-hp-job-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ak-hp-jbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}

.ak-hp-jbtn.is-details {
  flex: 1 1 auto;
  background: #075B40;
  color: #FFFFFF !important;
  padding: 5px 10px;
}

.ak-hp-jbtn.is-call {
  padding: 5px 10px;
  background: #EAF8F1;
  border: 1px solid #A7F3D0;
  color: #075B40 !important;
}

.ak-hp-jbtn.is-call svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   SECTION 10 — COMMUNITY PARTICIPATION ("আপনার তথ্যেই সমৃদ্ধ হবে আমার খুলনা")
   Background: Soft teal-green (#E6F7F3 -> #D5F1EA)
   ========================================================================== */
.ak-hp-community-sec {
  background: linear-gradient(135deg, #E6F7F3 0%, #D5F1EA 100%);
  border: 1px solid #99E2D0;
  margin-bottom: 12px;
}

.ak-hp-comm-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
}

.ak-hp-comm-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(7, 91, 64, 0.12);
  color: #075B40;
  font-size: 12.2px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ak-hp-comm-title {
  margin: 0 0 8px;
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 800;
  color: #103D2C;
}

.ak-hp-comm-desc {
  margin: 0 0 18px;
  font-size: 14.2px;
  line-height: 1.6;
  color: #264A3C;
}

.ak-hp-comm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ak-hp-comm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.8px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.ak-hp-comm-btn:hover {
  transform: translateY(-2px);
}

.ak-hp-comm-btn svg {
  width: 16px;
  height: 16px;
}

.ak-hp-comm-btn.is-primary {
  background: #075B40;
  color: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(7, 91, 64, 0.25);
}

.ak-hp-comm-btn.is-secondary {
  background: #FFFFFF;
  color: #075B40 !important;
  border: 1.5px solid #075B40;
}

.ak-hp-comm-btn.is-outline {
  background: rgba(255, 255, 255, 0.65);
  color: #103D2C !important;
  border: 1px solid rgba(16, 61, 44, 0.25);
}

.ak-hp-comm-stat-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(7, 91, 64, 0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(7, 91, 64, 0.06);
}

.ak-hp-comm-stat-card strong {
  font-size: 20px;
  font-weight: 800;
  color: #075B40;
}

.ak-hp-comm-stat-card span {
  font-size: 13.2px;
  color: #52665D;
  line-height: 1.45;
}

.ak-hp-comm-stat-card a {
  margin-top: 6px;
  font-size: 13.2px;
  font-weight: 700;
  color: #075B40;
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (1280px, 1024px, 768px, 414px, 390px, 375px, 360px, 320px)
   ========================================================================== */
@media (max-width: 1199px) {
  .ak-hp-imp-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .ak-hp-upz-track {
    grid-template-columns: repeat(9, 148px);
  }
}

@media (max-width: 991px) {
  .ak-top-infobar {
    display: none;
  }
  .ak-hp-hero-pride {
    display: none;
  }
  /* Tablet: 4 service cards per row */
  .ak-hp-imp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ak-hp-news-grid,
  .ak-hp-markets-grid,
  .ak-hp-jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ak-hp-eh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ak-hp-comm-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* Hero Mobile Optimization */
  .ak-hp-hero {
    padding: 24px 0 32px;
  }
  .ak-hp-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(16, 61, 44, 0.82) 0%,
      rgba(16, 61, 44, 0.72) 100%
    );
  }
  .ak-hp-hero-eyebrow {
    font-size: 14px;
    color: #D1FAE5;
  }
  .ak-hp-hero-title {
    font-size: 30px;
  }
  .ak-hp-title-green {
    color: #FFFFFF;
  }
  .ak-hp-title-red {
    color: #FDA4AF;
  }
  .ak-hp-hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 14px;
  }
  .ak-hp-cat-select-wrap,
  .ak-hp-loc-select-wrap {
    display: none;
  }
  .ak-hp-search-pill {
    padding: 4px 5px 4px 12px;
  }
  .ak-hp-search-pill input[type="search"] {
    font-size: 13.5px;
    padding: 7px 4px;
  }
  .ak-hp-search-btn {
    min-height: 38px;
    padding: 6px 15px;
    font-size: 13px;
  }
  .ak-hp-pop-label {
    display: none;
  }
  .ak-hp-popular-row {
    margin-top: 10px;
  }
  .ak-hp-pop-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 2px;
  }
  .ak-hp-pop-pills::-webkit-scrollbar {
    display: none;
  }
  .ak-hp-pop-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 12px;
    font-size: 11.8px;
  }

  /* Main Container & Section Blocks on Mobile */
  .ak-hp-main-container {
    padding-top: 14px;
    padding-bottom: 88px;
  }
  .ak-hp-sec-block,
  .ak-hattr-section {
    padding: 16px 13px !important;
    border-radius: 18px !important;
    margin-bottom: 18px !important;
  }

  /* Section Header on Mobile: Title Left + Button Right on Same Row */
  .ak-hp-sec-top-row,
  .ak-hattr-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .ak-hp-sec-emblem,
  .ak-hattr-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .ak-hp-sec-title,
  .ak-hattr-title {
    font-size: 17px;
  }
  .ak-hp-sec-subtitle,
  .ak-hattr-subtitle {
    margin: 5px 0 0 0;
    font-size: 12px;
  }
  .ak-hp-sec-btn,
  .ak-hattr-viewall-btn {
    min-height: 32px;
    padding: 5px 11px;
    font-size: 11.5px;
    gap: 4px;
  }

  /* Section 3: Important Services — Strictly 4 Compact Cards Per Row on Mobile */
  .ak-hp-imp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .ak-hp-imp-card {
    padding: 10px 4px;
    border-radius: 13px;
  }
  .ak-hp-imp-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    margin-bottom: 6px;
  }
  .ak-hp-imp-icon svg {
    width: 20px;
    height: 20px;
  }
  .ak-hp-imp-label {
    font-size: 11.4px;
    line-height: 1.2;
    margin-bottom: 0;
    word-break: keep-all;
  }
  .ak-hp-imp-sub,
  .ak-hp-imp-blood-pill {
    display: none;
  }

  /* Section 4: 9 Upazilas Horizontal Swipe on Mobile */
  .ak-hp-upz-track {
    grid-template-columns: repeat(9, 134px);
    gap: 10px;
  }
  .ak-hp-upz-media {
    height: 90px;
  }
  .ak-hp-upz-name {
    font-size: 13.5px;
  }

  /* Section 5: Tourist Attractions Mobile (1.5–2 cards visible) */
  .ak-hattr-track {
    gap: 12px;
  }
  .ak-hattr-card {
    width: clamp(190px, 56vw, 222px);
    flex: 0 0 clamp(190px, 56vw, 222px);
    border-radius: 14px;
  }
  .ak-hattr-card-media {
    height: 122px;
  }
  .ak-hattr-card-body {
    padding: 10px 11px 11px;
  }
  .ak-hattr-card-title {
    font-size: 13.8px;
  }
  .ak-hattr-card-cta {
    display: none;
  }

  /* Section 6 (News), Section 7 (Markets), Section 8 (Edu/Health), Section 9 (Jobs): 2 Compact Cards Per Row on Mobile */
  .ak-hp-news-grid,
  .ak-hp-markets-grid,
  .ak-hp-eh-grid,
  .ak-hp-jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ak-hp-news-media,
  .ak-hp-market-media {
    height: 102px;
  }
  .ak-hp-news-body,
  .ak-hp-market-body,
  .ak-hp-eh-card-link,
  .ak-hp-job-card {
    padding: 10px;
  }
  .ak-hp-news-title,
  .ak-hp-market-title,
  .ak-hp-eh-title,
  .ak-hp-job-title {
    font-size: 13.2px;
  }
  .ak-hp-eh-desc {
    font-size: 11.4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .ak-hp-eh-badge {
    display: none;
  }
}

/* Ultra-Narrow 320px - 359px Safeguards */
@media (max-width: 359px) {
  .ak-hp-sec-title,
  .ak-hattr-title {
    font-size: 15.2px;
  }
  .ak-hp-sec-btn,
  .ak-hattr-viewall-btn {
    padding: 4px 9px;
    font-size: 10.8px;
    min-height: 28px;
  }
  .ak-hp-imp-grid {
    gap: 6px;
  }
  .ak-hp-imp-card {
    padding: 8px 3px;
  }
  .ak-hp-imp-icon {
    width: 33px;
    height: 33px;
  }
  .ak-hp-imp-label {
    font-size: 10.2px;
  }
  .ak-hattr-card {
    width: 178px;
    flex: 0 0 178px;
  }
  .ak-hp-news-grid,
  .ak-hp-markets-grid,
  .ak-hp-eh-grid,
  .ak-hp-jobs-grid {
    gap: 8px;
  }
}


/* ==========================================================================
   AMAR KHULNA v5.4.0 — UNIFIED SERVICE DIRECTORY & SEARCH RESULTS (.ak-sdir-*)
   Root Cause Permanently Resolved:
   -Consolidated v5.0/v5.1/v5.2 into a single, conflict-free stylesheet block.
   - Eliminated the un-scoped .ak-sdir-layout { grid-template-columns: 270px minmax(0, 1fr); }
     rule that previously appeared AFTER @media (max-width: 991px) and stole 290px
     on mobile screens.
   - Desktop (1200px+): 270px Left Filter Sidebar + Right Results (3–4 cards per row).
   - Tablet (768px–991px): 1-Column Full-Width Layout + Slide-up Filter Drawer + 3 cards per row.
   - Mobile (320px–767px): 1-Column Full-Width Layout + Slide-up Filter Drawer + Strictly 2 cards per row.
   ========================================================================== */

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.ak-header,
#main-content,
.ak-global-back-bar,
.ak-sdir-page,
.ak-sdir-hero,
.ak-footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ak-sdir-page {
  background-color: #F4F9F6;
  color: #172B24;
  padding-bottom: 56px;
  overflow-x: clip;
}

/* 1. Hero Section (Centered Container on Desktop, Full-Width on Mobile) */
.ak-sdir-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 32px;
  background-color: #DFF2E8;
  background-image: var(--ak-sdir-hero-bg);
  background-size: cover;
  background-position: right center;
  border-bottom: 1px solid rgba(7, 91, 64, 0.12);
}

.ak-sdir-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(232, 246, 239, 0.96) 0%,
    rgba(232, 246, 239, 0.90) 52%,
    rgba(232, 246, 239, 0.45) 100%
  );
  z-index: 0;
}

.ak-hp-hero .ak-container,
.ak-sdir-hero .ak-container {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.ak-sdir-hero-inner,
.ak-hp-hero-inner {
  text-align: left;
}

.ak-sdir-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #365648;
  margin-bottom: 10px;
}

.ak-sdir-bc-home {
  display: inline-flex;
  align-items: center;
  color: #075B40;
  text-decoration: none;
}

.ak-sdir-bc-home svg {
  width: 15px;
  height: 15px;
}

.ak-sdir-bc-sep {
  opacity: 0.55;
}

.ak-sdir-hero-title {
  margin: 0 0 6px;
  max-width: 780px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  color: #102A20;
}

.ak-sdir-hero-subtitle {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(13.5px, 1.4vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  color: #385548;
}

.ak-sdir-hero-search {
  width: 100%;
  max-width: 720px;
}

.ak-sdir-search-box {
  display: flex;
  align-items: center;
  width: 100%;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 5px 6px 5px 16px;
  border: 1.5px solid rgba(7, 91, 64, 0.18);
  box-shadow: 0 10px 26px rgba(7, 91, 64, 0.10);
  gap: 8px;
  box-sizing: border-box;
}

.ak-sdir-search-ico {
  display: inline-flex;
  align-items: center;
  color: #64756C;
  flex-shrink: 0;
}

.ak-sdir-search-ico svg {
  width: 19px;
  height: 19px;
}

.ak-sdir-search-box input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  padding: 8px 4px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: #172B24;
  outline: none !important;
  box-shadow: none !important;
}

.ak-sdir-clear-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #EDF4F0;
  color: #49685A;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.ak-sdir-clear-q[hidden] {
  display: none !important;
}

.ak-sdir-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 22px;
  border-radius: 999px;
  border: none;
  background: #075B40;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s ease, transform 0.16s ease;
}

.ak-sdir-search-submit svg {
  width: 15px;
  height: 15px;
}

.ak-sdir-search-submit:hover {
  background: #103D2C;
  transform: translateY(-1px);
}

.ak-sdir-popular-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  width: 100%;
  min-width: 0;
}

.ak-sdir-pop-label {
  font-size: 13px;
  font-weight: 800;
  color: #172B24;
}

.ak-sdir-pop-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.ak-sdir-pop-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(7, 91, 64, 0.18);
  color: #172B24 !important;
  font-size: 12.4px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.15s ease, color 0.15s ease;
}

.ak-sdir-pop-pill:hover {
  background: #075B40;
  color: #FFFFFF !important;
}

/* 2. Service Category Grid (Desktop: 9 cards/row, Mobile: 5 cards/row) */
.ak-sdir-container {
  padding-top: 22px;
}

.ak-sdir-cat-sec {
  margin-bottom: 22px;
  width: 100%;
  min-width: 0;
}

.ak-sdir-cat-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.ak-sdir-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13px 8px;
  min-height: 88px;
  border-radius: 15px;
  background: #FFFFFF;
  border: 1px solid #E2EBE6;
  color: #172B24 !important;
  text-decoration: none !important;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(7, 91, 64, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.ak-sdir-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(7, 91, 64, 0.10);
  border-color: #075B40;
}

.ak-sdir-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  margin-bottom: 7px;
  background: #EAF8F1;
  color: #075B40;
  font-weight: 800;
  flex-shrink: 0;
}

.ak-sdir-cat-icon svg {
  width: 21px;
  height: 21px;
}

.ak-sdir-cat-lbl-full,
.ak-sdir-cat-lbl-short {
  font-size: 12.4px;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}

.ak-sdir-cat-lbl-short {
  display: none;
}

.ak-sdir-cat-card.is-active,
.ak-sdir-cat-card.is-emerald-solid.is-active {
  background: #075B40 !important;
  border-color: #075B40 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(7, 91, 64, 0.24);
}

.ak-sdir-cat-card.is-active .ak-sdir-cat-icon {
  background: rgba(255, 255, 255, 0.20) !important;
  color: #FFFFFF !important;
}

.ak-sdir-cat-card.is-blue    { background: #F5F9FF; border-color: #DBEAFE; }
.ak-sdir-cat-card.is-blue .ak-sdir-cat-icon    { background: #DBEAFE; color: #1D4ED8; }

.ak-sdir-cat-card.is-sky     { background: #F2FAFF; border-color: #BAE6FD; }
.ak-sdir-cat-card.is-sky .ak-sdir-cat-icon     { background: #E0F2FE; color: #0284C7; }

.ak-sdir-cat-card.is-rose    { background: #FFF5F6; border-color: #FECDD3; }
.ak-sdir-cat-card.is-rose .ak-sdir-cat-icon    { background: #FFE4E6; color: #E11D48; }
.ak-sdir-cat-card.is-rose .ak-sdir-cat-lbl-full,
.ak-sdir-cat-card.is-rose .ak-sdir-cat-lbl-short { color: #BE123C; }

.ak-sdir-cat-card.is-green   { background: #F2FBF6; border-color: #D1FAE5; }
.ak-sdir-cat-card.is-green .ak-sdir-cat-icon   { background: #D1FAE5; color: #059669; }

.ak-sdir-cat-card.is-orange  { background: #FFF8F1; border-color: #FED7AA; }
.ak-sdir-cat-card.is-orange .ak-sdir-cat-icon  { background: #FFEDD5; color: #EA580C; }

.ak-sdir-cat-card.is-purple  { background: #FAF5FF; border-color: #E9D5FF; }
.ak-sdir-cat-card.is-purple .ak-sdir-cat-icon  { background: #F3E8FF; color: #7C3AED; }

.ak-sdir-cat-card.is-amber   { background: #FFFDF2; border-color: #FDE68A; }
.ak-sdir-cat-card.is-amber .ak-sdir-cat-icon   { background: #FEF3C7; color: #D97706; }

.ak-sdir-cat-card.is-crimson { background: #FFF5F5; border-color: #FECACA; }
.ak-sdir-cat-card.is-crimson .ak-sdir-cat-icon { background: #FEE2E2; color: #DC2626; }

.ak-sdir-cat-card.is-teal    { background: #F0FDFA; border-color: #CCFBF1; }
.ak-sdir-cat-card.is-teal .ak-sdir-cat-icon    { background: #CCFBF1; color: #0F766E; }

.ak-sdir-cat-card.is-emerald { background: #F2FBF7; border-color: #A7F3D0; }
.ak-sdir-cat-card.is-emerald .ak-sdir-cat-icon { background: #DCFCE7; color: #075B40; }

.ak-sdir-cat-card.is-slate,
.ak-sdir-cat-card.is-more-tile { background: #F8FAFC; border-color: #E2E8F0; }
.ak-sdir-cat-card.is-slate .ak-sdir-cat-icon,
.ak-sdir-cat-card.is-more-tile .ak-sdir-cat-icon { background: #E2E8F0; color: #334155; }

/* Mobile Filter Trigger Bar (Hidden on Desktop) */
.ak-sdir-mobile-filter-bar {
  display: none;
  margin-bottom: 16px;
  width: 100%;
}

.ak-sdir-mobile-filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: #075B40;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(7, 91, 64, 0.22);
}

/* 3. Main 2-Column Layout on Desktop (Left Sidebar 270px + Right Results 1fr) */
.ak-sdir-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.ak-sdir-sidebar,
.ak-sdir-results-col {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.ak-sdir-filter-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ak-sdir-filter-form {
  background: #FFFFFF !important;
  border: 1px solid #E2EBE6 !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 6px 20px rgba(7, 91, 64, 0.05) !important;
  margin: 0 !important;
}

.ak-sdir-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #EBF2EE;
}

.ak-sdir-filter-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 800;
  color: #172B24;
}

.ak-sdir-filter-ico {
  display: inline-flex;
  color: #075B40;
}

.ak-sdir-filter-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ak-sdir-reset-link {
  font-size: 13px;
  font-weight: 700;
  color: #075B40;
  text-decoration: none;
}

.ak-sdir-reset-link:hover {
  text-decoration: underline;
}

.ak-sdir-drawer-close {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2EBE6;
  background: #F8FAFC;
  color: #172B24;
  font-size: 16px;
  cursor: pointer;
}

.ak-sdir-filter-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ak-sdir-loc-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ak-sdir-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ak-sdir-field[hidden] {
  display: none !important;
}

.ak-sdir-field label {
  font-size: 13.2px;
  font-weight: 700;
  color: #172B24;
}

.ak-sdir-field select {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #D5E3DC;
  background-color: #F9FCFA;
  color: #172B24;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
}

.ak-sdir-field select:focus {
  border-color: #075B40;
  background-color: #FFFFFF;
}

.ak-sdir-apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 11px;
  border: none;
  background: #075B40;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14.2px;
  font-weight: 700;
  cursor: pointer;
}

.ak-sdir-apply-btn svg {
  width: 16px;
  height: 16px;
}

.ak-sdir-apply-btn:hover {
  background: #103D2C;
}

.ak-sdir-geo-card {
  background: #EBF5FF;
  border: 1px solid #BFDBFE;
  border-radius: 18px;
  padding: 16px;
}

.ak-sdir-geo-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ak-sdir-geo-copy h3 {
  margin: 0 0 3px;
  font-size: 14.8px;
  font-weight: 800;
  color: #172B24;
}

.ak-sdir-geo-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #475569;
}

.ak-sdir-geo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid #075B40;
  background: #FFFFFF;
  color: #075B40;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ak-sdir-geo-btn svg {
  width: 15px;
  height: 15px;
}

.ak-sdir-geo-btn:hover {
  background: #075B40;
  color: #FFFFFF;
}

/* 4. Results Header Toolbar (Left: মোট ফলাফল, Right: সর্টিং অপশন) */
.ak-sdir-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.ak-sdir-toolbar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.ak-sdir-query-heading {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #172B24;
}

.ak-sdir-count {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #385548;
  white-space: nowrap;
}

.ak-sdir-toolbar-right {
  flex: 0 0 auto;
}

.ak-sdir-sort-select {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid #D5E3DC;
  background: #FFFFFF;
  color: #172B24;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  max-width: 100%;
}

.ak-sdir-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2EBE6;
  margin-bottom: 14px;
  font-weight: 700;
  color: #075B40;
}

.ak-sdir-loading[hidden] {
  display: none !important;
}

/* 5. Results Grid & Cards (Desktop: 3–4 Cols, Tablet: 2–3 Cols, Mobile: Strictly 2 Cols) */
.ak-service-results-grid,
.ak-sdir-results-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
}

@media (min-width: 1360px) {
  .ak-service-results-grid,
  .ak-sdir-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.ak-service-results-grid[hidden],
.ak-sdir-results-grid[hidden] {
  display: none !important;
}

.ak-service-results-grid > *,
.ak-sdir-results-grid > *,
.ak-service-result-card,
.ak-sdir-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ak-sdir-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #E2EBE6 !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  height: 100% !important;
  box-shadow: 0 4px 14px rgba(7, 91, 64, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.ak-sdir-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(7, 91, 64, 0.11) !important;
  border-color: rgba(7, 91, 64, 0.30) !important;
}

.ak-sdir-card-media {
  position: relative !important;
  width: 100% !important;
  height: 146px !important;
  flex: 0 0 146px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #E2ECE7 !important;
}

.ak-sdir-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ak-sdir-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ak-sdir-card:hover .ak-sdir-card-img {
  transform: scale(1.04);
}

.ak-sdir-247-badge,
.ak-sdir-dept-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.ak-sdir-247-badge {
  background: #EF4444;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.ak-sdir-dept-badge {
  background: rgba(7, 91, 64, 0.88);
  backdrop-filter: blur(4px);
}

.ak-sdir-save-btn.is-overlay-save {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(7, 91, 64, 0.14) !important;
  color: #075B40 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  padding: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

.ak-sdir-save-btn.is-overlay-save:hover,
.ak-sdir-save-btn.is-overlay-save.is-saved {
  background: #FFF1F2 !important;
  border-color: #FDA4AF !important;
  color: #E11D48 !important;
}

.ak-sdir-card-body {
  padding: 13px 13px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.ak-sdir-card-head {
  display: block !important;
  min-width: 0 !important;
}

.ak-sdir-card-title {
  margin: 0 !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  color: #172B24 !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

.ak-sdir-card-title a {
  color: #172B24 !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ak-sdir-card-title a:hover {
  color: #075B40 !important;
}

/* Doctor Card Specific Typography (Natural Bengali Word Wrapping) */
.ak-sdir-doc-degree {
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.42 !important;
  color: #385548 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

.ak-sdir-badge-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  min-width: 0 !important;
}

.ak-sdir-cat-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2.5px 9px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  background: #E0F2FE;
  color: #0369A1;
  max-width: 100%;
}

.ak-sdir-cat-pill.is-teal   { background: #DCFCE7; color: #15803D; }
.ak-sdir-cat-pill.is-rose   { background: #FFE4E6; color: #BE123C; }
.ak-sdir-cat-pill.is-purple { background: #EDE9FE; color: #6D28D9; }
.ak-sdir-cat-pill.is-amber  { background: #FEF3C7; color: #B45309; }
.ak-sdir-cat-pill.is-orange { background: #FFEDD5; color: #C2410C; }

.ak-sdir-doc-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-top: 2px !important;
  min-width: 0 !important;
}

.ak-sdir-doc-line {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.42 !important;
  color: #49685A !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

.ak-sdir-doc-lbl {
  font-weight: 700 !important;
  color: #172B24 !important;
}

.ak-sdir-doc-line strong {
  font-weight: 700 !important;
  color: #075B40 !important;
}

/* Other Service Card Meta Lines */
.ak-sdir-meta-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.ak-sdir-meta-item {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12.2px !important;
  font-weight: 600 !important;
  color: #49685A !important;
  min-width: 0 !important;
}

.ak-sdir-meta-item.is-extra {
  color: #172B24 !important;
  font-weight: 700 !important;
}

.ak-sdir-meta-ico {
  display: inline-flex;
  align-items: center;
  color: #075B40;
  flex-shrink: 0;
}

.ak-sdir-meta-ico svg {
  width: 13px;
  height: 13px;
}

.ak-sdir-loc-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Aligned Two-Button Bottom Row: [বিস্তারিত] [কল করুন] */
.ak-sdir-card-actions {
  margin-top: auto !important;
  padding-top: 8px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.ak-sdir-card-actions.is-single-action {
  grid-template-columns: 1fr !important;
}

.ak-sdir-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-height: 36px !important;
  padding: 6px 8px !important;
  border-radius: 9px !important;
  font-size: 12.2px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.ak-sdir-btn.is-details {
  background: #FFFFFF !important;
  border: 1.5px solid #075B40 !important;
  color: #075B40 !important;
}

.ak-sdir-btn.is-details:hover {
  background: #EAF8F1 !important;
}

.ak-sdir-btn.is-call {
  background: #075B40 !important;
  border: 1.5px solid #075B40 !important;
  color: #FFFFFF !important;
}

.ak-sdir-btn.is-call:hover {
  background: #103D2C !important;
}

.ak-sdir-btn-lbl-full {
  display: none !important;
}

.ak-sdir-btn-lbl-short {
  display: inline !important;
}

.ak-sdir-call-ico {
  display: inline-flex;
  align-items: center;
}

.ak-sdir-call-ico svg {
  width: 13px;
  height: 13px;
}

/* Pagination */
.ak-sdir-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.ak-sdir-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #D5E3DC;
  color: #172B24;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.ak-sdir-pagination .page-numbers.current,
.ak-sdir-pagination .page-numbers:hover {
  background: #075B40;
  border-color: #075B40;
  color: #FFFFFF;
}

/* Bottom CTA Banner ("আপনার প্রতিষ্ঠান যুক্ত করুন") */
.ak-sdir-cta-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #E2F5EB 0%, #CBEAD9 100%);
  border: 1px solid #A7E1C3;
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ak-sdir-cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ak-sdir-cta-badge-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #075B40;
  color: #FFFFFF;
  flex-shrink: 0;
}

.ak-sdir-cta-badge-ico svg {
  width: 26px;
  height: 26px;
}

.ak-sdir-cta-copy h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #102A20;
}

.ak-sdir-cta-copy p {
  margin: 0 0 12px;
  font-size: 13.8px;
  color: #2B4C3E;
}

.ak-sdir-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #075B40;
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Strict Order: 1199px -> 991px -> 767px -> 359px)
   ========================================================================== */
@media (max-width: 1199px) {
  .ak-hp-hero .ak-container,
  .ak-sdir-hero .ak-container {
    width: calc(100% - 48px);
  }

  .ak-sdir-cat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .ak-sdir-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
  }

  .ak-service-results-grid,
  .ak-sdir-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 991px) {
  /* Collapse 2-Column Sidebar Layout to 1-Column Full Width & Hide Sidebar Wrapper */
  .ak-sdir-layout {
    display: block !important;
    width: 100% !important;
  }

  .ak-sdir-sidebar {
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ak-sdir-mobile-filter-bar {
    display: block;
  }

  /* Filter Drawer Modal (Completely display:none when closed) */
  .ak-sdir-filter-shell {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    z-index: 99990 !important;
  }

  .ak-sdir-filter-shell.is-open {
    display: block !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  .ak-sdir-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 32, 23, 0.58);
    backdrop-filter: blur(3px);
  }

  .ak-sdir-filter-card {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 86dvh;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 22px 22px 0 0;
    padding: 18px 16px 28px;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.22);
  }

  .ak-sdir-filter-form {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .ak-sdir-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Tablet (768px - 991px): 3 Cards Per Row across full width */
  .ak-service-results-grid,
  .ak-sdir-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   MOBILE VIEWPORTS (320px to 767px) — FULL WIDTH & TWO CARDS PER ROW
   ========================================================================== */
@media (max-width: 767px) {
  .ak-container,
  .ak-hp-hero .ak-container,
  .ak-sdir-hero .ak-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .ak-header-inner {
    width: 100% !important;
    min-height: 58px !important;
    gap: 6px !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .ak-brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .ak-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    flex-shrink: 0 !important;
  }

  .ak-header-actions .ak-icon-button,
  .ak-easy-mode-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
  }

  .ak-sdir-page {
    padding-bottom: 86px;
  }

  .ak-sdir-hero {
    padding: 18px 0 22px;
  }

  .ak-sdir-hero-title {
    font-size: 23px;
  }

  .ak-sdir-hero-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .ak-sdir-search-box {
    padding: 4px 5px 4px 12px;
    gap: 5px;
  }

  .ak-sdir-search-box input[type="search"] {
    font-size: 13.5px;
    padding: 7px 3px;
  }

  .ak-sdir-search-submit {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 13px;
  }

  .ak-sdir-popular-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-top: 11px;
    -webkit-overflow-scrolling: touch;
  }

  .ak-sdir-popular-row::-webkit-scrollbar {
    display: none;
  }

  .ak-sdir-pop-label {
    white-space: nowrap;
    font-size: 12px;
  }

  .ak-sdir-pop-pills {
    flex-wrap: nowrap;
  }

  .ak-sdir-pop-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 11px;
    font-size: 11.8px;
  }

  /* 5 Compact Category Cards Per Row on Mobile */
  .ak-sdir-cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .ak-sdir-cat-card.is-extra-mobile {
    display: none;
  }

  .ak-sdir-cat-grid.is-expanded-mobile .ak-sdir-cat-card.is-extra-mobile {
    display: flex;
  }

  .ak-sdir-cat-card {
    min-height: 68px;
    padding: 8px 4px;
    border-radius: 12px;
  }

  .ak-sdir-cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    margin-bottom: 5px;
  }

  .ak-sdir-cat-icon svg {
    width: 17px;
    height: 17px;
  }

  .ak-sdir-cat-lbl-full {
    display: none;
  }

  .ak-sdir-cat-lbl-short {
    display: -webkit-box;
    font-size: 10.6px;
    line-height: 1.2;
  }

  /* Mobile Results Header & Sort Toolbar: Left মোট ফলাফল, Right সর্টিং অপশন */
  .ak-sdir-toolbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  .ak-sdir-toolbar-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .ak-sdir-query-heading {
    font-size: 15px !important;
  }

  .ak-sdir-count {
    font-size: 13px !important;
  }

  .ak-sdir-toolbar-right {
    flex: 0 0 auto !important;
  }

  .ak-sdir-sort-select {
    min-height: 34px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
  }

  /* MOBILE RESULTS GRID: STRICTLY TWO CARDS PER ROW */
  .ak-service-results-grid,
  .ak-sdir-results-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .ak-service-result-card,
  .ak-sdir-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  .ak-sdir-card-media {
    height: 112px !important;
    flex: 0 0 112px !important;
  }

  .ak-sdir-dept-badge,
  .ak-sdir-247-badge {
    top: 7px !important;
    left: 7px !important;
    padding: 2px 7px !important;
    font-size: 9.5px !important;
  }

  .ak-sdir-save-btn.is-overlay-save {
    top: 7px !important;
    right: 7px !important;
    width: 28px !important;
    height: 28px !important;
  }

  .ak-sdir-card-body {
    padding: 10px 10px 11px !important;
    gap: 5px !important;
  }

  .ak-sdir-card-title {
    font-size: 14.2px !important;
    line-height: 1.3 !important;
  }

  .ak-sdir-doc-degree {
    font-size: 11.2px !important;
    line-height: 1.38 !important;
  }

  .ak-sdir-cat-pill {
    padding: 2px 8px !important;
    font-size: 10.5px !important;
  }

  .ak-sdir-doc-line,
  .ak-sdir-meta-item {
    font-size: 11.2px !important;
    line-height: 1.38 !important;
  }

  .ak-sdir-meta-item.is-hours {
    display: none !important;
  }

  .ak-sdir-card-actions {
    padding-top: 6px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .ak-sdir-card-actions.is-single-action {
    grid-template-columns: 1fr !important;
  }

  .ak-sdir-btn {
    min-height: 33px !important;
    padding: 5px 6px !important;
    border-radius: 8px !important;
    font-size: 11.2px !important;
    gap: 4px !important;
  }

  .ak-sdir-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .ak-sdir-cta-art {
    display: none;
  }

  .ak-mobile-nav {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .ak-fb-comm-widget {
    right: 12px !important;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* Narrow Mobile (320px - 359px) Two-Column Safeguards */
@media (max-width: 359px) {
  .ak-container,
  .ak-hp-hero .ak-container,
  .ak-sdir-hero .ak-container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .ak-service-results-grid,
  .ak-sdir-results-grid {
    gap: 8px !important;
  }

  .ak-sdir-card-media {
    height: 96px !important;
    flex: 0 0 96px !important;
  }

  .ak-sdir-card-body {
    padding: 9px 8px 10px !important;
  }

  .ak-sdir-card-title {
    font-size: 13px !important;
  }

  .ak-sdir-doc-degree,
  .ak-sdir-doc-line,
  .ak-sdir-meta-item {
    font-size: 10.5px !important;
  }

  .ak-sdir-btn {
    min-height: 30px !important;
    padding: 4px 4px !important;
    font-size: 10.2px !important;
    gap: 3px !important;
  }
}


/* ==========================================================================
   AMAR KHULNA v5.6.0 — FINAL 9 UPAZILAS CAROUSEL REFINEMENT (#khulna-9-upazilas)
   - Very Light Premium Green Palette:
     * Section background: #F1FAF5 (gradient #F7FCF9 -> #EAF7EF)
     * Border: #D6EBDD
     * Heading: #173D30
     * Description: #61786D
     * Card background: #FFFFFF
     * Primary buttons ("সব উপজেলা দেখুন →" & card button): #075B40
   - Mobile (320px - 767px): Strictly 2 complete cards side by side (zero 3rd-card cutoff)
   - Tablet (768px - 991px): 3 complete cards
   - Desktop (992px - 1440px+): 4 to 5 complete cards
   - Hidden scrollbar + smooth slow-motion RTL auto-scroll + full finger-swipe & drag
   ========================================================================== */

#khulna-9-upazilas.ak-hp-upazilas-sec,
.ak-hp-upazilas-sec.ak-upazila-promo-banner {
  position: relative !important;
  isolation: isolate !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 26px 0 !important;
  padding: 24px 22px 22px !important;
  border-radius: 22px !important;
  background-color: #F1FAF5 !important;
  background-image: linear-gradient(145deg, #F7FCF9 0%, #EAF7EF 100%) !important;
  border: 1px solid #D6EBDD !important;
  box-shadow: 0 8px 26px rgba(7, 91, 64, 0.06) !important;
  color: #173D30 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Remove any legacy dark-green pseudo-element overlays */
#khulna-9-upazilas.ak-upazila-promo-banner::before,
#khulna-9-upazilas.ak-upazila-promo-banner::after,
.ak-hp-upazilas-sec.ak-upazila-promo-banner::before,
.ak-hp-upazilas-sec.ak-upazila-promo-banner::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

#khulna-9-upazilas .ak-hp-upz-header {
  margin-bottom: 18px !important;
}

#khulna-9-upazilas .ak-hp-sec-emblem.is-upz-emblem {
  background: #DFF3E8 !important;
  border: 1px solid #C5E4D3 !important;
  box-shadow: 0 3px 10px rgba(7, 91, 64, 0.08) !important;
}

#khulna-9-upazilas .ak-hp-upz-sec-title,
#khulna-9-upazilas .ak-hp-sec-title {
  color: #173D30 !important;
  text-shadow: none !important;
}

#khulna-9-upazilas .ak-hp-upz-sec-subtitle,
#khulna-9-upazilas .ak-hp-sec-subtitle {
  color: #61786D !important;
  text-shadow: none !important;
}

#khulna-9-upazilas .ak-hp-upz-viewall-btn,
#khulna-9-upazilas .ak-hp-sec-btn {
  background: #075B40 !important;
  border: 1px solid #075B40 !important;
  color: #FFFFFF !important;
  backdrop-filter: none !important;
  box-shadow: 0 4px 12px rgba(7, 91, 64, 0.18) !important;
}

#khulna-9-upazilas .ak-hp-upz-viewall-btn:hover,
#khulna-9-upazilas .ak-hp-sec-btn:hover {
  background: #054731 !important;
  border-color: #054731 !important;
  color: #FFFFFF !important;
}

/* Carousel Viewport: Hide Native Scrollbar While Keeping Full Touch Swipe & Drag */
#khulna-9-upazilas .ak-hp-upz-viewport {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  cursor: grab !important;
  user-select: none !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: auto !important;
  touch-action: pan-x pan-y pinch-zoom !important;
  padding: 2px 0 6px !important;
  box-sizing: border-box !important;
}

#khulna-9-upazilas .ak-hp-upz-viewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#khulna-9-upazilas .ak-hp-upz-viewport.is-dragging {
  cursor: grabbing !important;
}

/* Flex Track: width: 100% with nowrap lets percentage flex-basis resolve against viewport width */
#khulna-9-upazilas .ak-hp-upz-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: var(--ak-upz-gap, 16px) !important;
  width: max-content !important;
  box-sizing: border-box !important;
}

/* Desktop (1200px+): Exactly 5 Complete Cards Side by Side */
#khulna-9-upazilas .ak-hp-upz-card {
  width: var(--ak-upz-card-w, calc((100% - 64px) / 5)) !important;
  flex: 0 0 var(--ak-upz-card-w, calc((100% - 64px) / 5)) !important;
  max-width: var(--ak-upz-card-w, calc((100% - 64px) / 5)) !important;
  min-width: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #D6EBDD !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 5px 16px rgba(7, 91, 64, 0.07) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
  box-sizing: border-box !important;
}

#khulna-9-upazilas .ak-hp-upz-card:hover {
  transform: translateY(-3px) !important;
  border-color: #B5DEC5 !important;
  box-shadow: 0 10px 24px rgba(7, 91, 64, 0.13) !important;
}

#khulna-9-upazilas .ak-hp-upz-card-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
}

#khulna-9-upazilas .ak-hp-upz-media {
  position: relative !important;
  width: 100% !important;
  height: 132px !important;
  flex: 0 0 132px !important;
  overflow: hidden !important;
  background: #E2F3EA !important;
}

#khulna-9-upazilas .ak-hp-upz-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

#khulna-9-upazilas .ak-hp-upz-card:hover .ak-hp-upz-media img {
  transform: scale(1.05) !important;
}

#khulna-9-upazilas .ak-hp-upz-union-pill {
  position: absolute !important;
  bottom: 7px !important;
  left: 7px !important;
  max-width: calc(100% - 14px) !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(7, 65, 45, 0.88) !important;
  backdrop-filter: blur(4px) !important;
  color: #FFFFFF !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#khulna-9-upazilas .ak-hp-upz-body {
  padding: 12px 12px 13px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  text-align: center !important;
  background: #FFFFFF !important;
}

#khulna-9-upazilas .ak-hp-upz-name {
  margin: 0 0 4px !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  color: #173D30 !important;
}

#khulna-9-upazilas .ak-hp-upz-desc {
  margin: 0 0 10px !important;
  font-size: 11.8px !important;
  line-height: 1.45 !important;
  color: #61786D !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

#khulna-9-upazilas .ak-hp-upz-more {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  gap: 4px !important;
  width: 100% !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: #075B40 !important;
  color: #FFFFFF !important;
  font-size: 11.8px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  transition: background-color 0.2s ease !important;
  box-sizing: border-box !important;
}

#khulna-9-upazilas .ak-hp-upz-card:hover .ak-hp-upz-more {
  background: #054731 !important;
  color: #FFFFFF !important;
}

/* Medium Desktop (992px - 1199px): 4 Complete Cards */
@media (max-width: 1199px) {
  #khulna-9-upazilas .ak-hp-upz-track {
    gap: var(--ak-upz-gap, 14px) !important;
  }
  #khulna-9-upazilas .ak-hp-upz-card {
    width: var(--ak-upz-card-w, calc((100% - 42px) / 4)) !important;
    flex: 0 0 var(--ak-upz-card-w, calc((100% - 42px) / 4)) !important;
    max-width: var(--ak-upz-card-w, calc((100% - 42px) / 4)) !important;
  }
}

/* Tablet (768px - 991px): 3 Complete Cards */
@media (max-width: 991px) {
  #khulna-9-upazilas .ak-hp-upz-track {
    gap: var(--ak-upz-gap, 12px) !important;
  }
  #khulna-9-upazilas .ak-hp-upz-card {
    width: var(--ak-upz-card-w, calc((100% - 24px) / 3)) !important;
    flex: 0 0 var(--ak-upz-card-w, calc((100% - 24px) / 3)) !important;
    max-width: var(--ak-upz-card-w, calc((100% - 24px) / 3)) !important;
  }
}

/* Mobile Breakpoint (320px to 767px): STRICTLY TWO COMPLETE CARDS SIDE BY SIDE */
@media (max-width: 767px) {
  #khulna-9-upazilas.ak-hp-upazilas-sec,
  .ak-hp-upazilas-sec.ak-upazila-promo-banner {
    padding: 15px 12px 15px !important;
    border-radius: 18px !important;
    margin-bottom: 18px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-header {
    margin-bottom: 12px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-sec-title,
  #khulna-9-upazilas .ak-hp-sec-title {
    font-size: 18.5px !important;
    line-height: 1.25 !important;
  }

  #khulna-9-upazilas .ak-hp-upz-sec-subtitle,
  #khulna-9-upazilas .ak-hp-sec-subtitle {
    font-size: 12px !important;
    line-height: 1.42 !important;
  }

  #khulna-9-upazilas .ak-hp-upz-viewall-btn,
  #khulna-9-upazilas .ak-hp-sec-btn {
    padding: 6px 11px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }

  #khulna-9-upazilas .ak-hp-upz-viewport {
    padding: 2px 0 4px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-track {
    gap: var(--ak-upz-gap, 10px) !important;
  }

  /* Strictly 2 full cards side by side: (100% - 10px gap) / 2 */
  #khulna-9-upazilas .ak-hp-upz-card {
    width: var(--ak-upz-card-w, calc((100vw - 56px) / 2)) !important;
    flex: 0 0 var(--ak-upz-card-w, calc((100vw - 56px) / 2)) !important;
    max-width: var(--ak-upz-card-w, calc((100vw - 56px) / 2)) !important;
    border-radius: 13px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-media {
    height: 100px !important;
    flex: 0 0 100px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-union-pill {
    bottom: 6px !important;
    left: 6px !important;
    padding: 2px 7px !important;
    font-size: 9.2px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-body {
    padding: 9px 9px 10px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-name {
    font-size: 14px !important;
    margin-bottom: 3px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-desc {
    font-size: 10.8px !important;
    line-height: 1.38 !important;
    margin-bottom: 8px !important;
    -webkit-line-clamp: 2 !important;
  }

  #khulna-9-upazilas .ak-hp-upz-more {
    padding: 5px 8px !important;
    font-size: 10.8px !important;
  }
}

/* Compact Mobile (320px to 359px): Strictly 2 Complete Cards with 8px Gap */
@media (max-width: 359px) {
  #khulna-9-upazilas.ak-hp-upazilas-sec,
  .ak-hp-upazilas-sec.ak-upazila-promo-banner {
    padding: 13px 10px 13px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-track {
    gap: var(--ak-upz-gap, 8px) !important;
  }

  #khulna-9-upazilas .ak-hp-upz-card {
    width: var(--ak-upz-card-w, calc((100vw - 48px) / 2)) !important;
    flex: 0 0 var(--ak-upz-card-w, calc((100vw - 48px) / 2)) !important;
    max-width: var(--ak-upz-card-w, calc((100vw - 48px) / 2)) !important;
  }

  #khulna-9-upazilas .ak-hp-upz-media {
    height: 90px !important;
    flex: 0 0 90px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-body {
    padding: 8px 7px 9px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-name {
    font-size: 13px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-desc {
    font-size: 10.2px !important;
  }

  #khulna-9-upazilas .ak-hp-upz-more {
    padding: 4px 6px !important;
    font-size: 10.2px !important;
  }
}

/* ==========================================================================
   AMAR KHULNA v5.6.2 — TOURIST ATTRACTIONS CAROUSEL TOUCH SWIPE & DRAG FIX
   Preserves 100% of existing visual design while ensuring smooth 1:1 finger
   swipe & mouse drag with native vertical page scrolling (pan-y).
   ========================================================================== */
#khulna-attractions .ak-hattr-viewport,
.ak-hattr-section .ak-hattr-viewport {
  touch-action: pan-y pinch-zoom !important;
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: grab !important;
}

#khulna-attractions .ak-hattr-viewport.is-dragging,
.ak-hattr-section .ak-hattr-viewport.is-dragging,
#khulna-attractions .ak-hattr-viewport.is-dragging .ak-hattr-card-link,
.ak-hattr-section .ak-hattr-viewport.is-dragging .ak-hattr-card-link {
  cursor: grabbing !important;
}

#khulna-attractions .ak-hattr-card-link,
#khulna-attractions .ak-hattr-card-img,
.ak-hattr-section .ak-hattr-card-link,
.ak-hattr-section .ak-hattr-card-img {
  -webkit-user-drag: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
