:root {
  --bg-dark: #0a0a0a;
  --bg-panel: rgba(15, 15, 15, 0.45);
  --border-soft: rgba(255, 255, 255, 0.12);
  --text-soft: rgba(255, 255, 255, 0.86);
  --lime: #9be114;
  --cyan: #22d3ee;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Be Vietnam Pro", Arial, Helvetica, sans-serif;

  padding-top: 96px;
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(20, 22, 46, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-section {
  background-color: var(--bg-dark);
}

.hero-bg {
  background-image: url("../img/hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.54)),
    linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.1));
}

.hero-title {
  color: #ffffff;
  text-shadow:
    0 5px 14px rgba(0, 0, 0, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.4);
}

.nav-link,
.mobile-nav-link {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.mobile-nav-link:hover {
  color: var(--lime);
}

.nav-link-active,
.mobile-nav-link-active {
  color: var(--lime);
}

.desktop-menu {
  position: relative;
}

.desktop-menu > li {
  position: relative;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
}

.desktop-submenu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 8.75rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: rgba(96, 96, 108, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 80;
}

.desktop-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0.7rem;
}

.menu-item-has-children:hover > .desktop-submenu,
.menu-item-has-children:focus-within > .desktop-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.desktop-submenu li {
  margin: 0;
}

.desktop-submenu a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.desktop-submenu a:hover,
.desktop-submenu a.is-current {
  color: #d7ff00;
}

.mobile-submenu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
}

.mobile-submenu-toggle i {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.mobile-submenu-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-submenu {
  margin-top: 0.4rem;
  padding: 0.4rem 0.35rem 0.15rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-submenu-link {
  display: block;
  padding: 0.6rem 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-submenu-link:hover,
.mobile-submenu-link.is-current {
  color: #d7ff00;
}


.mobile-nav-link {
  display: block;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.icon-button,
.mobile-menu-toggle,
.floating-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.icon-button {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.icon-button-dark {
  background: rgba(0, 0, 0, 0.45);
}

.header-call-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.75rem;
  padding: 0 1rem 0 0.9rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #a3e635, #84cc16);
  color: #08110a;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 24px rgba(132, 204, 22, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-call-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px rgba(132, 204, 22, 0.28);
}

.header-call-button i {
  width: 1rem;
  height: 1rem;
}


.icon-button i,
.mobile-menu-toggle i,
.floating-chat i {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu-toggle {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-menu {
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  padding: 1rem;
  background: var(--bg-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.5rem;
  border-radius: 0.9rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.cta-primary {
  background: var(--lime);
  color: #000;
}

.cta-primary:hover {
  background: #b2ef32;
}

.cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.floating-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  height: 4rem;
  width: 4rem;
  background: var(--cyan);
  color: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.floating-chat:hover {
  transform: scale(1.04);
}

@media (min-width: 640px) {
  .floating-chat {
    height: 4.25rem;
    width: 4.25rem;
  }
}


.bee-info-section {
  background: #24253a;
}

.bee-mascot-media {
  width: min(100%, 260px);
}

.bee-mascot-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.bee-section-title {
  color: #19f0ff;
  letter-spacing: -0.04em;
}

.bee-section-text {
  color: rgba(255, 255, 255, 0.97);
  font-weight: 500;
}

.bee-highlight {
  color: #d8ff28;
  font-weight: 800;
}

@media (max-width: 1023px) {
  .bee-info-section {
    text-align: center;
  }
}


.bee-info-section .mx-auto{max-width:1200px;}
.bee-info-section .grid{align-items:center;}

@media (min-width: 1024px) {
  .bee-info-section .mx-auto {
    padding-top: 4.25rem !important;
    padding-bottom: 4.25rem !important;
    grid-template-columns: 320px minmax(0,1fr) !important;
    gap: 3rem !important;
  }

  .bee-mascot-media {
    width: min(100%, 320px);
  }

  .bee-section-title {
    font-size: 3.2rem !important;
    line-height: 1.15 !important;
  }

  .bee-section-text {
    font-size: 1.12rem !important;
    line-height: 1.7 !important;
  }
}

@media (max-width: 1023px) {
  .bee-info-section .mx-auto {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .bee-section-title {
    font-size: 2.35rem !important;
  }

  .bee-section-text {
    font-size: 1rem !important;
    line-height: 1.75 !important;
  }
}


.popular-posts-section {
  background: #040726;
}

.popular-posts-header {
  position: relative;
}

.popular-posts-title {
  margin: 0;
  color: #19f0ff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.popular-posts-divider {
  margin-top: 1.25rem;
  height: 3px;
  width: 100%;
  background: #08e8ff;
  box-shadow: 0 0 12px rgba(8, 232, 255, 0.22);
}

.popular-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.popular-post-card {
  display: flex;
  flex-direction: column;
}

.popular-post-thumb {
  display: block;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.32);
}

.popular-post-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 41 / 47;
  object-fit: cover;
}

.popular-post-caption {
  margin: 1.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.2rem, 1.45vw, 1.7rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 1023px) {
  .popular-posts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .popular-post-caption {
    margin-top: 1rem;
    font-size: 1.3rem;
  }
}

.popular-posts-section {
  background: #030627;
}

.popular-posts-section .mx-auto {
  max-width: 1200px;
}

.popular-posts-header {
  margin-bottom: 0;
}

.popular-posts-title {
  margin: 0;
  color: #19f0ff;
  font-size: clamp(2.45rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.popular-posts-divider {
  width: 100%;
  height: 3px;
  margin-top: 1rem;
  background: #13ebff;
}

.popular-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.popular-post-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.popular-post-thumb {
  display: block;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.popular-post-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.popular-post-caption {
  margin: 1.55rem 0 0;
  color: #ffffff;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

@media (max-width: 1023px) {
  .popular-posts-section .mx-auto {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .popular-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .popular-posts-title {
    font-size: 2.3rem;
  }

  .popular-posts-divider {
    margin-top: 0.85rem;
  }

  .popular-posts-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .popular-post-card {
    max-width: 480px;
  }

  .popular-post-caption {
    margin-top: 1rem;
    font-size: 1.12rem;
  }
}

@media (min-width: 1024px) {
  .popular-posts-section .mx-auto {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}


.recent-posts-section {
  background: #030627;
}

.recent-posts-section .mx-auto {
  max-width: 1200px;
}

.recent-posts-header-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.recent-posts-title {
  margin: 0;
  color: #19f0ff;
  font-size: clamp(2.45rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.recent-posts-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 11.5rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.35rem;
  border: 1.5px solid rgba(19, 235, 255, 0.85);
  border-radius: 0.75rem;
  color: #19f0ff;
  font-size: 1.05rem;
  font-weight: 800;
  background: transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.recent-posts-more:hover {
  background: rgba(19, 235, 255, 0.08);
  transform: translateY(-1px);
}

.recent-posts-more span {
  font-size: 1.5rem;
  line-height: 1;
}

.recent-posts-divider {
  width: 100%;
  height: 3px;
  margin-top: 1rem;
  background: #13ebff;
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 20px;
  align-items: start;
}

.recent-post-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.recent-post-thumb {
  display: block;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.recent-post-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.recent-post-title {
  margin: 1.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-excerpt {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .recent-posts-section .mx-auto {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}

@media (max-width: 1023px) {
  .recent-posts-section .mx-auto {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .recent-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .recent-posts-header-row {
    flex-direction: column;
    align-items: start;
  }

  .recent-posts-title {
    font-size: 2.3rem;
  }

  .recent-posts-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .recent-post-card {
    max-width: 480px;
  }

  .recent-post-excerpt {
    font-size: 0.95rem;
  }
}


.site-footer {
  background: #083748;
}

.site-footer-inner {
  position: relative;
  min-height: 128px;
  max-width: 1400px;
  padding-top: 0.4rem;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  width: calc(100% - 170px);
  margin: 0 auto;
  text-align: center;
}

.site-footer-nav a {
  color: #d7e3e8;
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer-nav a:not(:last-child)::after {
  content: '|';
  margin-left: 0.7rem;
  color: rgba(215,227,232,0.82);
}

.site-footer-copy {
  width: calc(100% - 170px);
  margin: 1.1rem auto 0;
  color: #c4d3d9;
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 600;
  text-align: center;
}

.site-footer-badge {
  position: absolute;
  right: 1.25rem;
  bottom: 0.5rem;
  width: 122px;
  max-width: 20vw;
  height: auto;
}

@media (max-width: 1023px) {
  .site-footer-inner {
    min-height: 0;
    padding-top: 1.75rem !important;
    padding-bottom: 7.25rem !important;
  }

  .site-footer-nav,
  .site-footer-copy {
    padding-right: 0;
  }

  .site-footer-badge {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1rem;
    width: 112px;
    max-width: 40vw;
  }
}

@media (max-width: 767px) {
  .site-footer-nav {
    gap: 0.45rem 0.65rem;
  }

  .site-footer-nav a {
    font-size: 0.92rem;
  }

  .site-footer-nav a:not(:last-child)::after {
    margin-left: 0.65rem;
  }

  .site-footer-copy {
    margin-top: 0.95rem;
    font-size: 0.84rem;
    line-height: 1.45;
  }
}



/* ===== List page ===== */
.list-page {
  background: #010527;
}

.list-page-header {
  background: rgba(2, 4, 32, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.list-hero {
  position: relative;
  overflow: hidden;
  background: #050b31;
}

.list-hero-bg,
.list-hero-overlay {
  position: absolute;
  inset: 0;
}

.list-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(8, 11, 48, 0.18), rgba(8, 11, 48, 0.18)),
    url("../img/hero-bg.svg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(0.75) brightness(0.72);
}

.list-hero-overlay {
  background:
    linear-gradient(to bottom, rgba(1, 5, 39, 0.28), rgba(1, 5, 39, 0.42)),
    linear-gradient(to top, rgba(1, 5, 39, 0.8), rgba(1, 5, 39, 0));
}

.list-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 31rem;
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
}

.list-posts-section {
  position: relative;
  background: #010527;
}

.list-posts-inner {
  max-width: 1200px !important;
}

.list-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem 20px;
  align-items: start;
}

.list-post-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.list-post-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.list-post-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 41 / 47;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.list-post-thumb:hover img {
  transform: scale(1.03);
}

.list-post-title {
  margin: 1.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.list-post-card-featured .list-post-thumb img {
  aspect-ratio: 41 / 47;
}

@media (min-width: 1024px) {
  .list-posts-inner {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }

  .list-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .list-post-card-featured {
    grid-column: 1 / span 1;
  }
}

@media (max-width: 1023px) {
  .list-hero-inner {
    min-height: 27rem;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .list-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .list-hero-inner {
    min-height: 22rem;
    padding-top: 4rem;
    padding-bottom: 3.25rem;
  }

  .list-posts-grid {
    grid-template-columns: 1fr;
  }

  .list-post-card {
    max-width: 360px;
  }
}


/* ===== Category page ===== */
.category-page {
  background: #010527;
}

.category-page-header {
  background: rgba(2, 4, 32, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #02113f 0%, #031744 42%, #02103a 100%);
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 4, 28, 0.08), rgba(0, 4, 28, 0.2)),
    linear-gradient(to top, rgba(1, 5, 39, 0.4), rgba(1, 5, 39, 0));
}

.category-hero-wave {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.category-hero-wave-1 {
  top: -14rem;
  width: 118rem;
  height: 42rem;
  background: rgba(8, 57, 99, 0.78);
}

.category-hero-wave-2 {
  top: -9.5rem;
  width: 106rem;
  height: 34rem;
  background: rgba(7, 40, 84, 0.82);
}

.category-hero-wave-3 {
  top: -5rem;
  width: 94rem;
  height: 26rem;
  background: rgba(6, 29, 70, 0.88);
}

.category-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  text-align: center;
}

.category-hero-title {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.category-posts-section {
  background: #010527;
}

.category-posts-inner {
  max-width: 1320px !important;
}

.category-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 20px;
  align-items: start;
}

.category-post-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.category-post-thumb {
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.category-post-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 41 / 43;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-post-thumb:hover img {
  transform: scale(1.03);
}

.category-post-title {
  margin: 1.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.category-post-title-accent {
  color: #18f0ff;
}

@media (min-width: 768px) {
  .category-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .category-posts-inner {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }

  .category-posts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-hero-inner {
    min-height: 15rem;
    padding-top: 1.5rem;
    padding-bottom: 1.2rem;
  }
}

@media (max-width: 1023px) {
  .category-hero-wave-1 {
    width: 90rem;
    height: 34rem;
    top: -11rem;
  }

  .category-hero-wave-2 {
    width: 82rem;
    height: 28rem;
    top: -7.5rem;
  }

  .category-hero-wave-3 {
    width: 72rem;
    height: 22rem;
    top: -4rem;
  }

  .category-hero-inner {
    min-height: 13rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .category-posts-inner {
    padding-top: 2.5rem !important;
  }
}

@media (max-width: 767px) {
  .category-hero-title {
    font-size: 2.75rem;
  }

  .category-hero-wave-1 {
    width: 62rem;
    height: 24rem;
    top: -8rem;
  }

  .category-hero-wave-2 {
    width: 56rem;
    height: 20rem;
    top: -5.5rem;
  }

  .category-hero-wave-3 {
    width: 48rem;
    height: 16rem;
    top: -3rem;
  }

  .category-hero-inner {
    min-height: 10.5rem;
    padding-top: 1.1rem;
    padding-bottom: 1rem;
  }

  .category-posts-grid {
    gap: 1.8rem;
  }

  .category-post-card {
    max-width: 360px;
  }

  .category-post-title {
    margin-top: 1rem;
    font-size: 1.08rem;
  }
}


/* ===== Detail page ===== */
.detail-page {
  background: #010527;
}

.detail-page-header {
  background: rgba(2, 4, 32, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.detail-main {
  background: #010527;
}

.detail-top-nav {
  position: relative;
  z-index: 30;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #02082f;
}

.detail-container {
  max-width: 1240px !important;
}

.detail-category-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.35rem 2rem;
  overflow: visible;
  white-space: nowrap;
  padding: 1.45rem 0;
  scrollbar-width: none;
  z-index: 31;
}

.detail-category-nav::-webkit-scrollbar {
  display: none;
}

.detail-category-nav a {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.detail-category-nav a:hover,
.detail-category-nav a.is-current {
  color: #18f0ff;
}

.detail-more-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  z-index: 32;
}

.detail-more-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.detail-more-icon {
  display: inline-block;
  font-size: 0.8rem;
  line-height: 1;
  color: currentColor;
  transition: transform 0.2s ease, color 0.2s ease;
}

.detail-more-dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  width: 13.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(2, 8, 47, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.detail-more-dropdown li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-more-dropdown a {
  display: block;
  padding: 1.15rem 1.45rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.detail-more-dropdown a:hover,
.detail-more-dropdown a.is-current {
  color: #18f0ff;
  background: rgba(255, 255, 255, 0.02);
}

.detail-more-menu:hover .detail-more-dropdown,
.detail-more-menu:focus-within .detail-more-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.detail-more-menu:hover .detail-more-icon,
.detail-more-menu:focus-within .detail-more-icon {
  color: #18f0ff;
}

.detail-article-shell {
  position: relative;
  padding: 2rem 0 0;
}

.detail-article-container {
  padding-bottom: 4rem;
}

.detail-article-card,
.detail-comment-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(1, 5, 39, 0.35);
}

.detail-article-card {
  padding: 3.25rem 3.25rem 2.8rem;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-weight: 700;
}

.detail-meta img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}

.detail-title {
  margin: 1.75rem 0 1.4rem;
  color: #ff4eb8;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-intro {
  margin: 0;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 600;
}

.detail-hero-figure {
  margin-top: 1.8rem;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
}

.detail-hero-figure img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.detail-content {
  margin-top: 2.5rem;
}

.detail-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.45);
  margin: 2.25rem 0;
}

.detail-mini-title {
  margin: 0 0 1.35rem;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 800;
}

.detail-toc ol {
  margin: 0;
  padding-left: 2rem;
}

.detail-toc li {
  margin: 0.5rem 0;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
}

.detail-toc a {
  color: #10eafc;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.detail-section-title {
  margin: 0 0 1.4rem;
  color: #b8ff1d;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.detail-section p,
.detail-subsection p {
  margin: 0 0 1.2rem;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.72;
  font-weight: 500;
}

.detail-subsection {
  margin-top: 2rem;
}

.detail-subsection h3 {
  margin: 0 0 0.85rem;
  color: #d7ff67;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.detail-reference {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1rem;
  border-left: 4px solid #18f0ff;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.detail-reference a {
  color: #10eafc;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.detail-table-wrap {
  overflow-x: auto;
  margin-top: 1.6rem;
}

.detail-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid rgba(255,255,255,0.16);
}

.detail-table th,
.detail-table td {
  padding: 1rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  font-size: 1rem;
  text-align: left;
  vertical-align: top;
}

.detail-table th {
  font-weight: 800;
  background: rgba(255,255,255,0.03);
}

.detail-bullet-list {
  margin: 0;
  padding-left: 1.5rem;
}

.detail-bullet-list li {
  margin-bottom: 0.7rem;
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 500;
}

.detail-reserve-note {
  margin-top: 1.75rem !important;
  color: #ff9a00 !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
}

.detail-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 1.8rem;
}

.detail-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 430px;
  padding: 1.8rem 1.2rem 1.5rem;
  text-align: center;
}

.detail-cta-kakao {
  background: #f4e234;
  color: #3d1c1c;
}

.detail-cta-telegram {
  background: #51add9;
  color: #ffffff;
}

.detail-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  background: #f8de0a;
  color: #44211b;
  font-size: 2.8rem;
  font-weight: 900;
  box-shadow: inset 0 -10px 20px rgba(0,0,0,0.18);
}

.detail-cta-icon-telegram {
  background: #33a1d8;
  color: #ffffff;
  font-size: 5rem;
}

.detail-cta-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.detail-cta-desc {
  margin-top: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 800;
}

.detail-cta-price {
  margin-top: auto;
  min-width: 19rem;
  padding: 0.55rem 1rem;
  border: 2px solid rgba(0,0,0,0.4);
  color: #111144;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: rgba(255,255,255,0.08);
}

.detail-taxonomy {
  margin-top: 2rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.detail-taxonomy a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.detail-related {
  padding: 2.5rem 0 0;
}

.detail-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.detail-related-head h2,
.detail-comment-box h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.detail-related-head a {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}

.detail-related-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.01);
}

.detail-related-thumb {
  display: block;
  overflow: hidden;
}

.detail-related-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 41 / 23;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.detail-related-card:hover img {
  transform: scale(1.03);
}

.detail-related-card h3 {
  margin: 1.2rem;
}

.detail-related-card h3 a {
  color: #ff4eb8;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-comment-box {
  margin-top: 2.5rem;
  padding: 3rem 3.25rem;
}

.detail-comment-box input {
  width: 100%;
  height: 4.6rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  padding: 0 1.2rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.detail-comment-box input::placeholder {
  color: rgba(255,255,255,0.92);
}

@media (min-width: 1024px) {
  .detail-container {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}

@media (max-width: 1023px) {
  .detail-article-card,
  .detail-comment-box {
    padding: 2.4rem 2rem;
  }

  .detail-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .detail-cta-grid {
    grid-template-columns: 1fr;
  }

  .detail-cta {
    min-height: 360px;
  }

  .detail-cta-price {
    min-width: 16rem;
  }
}

@media (max-width: 767px) {
  .detail-category-nav {
    gap: 1rem 1.25rem;
    padding: 1rem 0;
  }

  .detail-category-nav a {
    font-size: 0.95rem;
  }

  .detail-article-shell {
    padding-top: 1rem;
  }

  .detail-article-card,
  .detail-comment-box {
    padding: 1.4rem 1rem;
  }

  .detail-title {
    margin-top: 1.25rem;
    font-size: 2rem;
  }

  .detail-intro,
  .detail-section p,
  .detail-subsection p,
  .detail-bullet-list li,
  .detail-toc li {
    font-size: 1rem;
  }

  .detail-section-title {
    font-size: 1.9rem;
  }

  .detail-subsection h3 {
    font-size: 1.5rem;
  }

  .detail-reserve-note {
    font-size: 1.2rem !important;
  }

  .detail-related-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-related-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .detail-cta {
    min-height: 320px;
    padding: 1.4rem 1rem 1.2rem;
  }

  .detail-cta-icon {
    width: 7rem;
    height: 7rem;
    font-size: 2rem;
  }

  .detail-cta-icon-telegram {
    font-size: 3.5rem;
  }

  .detail-cta-name {
    font-size: 1.8rem;
  }

  .detail-cta-desc {
    font-size: 1rem;
  }

  .detail-cta-price {
    min-width: 12rem;
    font-size: 2.2rem;
  }

  .detail-comment-box input {
    height: 4rem;
    font-size: 1rem;
  }
}

/* ↓ thu nhỏ toàn bộ hero content */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* nhỏ lại */
}

.hero-section p {
  font-size: 0.95rem;
}

.cta-primary,
.cta-secondary {
  min-height: 2.6rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
}



.header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  margin-right: 0.55rem;
}

.header-call-button-mobile {
  height: 2.75rem;
  padding: 0 0.85rem 0 0.8rem;
  font-size: 0.8rem;
  gap: 0.42rem;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(132, 204, 22, 0.18);
}

.header-call-button-mobile i {
  width: 0.95rem;
  height: 0.95rem;
}

.icon-button i,
.header-call-button i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-submenu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
}

.mobile-submenu-toggle span {
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-submenu-toggle i {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  transition: transform 0.25s ease;
}

.mobile-submenu-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .site-header nav {
    gap: 0.5rem;
  }

  .site-header nav > a[aria-label="Trang chủ Da Nang Tip"] {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header nav > a[aria-label="Trang chủ Da Nang Tip"] span {
    min-width: 0;
  }

  .site-header nav > a[aria-label="Trang chủ Da Nang Tip"] strong {
    font-size: 1rem;
  }

  .site-header nav > a[aria-label="Trang chủ Da Nang Tip"] .block.text-xs {
    font-size: 0.68rem;
  }

  .header-mobile-actions {
    gap: 0.45rem;
    margin-right: 0.4rem;
  }

  .header-call-button-mobile {
    padding: 0 0.75rem 0 0.72rem;
    font-size: 0.74rem;
  }

  .mobile-menu {
    padding: 0.9rem;
  }

  .mobile-nav-link,
  .mobile-submenu-toggle,
  .mobile-submenu-link {
    font-size: 0.88rem;
  }
}

.site-header img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.bee-mascot-media {
  width: min(100%, 260px);
}

.bee-mascot-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* CONTACT_FLOATING_ENHANCED */
.hero-cta-group {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  max-width: 58rem;
}

.cta-contact {
  position: relative;
  justify-content: flex-start;
  gap: 0.9rem;
  min-height: 4.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1.2rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cta-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.cta-contact span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.cta-contact strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.cta-contact small {
  margin-top: 0.25rem;
  font-size: 0.76rem;
  opacity: 0.78;
  font-weight: 700;
}

.cta-icon {
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.cta-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.cta-zalo {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.24), rgba(6, 182, 212, 0.12));
}

.cta-whatsapp {
  border-color: rgba(74, 222, 128, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(74, 222, 128, 0.12));
}

.cta-blog {
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-fixed {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-fab {
  position: relative;
  width: 3.85rem;
  height: 3.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: contactFloat 3.2s ease-in-out infinite;
}

.contact-fab:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.contact-fab::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-fab:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


.contact-fab-badge {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: -10px;

  min-width: max-content;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
  pointer-events: none;
}

.contact-fab-badge-kakao {
  background: #3c1e1e;
  color: #fee500;
}
.contact-fab-kakao::before { display: none; }

.contact-fab-icon,
.contact-fab-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-fab-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.contact-fab-text {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.contact-fab-phone {
  background: linear-gradient(135deg, #b9ff34, #7ce500);
  color: #0f172a;
}

.contact-fab-zalo {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.contact-fab-kakao {
  background: #fee500;
  color: #3c1e1e;
  animation-delay: 0.32s;
}

.contact-fab-whatsapp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  animation-delay: 0.35s;
}

.contact-fab-zalo {
  animation-delay: 0.18s;
}

.contact-fab-phone::after,
.contact-fab-whatsapp::after {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border-radius: inherit;
  border: 1px solid currentColor;
  opacity: 0.16;
  animation: contactPulse 2.2s ease-out infinite;
}

.contact-fab-whatsapp::after {
  animation-delay: 0.5s;
}

@keyframes contactFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes contactPulse {
  0% { transform: scale(0.96); opacity: 0.22; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

@media (min-width: 640px) {
  .hero-cta-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-fixed {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}

@media (max-width: 639px) {
  .cta-contact {
    min-height: 3.9rem;
    padding: 0.85rem 1rem;
  }

  .cta-contact strong {
    font-size: 0.92rem;
  }

  .cta-contact small {
    font-size: 0.72rem;
  }

  .contact-fab {
    width: 3.45rem;
    height: 3.45rem;
  }

  .contact-fab::before {
    display: none;
  }
}


/* ===== Hero CTA smaller refined buttons ===== */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-width: 10.8rem;
  min-height: 3.85rem;
  padding: 0.95rem 1.45rem;
  border-radius: 1.1rem;
  font-size: 0.98rem;
  line-height: 1.15;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
}

.hero-cta-btn-primary {
  background: #a3e635;
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(132, 204, 22, 0.28);
}

.hero-cta-btn-primary:hover {
  background: #b7f34a;
}

.hero-cta-btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-cta-btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-cta-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .hero-cta-row {
    gap: 0.75rem;
  }

  .hero-cta-btn {
    min-width: 9.5rem;
    min-height: 3.3rem;
    padding: 0.78rem 1rem;
    border-radius: 0.95rem;
    font-size: 0.9rem;
  }

  .hero-cta-icon {
    width: 1.05rem;
    height: 1.05rem;
  }
}

/* ===== Contact phone subtle shake ===== */
.contact-fab-phone {
  animation: contactPhoneAttention 4.8s ease-in-out infinite;
}

.contact-fab-phone:hover {
  animation-play-state: paused;
}

.contact-fab-zalo,
.contact-fab-whatsapp {
  animation-name: contactFloat;
}

@keyframes contactPhoneAttention {
  0%, 18%, 100% { transform: translateY(0) rotate(0deg); }
  3% { transform: translateY(-2px) rotate(-6deg); }
  6% { transform: translateY(0) rotate(6deg); }
  9% { transform: translateY(-2px) rotate(-5deg); }
  12% { transform: translateY(0) rotate(5deg); }
  15% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(0deg); }
}


/* ===== Final polish overrides ===== */
.hero-cta-btn {
  min-width: 9.8rem;
  min-height: 3.25rem;
  padding: 0.72rem 1.2rem;
  border-radius: 1rem;
  font-size: 0.93rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.hero-cta-btn-primary {
  box-shadow: 0 12px 24px rgba(163, 230, 53, 0.24);
}

.hero-cta-btn-glass {
  background: rgba(255, 255, 255, 0.07);
}

.hero-cta-icon {
  width: 1.08rem;
  height: 1.08rem;
}

.contact-fab {
  width: 3.7rem;
  height: 3.7rem;
}

.contact-fab-zalo-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.contact-fab-phone {
  animation: contactPhonePulse 2.2s infinite;
}

.contact-fab-phone::after {
  animation: contactPhoneRing 2.2s ease-out infinite;
  opacity: 0.24;
}

.contact-fab-phone:hover {
  animation-play-state: paused;
}

@keyframes contactPhonePulse {
  0% { transform: scale(1); }
  8% { transform: scale(1.04) rotate(-4deg); }
  16% { transform: scale(1) rotate(4deg); }
  24% { transform: scale(1.03) rotate(-3deg); }
  32% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1); }
}

@keyframes contactPhoneRing {
  0% { transform: scale(0.96); opacity: 0.28; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

@media (max-width: 639px) {
  .hero-cta-btn {
    min-width: 8.8rem;
    min-height: 3rem;
    padding: 0.68rem 0.95rem;
    font-size: 0.86rem;
  }

  .contact-fab {
    width: 3.35rem;
    height: 3.35rem;
  }

  .contact-fab-badge {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: -8px;
  }
}


.category-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 3.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.75rem;
  font-weight: 700;
}

.category-pagination-link,
.category-pagination-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.category-pagination-link:hover,
.category-pagination-arrow:hover {
  color: #18f0ff;
  transform: translateY(-1px);
}

.category-pagination-link.is-current {
  color: #18f0ff;
}

.category-pagination-arrow.is-disabled {
  color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 767px) {
  .category-pagination {
    gap: 1.1rem;
    margin-top: 2.5rem;
    font-size: 1.35rem;
  }
}


@media (max-width: 767px) {
  .bee-info-section {
    text-align: left;
  }

  .bee-info-section .mx-auto {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 1rem 1rem;
    align-items: start;
    padding-top: 2.25rem !important;
    padding-bottom: 2.5rem !important;
    padding-right: 4.6rem !important;
  }

  .bee-copy {
    display: contents;
  }

  .bee-mascot-media {
    width: 132px;
    align-self: start;
  }

  .bee-mascot-image {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  }

  .bee-section-title {
    grid-column: 2;
    align-self: center;
    margin: 0;
    font-size: 1.55rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em;
    text-align: left;
  }

  .bee-section-text {
    grid-column: 1 / -1;
    margin-top: 0.15rem;
    font-size: 0.92rem !important;
    line-height: 1.68 !important;
    text-align: left;
  }
}

/* ===== Responsive master polish ===== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.hero-title,
.bee-section-title,
.popular-posts-title,
.recent-posts-title,
.category-hero-title,
.detail-title,
.detail-section-title,
.detail-subsection h3,
.popular-post-caption,
.recent-post-title,
.list-post-title,
.category-post-title,
.detail-related-card h3 a {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.site-header nav {
  min-width: 0;
}

.site-header nav > a[aria-label="Trang chủ Da Nang Tip"] {
  flex-shrink: 0;
}

.header-mobile-actions,
.header-call-button,
.header-call-button-mobile,
.hero-cta-row,
.recent-posts-header-row {
  min-width: 0;
}

.hero-cta-btn,
.recent-posts-more,
.header-call-button,
.header-call-button-mobile {
  white-space: nowrap;
}

.detail-content,
.prose {
  overflow-wrap: anywhere;
}

.detail-content iframe,
.detail-content video,
.detail-content table,
.prose iframe,
.prose video,
.prose table {
  max-width: 100%;
}

.site-footer-nav,
.site-footer-copy {
  width: min(100%, calc(100% - 170px));
}

@media (max-width: 1199px) {
  body {
    padding-top: 88px;
  }

  .desktop-menu {
    gap: 1.15rem;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
  }

  .popular-post-card,
  .recent-post-card,
  .list-post-card,
  .category-post-card {
    max-width: none;
  }

  .detail-article-card {
    padding: 2.6rem 2.4rem 2.35rem;
  }
}

@media (max-width: 1023px) {
  body {
    padding-top: 84px;
  }

  .hero-section,
  .hero-section > .relative.mx-auto {
    min-height: auto !important;
  }

  .hero-section > .relative.mx-auto {
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
    align-items: flex-end;
  }

  .hero-title {
    font-size: clamp(2.3rem, 7vw, 4rem);
    line-height: 1.06;
  }

  .bee-info-section .mx-auto {
    grid-template-columns: 1fr !important;
    gap: 1.6rem !important;
    text-align: center;
  }

  .bee-copy {
    display: block;
  }

  .bee-mascot-media {
    width: min(100%, 220px);
    margin: 0 auto;
  }

  .bee-section-title,
  .bee-section-text {
    text-align: center;
  }

  .recent-posts-header-row {
    align-items: flex-start;
  }

  .recent-posts-more {
    min-width: auto;
  }

  .detail-category-nav {
    gap: 1rem 1.25rem;
    padding: 1rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .detail-more-dropdown {
    right: 0;
    left: auto;
    width: min(13.5rem, 78vw);
  }

  .detail-table {
    min-width: 640px;
  }

  .site-footer-inner {
    padding-bottom: 7rem !important;
  }

  .site-footer-nav,
  .site-footer-copy {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 78px;
  }

  .site-header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .site-header nav {
    gap: 0.45rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .site-header img {
    height: 52px !important;
  }

  .icon-button,
  .mobile-menu-toggle,
  .header-call-button-mobile {
    height: 2.6rem;
  }

  .icon-button,
  .mobile-menu-toggle {
    width: 2.6rem;
  }

  .header-call-button-mobile {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .hero-section > .relative.mx-auto {
    padding-top: 6.5rem !important;
    padding-bottom: 3.2rem !important;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
  }

  .hero-section p {
    max-width: 100%;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta-btn {
    width: 100%;
    min-width: 0;
  }

  .bee-info-section {
    text-align: center !important;
  }

  .bee-info-section .mx-auto {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding-top: 2.5rem !important;
    padding-right: 1rem !important;
    padding-bottom: 2.75rem !important;
  }

  .bee-mascot-media {
    width: min(100%, 180px);
  }

  .bee-mascot-image {
    border-radius: 20px;
  }

  .bee-section-title {
    font-size: 1.9rem !important;
    line-height: 1.12 !important;
    text-align: center !important;
  }

  .bee-section-text {
    margin-top: 0.25rem;
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
    text-align: left;
  }

  .popular-posts-section .mx-auto,
  .recent-posts-section .mx-auto,
  .list-posts-inner,
  .category-posts-inner,
  .detail-container,
  .search-page > section,
  .site-footer-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .popular-posts-title,
  .recent-posts-title,
  .category-hero-title,
  .detail-title {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
  }

  .popular-post-caption,
  .recent-post-title,
  .list-post-title,
  .category-post-title {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
  }

  .recent-post-excerpt,
  .detail-intro,
  .detail-section p,
  .detail-subsection p,
  .detail-bullet-list li,
  .detail-toc li,
  .detail-table th,
  .detail-table td {
    font-size: 0.98rem !important;
  }

  .recent-posts-header-row {
    gap: 1rem;
  }

  .recent-posts-more {
    min-height: 3rem;
    padding: 0.8rem 1.1rem;
    font-size: 0.95rem;
  }

  .detail-article-card,
  .detail-comment-box {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
  }

  .detail-meta {
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.98rem;
    flex-wrap: wrap;
  }

  .detail-title {
    margin-bottom: 1rem;
  }

  .detail-hero-figure {
    margin-top: 1.25rem;
    border-radius: 0.85rem;
  }

  .detail-content {
    margin-top: 1.85rem;
  }

  .detail-section-title {
    font-size: 1.7rem !important;
  }

  .detail-subsection h3 {
    font-size: 1.3rem !important;
  }

  .detail-table {
    min-width: 560px;
  }

  .detail-cta-price {
    min-width: 0;
    width: 100%;
  }

  .detail-related {
    padding-top: 2rem;
  }

  .detail-related-head h2,
  .detail-comment-box h2 {
    font-size: 1.5rem;
  }

  .contact-fixed {
    right: 0.8rem;
    bottom: 0.8rem;
    gap: 0.65rem;
  }

  .contact-fab {
    width: 3.15rem;
    height: 3.15rem;
  }

  .site-footer-inner {
    padding-top: 1.5rem !important;
    padding-bottom: 6.25rem !important;
  }

  .site-footer-nav {
    gap: 0.35rem 0.55rem;
  }

  .site-footer-nav a {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .site-footer-copy {
    width: 100%;
    font-size: 0.82rem;
  }

  .site-footer-badge {
    width: 96px;
    bottom: 0.85rem;
  }
}

@media (max-width: 479px) {
  body {
    padding-top: 74px;
  }

  .site-header nav {
    gap: 0.35rem;
  }

  .site-header img {
    height: 46px !important;
  }

  .header-mobile-actions {
    gap: 0.35rem;
    margin-right: 0.2rem;
  }

  .header-call-button-mobile {
    min-width: 2.6rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .header-call-button-mobile span {
    display: none;
  }

  .hero-section > .relative.mx-auto {
    padding-top: 6rem !important;
    padding-bottom: 2.8rem !important;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 0.95rem !important;
  }

  .hero-cta-btn {
    min-height: 2.9rem;
    padding: 0.7rem 0.95rem;
    font-size: 0.84rem;
  }

  .bee-section-title,
  .popular-posts-title,
  .recent-posts-title,
  .category-hero-title,
  .detail-title {
    font-size: 1.8rem !important;
  }

  .bee-section-text,
  .recent-post-excerpt,
  .detail-intro,
  .detail-section p,
  .detail-subsection p,
  .detail-bullet-list li,
  .detail-toc li {
    font-size: 0.94rem !important;
  }

  .detail-meta {
    font-size: 0.9rem;
  }

  .detail-table {
    min-width: 520px;
  }

  .contact-fab {
    width: 2.95rem;
    height: 2.95rem;
  }
}



/* =========================================================
   FIX: uniform card thumbnails (blogs, categories, services)
   - Keep images same height/ratio in each card grid
   - Keep original image ratio (no distortion) with object-fit: cover
   ========================================================= */
.popular-post-thumb,
.recent-post-thumb,
.list-post-thumb,
.category-post-thumb,
.detail-related-card > a:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.popular-post-thumb img,
.recent-post-thumb img,
.list-post-thumb img,
.category-post-thumb img,
.detail-related-card > a:first-child img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  .popular-post-thumb,
  .recent-post-thumb,
  .list-post-thumb,
  .category-post-thumb,
  .detail-related-card > a:first-child {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  .popular-post-thumb,
  .recent-post-thumb,
  .list-post-thumb,
  .category-post-thumb,
  .detail-related-card > a:first-child {
    aspect-ratio: 16 / 10;
  }
}
