html {
  scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
  /* font-family: 'Poppins', sans-serif !important; */
  font-family: NotoSans-Regular, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue For Number", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Define Chinese font stack for CJK Unified Ideographs */
/* Apply custom font stack for Chinese text only */
html:lang(zh),
body:lang(zh),
:lang(zh) {
  font-family: NotoSans-Regular, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue For Number", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.container {
  box-sizing: border-box;
  float: none;
  margin-left: auto;
  margin-right: auto;
  /* max-width: 1400px; */
  max-width: calc(100% - 2rem);
}

@media screen and (min-width: 910px) {
  .container {
    max-width: calc(100% - 4rem);
  }
}

/* @media (min-width: 1450px) {
  .container {
    max-width: calc(100% - 45rem);    
  }
} */

@media (min-width: 1200px) and (max-width: 1792px) {
  .container {
    max-width: 1140px;
  }
}

@media screen and (min-width: 1792px) {
  .container {
    max-width: 1400px;
  }
}

.margin-r-8 {
  margin-right: 8px !important;
}

.fa-tag {
  background: linear-gradient(135deg, #0047ff, #3399ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.thumbnail-wrapper {
  object-fit: cover;
  height: 200px;
}
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-wrapper {
  position: relative;
  overflow: hidden;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 38, 89, 0.75);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 3rem;
}

.thumbnail-wrapper:hover .hover-overlay {
  opacity: 1;
}

.hover-plus {
  font-size: 4rem;
  font-weight: lighter !important;
}

.badge {
  padding: 0.4em 0em !important;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #001966;
}

.hero-section {
  background-color: #c5d8e1;
  padding: 3rem 0;
}

.hero-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-meta {
  font-size: 0.875rem;
  color: #212529;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1rem;
  color: #333;
}

.hero-image img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 100%;
  object-fit: cover;
}

.share-section {
  padding: 1rem 0;
  background: #eef3f6;
}

.share-section span {
  font-weight: 600;
  color: #6c757d;
}

.share-icons i {
  font-size: 18px;
  margin: 0 6px;
  color: #6c757d;
  cursor: pointer;
}

.share-container {
  position: relative;
  display: inline-block;
}

.copy-link-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #1e3a8a; /* Tailwind-style deep blue */
  padding: 8px;
  transition: color 0.3s ease;
}

.copy-link-button:hover {
  color: #3b82f6; /* Light blue hover */
}

.tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;

  background-color: #f9f9f9;
  color: #334155; /* Matches your site's dark slate text */
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 6px 12px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 100;
}

/* Top-centered arrow */
.tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #f9f9f9 transparent;
}

.copy-link-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.tooltip {
  pointer-events: none;
}

.related-links {
  padding: 1rem;
  background: #f0f4f8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
}

.related-links a {
  margin: 0 10px;
  color: #007bff;
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}

.btn-custom {
  background-color: #0066ff;
  color: white;
  border-radius: 12px;
  padding: 1.5rem;
  width: 100%;
  text-align: left;
}

.btn-custom:hover {
  background-color: #0052cc;
  color: white;
}

.logo {
  height: 32px;
}

.brand-card {
  background-color: #0066ff;
  color: white;
  border-radius: 20px;
  padding: 0 154px 0 130px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 240px;
  width: 100%;

  h3 {
    font-weight: bold;
  }

  p {
    opacity: 0.7;
  }
}

.footer-logo {
  height: 50px;
}

.breadcrumb-custom {
  background: #f8f9fa;
  font-size: 0.9rem;
  padding: 1rem 0;
}

.brand-endorsement-row {
  align-items: center;
  display: flex;
  justify-content: center;
}

.brand-endorsement-row img:first-child {
  max-height: 45px;
}

.brand-endorsement-row div {
  height: 37px;
  border-right: 2px solid rgb(35, 25, 22);
  margin: 0px 14px 0px;
}

.brand-endorsement-row img:last-child {
  color: transparent;
  height: 30px;
  margin-bottom: 4px;
  align-self: flex-end;
}

@media (min-width: 768px) {
  .pt-4.pb-4 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
}

@media (min-width: 992px) {
  .pt-4.pb-4 {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
  }
}

@media (min-width: 1200px) {
  .pt-4.pb-4 {
    padding-top: 128px !important;
    padding-bottom: 128px !important;
  }
}

footer {
  background: #001676 !important;
}

.bg-primary {
  background: #001676 !important;
}

.hero-content .badge {
  color: #001966;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-primary {
  color: #001676 !important;
}

.blog-post-breadcrumb-link {
  color: #001676;
}

.blog-post-breadcrumb-link i {
  margin-right: 8px;
  padding: 0.25rem 0.4375rem;
  transition: transform 0.1s ease;
}

.navbar-nav-wrapper {
  align-items: center;
}

/* Smaller, centered megamenu */

.dropdown-megamenu-small {
  width: 700px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 12px;
  z-index: 1050;
  display: none;
}

/* Show on hover */

.nav-item.dropdown:hover .dropdown-megamenu-small {
  display: block;
}

/* Clean up spacing and style */

.dropdown-megamenu-small h6 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 0.5rem;
}

.dropdown-megamenu-small .dropdown-item {
  padding: 0.25rem 0;
  font-size: 0.92rem;
  color: #333;
}

.toc-background {
  background-color: #e8eff3;
  width: 100%;
  position: sticky;
  /* top: 0; */
  padding: 1.2rem 0;
  z-index: 999;
  border-bottom: 1px solid #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.toc-scroll-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #64748b;
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.toc-links-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  flex-shrink: 1;
}

.toc-links-scroll::-webkit-scrollbar {
  display: none;
}

.toc-link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.toc-link:hover,
.toc-link.active {
  color: #1e40af;
  font-weight: 600;
}

/* Mobile TOC Dropdown Style */
.toc-dropdown {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 1px solid #94a3b8;
  color: #334155;
  background-color: #ffffff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364768b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

/* Prevent overlap or extra spacing on mobile */
@media (max-width: 767.98px) {
  .toc-links-scroll,
  .toc-scroll-btn {
    display: none !important;
  }
}

.share-wrapper {
  box-shadow: none !important;
  display: inline-block;
}

.share-label {
  font-weight: 500;
  font-size: 16px;
  color: #64748b;
}

.share-btn {
  background-color: #e8eff3;
  border: none;
  border-radius: 5px;
  padding: 7px;
  margin-left: 8px;
  font-size: 18px;
  color: #7c8ca3;
  transition: background 0.2s ease;
}

.share-btn:hover {
  background-color: #d1d5db;
  color: #001676;
}

.share-btn:hover i {
  color: #001676;
}

.wechat-wrapper {
  position: relative;
}

.wechat-popup {
  position: absolute;
  top: 110%;
  left: 15%;
  transform: translateX(-15%);
  width: 300px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px;
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.wechat-wrapper:hover .wechat-popup {
  display: flex;
}

.qr-img {
  width: 90px;
  height: 90px;
  margin-inline-end: 1rem;
}

.qr-text {
  font-size: 14px;
  color: #334155;
  margin: 0;
  line-height: 1.5;
  padding: 5px;
}

.share-divider {
  border: none;
  border-top: 1px solid #e8eff3;
  margin-top: -8px;
  margin-bottom: 24px;
  opacity: 0.8;
  display: block !important;
}

.text-align-left {
  text-align: left;
}

.post-toc {
  display: none !important;
}

.col-sm-6 hr {
  display: none;
}

.text-grey {
  color: hsla(0, 0%, 100%, 0.3);
}

.main-content img {
  width: 728px;
  height: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.featured-articles-section {
  background-color: #d0dee4;
  padding: 60px 0;
}

.featured-articles-section .card {
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.featured-articles-section img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.featured-articles-section .badge {
  font-weight: 500;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.form-select,
input[type="search"] {
  /* border: 1px solid #b0c2d4; */
  /* border: 1px solid #7c8ca3!important; */
  background-color: #fff;
  font-size: 0.95rem;
  color: #001676;
  border-radius: 0.5rem !important;
}

.no-results {
  padding: 1rem 0;
}
.no-results .lead {
  font-weight: 600;
}

body.search .featured-articles-section {
  display: none !important;
}

.category-filter {
  background-color: #eef2f6;
  font-weight: 600;
  font-size: 0.95rem;
  color: #001676;
  border: none;
}

.category-filter.active {
  background-color: #001676;
  color: #fff;
}

.category-filter:hover {
  opacity: 0.9;
}

.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-wrapper {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  height: 100%;
}

.thumbnail-wrapper img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 38, 89, 0.75);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 3rem;
}

.blog-card:hover .hover-overlay {
  opacity: 1;
}

.hover-plus {
  font-size: 3rem;
  font-weight: bold;
}

.badge i {
  font-size: 0.8rem;
  color: #06f;
}

/* Hero Carousel  */
.blog-hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 0;
}

.hero-overlay-box {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(0, 0, 0, 0.45);
  padding: 20px 24px;
  border-radius: 12px;
  max-width: 420px;
}

.sort-label {
  white-space: nowrap;
}

.custom-sort-select {
  max-width: 200px;
  min-width: 160px;
}

.category-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 2rem;
}

.read-more-link {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.read-more-link:hover {
  text-decoration: underline;
}

.carousel-indicators {
  bottom: 10px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 4px;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: #fff;
}

.carousel-slide {
  min-width: 320px;
  max-width: 800px;
  max-height: 100%;
}

.slick-dots {
  align-items: center;
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 0;
  padding-top: 5rem !important;
  padding: 0;
  text-align: center;
  width: 100%;
  z-index: 1;
  position: absolute;
  bottom: 15px; /* adjust as needed */
  left: 0;
  right: 0;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  height: 16px; /* constrain total height */
}

.slick-dots li {
  margin: 0;
}

.slick-dots li.slick-active {
  background-color: #06f;
  border-radius: 99px;
  width: 2rem;
  height: 10px;
}

.slick-dots li .slick-active button {
  display: none;
}

.slick-dots li button:before {
  font-size: 10px;
  color: #c4c4c4; /* Light gray */
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  color: #0052cc; /* Brand blue */
  opacity: 1;
}

/* Before: this animates width and causes the bump
.hero-carousel .slick-slide { transition: all 0.3s ease; }
*/

/* After: do not animate width, only transform */
.hero-carousel .slick-slide {
  transition: none;
}

/* Once Slick is ready, allow gentle transform for your scale effect */
.hero-carousel.slick-initialized .slick-slide {
  transition: transform 0.2s ease;
}
.hero-carousel .slick-center {
  transform: scale(1.02);
}

.slick-slider {
  visibility: hidden;
}
.slick-initialized {
  visibility: visible;
}

.hero-carousel .slick-track,
.hero-carousel .slick-slide {
  will-change: transform;
}

.slick-list {
  overflow: hidden;
}

.hero-carousel .slick-center {
  opacity: 1;
  transform: scale(1.02);
}

.hero-carousel .slick-carousel {
  padding: 0;
}

.bg-image {
  border-radius: 1rem;
}

.overlay-gradient {
  position: relative;
  overflow: hidden;
}

.custom-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  background: linear-gradient(
    209deg,
    rgba(10, 34, 170, 0) 58.21%,
    #0a22aa 78.49%
  );
  pointer-events: none;
  z-index: 0;
}

.knowledge-hero-img {
  background-image: url("../img/img-antom-blog-listing-header-banner-bg-desktop.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0;
  color: white;
  margin-top: 30px;
}

@media (max-width: 700px) {
  .knowledge-hero-img {
    background-image: url("../img/img-antom-blog-listing-header-banner-bg-mobile.png") !important;
    padding: 28px 0;
    margin-top: 10px;
  }

  .knowledge-title {
    font-size: 1.75rem; /* was 2rem in mobile block */
    line-height: 1.25;
  }
}

.knowledge-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.hero-carousel .bg-image {
  background-size: cover;
  background-position: center;
  /* height: 400px; */
  aspect-ratio: 16 / 9 !important;
  border-radius: 7px;
  position: relative;
}

div.slick-list {
  padding: 0 50px 0 0;
}

.hero-carousel .slick-dots {
  bottom: -50px;
}

.hero-carousel .slick-dots li button:before {
  font-size: 10px;
  color: #ccc;
  opacity: 1;
}

.hero-carousel .slick-dots li.slick-active button:before {
  color: #0d6efd; /* Bootstrap Primary */
  display: none;
}

table {
  outline: none;
  border-collapse: collapse;
  border: 1px solid rgb(217, 217, 217);
}

td {
  min-width: 90px;
  font-size: 14px;
  white-space: normal;
  overflow-wrap: break-word;
  border: 1px solid rgb(217, 217, 217);
  padding: 4px 8px;
  cursor: default;
}

/* Base: card shape and clipping */
.hero-carousel .carousel-slide {
  position: relative;
  border-radius: 8px;
  overflow: hidden; /* clip image + overlay to the radius */
}

/* Ensure inner elements inherit the same radius */
.hero-carousel .carousel-slide .bg-image,
.hero-carousel .carousel-slide .overlay {
  /* border-radius: inherit; */
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Let slick show the rounded edges between slides */
.hero-carousel .slick-list {
  overflow: hidden;
}
.hero-carousel .slick-slide {
  padding: 0 14px;
}

/* Desktop tuning */
@media (min-width: 992px) {
  /* Set a comfortable fixed desktop height */
  .hero-carousel .carousel-slide .bg-image {
    height: 100%; /* adjust to 500–560px to taste */
    background-size: cover;
    background-position: center;
  }

  /* If you use <img> instead of background-image */
  .hero-carousel .carousel-slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
  }

  /* Give the dots a bit more space from the slide */
  .hero-carousel .slick-dots {
    bottom: -48px;
  }
}

/* Mobile remains responsive and tall */
@media (max-width: 991.98px) {
  .hero-carousel .carousel-slide .bg-image {
    height: clamp(420px, 62vw, 520px);
  }
  .hero-carousel .carousel-slide img {
    height: clamp(420px, 62vw, 520px);
  }
  .hero-carousel .slick-dots {
    bottom: -40px;
  }
}

/* Tablet 1024 optimizations */
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .container {
    max-width: 960px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    padding: 2rem 0;
  }
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .hero-meta {
    font-size: 0.9rem;
  }

  .knowledge-hero-img,
  .hero-slide img,
  .blog-hero-carousel img {
    /* height: 260px; */
    object-fit: cover;
    width: 100%;
  }

  .row.g-5,
  .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
  .blog-card .card-body h5 {
    font-size: 1.02rem;
  }
  .blog-card .card-body p {
    font-size: 0.95rem;
  }

  .category-filter {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }
  .category-filter-group,
  .filters,
  .filters-bar,
  .search-and-sort,
  .search-and-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
  }

  input[type="search"],
  .form-select,
  .custom-sort-select {
    width: 100%;
    max-width: 100%;
  }

  .navbar-nav-wrapper,
  .navbar-nav {
    gap: 12px;
  }

  .footer .row {
    --bs-gutter-x: 1rem;
  }
}

/* Slightly tighten just under large desktop */
@media screen and (min-width: 1201px) and (max-width: 1450px) {
  .hero-title {
    font-size: 1.8rem;
  }
}

/* adjust selectors to your content area */
h1,
h2,
h3,
h4 {
  scroll-margin-top: 190px; /* fallback */
}

#blog-posts,
#blog-posts-anchor {
  scroll-margin-top: 210px; /* fallback */
}

/* === Content Formatting: Article body === */
/* Scope to your content wrapper */
.main-content {
  /* max-width: 900px; */
  color: #0f172a;
  font-size: 17px;
  line-height: 1.85;
}

/* Paragraphs */
.main-content p {
  margin: 0 0 1.1em;
}

/* Headings */
.main-content h1 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  margin: 1.2em 0 0.6em;
}
.main-content h2 {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  margin: 1.6em 0 0.6em;
}
.main-content h3 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  margin: 1.4em 0 0.5em;
}
.main-content h4 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  margin: 1.2em 0 0.4em;
}
.main-content h5,
.main-content h6 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  margin: 1em 0 0.4em;
  color: #111827;
}

/* Links */
.main-content a {
  color: #0ea5e9;
  text-decoration: none;
}
.main-content a:hover {
  text-decoration: underline;
}

/* Lists */
.main-content ul,
.main-content ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}
.main-content li {
  margin: 0.3em 0;
}

/* Blockquote */
.main-content blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid #3b82f6;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 4px;
}

/* Images and media */
.main-content img,
.main-content video,
.main-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.main-content figure {
  margin: 1.4em 0;
}
.main-content figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

/* Horizontal rule */
.main-content hr {
  border: 0;
  border-top: 1px solid #eef0f4;
  margin: 2em 0;
}

/* Emphasis */
.main-content strong {
  font-weight: 700;
/*   color: #0f172a; */
}
.main-content em {
  font-style: italic;
}

/* Code */
.main-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: 14px;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
}
.main-content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  background: #0b1220;
  color: #e5e7eb;
  padding: 16px;
  border-radius: 8px;
  overflow: auto;
}
.main-content pre code {
  background: transparent;
  padding: 0;
}

/* Tables */
.main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 16px;
}
.main-content th,
.main-content td {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}
.main-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

/* mobile first default styles here */

/* >= 320 */
@media (min-width: 320px) {
  adjust selectors to your content area h1,
  h2,
  h3,
  h4 {
    scroll-margin-top: 160px; /* fallback */
  }
}

/* >= 360 */
@media (min-width: 360px) {
  adjust selectors to your content area h1,
  h2,
  h3,
  h4 {
    scroll-margin-top: 190px; /* fallback */
  }
}

/* >= 480 */
@media (min-width: 480px) {
}

/* >= 576 */
@media (min-width: 576px) {
}

/* >= 640 */
@media (min-width: 640px) {
}

/* >= 768 */
@media screen and (min-width: 700px) and (max-width: 800px) {
  .content-view {
    width: 95% !important;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1025px) {
  .content-view {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }
}

/* >= 992 */
@media (min-width: 992px) {
}

/* >= 1200 */
@media (min-width: 1200px) {
  .hero-carousel .carousel-slide {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

/* >= 1400 */
@media (min-width: 1400px) {
}

/* >= 1536 */
@media (min-width: 1536px) {
}

/* >= 1792 or 1920 */
@media (min-width: 1792px) {
}

/* Kill the hard cap and force slides to size to the viewport */
.hero-carousel .carousel-slide {
  width: 100%;
  min-width: 0; /* was 320px */
  max-width: none;
  box-sizing: border-box;
  /* aspect-ratio: 16 / 9;  
  object-fit: cover; */
}

/* Use margins for gutters, not slick-list padding */
.hero-carousel .slick-slide {
  padding: 0;
}
.hero-carousel .carousel-slide {
  margin: 0 8px;
}
.hero-carousel .slick-list {
  margin: 0 -8px;
  padding: 0 !important;
  overflow: hidden;
}

/* If you keep a separate rule like `div.slick-list { padding: 0 50px 0 0; }` remove it */
div.slick-list {
  padding: 0 !important;
}

/* Make sure background image slides have a sensible height on tiny screens */
@media (max-width: 360px) {
  .hero-carousel .carousel-slide .bg-image,
  .hero-carousel .carousel-slide img {
    height: clamp(360px, 62vw, 520px);
  }
}

/* Ultra wide screens should not show the right gap either */
@media (min-width: 1200px) {
  .hero-carousel .carousel-slide {
    margin: 0;
  }
  .hero-carousel .slick-list {
    margin: 0;
  }
}

.social-link {
  margin-right: 16px;
  margin-left: 0;

  i {
    font-size: 24px;
  }
}

.image-slider {
  height: auto;
}

.hero-carousel {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media screen and (min-width: 600px) {
  .hero-carousel {
    .container {
      max-width: 100%;
    }
    .bg-image {
      width: 100%;
    }
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: calc(100% - 1rem);
  }

  .image-slider {
    height: 540px;
    .bg-image {
      height: 100% !important;
    }
  }

  .navbar {
    height: 72px;
  }

  .navbar-toggler {
    padding: 0;
  }

  .social-link {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    img {
      max-width: 1.5rem;
      max-height: 1.5rem;
      height: 100%;
      width: 100%;
      padding: 0;
    }
  }

  .footer-partner-logo {
    width: 100%;
    flex-wrap: wrap;
  }

  .copyright {
    display: flex !important;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row !important;
    justify-content: flex-start !important;
  }

  .brand-card {
    padding: 32px 24px;

    .brand-card-content {
      text-align: center;
    }
  }

  .menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    &::after {
      color: #c5cdd8;
      content: "\f054";
      font: var(--fa-font-regular);
      font-size: 1rem;
      font-weight: 600;
      margin-left: 0.75rem;
      transition: transform 0.3s ease;
    }
  }

  .brand-endorsement-row {
    img:last-child {
      max-height: 16px !important;
    }
    div {
      height: 25px;
    }
  }

  footer .container {
    padding: 0;
  }
}

/* Pill layout */
.filter-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 8px 0 0;
  background-color: #e8eff3;
  border: 1px solid #fff;
  border-radius: 99px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hide icons by default */
.filter-checkbox-label::before,
.filter-checkbox-label::after {
  content: "";
  display: none;
}

/* Tag icon when selected */
input[type="checkbox"]:checked + .filter-checkbox-label::before,
input[type="radio"]:checked + .filter-checkbox-label::before {
  display: inline-block;
  font: normal normal 900 1em/1 "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f02b"; /* fa-tag */
  color: currentColor; /* visible and matches the pill text */
  margin-inline-end: 0.5rem;
}

/* Cross icon when selected */
input[type="checkbox"]:checked + .filter-checkbox-label::after,
input[type="radio"]:checked + .filter-checkbox-label::after {
  display: inline-block;
  font: normal normal 900 1em/1 "Font Awesome 6 Free";
  font-weight: 600;
  content: "\f00d"; /* fa-xmark */
  color: currentColor;
  font-size: 1.125rem;
  margin-inline-start: 0.5rem;
}

/* Selected visual state */
input[type="checkbox"]:checked + .filter-checkbox-label,
input[type="radio"]:checked + .filter-checkbox-label {
  /* box-shadow: 0 0 0 2px rgba(37, 99, 235, .15); */
  border: 1px solid #2563eb;
  color: #2563eb;
  background: #fff;
  /* border-radius: 999px; */
  /* border: 1px solid #fff; */
  border-radius: 99px;
  padding: 0.5rem 1rem;
  /* padding: .375rem .75rem; */
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
}

:root {
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.15);
  --border: #e5e7eb;
  --muted: #6b7280;
  --bg: #fff;
}
/* Make the mobile controls light and compact */
.filters-mobile .f-ctrl {
  /* border:1px solid #d1d5db; */
  border: 1px solid #7c8ca3 !important;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.625rem 0.75rem;
  color: #7c8ca3 !important;
}

/* Keep the same look when open */
.filters-mobile details.f-ctrl[open] {
  border-color: #d1d5db;
  box-shadow: none;
}

/* Summary row with small caret */
.filters-mobile details.f-ctrl > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
}
.filters-mobile details.f-ctrl > summary::-webkit-details-marker {
  display: none;
}
.filters-mobile details.f-ctrl > summary::after {
  content: "\f078";
  font: var(--fa-font-solid, normal normal 900 1rem/1 "Font Awesome 6 Free");
  transition: transform 0.2s;
}
.filters-mobile details.f-ctrl[open] > summary::after {
  transform: rotate(180deg);
}

.filters-mobile .f-title {
  font-weight: 700;
  color: #7c8ca3;
} /* dark label like the mock */

/* Remove the count on the right */
.filters-mobile .f-value,
.filters-mobile .js-tags-label {
  display: none !important;
}

/* Menu spacing */
.filters-mobile .menu {
  margin-top: 0.5rem;
}

/* Tag list like the right screenshot: no checkbox squares */
.filters-mobile .tag-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
}
.filters-mobile .tag-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.25rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

/* Visually hide the native checkbox, keep it accessible */
.filters-mobile .tag-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  color: #7c8ca3 !important; /* keep the same color as the label */
}

/* Default tag look */
.filters-mobile .tag-item i {
  color: #9ca3af;
} /* grey icon */
.filters-mobile .tag-item span {
  color: #7c8ca3;
} /* text */

/* Selected tag turns blue and bold, with a very light chip feel */
.filters-mobile .tag-item input:checked ~ i,
.filters-mobile .tag-item input:checked ~ span {
  color: #2563eb;
  font-weight: 700;
}
.filters-mobile .tag-item input:checked ~ span {
  text-decoration: none;
}
.filters-mobile .tag-item input:checked ~ i::before {
  /* nothing extra, just keep icon blue */
}

/* Optional soft hover */
.filters-mobile .tag-item:hover {
  background: #f9fafb;
}

/* default: show desktop, hide mobile */
.filters-desktop {
  display: flex;
}
.filters-mobile {
  display: none;
}

/* show mobile at 768 and below, hide desktop */
@media (max-width: 768px) {
  .filters-desktop {
    display: none !important;
  }
  .filter-chips {
    display: none !important;
  }
  .filters-mobile {
    display: block !important;
  }
}

.f-search form {
  max-width: 100% !important;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: #7c8ca3;
}

.f-search form .rounded {
  border-radius: 0.5rem !important;
  color: #7c8ca3;
}

.f-search .form-select {
  max-width: 100% !important;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: #7c8ca3;
  height: 2.75rem;
  border: 1px solid #7c8ca3 !important;
}

.f-search .form-select {
  border-radius: 0.5rem !important;
  color: #7c8ca3;
  border: 1px solid #7c8ca3 !important;
}

.input-group {
  border-radius: 0.5rem !important;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  border: 1px solid #7c8ca3 !important;
}

#sort-select {
  border-radius: 0.5rem !important;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  border: 1px solid #7c8ca3 !important;
}

.search-page-form {
  max-width: 100%;
  width: 100%;
  margin-top: 40px;
}

@media screen and (min-width: 910px) {
  .search-page-form {
    max-width: 250px;
    margin-top: 64px;
  }
}

@media screen and (max-width: 900px) {
  .search-back-btn {
    padding: 10px 0 0 0 !important;
    margin-bottom: 0px !important;
  }
}

@media screen and (min-width: 1100px) {
  .overlay {
    padding: 0 !important;
    bottom: 10% !important;
    left: 2.5rem !important;
    position: absolute !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1792px) {
  .error-page-top-container {
    padding-bottom: 225px !important;
    padding-top: 128px !important;
  }
}

.brand-card-button {
  height: 48px;
  display: flex;
  align-items: center;
  min-width: 178px;
  justify-content: center;
  font-size: 20px;
  color: #06f !important;
  transition: all 0.3s ease;

  &:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 910px) {
  .brand-card {
    flex-direction: column;
    justify-content: center;
    padding: 32px 24px !important;
    height: fit-content;

    .brand-card-content {
      text-align: center;
      margin-bottom: 24px;

      h3 {
        font-size: 18px;
      }
    }

    .brand-card-button {
      font-size: 16px;
      min-width: fit-content;
    }
  }
}

@media screen and (max-width: 1280px) {
  .brand-card {
    padding: 0 100px 0 120px;
  }
}

.fa,
.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900; /* for solid icons */
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands" !important;
}


/* Contact form styles */
.contact-hero {
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-contact-fallback.jpg') center / cover no-repeat;
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.contact-hero h1 { font-size: 40px; margin: 0 0 8px; font-weight: 700; }
.contact-hero p { font-size: 18px; margin: 0; opacity: .95; }

.contact-wrap { padding: 48px 0 72px; }

.contact-card {
  background-color: hsla(0, 0%, 95%, .99);
  border-radius: 1rem;
  padding: 72px;
}

#antom-contact-form .ant-form-item-required:before {
  display: inline-block;
  margin-right: 4px;
  color: #ff4d4f;
  font-size: 14px;
  font-family: SimSun, sans-serif;
  line-height: 1;
  content: "*";
}

.contact-card h2 { font-size: 22px; margin: 0 0 18px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }

.form-label { font-size: 14px; color: #111827; margin-bottom: 6px; }

.form-control, .form-select {
  display: block;
  width: 100%;
  height: 44px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .15s ease, box-shadow .15s ease;
  background-color: #fff;
}
.form-control::placeholder { color: #9CA3AF; opacity: .5;     }
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-group { display: flex; }
.input-group .input-prefix {
  display: inline-flex; align-items: center; padding: 0 10px; font-size: 14px;
  background: #F9FAFB; border: 1px solid #E5E7EB; border-right: 0;
  border-radius: 8px 0 0 8px; color: #6B7280;
}
.input-group .form-control { border-radius: 0 8px 8px 0; border-left: 0; }

.helper-text { font-size: 13px; color: #6B7280; margin-top: 8px; }

.privacy-check {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 6px;
}
.privacy-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; }

#antom-contact-form .btn-primary{
  display: inline-flex; justify-content: center; align-items: center;
  width: 100%; height: 48px; border-radius: 999px; border: 0;
  color: #fff; border-color: #1890ff; background: #1890ff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .12); box-shadow: 0 2px 0 rgba(0, 0, 0, .045);
  font-size: 20px; background-color: #1677ff; transition: all .1s ease-out;
  outline: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-weight: normal; cursor: pointer; transition: transform .02s ease, box-shadow .2s ease, background .2s ease;
}
#antom-contact-form .btn-primary:hover { background: #1E40AF; box-shadow: 0 10px 18px rgba(30,64,175,.22); }
#antom-contact-form .btn-primary:active { transform: translateY(1px); }

/* Small screens */
@media (max-width: 768px) { 
  .form-grid { grid-template-columns: 1fr; } 
  .contact-card { padding: 6.6923076923076925vw; width: 100%; border-radius: unset; border: none; }
  .contact-wrap, .contact-wrap .container, .col-lg-8 { padding: 0px; width: 100%; }
  .contact-success { padding: 64px; }
}

/* Phone picker */
.phone-row{
  display:flex; align-items:center; height:48px; border:1px solid #e5e5e5; border-radius:12px; background:#fff; overflow:hidden;
}
/* when invalid, turn the whole row red */
.phone-row.invalid{
  border-color:#ff4d4f;
  box-shadow:0 0 0 2px rgba(255,77,79,.08);
}

/* optional: also tint the inner pieces when invalid */
.phone-row.invalid .select-display,
.phone-row.invalid .phone-input{
  outline: none;
}

/* keep the red border on a plain input, too (if you want both) */
.phone-input.invalid{
  border-color:#ff4d4f !important;
}

/* base wrapper (if you don’t already have it) */
#cn-phone {
  display:flex;
  align-items:center;
  border:1px solid #e5e6eb;          /* your normal border */
  border-radius:12px;
  padding:0;                          /* keep as you wish */
}

/* show error state on the whole rounded container */
/* turn the outer phone row red when invalid */
  #cn-phone.invalid,
  div#cn-phone.invalid {                      /* extra specificity fallback */
    border: 1px solid #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255,77,79,.12) !important;
  }

  /* also go red whenever the inner input is marked invalid */
  .phone-row:has(.phone-input.invalid) {
    border: 1px solid #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255,77,79,.12) !important;
  }

  /* keep inner controls borderless so the outer border is visible */
  #cn-phone .select-display,
  #cn-phone .phone-input {
    border: 0;
    box-shadow: none;
  }

/* still allow the input itself to show red if you want */
#cn-phone .phone-input.invalid {
  outline: none;
}

/* error text below the phone group */
#phone-error {
  margin-top:8px;
  color:#ff4d4f;
  font-size:.95rem;
}

.phone-row:focus-within{ border-color:#1677ff; box-shadow:0 0 0 2px rgba(22,119,255,.12); }

/* Left button that looks like a select */
.select-display{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  width:250px; height:100%; padding:0 14px; background:#fff; border:0; cursor:pointer; text-align:left;
}
.select-display:focus{ outline:none; }
.select-display #country-display{ color:#bfbfbf; font-size:16px; }
.select-display.active #country-display{ color:#333; }
.select-display .caret{ width:16px; height:16px; fill:#bfbfbf; flex:0 0 16px; }

/* Phone input */
.phone-input{ flex:1 1 auto; height:100%; border:0; outline:none; padding:0 16px; font-size:16px; color:#333; }
.phone-input::placeholder{ color:#bfbfbf; opacity: .5; }
.phone-input.invalid{ box-shadow:inset 0 0 0 1px #ff4d4f; }
.error-text{ margin-top:6px; color:#ff4d4f; font-size:14px; }

/* Floating country code panel (phone) */
.country-panel{
  position: fixed; z-index: 99999; width: 280px; max-height: 360px;
  background:#fff; border:1px solid #d6dee6; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.country-panel .panel-inner{ padding:10px; }
.country-panel .search-wrap{
  position:relative; margin-bottom:8px; border:1px solid #e5e5e5; border-radius:9px; height:36px;
  display:flex; align-items:center; background:#fff;
}
.country-panel .search-ico{ width:16px; height:16px; margin-left:10px; fill:#9aa6b2; }
.country-panel #country-search{ flex:1; border:0; outline:none; height:100%; padding:0 10px; background:transparent; }
.country-panel ul{ list-style:none; margin:0; padding:0; max-height:280px; overflow:auto; }
.country-panel li{
  padding:10px 12px; border-radius:8px; cursor:pointer; display:flex; align-items:center; font-size:15px; color:#213047;
}
.country-panel li:hover{ background:#f2f6ff; }
.country-panel .code{ width:54px; color:#3c69ff; font-weight:600; }
.country-panel .name{ flex:1; }

.country-panel .panel-inner ul li .code{
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-panel .panel-inner ul li .merged {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#country-display .placeholder-label {
  opacity: .5;             /* or use your existing muted color */
}

/* Make country code blue */
#country-display .dial-code {
  color: #3c69ff;   /* Bootstrap primary blue, adjust as needed */
  font-weight: 600; /* optional, to make it stand out */
}

/* Keep name normal */
#country-display .country-name {
  color: inherit;
}


/* Mobile width for the phone picker panel */
@media (max-width: 480px){
  .country-panel{ width:100vw; left:4vw !important; }
  .select-display{ width:300px; }
}

/* Country field trigger and dropdown */
.country-trigger{
  width:100%; height:52px; display:flex; align-items:center; justify-content:space-between;
  padding:0 14px; border:1px solid #e5e5e5; border-radius:12px; background:#fff; cursor:pointer; text-align:left;
}
.country-trigger.open{ border-color:#1677ff; box-shadow:0 0 0 2px rgba(22,119,255,.12); }
.country-trigger .placeholder{ color:#bfbfbf; opacity: .5;     }
.country-trigger .caret{ width:16px; height:16px; fill:#c9c9c9; flex:0 0 16px; }
.country-trigger.invalid{ border-color:#ff4d4f; box-shadow:inset 0 0 0 1px #ff4d4f; }

.country-dropdown{
  position: fixed; z-index: 99999; 
  /* width: min(860px, 92vw);  */
  width: auto!important;            /* width comes from JS */
  max-width: none;   
  background:#fff; border:1px solid #d6dee6;
  border-radius:14px; box-shadow:0 12px 40px rgba(0,0,0,.12);
}
.country-dropdown .dropdown-inner{ padding:12px; }
.country-dropdown .search-bar{
  position:relative; height:44px; border:1px solid #e5e5e5; border-radius:10px; display:flex; align-items:center;
  padding:0 40px 0 14px; background:#fff; margin-bottom:8px;
}
.country-dropdown .search-bar input{ border:0; outline:none; width:100%; height:100%; font-size:15px; }
.country-dropdown .search-ico{ position:absolute; right:12px; width:18px; height:18px; fill:#9aa6b2; }
.country-dropdown ul{ list-style:none; margin:0; padding:6px; max-height:420px; overflow:auto; }
.country-dropdown li{ padding:12px 10px; border-radius:8px; cursor:pointer; font-size:16px; color:#213047; }
.country-dropdown li:hover{ background:#f2f6ff; }
.country-dropdown li.pinned{ color:#3c69ff; font-weight:600; }

/* Success state */
.contact-success .success-inner{
  display:flex; align-items:center; justify-content:space-between; gap:28px; min-height:320px; padding:24px 0;
}
.contact-success .success-copy{ flex:1 1 auto; }
.contact-success .success-copy h2{ margin:0; font-size:30px; line-height:1.6; color:#213047; }
.contact-success .success-illu{ flex:0 0 320px; max-width:360px; }
.contact-success .success-illu img{ display:block; width:100%; height:auto; }
@media (max-width: 991px){
  .contact-success .success-inner{ flex-direction:column; text-align:left; min-height:0; }
  .contact-success .success-illu{ width:240px; max-width:70%; }
  .contact-success .success-copy h2{ font-size:24px; }
}

/* unified invalid look */
#antom-contact-form .form-control.invalid,
#antom-contact-form .country-trigger.invalid,
#antom-contact-form .select-display.invalid {
  border-color: #ff4d4f !important;
  box-shadow: 0 0 0 2px rgba(255,77,79,.1);
}

/* error text under fields */
#antom-contact-form .field-error,
#antom-contact-form .error-text {   /* you already have .error-text for phone */
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #ff4d4f;
  display: block;
}

/* hide empty placeholders cleanly */
#antom-contact-form .field-error:empty { display:none; }


/* === Privacy Consent Modal === */
#privacy-consent { position: fixed; inset: 0; z-index: 1060; }

#privacy-consent .pc-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .18s ease;
}

#privacy-consent[aria-hidden="false"] .pc-backdrop{ opacity: 1; }

#privacy-consent .pc-dialog{
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(.96);
  width: min(720px, 92vw);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  padding: 32px 28px 28px;
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

#privacy-consent[aria-hidden="false"] .pc-dialog{
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
}

.pc-header{ display:flex; justify-content:center; margin-bottom: 12px; }
.pc-header img{ width: 112px; height: 112px; margin-top: -90px;}

.pc-title{
  margin: 0 0 8px;
  text-align: center;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .5px;
}

.pc-text{
  margin: 0 auto 24px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: #1f2328;
  max-width: 52ch;
}

.pc-link{
  color: #1664ff;
  text-decoration: none;
  font-weight: 700;
}
.pc-link:hover{ text-decoration: underline; }

.pc-actions{
  display:flex; gap:12px; justify-content:center;
  margin-top: 8px;
}

.pc-btn{
  min-width: 160px; height: 46px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 0 22px;
  cursor: pointer;
}

.pc-btn-ghost{
  background: #fff;
  border: 1px solid #e5e5eb;
  color: #111;
}
.pc-btn-ghost:hover{ background:#f7f7fb; }

.pc-btn-primary{
  border: 0;
  background: #1664ff;
  color: #fff;
  box-shadow: 0 4px 10px rgba(22,100,255,.28);
}
.pc-btn-primary:hover{ background:#0f55e6; }

/* Small screens */
@media (max-width: 420px){
  .pc-title{ font-size: 22px; }
  .pc-text{ font-size: 16px; }
  .pc-btn{ min-width: 130px; height: 44px; font-size: 15px; }
}
