/* ==================================================
   SEO REVIEW - RESET CỤC BỘ
================================================== */

.seo-review,
.seo-review * {
  box-sizing: border-box;
}

/* ==================================================
   ARTICLE
================================================== */

.seo-review {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  color: #2b2b2b;
  font-size: 17px;
  line-height: 1.75;
}

.seo-review h1 {
  margin: 0 0 14px;
  color: #171717;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 750;
}

.seo-review h2 {
  margin: 38px 0 16px;
  padding-left: 12px;
  border-left: 4px solid #2f6fe0;
  color: #171717;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 750;
}

.seo-review h3 {
  margin: 0 0 10px;
  color: #1b1b1b;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.seo-review p {
  margin: 0 0 17px;
}

.seo-review a {
  color: #2f6fe0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==================================================
   INFOBOX / QUICK SUMMARY
================================================== */

.seo-review .sr-infobox {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 30px;
  padding: 16px;
  background: #f5f7ff;
  border: 1px solid #dfe5f5;
  border-radius: 14px;
}

.seo-review .sr-infobox .sr-rating {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
  padding: 0 2px 13px;
  border-bottom: 1px solid #dde3f1;
  color: #4e63d9;
  font-size: 16px;
  line-height: 1.4;
}

.seo-review .sr-infobox .sr-rating strong {
  color: #455bd4;
  font-size: 19px;
  font-weight: 750;
}

.seo-review .sr-infobox .sr-rating span {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.seo-review .sr-infobox .sr-item {
  min-width: 0;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #e7eaf3;
  border-radius: 10px;
  color: #292929;
  font-size: 14px;
  line-height: 1.5;
}

.seo-review .sr-infobox .sr-item strong {
  display: block;
  margin-bottom: 4px;
  color: #888;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seo-review .sr-infobox .sr-item span {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
}

/* ==================================================
   TABLE OF CONTENTS
================================================== */

.seo-review .sr-toc {
  margin: 22px 0 30px;
  padding: 18px 22px;
  background: #f7f7f7;
  border: 1px solid #eeeeee;
  border-radius: 12px;
}

.seo-review .sr-toc p {
  margin: 0 0 8px;
  font-weight: 750;
}

.seo-review .sr-toc ol {
  margin: 0;
  padding-left: 22px;
}

.seo-review .sr-toc li {
  margin: 4px 0;
  padding: 0;
}

.seo-review .sr-toc a {
  color: #315fc4;
  text-decoration: none;
}

.seo-review .sr-toc a:hover {
  text-decoration: underline;
}

/* ==================================================
   HIGHLIGHTS
================================================== */

.seo-review .sr-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 30px !important;
  padding: 0 !important;
  list-style: none !important;
}

.seo-review .sr-highlights > li {
  position: relative;
  margin: 0 !important;
  padding: 13px 15px 13px 40px;
  background: #f7f7f7;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
  list-style: none !important;
}

.seo-review .sr-highlights > li::marker {
  content: "";
}

.seo-review .sr-highlights > li::before {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 15px;
  color: #2f6fe0;
  font-weight: 800;
}

/* ==================================================
   MENU
================================================== */

.seo-review .sr-menu {
  width: 100%;
  margin: 18px 0 34px;
}

/* ==================================================
   MENU CATEGORY NAV
================================================== */

.seo-review .sr-menu-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
  overflow: visible;
}

.seo-review .sr-menu-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  background: #f3f3f3;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #242424;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.seo-review .sr-menu-nav a:hover,
.seo-review .sr-menu-nav a:focus {
  background: #e9eefc;
  border-color: #d8e0f6;
  color: #2f59c5;
  text-decoration: none;
}

/* ==================================================
   MENU GROUP
================================================== */

.seo-review .sr-menu-group {
  width: 100%;
  margin: 0 0 30px;
  scroll-margin-top: 24px;
}

.seo-review .sr-menu-group h3 {
  margin: 0 0 10px;
}

/* ==================================================
   MENU LIST
================================================== */

.seo-review .sr-menu-list {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

/* ==================================================
   MENU ITEM
================================================== */

.seo-review .sr-menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 24px;
  width: 100%;
  padding: 14px 16px;
  border-bottom: 1px solid #eeeeee;
}

.seo-review .sr-menu-item:last-child {
  border-bottom: 0;
}

.seo-review .sr-menu-item:hover {
  background: #fafafa;
}

.seo-review .sr-menu-content {
  min-width: 0;
}

.seo-review .sr-menu-name {
  display: block;
  margin: 0;
  color: #202020;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.seo-review .sr-menu-desc {
  display: block;
  max-width: 60ch;
  margin-top: 3px;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
  word-break: normal;
  overflow-wrap: break-word;
}

.seo-review .sr-menu-price {
  min-width: 90px;
  color: #202020;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ==================================================
   MENU IMAGE FALLBACK
================================================== */

.seo-review .sr-menu-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0 30px;
}

.seo-review .sr-menu-images img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eeeeee;
  border-radius: 10px;
}

/* ==================================================
   IMAGE GALLERY
================================================== */

.seo-review .sr-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 30px;
}

.seo-review .sr-gallery img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

/* ==================================================
   REVIEWS
================================================== */

.seo-review .sr-review-card {
  margin: 0 0 13px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
}

.seo-review .sr-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.seo-review .sr-review-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.seo-review .sr-review-meta strong {
  color: #191919;
  font-size: 14px;
  line-height: 1.4;
}

.seo-review .sr-review-date {
  margin-top: 2px;
  color: #999;
  font-size: 12px;
  line-height: 1.4;
}

.seo-review .sr-stars {
  flex: 0 0 auto;
  color: #e8a000;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.seo-review .sr-review-card p {
  margin: 0;
  color: #444;
}

/* ==================================================
   INFORMATION TABLE
================================================== */

.seo-review .sr-hours {
  width: 100% !important;
  margin: 18px 0 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 12px;
  table-layout: auto;
  font-size: 14px;
  line-height: 1.55;
}

.seo-review .sr-hours th,
.seo-review .sr-hours td {
  padding: 12px 14px !important;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #eeeeee;
  text-align: left;
}

.seo-review .sr-hours tr:last-child th,
.seo-review .sr-hours tr:last-child td {
  border-bottom: 0;
}

.seo-review .sr-hours th {
  width: 155px;
  min-width: 155px;
  background: #f8f8f8;
  color: #555;
  font-weight: 700;
  white-space: nowrap;
}

.seo-review .sr-hours td {
  min-width: 0;
  color: #333;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ==================================================
   FAQ
================================================== */

.seo-review .sr-faq {
  margin-top: 32px;
}

.seo-review .sr-faq h2 {
  margin-top: 0;
}

.seo-review .sr-faq details {
  margin: 0 0 10px;
  padding: 13px 16px;
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 10px;
}

.seo-review .sr-faq summary {
  position: relative;
  padding-left: 20px;
  color: #222;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.seo-review .sr-faq summary::-webkit-details-marker {
  display: none;
}

.seo-review .sr-faq summary::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #2f6fe0;
  font-weight: 800;
}

.seo-review .sr-faq details[open] summary::before {
  content: "–";
}

.seo-review .sr-faq details p {
  margin: 9px 0 0 20px;
  color: #555;
}

/* ==================================================
   GOOGLE MAPS CTA
================================================== */

.seo-review .sr-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 21px 24px;
  background: #1a1a1a;
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

.seo-review .sr-cta span {
  color: #fff;
}

.seo-review .sr-cta a {
  color: #9abaff;
  font-weight: 700;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 700px) {
  .seo-review .sr-infobox {
    grid-template-columns: 1fr;
  }

  .seo-review .sr-infobox .sr-rating {
    grid-column: auto;
  }

  .seo-review .sr-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {
  .seo-review {
    font-size: 16px;
  }

  .seo-review h1 {
    font-size: 24px;
  }

  .seo-review h2 {
    margin-top: 32px;
    font-size: 20px;
  }

  .seo-review h3 {
    font-size: 17px;
  }

  /* INFOBOX */

  .seo-review .sr-infobox {
    gap: 9px;
    padding: 13px;
  }

  /* HIGHLIGHTS */

  .seo-review .sr-highlights {
    grid-template-columns: 1fr;
  }

  /* MENU NAV */

  .seo-review .sr-menu-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    margin-right: -4px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .seo-review .sr-menu-nav::-webkit-scrollbar {
    display: none;
  }

  .seo-review .sr-menu-nav a {
    scroll-snap-align: start;
    padding: 8px 12px;
    font-size: 14px;
  }

  /* MENU ITEM */

  .seo-review .sr-menu-item {
    gap: 12px;
    padding: 13px 14px;
  }

  .seo-review .sr-menu-name {
    font-size: 14px;
  }

  .seo-review .sr-menu-desc {
    font-size: 13px;
  }

  .seo-review .sr-menu-price {
    min-width: auto;
    font-size: 14px;
  }

  /* GALLERY */

  .seo-review .sr-gallery img {
    height: 145px;
  }

  /* REVIEW */

  .seo-review .sr-review-card {
    padding: 14px 15px;
  }

  /* INFORMATION TABLE -> MOBILE CARDS */

  .seo-review .sr-hours,
  .seo-review .sr-hours tbody {
    display: block;
    width: 100% !important;
    border: 0;
    background: transparent;
  }

  .seo-review .sr-hours tr {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
  }

  .seo-review .sr-hours th,
  .seo-review .sr-hours td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    border: 0;
  }

  .seo-review .sr-hours th {
    padding: 9px 12px 6px !important;
    background: #f8f8f8;
    color: #777;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .seo-review .sr-hours td {
    padding: 9px 12px 11px !important;
    font-size: 14px;
  }

  /* CTA */

  .seo-review .sr-cta {
    padding: 18px 16px;
  }
}

/* ==================================================
   VERY SMALL MOBILE
================================================== */

@media (max-width: 380px) {
  .seo-review .sr-menu-item {
    gap: 9px;
  }

  .seo-review .sr-menu-price {
    font-size: 13px;
  }

  .seo-review .sr-gallery {
    grid-template-columns: 1fr;
  }

  .seo-review .sr-gallery img {
    height: auto;
    max-height: 280px;
  }

  .seo-review .sr-review-head {
    flex-direction: column;
    gap: 5px;
  }
}

.content-detail-post:before {
  width: 0px;
}

.seo-review p,
.seo-review ul {
  width: 100%;
}

.sr-gallery img,
.sr-menu-images img {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.sr-gallery img:hover,
.sr-menu-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
