﻿:root {
  --portal-red: #e30613;
  --portal-red-dark: #b3040f;
  --portal-black: #212121;
  --portal-navy: #0d2238;
  --portal-bg: #f6f7fb;
  --portal-border: #ebedf2;
  --portal-text: #121212;
  --portal-muted: #afafaf;
  --portal-card-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --portal-font: "Outfit", sans-serif;
}
body,
button,
input,
select,
textarea {
  font-family: var(--portal-font);
}
body {
  background: linear-gradient(180deg, #ffffff 0%, var(--portal-bg) 100%);
  color: var(--portal-text);
  font-family: var(--portal-font);
}
a {
  text-decoration: none;
  color: var(--portal-red);
}
.site-main {
  min-height: 55vh;
}
.portal-header {
  z-index: 1030;
  position: relative;
}
.portal-topbar {
  background: var(--portal-red);
  color: #fff;
  font-size: 0.82rem;
}
.portal-topbar a {
  color: #fefefe;
}
.portal-topbar-inner,
.portal-contact-list,
.portal-social-list,
.portal-auth-actions,
.portal-newsletter-copy,
.portal-section-head,
.portal-footer-bottom,
.portal-highlight-overlay,
.portal-arrow-nav,
.portal-article-author-row,
.portal-article-actions,
.portal-share-row,
.portal-comment-top,
.portal-comment-actions {
  display: flex;
  align-items: center;
}
.portal-topbar-inner,
.portal-footer-bottom,
.portal-section-head,
.portal-article-author-row {
  justify-content: space-between;
}
.portal-topbar-inner {
  min-height: 38px;
  gap: 1rem;
}
.portal-contact-list,
.portal-social-list {
  gap: 1rem;
  flex-wrap: wrap;
}
.portal-contact-list i,
.portal-social-list i {
  margin-right: 0.4rem;
}
.portal-social-list i {
  font-size: 1.1rem;
}
.portal-navbar-wrap {
  background: var(--portal-black);
}
.portal-navbar {
  min-height: 90px;
  gap: 1.5rem;
}
.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  color: #fff;
}
.portal-brand:hover {
  color: #fff;
}
.portal-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}
.portal-brand-logo-footer {
  max-height: 80px;
}
.portal-brand-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, var(--portal-red), #ff433d);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 12px 25px rgba(227, 6, 19, 0.3);
}
.portal-brand strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}
.portal-brand small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f59a9f;
  font-size: 0.7rem;
  margin-top: 0.25rem;
}
.portal-nav-list {
  gap: 0.65rem;
}
.portal-nav-list .nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.55rem;
}
.portal-nav-list .nav-link:hover {
  color: #fff;
}
.portal-link-btn,
.portal-primary-btn,
.portal-footer-btn {
  border-radius: 0.5rem;
  border: 0;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  transition: 0.2s ease;
}
.portal-link-btn {
  color: #fff;
  padding-inline: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.portal-primary-btn,
.portal-footer-btn {
  background: var(--portal-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.portal-primary-btn:hover,
.portal-footer-btn:hover {
  background: var(--portal-red-dark);
  color: #fff;
}
.portal-menu-toggle {
  border-color: rgba(255, 255, 255, 0.25);
}
.portal-menu-toggle .navbar-toggler-icon {
  filter: invert(1);
}
.portal-home,
.portal-listing-page,
.portal-article-page {
  background: transparent;
}
.portal-listing-page {
  margin-bottom: 20px;
}
.portal-article-page {
  margin-top: 20px;
  margin-bottom: 20px;
}
.portal-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.15fr;
  gap: 0.7rem;
}
.portal-hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.portal-wide-highlight {
  grid-column: 1 / -1;
}
.portal-highlight-card,
.portal-district-card {
  position: relative;
  overflow: hidden;
  min-height: 272px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--portal-card-shadow);
}
.portal-highlight-card {
  border-radius: 0;
}
.portal-district-card {
  border-radius: 0.7rem;
}
.portal-highlight-xl {
  min-height: 450px;
}
.portal-mini-highlight {
  min-height: 220px;
}
.portal-wide-highlight {
  min-height: 220px;
}
.portal-highlight-card::before,
.portal-district-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.82) 100%
  );
}
.portal-badge,
.portal-badge-light,
.portal-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  border-radius: 0.5rem;
  font-weight: 800;
}
.portal-badge,
.portal-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--portal-red);
  color: #fff;
  padding: 0.45rem 0.65rem;
}
.portal-badge-light {
  background: #f7f7f7;
  color: var(--portal-red);
  padding: 0.38rem 0.58rem;
}
.portal-highlight-overlay {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  z-index: 2;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  color: #fff;
}
.portal-highlight-overlay h1,
.portal-highlight-overlay h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.08;
}
.portal-highlight-overlay h1 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}
.portal-highlight-overlay h2 {
  font-size: 1.38rem;
}
.portal-highlight-overlay p {
  margin: 0;
  max-width: 88%;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.2rem;
}
.portal-highlight-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
}
.portal-highlight-date i {
  font-size: 0.88rem;
}
.portal-section {
  padding: 2rem 0 1rem;
}
.portal-section-head {
  margin-bottom: 1.3rem;
}
.portal-section-head h2 {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  font-weight: 800;
}
.portal-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 4px;
  border-radius: 999px;
  background: var(--portal-red);
}
.portal-section-head a {
  color: var(--portal-red);
  font-weight: 700;
}
.portal-arrow-nav {
  gap: 0.5rem;
}
.portal-arrow-nav span,
.portal-pagination a,
.portal-pagination span {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  border: 1px solid var(--portal-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--portal-muted);
}
.portal-event-card,
.portal-product-card,
.portal-news-card,
.portal-comment-form,
.portal-sidebar-block,
.portal-content-block,
.portal-job-card,
.portal-category-item {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}
.portal-event-card {
  overflow: hidden;
  position: relative;
  height: 100%;
}
.portal-event-card img,
.portal-product-media img,
.portal-news-media img,
.portal-related-item img,
.portal-article-figure img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.portal-event-card img {
  height: 150px;
}
.portal-event-date {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0.8rem;
  padding: 0.65rem 0.75rem;
  min-width: 58px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.portal-event-date strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--portal-red);
}
.portal-event-date span {
  font-size: 0.72rem;
  color: var(--portal-muted);
}
.portal-event-body,
.portal-product-body,
.portal-news-body {
  padding: 1rem 1rem 1.1rem;
}
.portal-event-body h3,
.portal-product-body h3,
.portal-job-copy h3,
.portal-news-body h2,
.portal-related-item h4,
.portal-district-overlay h3 {
  margin: 0;
  font-weight: 800;
}
.portal-event-body h3,
.portal-product-body h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.portal-event-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.1rem;
  color: var(--portal-muted);
  font-size: 0.9rem;
  margin-top: 0.8rem;
}
.portal-event-body li,
.portal-meta-line,
.portal-category-item,
.portal-job-card,
.portal-related-item,
.portal-author-box,
.portal-comment-item {
  display: flex;
  align-items: center;
}
.portal-job-copy h3 {
  font-size: 1.3rem;
}
.portal-event-body i,
.portal-meta-line i {
  color: var(--portal-black);
  margin-right: 0.5rem;
}
.portal-district-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.portal-district-card {
  min-height: 144px;
}
.portal-district-overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 1;
  color: #fff;
}
.portal-district-overlay span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}
.portal-map-card {
  background: linear-gradient(180deg, #fff, #f7f8fb);
  border: 2px dashed var(--portal-border);
  color: var(--portal-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.portal-map-card::before {
  display: none;
}
.portal-map-card i {
  color: var(--portal-red);
  font-size: 1.4rem;
}
.portal-category-list {
  display: grid;
  gap: 0.8rem;
}
.portal-category-item {
  justify-content: space-between;
  padding: 1rem 1.1rem;
  color: var(--portal-text);
}
.portal-category-item:hover {
  background: var(--portal-red);
  color: #ffffff;
}
.portal-category-item span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.portal-category-item strong {
  color: var(--portal-muted);
  font-size: 0.82rem;
}
.portal-category-item:hover strong {
  color: #fefefe;
}
.portal-product-card {
  overflow: hidden;
  height: 100%;
}
.portal-product-media {
  position: relative;
}
.portal-product-media img {
  height: 200px;
}
.portal-price {
  color: var(--portal-red);
  display: block;
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
}
.portal-meta-line {
  color: var(--portal-muted);
  font-size: 0.88rem;
  margin-top: 0.45rem;
}
.portal-inline-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.portal-inline-meta-row span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.portal-product-price-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.65rem;
}
.portal-product-price-row .portal-price {
  margin-bottom: 0;
  text-align: right;
}
.portal-job-card {
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
}
.portal-job-icon,
.portal-author-avatar,
.portal-comment-avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f1;
  color: var(--portal-red);
  font-weight: 800;
  flex-shrink: 0;
}
.portal-job-copy {
  flex: 1;
}
.portal-job-copy h3 a {
  color: var(--portal-black);
}
.portal-job-copy p,
.portal-footer-text,
.portal-footer-list a,
.portal-page-intro p,
.portal-news-body p,
.portal-article-body,
.portal-article-headline-highlight,
.portal-sidebar-newsletter p,
.portal-comment-content p {
  color: var(--portal-text);
}
.portal-job-copy p,
.portal-news-body p,
.portal-sidebar-newsletter p {
  margin: 0.35rem 0 0;
}
.portal-job-meta {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}
.portal-job-meta span {
  display: inline-flex;
  align-items: center;
}
.portal-job-meta i {
  color: #acacac;
  margin-right: 0.45rem;
}
.portal-newsletter-band {
  background: var(--portal-black);
  padding: 2rem 0 2rem;
}
.portal-newsletter-box {
  background: linear-gradient(90deg, var(--portal-red), #ff1f28);
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.portal-newsletter-copy {
  gap: 1rem;
  color: #fff;
}
.portal-newsletter-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
}
.portal-newsletter-copy h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
}
.portal-newsletter-copy p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.84);
}
.portal-newsletter-form {
  display: flex;
  gap: 0.85rem;
  width: min(600px, 100%);
}
.portal-newsletter-form .form-control,
.portal-sidebar-newsletter .form-control,
.portal-comment-form .form-control,
.portal-search-box input {
  border: 0;
  border-radius: 0.85rem;
  min-height: 52px;
}
.portal-newsletter-form .form-control,
.portal-sidebar-newsletter .form-control {
  background: #0d2238;
  color: #fff;
}
.portal-newsletter-form .form-control::placeholder,
.portal-sidebar-newsletter .form-control::placeholder,
.portal-search-box input::placeholder {
  color: #9fa8b9;
}
.portal-footer {
  background: var(--portal-black);
  color: #fff;
  padding: 2.5rem 1rem 2rem;
}
.portal-footer .portal-footer-text {
  color: rgba(255, 255, 255, 0.78);
}
.portal-footer h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.portal-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.portal-footer-list,
.portal-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.portal-footer-list a,
.portal-footer-contact a,
.portal-footer-contact li {
  font-size: 0.95rem;
  color: var(--portal-muted);
}
.portal-footer-list a:hover {
  color: #fff;
}
.portal-footer-contact i,
.portal-footer-list a::before {
  color: var(--portal-red);
  margin-right: 0.55rem;
}
.portal-footer-list a::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.portal-footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.1rem;
}
.portal-footer-socials a {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.portal-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.2rem;
  color: #9ba3b4;
  font-size: 0.9rem;
}
.portal-footer-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.portal-page-intro {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.portal-page-intro h1,
.portal-article-head h1 {
  font-size: clamp(1.2rem, 2vw, 3.75rem);
  font-weight: 900;
  line-height: 1.06;
  margin-bottom: 0.75rem;
}
.portal-listing-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 480px) 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.portal-search-box {
  position: relative;
}
.portal-search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa5b4;
}
.portal-search-box input {
  width: 100%;
  background: #f4f7fb;
  padding: 0 1rem 0 2.9rem;
  border: 1px solid #e8edf3;
}
.portal-filter-chips {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.portal-filter-chips a,
.portal-filter-chips button {
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 0.85rem;
  border: 1px solid var(--portal-border);
  background: #fff;
  font-weight: 700;
}
.portal-filter-chips a {
  text-decoration: none;
  color: var(--portal-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.portal-filter-chips .is-active {
  background: var(--portal-red);
  border-color: var(--portal-red);
  color: #fff;
}
.portal-news-card {
  overflow: hidden;
  height: 100%;
}
.portal-news-media img {
  height: 245px;
}
.portal-news-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  color: var(--portal-muted);
  font-size: 0.88rem;
}
.portal-news-meta span i {
  margin-right: 0.5rem;
}
.portal-news-body h2 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}
.portal-news-body h2 a {
  color: var(--portal-text);
}
.portal-pagination-wrap {
  display: flex;
  justify-content: center;
  padding: 3rem 0 1rem;
}
.portal-pagination {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.portal-pagination .is-current {
  background: var(--portal-red);
  color: #fff;
  border-color: var(--portal-red);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.2);
}
.portal-breadcrumb {
  color: #8a94a6;
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}
.portal-breadcrumb span {
  margin: 0 0.5rem;
}
.portal-author-box {
  gap: 0.85rem;
}
.portal-author-box div {
  display: grid;
}
.portal-author-box span {
  color: var(--portal-muted);
  font-size: 0.9rem;
}
.portal-article-actions {
  gap: 0.8rem;
}
.portal-article-actions a {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f6fa;
  color: var(--portal-navy);
}
.portal-article-figure {
  margin: 1.8rem 0 2rem;
}
.portal-article-figure img {
  border-radius: 0.5rem;
  height: auto;
  max-height: 540px;
}
.portal-article-headline-highlight {
  margin: -0.2rem 0 1.8rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--portal-red);
  background: #f7f7f7;
  border-radius: 0 1rem 1rem 0;
  color: var(--portal-text);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.8;
  font-weight: 600;
}
.portal-article-body {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
}
.portal-article-body h2,
.portal-article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--portal-text);
  font-weight: 800;
}
.portal-article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto 0;
}
.portal-article-body figcaption,
.portal-article-figure {
  font-size: 0.8rem;
  font-style: italic;
}
.portal-article-quote {
  margin: 2rem 0;
  border-left: 4px solid var(--portal-red);
  padding: 1rem 1.15rem;
  background: #fff8f8;
  border-radius: 0 0.85rem 0.85rem 0;
  color: #6d3d3e;
  font-style: italic;
}
.portal-share-row {
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.6rem;
  border-top: 1px solid var(--portal-border);
  border-bottom: 1px solid var(--portal-border);
  margin-top: 2rem;
}
.portal-share-row a {
  color: #fff;
  padding: 0.72rem 1rem;
  border-radius: 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.share-facebook {
  background: #1877f2;
}
.share-twitter {
  background: #1d9bf0;
}
.share-whatsapp {
  background: #25d366;
}
.portal-content-block img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}
.portal-sidebar-block,
.portal-content-block {
  padding: 1.3rem;
}
.portal-sidebar-block {
  margin: 20px 0;
}
.portal-sidebar-block h3 {
  position: relative;
  margin-bottom: 1.1rem;
  padding-left: 0.9rem;
  font-size: 1.45rem;
  font-weight: 800;
}
.portal-sidebar-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 4px;
  border-radius: 999px;
  background: var(--portal-red);
}
.portal-related-list {
  display: grid;
  gap: 1rem;
}
.portal-related-item {
  align-items: flex-start;
  gap: 0.85rem;
}
.portal-related-item img {
  width: 92px;
  height: 82px;
  border-radius: 0.85rem;
  flex-shrink: 0;
}
.portal-related-item h4 {
  font-size: 0.97rem;
  margin-bottom: 0.35rem;
}
.portal-related-item span {
  color: var(--portal-muted);
  font-size: 0.82rem;
}
.portal-sidebar-newsletter {
  background: #fafafa;
}
.portal-sidebar-newsletter form {
  display: grid;
  gap: 0.8rem;
}
.portal-comment-form {
  padding: 1.2rem;
  display: grid;
  gap: 0.85rem;
}
.portal-comment-form label {
  font-weight: 700;
}
.portal-comment-form .form-control {
  background: #fff;
  border: 1px solid var(--portal-border);
  min-height: 52px;
}
.portal-comment-form [data-contact-feedback] {
  margin-bottom: 0;
}
.portal-comment-form .portal-primary-btn[disabled] {
  opacity: 0.72;
  cursor: wait;
}
.portal-comment-form textarea.form-control {
  min-height: 140px;
}
.portal-owner-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.portal-owner-card-image,
.portal-owner-card-fallback {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 1rem;
}
.portal-owner-card-image {
  object-fit: cover;
  display: block;
}
.portal-owner-card-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(158, 9, 12, 0.12);
  color: var(--portal-primary);
  font-weight: 800;
  font-size: 1.1rem;
}
.portal-owner-card-meta {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}
.portal-owner-card-meta strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}
.portal-owner-card-meta span {
  display: inline-flex;
  align-items: center;
  color: var(--portal-muted);
  font-size: 0.95rem;
}
.portal-comment-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.portal-comment-item {
  align-items: flex-start;
  gap: 0.9rem;
}
.portal-comment-item.is-reply {
  margin-left: 3rem;
}
.portal-comment-content {
  flex: 1;
}
.portal-comment-top {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}
.portal-comment-top span {
  color: var(--portal-muted);
  font-size: 0.85rem;
}
.portal-comment-actions {
  gap: 1rem;
  flex-wrap: wrap;
}
.portal-comment-actions a,
.portal-comment-actions button {
  color: var(--portal-red);
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
}
.portal-comments-more {
  width: 100%;
  min-height: 54px;
  border-radius: 0.9rem;
  border: 1px solid var(--portal-border);
  background: #fff;
  color: var(--portal-muted);
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1199px) {
  .portal-navbar,
  .portal-listing-toolbar,
  .portal-hero-grid {
    grid-template-columns: 1fr;
  }
  .portal-hero-side {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 991px) {
  .portal-newsletter-box,
  .portal-newsletter-form,
  .portal-footer-bottom,
  .portal-article-author-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-section-head {
    flex-direction: row;
    align-items: flex-start;
  }
  .portal-topbar-inner,
  .portal-contact-list,
  .portal-social-list {
    flex-direction: row;
    align-items: center;
  }
  .portal-navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .portal-auth-actions {
    margin-top: 1rem;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .portal-hero-side,
  .portal-district-grid {
    grid-template-columns: 1fr;
  }
  .portal-highlight-xl {
    min-height: 360px;
  }
  .portal-mini-highlight,
  .portal-wide-highlight {
    min-height: 220px;
  }
  .portal-article-head h1,
  .portal-page-intro h1 {
    font-size: 2rem;
  }
}
@media (max-width: 575px) {
  .portal-brand strong {
    font-size: 1.35rem;
  }
  .portal-contact-list,
  .portal-social-list,
  .portal-news-meta,
  .portal-share-row,
  .portal-comment-top,
  .portal-comment-actions {
    gap: 0.55rem;
  }
  .portal-comment-item.is-reply {
    margin-left: 1rem;
  }
}
.portal-link-btn:hover {
  color: #fff;
}
.portal-account-page .portal-link-btn {
  color: #212121;
}
.portal-account-page .portal-link-btn span {
  color: #212121;
}
.portal-account-page .portal-link-btn:hover,
.portal-account-page .portal-link-btn:hover span {
  color: var(--portal-red);
}
.portal-account-page .portal-link-btn.portal-link-btn-danger,
.portal-account-page .portal-link-btn.portal-link-btn-danger span {
  color: #b42318;
}
.portal-account-page .portal-link-btn.portal-link-btn-danger:hover,
.portal-account-page .portal-link-btn.portal-link-btn-danger:hover span {
  color: #7a271a;
}
.portal-menu-toggle {
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.portal-menu-toggle i {
  font-size: 1.6rem;
}
.portal-mobile-offcanvas {
  background: #141414;
  color: #fff;
  width: min(320px, 88vw);
}
.portal-mobile-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: flex-start;
}
.portal-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.portal-mobile-brand strong {
  display: block;
  font-size: 1.25rem;
}
.portal-mobile-brand small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f59a9f;
  font-size: 0.68rem;
  margin-top: 0.2rem;
}
.portal-mobile-nav-list {
  display: grid;
  gap: 0.35rem;
}
.portal-mobile-nav-list .nav-link {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
}
.portal-mobile-nav-list .nav-link:hover,
.portal-mobile-nav-list .nav-link:focus {
  color: #fff;
  background: rgba(227, 6, 19, 0.18);
}
.portal-mobile-auth {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-mobile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
}
.portal-mobile-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.portal-guide-filter .form-control,
.portal-guide-filter .form-select,
.business-form-card .form-control,
.business-form-card .form-select {
  min-height: 2.7rem;
  border-radius: 0.5rem;
  background-color: #f7f7f7;
}
.form-select-bold {
  font-weight: 700;
}
.portal-guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.portal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.portal-gallery-item {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--portal-border);
}
.portal-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.portal-contact-panel {
  display: grid;
  gap: 0.9rem;
}
.portal-contact-panel div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--portal-muted);
}
.portal-contact-panel i {
  margin-top: 0.2rem;
  color: var(--portal-red);
}
.portal-contact-panel a {
  color: #333;
  font-weight: 600;
}
.portal-social-icons a {
  color: #3f3f3f;
  font-size: 2rem;
}
.portal-business-map {
  width: 100%;
  height: 420px;
  min-height: 420px;
  border-radius: 1rem;
  border: 1px solid var(--portal-border);
  overflow: hidden;
  background: linear-gradient(180deg, #f4f7fb 0%, #e9eef6 100%);
}
.portal-business-map .mapboxgl-canvas,
.portal-business-map .mapboxgl-canvas-container {
  border-radius: 1rem;
}
.portal-business-map .mapboxgl-ctrl-group {
  border: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}
.portal-map-popup {
  display: grid;
  gap: 0.25rem;
}
.portal-map-popup strong {
  font-size: 0.95rem;
  color: var(--portal-text);
}
.portal-map-popup span {
  color: var(--portal-muted);
  font-size: 0.85rem;
}
.portal-business-map-actions {
  display: flex;
  justify-content: flex-end;
}
.business-review-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
}
.business-form-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}
@media (max-width: 767px) {
  .portal-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.portal-business-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 0.7rem;
  background-size: cover;
  background-position: center;
  box-shadow: var(--portal-card-shadow);
}
.portal-business-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 16, 26, 0.12) 0%,
    rgba(10, 16, 26, 0.78) 100%
  );
}
.portal-business-hero-content {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #fff;
}
.portal-business-meta {
  color: rgba(255, 255, 255, 0.86);
}
.portal-business-meta .portal-badge-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}
.portal-business-hero-main {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
}
.portal-business-profile-image {
  width: 110px;
  height: 110px;
  border-radius: 1.35rem;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  background: #fff;
}
.portal-business-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  font-weight: 900;
}
.portal-business-hero-copy p {
  margin: 0.75rem 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}
@media (max-width: 991px) {
  .portal-business-hero,
  .portal-business-hero-content {
    min-height: 360px;
  }
}
@media (max-width: 767px) {
  .portal-business-hero-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-business-profile-image {
    width: 88px;
    height: 88px;
    border-radius: 1.1rem;
  }
  .portal-business-hero-content {
    padding: 1.25rem;
  }
}

.business-hours-grid {
  display: grid;
  gap: 1rem;
}
.business-hours-row {
  padding: 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  background: #fbfcfe;
}
.business-check-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  background: #fbfcfe;
  cursor: pointer;
  color: var(--portal-text);
  font-weight: 500;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.business-toggle-card {
  justify-content: space-between;
}
.business-check-copy {
  flex: 1;
  line-height: 1.4;
}
.business-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}
.business-toggle-inline {
  gap: 0;
  flex-shrink: 0;
}
.business-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.business-toggle-switch {
  position: relative;
  width: 3.15rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #d5dbe5;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.business-toggle-switch::before {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.2rem;
  width: 1.48rem;
  height: 1.48rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease;
}
.business-toggle-input:checked + .business-toggle-switch {
  background: rgba(158, 9, 12, 0.82);
}
.business-toggle-input:checked + .business-toggle-switch::before {
  transform: translateX(1.28rem);
}
.business-toggle-input:focus-visible + .business-toggle-switch {
  outline: 3px solid rgba(158, 9, 12, 0.16);
  outline-offset: 2px;
}
.business-toggle-label {
  color: var(--portal-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.business-check-card:has(.business-toggle-input:checked) {
  border-color: rgba(158, 9, 12, 0.3);
  background: #fff7f7;
  box-shadow: 0 10px 24px rgba(158, 9, 12, 0.08);
}
.business-hours-row:has(.business-toggle-input:checked) {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f4f6f9;
}
.business-sidebar-stack {
  display: grid;
  gap: 1.25rem;
}
.business-detail-list {
  display: grid;
  gap: 0.85rem;
}
.business-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--portal-border);
  color: var(--portal-muted);
}
.business-detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.business-detail-row strong {
  color: var(--portal-text);
  text-align: right;
}
.business-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.business-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #fff3f3;
  color: var(--portal-black);
  font-weight: 700;
  font-size: 0.92rem;
}
@media (max-width: 767px) {
  .business-detail-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .business-detail-row strong {
    text-align: left;
  }
}

.portal-confirmation-page {
  background: transparent;
}
.portal-confirmation-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--portal-border);
  border-radius: 1.5rem;
  padding: 3.25rem 2.4rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.portal-confirmation-icon {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin: 0 auto 1.5rem;
}
.portal-confirmation-icon.is-success {
  background: linear-gradient(180deg, #eafaf0 0%, #d7f6e2 100%);
  color: #16a34a;
  box-shadow: 0 18px 36px rgba(22, 163, 74, 0.15);
}
.portal-confirmation-icon.is-error {
  background: linear-gradient(180deg, #fff1f1 0%, #ffe0e0 100%);
  color: var(--portal-red);
  box-shadow: 0 18px 36px rgba(227, 6, 19, 0.12);
}
.portal-confirmation-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.portal-confirmation-card h1 {
  font-size: clamp(1.2rem, 2vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.portal-confirmation-card p {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--portal-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.portal-confirmation-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.portal-confirmation-link {
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--portal-border);
  background: #fff;
  color: var(--portal-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.portal-confirmation-link:hover {
  color: var(--portal-text);
  border-color: #d7dce5;
}
@media (max-width: 575px) {
  .portal-confirmation-card {
    padding: 2.2rem 1.25rem;
  }
  .portal-confirmation-actions {
    flex-direction: column;
  }
  .portal-confirmation-actions .portal-primary-btn,
  .portal-confirmation-actions .portal-confirmation-link {
    width: 100%;
  }
}
.portal-reply-form {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--portal-border);
  background: #fbfcfe;
}
.portal-reply-form[hidden] {
  display: none !important;
}
.portal-reply-form .form-control {
  min-height: 112px;
}
.portal-reply-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.portal-reply-cancel {
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--portal-border);
  background: #fff;
  color: var(--portal-text);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.business-toggle-switch {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.business-option-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.business-check-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  background: #fbfcfe;
  cursor: pointer;
  color: var(--portal-text);
  font-weight: 500;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.business-toggle-card {
  justify-content: flex-start;
}
.business-check-copy {
  flex: 1;
  line-height: 1.4;
}
.business-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}
.business-toggle-inline {
  gap: 0;
  flex-shrink: 0;
}
.business-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.business-toggle-switch {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  width: 3.15rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #d5dbe5;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.business-toggle-switch::before {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.2rem;
  width: 1.48rem;
  height: 1.48rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease;
}
.business-toggle-input:checked + .business-toggle-switch {
  background: rgba(158, 9, 12, 0.82);
}
.business-toggle-input:checked + .business-toggle-switch::before {
  transform: translateX(1.28rem);
}
.business-toggle-input:focus-visible + .business-toggle-switch {
  outline: 3px solid rgba(158, 9, 12, 0.16);
  outline-offset: 2px;
}
.business-toggle-label {
  color: var(--portal-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.business-check-card:has(.business-toggle-input:checked) {
  border-color: rgba(158, 9, 12, 0.3);
  background: #fff7f7;
  box-shadow: 0 10px 24px rgba(158, 9, 12, 0.08);
}
.business-hours-row:has(.business-toggle-input:checked) {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f4f6f9;
}
.account-page {
  background: transparent;
}
.account-card {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 1.35rem;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.account-card .form-control {
  background-color: #f7f7f7;
  min-height: 2.7rem;
}
.account-card .form-control:read-only,
.account-card .form-control:read-only:focus {
  color: #777777;
  background-color: transparent;
  border: 0;
  box-shadow: none !important;
}
.account-summary-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.account-avatar-wrap {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
}
.account-avatar-image,
.account-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 1.2rem;
}
.account-avatar-image {
  object-fit: cover;
}
.account-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f1;
  color: var(--portal-red);
  font-size: 1.6rem;
  font-weight: 800;
}
.account-meta-list {
  display: grid;
  gap: 0.9rem;
}
.account-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--portal-border);
}
.account-meta-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.account-meta-list span {
  color: var(--portal-muted);
}
.account-meta-list strong {
  color: var(--portal-text);
  text-align: right;
}
.account-shortcuts {
  display: grid;
  gap: 0.85rem;
}
.account-shortcut {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  color: var(--portal-text);
  background: #fbfcfe;
}
.account-shortcut:hover {
  color: var(--portal-text);
  border-color: rgba(158, 9, 12, 0.25);
  box-shadow: 0 14px 28px rgba(158, 9, 12, 0.08);
}
.account-shortcut i {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f1;
  color: var(--portal-red);
}
.account-shortcut strong {
  display: block;
  margin-bottom: 0.2rem;
}
.account-shortcut span {
  color: var(--portal-muted);
  font-size: 0.92rem;
}
@media (max-width: 767px) {
  .account-summary-head,
  .account-meta-list div {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-meta-list strong {
    text-align: left;
  }
}

.portal-brand.has-logo,
.portal-mobile-brand.has-logo,
.portal-footer-brand.has-logo {
  gap: 0;
}

.business-check-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.business-option-icon {
  width: 1rem;
  text-align: center;
  color: var(--portal-red);
  flex-shrink: 0;
}
.business-chip-icon {
  margin-right: 0.45rem;
}

.portal-guide-page {
  padding-bottom: 2rem;
}
.portal-guide-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.portal-guide-sidebar {
  position: sticky;
  top: 110px;
}
.portal-guide-filter-form {
  display: grid;
  gap: 1.1rem;
}
.portal-guide-filter-group {
  display: grid;
  gap: 0.65rem;
}
.portal-filter-check-list {
  display: grid;
  gap: 0.65rem;
}
.portal-filter-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--portal-border);
  border-radius: 0.95rem;
  background: #fbfcfe;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.portal-filter-check:hover {
  border-color: rgba(227, 6, 19, 0.18);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}
.portal-filter-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--portal-red);
  flex-shrink: 0;
}
.portal-filter-check span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--portal-text);
  font-weight: 500;
}
.portal-guide-filter-actions {
  display: grid;
  gap: 0.75rem;
}
.portal-guide-results {
  min-width: 0;
}
.portal-guide-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.portal-guide-featured-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  background: #fff;
  color: var(--portal-text);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}
.portal-guide-featured-item:hover {
  color: var(--portal-text);
}
.portal-guide-featured-item img {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  object-fit: cover;
  flex-shrink: 0;
}
.portal-guide-featured-item strong {
  display: block;
  margin-bottom: 0.2rem;
}
.portal-guide-featured-item span {
  color: var(--portal-muted);
  font-size: 0.9rem;
}
.portal-guide-list {
  display: grid;
  gap: 1rem;
}
.portal-guide-list-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}
.portal-guide-list-thumb-link {
  display: block;
}
.portal-guide-list-thumb {
  width: 116px;
  height: 116px;
  border-radius: 1rem;
  object-fit: cover;
  background: #f4f6fa;
}
.portal-guide-list-content {
  min-width: 0;
}
.portal-guide-list-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.portal-guide-list-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.portal-guide-list-head h3 a {
  color: var(--portal-text);
}
.portal-guide-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--portal-text);
  font-weight: 700;
  white-space: nowrap;
}
.portal-guide-rating span {
  color: var(--portal-muted);
  font-weight: 500;
}
.portal-guide-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  color: var(--portal-muted);
}
.portal-guide-contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.portal-guide-contact-row i {
  color: var(--portal-red);
}
.portal-guide-list-excerpt {
  margin: 0.95rem 0 0;
  color: var(--portal-muted);
  line-height: 1.75;
}
.portal-guide-list-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
@media (max-width: 1199px) {
  .portal-guide-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .portal-guide-featured-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991px) {
  .portal-guide-layout {
    grid-template-columns: 1fr;
  }
  .portal-guide-sidebar {
    position: static;
  }
}
@media (max-width: 767px) {
  .portal-guide-list-item {
    grid-template-columns: 1fr;
  }
  .portal-guide-list-thumb {
    width: 88px;
    height: 88px;
  }
  .portal-guide-list-thumb-link {
    display: none;
  }
  .portal-guide-list-head,
  .portal-guide-contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.portal-classified-list {
  display: grid;
  gap: 1.25rem;
}

.portal-classified-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

.portal-classified-thumb-link {
  display: block;
  height: 100%;
}

.portal-classified-thumb {
  width: 100%;
  height: 100%;
  /*min-height: 220px;*/
  object-fit: cover;
  display: block;
}

.portal-classified-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.portal-classified-topline,
.portal-classified-specs,
.portal-classified-footer {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.portal-classified-specs {
  justify-content: space-between;
}

.portal-classified-price {
  color: #9e090c;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.portal-classified-excerpt {
  color: #516071;
  margin-bottom: 0;
}

.portal-classified-specs span,
.portal-classified-topline span,
.portal-classified-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #516071;
  font-size: 0.95rem;
}

.portal-classified-footer {
  justify-content: space-between;
  margin-top: auto;
}

.portal-classified-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1.25rem;
}

.portal-classified-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.portal-classified-hero-copy {
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portal-classified-hero-copy h1 {
  font-weight: 700;
}

.portal-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.portal-lightbox-trigger--hero {
  height: 100%;
}

.portal-lightbox-trigger img {
  display: block;
  width: 100%;
}

body.is-lightbox-open {
  overflow: hidden;
}

.portal-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(9, 10, 16, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.portal-lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portal-lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: 100%;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.portal-lightbox-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  max-height: calc(100vh - 120px);
}

.portal-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 1.15rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.portal-lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-align: center;
}

.portal-lightbox-close,
.portal-lightbox-nav {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.portal-lightbox-close:hover,
.portal-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.portal-lightbox-close:hover {
  transform: translateY(-1px);
}

.portal-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.portal-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
}

.portal-lightbox-nav.is-prev {
  left: -70px;
}

.portal-lightbox-nav.is-next {
  right: -70px;
}

.portal-lightbox-nav[disabled] {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%);
}

@media (max-width: 991.98px) {
  .portal-lightbox-overlay {
    padding: 1rem;
  }

  .portal-lightbox-dialog {
    width: 100%;
  }

  .portal-lightbox-nav {
    top: auto;
    bottom: -64px;
    transform: none;
  }

  .portal-lightbox-nav.is-prev {
    left: calc(50% - 62px);
  }

  .portal-lightbox-nav.is-next {
    right: calc(50% - 62px);
  }
}
.portal-classified-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.portal-classified-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 991.98px) {
  .portal-classified-card,
  .portal-classified-hero {
    grid-template-columns: 1fr;
  }

  .portal-classified-thumb {
    min-height: 210px;
  }

  .portal-classified-hero-media img {
    min-height: 260px;
  }
}

.portal-classified-body h3 {
  margin: 0;
}

.portal-classified-body h3 a {
  color: #212121;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.portal-classified-body h3 a:hover {
  color: #212121;
}

.portal-classified-footer .portal-primary-btn span {
  color: #fff;
}

.portal-classified-footer .portal-primary-btn {
  margin-left: auto;
}

.portal-highlight-link {
  color: #fff;
  text-decoration: none;
}

.portal-highlight-link:hover {
  color: #fff;
}

.portal-highlight-cta {
  margin-top: 0.25rem;
}

.portal-event-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.portal-event-card-link:hover {
  color: inherit;
}
.portal-events-page .portal-guide-layout {
  align-items: flex-start;
}
.portal-event-list {
  display: grid;
  gap: 1rem;
}
.portal-event-list-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}
.portal-event-list-thumb img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 0.9rem;
  object-fit: cover;
  display: block;
}
.portal-event-list-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.portal-event-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  color: var(--portal-muted);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}
.portal-event-list-body h3 {
  margin: 0 0 0.85rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}
.portal-event-list-body h3 a {
  color: #212121;
  text-decoration: none;
}
.portal-event-list-body p {
  color: var(--portal-muted);
  margin-bottom: 1rem;
}
.portal-event-list-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.portal-event-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--portal-red);
}
.portal-event-hero .portal-classified-hero-media img {
  min-height: 320px;
}
@media (max-width: 991.98px) {
  .portal-event-list-item {
    grid-template-columns: 1fr;
  }
  .portal-event-list-thumb img {
    min-height: 220px;
  }
}

.portal-account-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: transparent;
  margin: 0;
}
.portal-account-table thead th {
  border: 0;
  background: #fbfcfe;
  color: #98a2b3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1rem 1.15rem;
  text-transform: uppercase;
}
.portal-account-table tbody td {
  border-top: 1px solid #eef2f6;
  border-bottom: 0;
  background: #fff;
  padding: 1rem 0.8rem;
  vertical-align: middle;
}
.portal-account-table tbody tr:hover td {
  background: #fcfcfd;
}
.portal-account-table tbody tr.is-featured-row,
.portal-account-table tbody tr.is-featured-row td {
  background: linear-gradient(180deg, #fffdf4 0%, #fff7e8 100%);
}
.portal-account-table tbody tr.is-featured-row:hover td {
  background: linear-gradient(180deg, #fff8e8 0%, #fff1d9 100%);
}
.portal-account-table tbody tr.is-featured-row td:first-child {
  border-left: 3px solid rgba(245, 158, 11, 0.72);
}
.portal-account-table tbody tr.is-featured-row td[data-label="Status"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 120px;
  gap: 1rem;
  align-items: center;
}
.portal-account-entity-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.portal-account-thumb {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fa;
  color: #212121;
}
.portal-account-thumb-square {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1rem;
}
.portal-account-thumb.has-image {
  background: #fff;
}
.portal-account-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portal-account-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #fff1f1;
  color: var(--portal-red);
  font-size: 1.15rem;
}
.portal-account-table .entity-copy {
  min-width: 0;
}
.portal-account-table .entity-title {
  color: #1f2937;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}
.entity-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.portal-account-table .entity-title-wrap .portal-badge-highlight,
.portal-account-mobile-card .entity-title-wrap .portal-badge-highlight {
  transform: translateY(-1px);
}
.portal-account-table .entity-subtitle,
.portal-account-table .table-note {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.45;
}
.portal-account-table .soft-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.66rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}
.portal-account-table .soft-badge-active {
  background: #eefcf3;
  color: #15803d;
  border-color: #d5f4df;
}
.portal-account-table .soft-badge-warning {
  background: #fff7e8;
  color: #b45309;
  border-color: #fde7c2;
}
.portal-account-table .soft-badge-inactive {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #e5e7eb;
}
.portal-account-table .soft-badge-neutral {
  background: #eef4ff;
  color: #315efb;
  border-color: #d9e4ff;
}
.portal-account-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.portal-account-mobile-cards {
  grid-template-columns: 1fr;
}
.portal-account-mobile-card {
  padding: 1rem;
}
.portal-account-mobile-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.portal-account-mobile-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.portal-account-mobile-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--portal-border);
}
.portal-account-mobile-meta div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.portal-account-mobile-meta span {
  color: var(--portal-muted);
}
.portal-account-mobile-meta strong {
  color: var(--portal-text);
  text-align: right;
}
@media (max-width: 767px) {
  .portal-account-table thead {
    display: none;
  }
  .portal-account-table,
  .portal-account-table tbody,
  .portal-account-table tr,
  .portal-account-table td {
    display: block;
    width: 100%;
  }
  .portal-account-table tbody tr {
    border-top: 1px solid #eef2f6;
  }
  .portal-account-table tbody td {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 8.25rem;
    text-align: left !important;
  }
  .portal-account-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    top: 0.95rem;
    width: 6.25rem;
    color: #98a2b3;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .portal-account-table .text-end {
    text-align: left !important;
  }
  .portal-account-table .portal-account-thumb-square {
    width: 5rem;
    height: 5rem;
  }
  .portal-account-mobile-meta div {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-account-mobile-meta strong {
    text-align: left;
  }
}

.portal-job-card {
  color: inherit;
  text-decoration: none;
}
.portal-job-listing {
  display: grid;
  gap: 1rem;
}
.portal-job-list-item {
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  padding: 1.1rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.portal-job-list-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1;
}
.portal-job-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--portal-muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.portal-job-list-meta span {
  display: inline-flex;
  align-items: center;
}
.portal-job-list-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: end;
}
.portal-job-salary {
  color: var(--portal-red);
  font-weight: 800;
}
.portal-job-salary-title {
  display: flex;
  flex-direction: row;
}
.portal-job-salary-title i {
  display: flex;
  align-items: center;
  margin-right: 10px;
  font-size: 1.5rem;
  color: #73a97f;
}
.portal-favorite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(158, 9, 12, 0.16);
  background: #fff;
  color: #212121;
  padding: 0.78rem 1rem;
  font-weight: 700;
}
.portal-favorite-btn.is-active {
  background: #fff1f1;
  color: var(--portal-red);
  border-color: rgba(158, 9, 12, 0.24);
}
.portal-job-detail-card {
  padding: 1.5rem;
}
.portal-job-detail-head h1 {
  margin-bottom: 0;
}
.portal-job-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.portal-job-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}
.portal-job-summary-grid span {
  display: block;
  color: var(--portal-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.portal-job-summary-grid strong {
  color: var(--portal-text);
}
.portal-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.portal-sidebar-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--portal-text);
}
.portal-sidebar-list strong {
  color: var(--portal-muted);
  font-size: 0.85rem;
}
@media (max-width: 991.98px) {
  .portal-job-list-item {
    flex-direction: column;
    align-items: stretch;
  }
  .portal-job-list-actions {
    justify-items: stretch;
  }
  .portal-job-detail-grid,
  .portal-job-summary-grid {
    grid-template-columns: 1fr;
  }
}
.portal-owner-card-image {
  position: relative;
  overflow: hidden;
  background: #f3f5f9;
}
.portal-owner-card-image img,
img.portal-owner-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.portal-job-detail-page .portal-job-detail-grid {
  grid-template-columns: 1fr;
}

.portal-favorites-tabs {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.portal-favorites-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  color: #212121;
  background: #fff;
  font-weight: 700;
}
.portal-favorites-tab strong {
  font-size: 0.8rem;
  color: var(--portal-muted);
}
.portal-favorites-tab.is-active {
  background: #fff1f1;
  border-color: rgba(158, 9, 12, 0.24);
  color: var(--portal-red);
}
.portal-favorites-list {
  display: grid;
  gap: 1rem;
}
.portal-favorite-entry {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1.4rem;
  padding: 1rem;
  background: #fff;
  align-items: center;
}
.portal-favorite-entry-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #f8fafc;
}
.portal-favorite-entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portal-favorite-entry-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--portal-red);
}
.portal-favorite-entry-body {
  min-width: 0;
}
.portal-favorite-entry-meta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--portal-muted);
  margin-bottom: 0.65rem;
}
.portal-favorite-entry h3 {
  margin-bottom: 0.45rem;
}
.portal-favorite-entry h3 a {
  color: #212121;
}
.portal-favorite-entry p {
  margin-bottom: 0.85rem;
  color: var(--portal-muted);
}
.portal-favorite-entry-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .portal-favorite-entry {
    grid-template-columns: 1fr;
  }
  .portal-favorite-entry-thumb {
    aspect-ratio: 16 / 10;
  }
}

.portal-articles-page {
  padding-bottom: 2rem;
}
.portal-articles-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.portal-articles-sidebar {
  position: sticky;
}
.portal-articles-filter-form {
  display: grid;
  gap: 1rem;
}
.portal-sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--portal-text);
}
.portal-article-category-list {
  display: grid;
  gap: 0.55rem;
}
.portal-article-category-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.2rem;
  padding: 0.5rem 0.95rem;
  border-radius: 0.9rem;
  background: #f7f9fc;
  border: 1px solid transparent;
  color: var(--portal-text);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}
.portal-article-category-list a i {
  color: var(--portal-red);
}
.portal-article-category-list a.is-child {
  padding-left: 1.6rem;
}
.portal-article-category-list a.is-active,
.portal-article-category-list a:hover {
  background: #fff1f1;
  border-color: #f2d2d3;
  color: var(--portal-red);
}
.portal-articles-results {
  min-width: 0;
}
.portal-article-list {
  display: grid;
  gap: 1rem;
}
.portal-article-list-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}
.portal-article-list-thumb-link {
  display: block;
}
.portal-article-list-thumb {
  width: 100%;
  height: 100%;
  min-height: 170px;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
}
.portal-article-list-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.portal-article-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.portal-article-list-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--portal-muted);
  font-size: 0.7rem;
}
.portal-article-list-meta i {
  color: var(--portal-red);
}
.portal-article-list-content h2 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.16;
  font-weight: 700;
}
.portal-article-list-content h2 a {
  color: #212121;
  text-decoration: none;
}
.portal-article-list-content h2 a:hover {
  color: var(--portal-red);
}
.portal-article-list-content p {
  margin: 0;
  color: var(--portal-muted);
  line-height: 1.75;
}
@media (max-width: 991px) {
  .portal-articles-layout {
    grid-template-columns: 1fr;
  }
  .portal-articles-sidebar {
    position: static;
  }
}
@media (max-width: 767px) {
  .portal-article-list-item {
    grid-template-columns: 1fr;
  }
  .portal-article-list-thumb {
    min-height: 220px;
  }
}

.portal-district-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.portal-district-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  min-height: 112px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  color: #212121;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.portal-district-badge i {
  font-size: 1rem;
  color: var(--portal-red);
}
.portal-district-badge span {
  font-size: 1.2rem;
  font-weight: 800;
  color: #212121;
  line-height: 1.2;
}
.portal-district-badge small {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--portal-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.portal-district-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(158, 9, 12, 0.28);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  color: #212121;
}
.portal-district-badge:hover span,
.portal-district-badge:hover small {
  color: #212121;
}
@media (max-width: 991px) {
  .portal-district-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .portal-district-badge-grid {
    grid-template-columns: 1fr;
  }
}
.portal-newsletter-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  flex: 1;
}
.portal-newsletter-fields.is-stacked {
  grid-template-columns: 1fr;
  width: 100%;
}
.portal-newsletter-form {
  /*align-items: flex-start;*/
  flex-wrap: wrap;
}
.portal-newsletter-form.is-stacked {
  width: 100%;
  flex-direction: column;
}
.portal-newsletter-feedback {
  width: 100%;
  margin: 0;
  border-radius: 0.85rem;
  font-size: 0.95rem;
}
.portal-newsletter-actions {
  width: 100%;
}
.portal-newsletter-resend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  padding: 0;
}
.portal-sidebar-newsletter .portal-newsletter-resend {
  color: var(--portal-red);
}
.portal-sidebar-newsletter .portal-newsletter-feedback {
  font-size: 0.92rem;
}
@media (max-width: 991px) {
  .portal-newsletter-fields {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.portal-confirmation-state.is-success {
  border-color: rgba(22, 163, 74, 0.18);
}
.portal-confirmation-state.is-error {
  border-color: rgba(227, 6, 19, 0.18);
}
.portal-confirmation-kicker.is-success {
  background: linear-gradient(180deg, #eafaf0 0%, #d7f6e2 100%);
  color: #15803d;
}
.portal-confirmation-kicker.is-error {
  background: linear-gradient(180deg, #fff1f1 0%, #ffe0e0 100%);
  color: var(--portal-red);
}
.portal-confirmation-card.text-center .portal-confirmation-actions {
  justify-content: center;
}

.portal-toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1085;
  display: grid;
  gap: 1.15rem;
  width: min(100%, 35rem);
}
.portal-toast {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}
.portal-toast-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.15rem;
  height: 100%;
  border-radius: 1rem 0 0 1rem;
}
.portal-toast-shell {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  min-height: 7.6rem;
  padding: 1.35rem 1.5rem 1.35rem 2.9rem;
}
.portal-toast-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.portal-toast-title {
  display: block;
  margin: 0 0 0.35rem;
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}
.portal-toast-message {
  color: #66615d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
}
.portal-toast-message ul {
  margin: 0;
  padding-left: 1.2rem;
}
.portal-toast-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.45rem;
  color: #fff;
}
.portal-toast-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0.7;
}
.portal-toast-close:hover {
  opacity: 1;
}
.portal-toast-success .portal-toast-accent {
  background: #16d45a;
}
.portal-toast-success .portal-toast-icon {
  background: #16d45a;
}
.portal-toast-danger .portal-toast-accent {
  background: #ff355f;
}
.portal-toast-danger .portal-toast-icon {
  background: #ff355f;
}
.portal-toast-warning .portal-toast-accent {
  background: #ffb400;
}
.portal-toast-warning .portal-toast-icon {
  background: #ffb400;
}
.portal-toast-info .portal-toast-accent {
  background: #1e88e5;
}
.portal-toast-info .portal-toast-icon {
  background: #1e88e5;
}
@media (max-width: 767px) {
  .portal-toast-container {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
  }
  .portal-toast-shell {
    min-height: 6.4rem;
    padding: 1.15rem 1.15rem 1.15rem 2.45rem;
    gap: 1rem;
  }
  .portal-toast-title {
    font-size: 1.4rem;
  }
  .portal-toast-message {
    font-size: 1rem;
  }
  .portal-toast-icon {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.1rem;
  }
}

.business-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.35rem;
}
.business-rating-input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.business-rating-input-star {
  cursor: pointer;
  color: #d4d8e1;
  font-size: 1.75rem;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.business-rating-input-star:hover,
.business-rating-input-star:hover ~ .business-rating-input-star,
.business-rating-input-radio:checked ~ .business-rating-input-star {
  color: #f59e0b;
}
.business-rating-input-star:hover {
  transform: scale(1.04);
}

.portal-home-article-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
.portal-home-article-column {
  min-width: 0;
}
.portal-home-article-column-head {
  margin-bottom: 1.2rem;
  flex-direction: row;
}
.portal-home-article-list {
  display: grid;
  gap: 2rem;
}
.portal-home-article-list-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
}
.portal-home-article-list-thumb {
  display: block;
  border-radius: 0.9rem;
  overflow: hidden;
}
.portal-home-article-list-thumb img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}
.portal-home-article-list-copy {
  min-width: 0;
}
.portal-home-article-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  color: var(--portal-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.portal-home-article-list-copy h3 {
  margin: 0 0 0.55rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}
.portal-home-article-list-copy h3 a {
  color: #212121;
  text-decoration: none;
}
.portal-home-article-list-copy h3 a:hover {
  color: var(--portal-red);
}
.portal-home-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--portal-muted);
  font-size: 0.84rem;
}
.portal-home-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.portal-home-article-empty {
  border: 1px dashed var(--portal-border);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  color: var(--portal-muted);
  background: #fff;
}
@media (max-width: 991px) {
  .portal-home-article-columns {
    grid-template-columns: 1fr;
  }
}

.portal-home-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.portal-home-guide-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}
.portal-home-guide-thumb {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
}
.portal-home-guide-thumb img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
}
.portal-home-guide-copy {
  min-width: 0;
}
.portal-home-guide-copy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}
.portal-home-guide-copy h3 a {
  color: #212121;
  text-decoration: none;
}
.portal-home-guide-copy h3 a:hover {
  color: var(--portal-red);
}
@media (max-width: 991px) {
  .portal-home-guide-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .portal-home-guide-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .portal-home-guide-thumb img {
    height: 76px;
  }
}
.portal-home-guide-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 0.45rem;
}
.portal-home-guide-meta {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--portal-muted);
  font-size: 0.88rem;
}
.portal-home-guide-meta i {
  color: var(--portal-red);
  margin-right: 0.5rem;
}
.portal-home-guide-meta.is-phone {
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .portal-home-guide-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-home-guide-meta.is-phone {
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }
  .portal-inline-meta-row,
  .portal-job-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.portal-legal-page {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 244, 239, 0.98) 100%
  );
}
.portal-legal-intro {
  max-width: 980px;
}
.portal-legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(158, 9, 12, 0.08);
  color: var(--portal-red);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.portal-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  color: #5c5b63;
  font-weight: 600;
}
.portal-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}
.portal-legal-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}
.portal-legal-card h2 {
  scroll-margin-top: 120px;
}
.portal-legal-aside {
  position: sticky;
  top: 110px;
}
.portal-legal-nav,
.portal-legal-links {
  display: grid;
  gap: 0.75rem;
}
.portal-legal-nav a,
.portal-legal-links a {
  display: flex;
  align-items: center;
  color: #212121;
  text-decoration: none;
  font-weight: 600;
}
.portal-legal-nav a:hover,
.portal-legal-links a:hover,
.portal-footer-legal a:hover {
  color: var(--portal-red);
}
.portal-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
}
.portal-footer-legal a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .portal-legal-layout {
    grid-template-columns: 1fr;
  }
  .portal-legal-aside {
    position: static;
  }
  .portal-legal-card {
    padding: 1.5rem;
  }
}
.account-danger-card {
  border-color: rgba(158, 9, 12, 0.14);
}
.account-danger-text {
  color: #4b5563;
  margin-bottom: 1rem;
}
.account-delete-blockers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.account-delete-blocker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #7c4a03;
  font-weight: 600;
}
.account-delete-blocker strong {
  color: #5b3200;
}
.account-delete-modal {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.account-delete-modal .modal-title {
  font-weight: 800;
  color: #111827;
}
.account-delete-modal .modal-body {
  color: #374151;
}
.account-delete-modal .btn-danger {
  background: #9e090c;
  border-color: #9e090c;
}
.account-delete-modal .btn-danger:hover,
.account-delete-modal .btn-danger:focus {
  background: #7f0709;
  border-color: #7f0709;
}

.portal-listing-featured {
  background: linear-gradient(180deg, #fffdf4 0%, #fff7e8 100%);
  border-color: rgba(245, 158, 11, 0.28) !important;
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.12);
}
.portal-badge-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #9a5b00;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}
.portal-badge-highlight i {
  color: #d97706;
}

.portal-featured-expiry {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff4d6;
  color: #9a6400;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.portal-featured-expiry.is-expired {
  background: #fff1f2;
  color: #be123c;
}
.portal-featured-expiry i {
  font-size: 0.8rem;
}
.portal-highlight-btn {
  background: #f4c542;
  border-color: #e8b91f;
  color: #3b2a00 !important;
}
.portal-highlight-btn span,
.portal-highlight-btn i {
  color: #3b2a00 !important;
}
.portal-highlight-btn:hover,
.portal-highlight-btn:focus {
  background: #eab308;
  border-color: #d39b05;
  color: #2f2200 !important;
}
.portal-highlight-btn:hover span,
.portal-highlight-btn:hover i,
.portal-highlight-btn:focus span,
.portal-highlight-btn:focus i {
  color: #2f2200 !important;
}

/* Listing layout compatibility */
.portal-classified-grid {
  display: grid;
  gap: 1.25rem;
}

.portal-classified-image-wrap,
.portal-classified-thumb-link {
  display: block;
  position: relative;
  height: 100%;
  min-width: 0;
}

.portal-classified-image,
.portal-classified-thumb {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.portal-classified-card > .portal-classified-image-wrap .portal-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.portal-job-list,
.portal-job-listing {
  display: grid;
  gap: 1rem;
}

.portal-job-list-item {
  display: block;
  padding: 1.25rem;
}

.portal-job-list-item .portal-article-list-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-job-list-item .portal-classified-footer {
  margin-top: 0.5rem;
}

.portal-events-page .portal-classified-price {
  font-size: 1.2rem;
}

@media (max-width: 767px) {
  .portal-classified-card {
    grid-template-columns: 1fr;
  }

  .portal-classified-image,
  .portal-classified-thumb {
    min-height: 220px;
  }
}

/* Listing and detail refinements */
.portal-classified-card {
  align-items: stretch;
}

.portal-classified-card .portal-classified-topline {
  justify-content: flex-start;
  gap: 0.75rem 1rem;
}

.portal-classified-card .portal-classified-specs {
  justify-content: flex-start;
  gap: 0.65rem 1rem;
}

.portal-classified-card .portal-classified-price {
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
}

.portal-job-list-item .portal-classified-specs {
  justify-content: flex-start;
}

.portal-job-list-item .portal-classified-footer {
  justify-content: space-between;
  align-items: center;
}

.portal-job-list-item .portal-primary-btn {
  margin-left: auto;
}

.portal-detail-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
  color: var(--portal-text);
}

.portal-detail-price {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--portal-red);
  font-size: 1.4rem;
  font-weight: 900;
}

.portal-detail-gallery {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.portal-detail-gallery-main {
  position: relative;
}

.portal-detail-gallery-trigger {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  cursor: zoom-in;
}

.portal-detail-gallery-hero {
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  object-fit: cover;
  display: block;
}

.portal-detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
}

.portal-detail-gallery-thumb {
  padding: 0;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  cursor: zoom-in;
}

.portal-detail-gallery-thumb img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
}

.portal-classified-detail-page .portal-content-block,
.portal-classified-detail-page .portal-sidebar-block,
.portal-job-detail-page .portal-content-block,
.portal-job-detail-page .portal-sidebar-block {
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 1.35rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.portal-classified-detail-page .portal-classified-specs,
.portal-job-detail-page .portal-classified-specs {
  justify-content: flex-start;
  gap: 0.8rem 1rem;
}

.portal-owner-card-copy {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.portal-owner-card-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--portal-text);
}

.portal-owner-card-copy span {
  display: inline-flex;
  align-items: center;
  color: var(--portal-muted);
  font-size: 0.95rem;
}

.portal-event-detail-page .portal-business-hero {
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .portal-detail-gallery-hero {
    height: 260px;
  }

  .portal-detail-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-job-list-item .portal-primary-btn {
    margin-left: 0;
  }
}

/* Public listing and detail redesign overrides */
.portal-curated-intro {
  margin-bottom: 2rem;
}

.portal-curated-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--portal-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portal-curated-intro h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.portal-curated-intro p {
  max-width: 760px;
  color: #5b6472;
  font-size: 1.02rem;
}

.portal-curated-layout {
  align-items: start;
}

.portal-curated-sidebar {
  position: sticky;
  top: 1.5rem;
}

.portal-curated-sidebar .portal-sidebar-block {
  border-radius: 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.portal-curated-list {
  display: grid;
  gap: 1.35rem;
}

.portal-event-list,
.portal-property-list,
.portal-vehicle-list {
  gap: 1.5rem;
}

.portal-event-card,
.portal-property-card,
.portal-vehicle-card {
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  border-radius: 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.portal-event-card:hover,
.portal-property-card:hover,
.portal-vehicle-card:hover,
.portal-curated-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 68px rgba(15, 23, 42, 0.12);
}

.portal-event-card.portal-listing-featured,
.portal-property-card.portal-listing-featured,
.portal-vehicle-card.portal-listing-featured,
.portal-curated-job-card.portal-listing-featured {
  border-color: #f2d17d;
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e4 100%);
  box-shadow: 0 28px 62px rgba(237, 174, 73, 0.18);
}

.portal-list-card-media {
  position: relative;
  min-height: 100%;
  background: #eef2f7;
}

.portal-list-card-media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.portal-list-card-body {
  padding: 1.55rem 1.65rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.portal-list-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.portal-list-card-main {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.portal-list-card-side {
  display: flex;
  justify-content: flex-end;
}

.portal-event-card .portal-classified-topline,
.portal-property-card .portal-classified-topline,
.portal-vehicle-card .portal-classified-topline {
  gap: 0.55rem 0.75rem;
}

.portal-event-card .portal-classified-topline span:not(.portal-tag),
.portal-property-card .portal-classified-topline span:not(.portal-tag),
.portal-vehicle-card .portal-classified-topline span:not(.portal-tag) {
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 700;
}

.portal-event-card h3,
.portal-property-card h3,
.portal-vehicle-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.portal-event-card h3 a,
.portal-property-card h3 a,
.portal-vehicle-card h3 a,
.portal-curated-job-card h2 a {
  color: #171717;
  text-decoration: none;
}

.portal-event-card h3 a:hover,
.portal-property-card h3 a:hover,
.portal-vehicle-card h3 a:hover,
.portal-curated-job-card h2 a:hover {
  color: var(--portal-red);
}

.portal-list-card-summary {
  margin: 0;
  color: #5f6b7b;
  font-size: 0.98rem;
  line-height: 1.65;
}

.portal-list-card-kpis,
.portal-curated-job-card .portal-classified-specs {
  justify-content: flex-start;
  gap: 0.7rem 0.8rem;
}

.portal-list-card-kpis span,
.portal-curated-job-card .portal-classified-specs span,
.portal-curated-job-card .portal-article-list-meta span {
  min-height: 2.2rem;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
}

.portal-list-card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #6b7280;
  font-size: 0.92rem;
  font-weight: 700;
}

.portal-event-card .portal-classified-price,
.portal-property-card .portal-classified-price,
.portal-vehicle-card .portal-classified-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 3.2rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--portal-red);
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
}

.portal-list-card-actions {
  gap: 0.75rem;
  padding-top: 0.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.portal-list-card-actions .portal-primary-btn {
  margin-left: auto;
}

.portal-badge-highlight {
  box-shadow: 0 10px 22px rgba(237, 174, 73, 0.24);
}

.portal-list-card-media .portal-badge-highlight {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.portal-vehicle-type-tag {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}

.portal-job-list {
  gap: 1.25rem;
}

.portal-curated-job-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.45rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.07);
}

.portal-job-card-media {
  width: 112px;
  height: 112px;
  border-radius: 1.3rem;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f6fb 0%, #dfe7f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.portal-job-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-job-card-media span {
  color: var(--portal-red);
  font-size: 1.7rem;
}

.portal-curated-job-card .portal-article-list-content {
  gap: 0.85rem;
}

.portal-curated-job-card .portal-article-list-meta {
  gap: 0.7rem;
}

.portal-curated-job-card h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 850;
}

.portal-curated-job-card .portal-list-card-actions {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
  min-width: 170px;
  flex-direction: column;
  align-items: stretch;
}

.portal-curated-job-card .portal-list-card-actions .portal-primary-btn,
.portal-curated-job-card .portal-list-card-actions .portal-favorite-btn {
  width: 100%;
  justify-content: center;
  margin-left: 0;
}

.portal-detail-page-header {
  margin-bottom: 1.6rem;
}

.portal-detail-page-header-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.portal-detail-location {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.7rem;
  color: #5f6b7b;
  font-size: 0.98rem;
  font-weight: 700;
}

.portal-detail-location span,
.portal-detail-location {
  align-items: center;
}

.portal-detail-location i {
  color: var(--portal-red);
}

.portal-price-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.45rem 1.5rem;
  border-radius: 1.55rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.07);
}

.portal-price-panel.compact {
  min-width: 240px;
}

.portal-price-panel-label {
  color: #8b95a1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal-price-panel-value {
  color: var(--portal-red);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  font-weight: 900;
}

.portal-price-panel-meta {
  display: grid;
  gap: 0.55rem;
}

.portal-price-panel-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #5f6b7b;
  font-size: 0.92rem;
  font-weight: 700;
}

.portal-panel-actions {
  display: grid;
  gap: 0.75rem;
}

.portal-sticky-sidebar {
  position: sticky;
  top: 1.5rem;
}

.portal-classified-detail-page .portal-detail-gallery,
.portal-job-detail-page .portal-detail-gallery,
.portal-event-detail-page .portal-detail-gallery {
  gap: 1rem;
  margin-bottom: 2rem;
}

.portal-classified-detail-page .portal-detail-gallery-main,
.portal-job-detail-page .portal-detail-gallery-main,
.portal-event-detail-page .portal-detail-gallery-main {
  border-radius: 1.9rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

.portal-classified-detail-page .portal-detail-gallery-trigger,
.portal-job-detail-page .portal-detail-gallery-trigger,
.portal-event-detail-page .portal-detail-gallery-trigger {
  border-radius: 0;
  box-shadow: none;
}

/*.portal-classified-detail-page .portal-detail-gallery-hero,
.portal-job-detail-page .portal-detail-gallery-hero,
.portal-event-detail-page .portal-detail-gallery-hero {
  height: clamp(340px, 50vw, 620px);
}*/

.portal-classified-detail-page .portal-detail-gallery-thumbs,
.portal-job-detail-page .portal-detail-gallery-thumbs,
.portal-event-detail-page .portal-detail-gallery-thumbs {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.portal-classified-detail-page .portal-detail-gallery-thumb,
.portal-job-detail-page .portal-detail-gallery-thumb,
.portal-event-detail-page .portal-detail-gallery-thumb {
  border-radius: 1.1rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.portal-classified-detail-page .portal-detail-gallery-thumb:hover,
.portal-job-detail-page .portal-detail-gallery-thumb:hover,
.portal-event-detail-page .portal-detail-gallery-thumb:hover {
  border-color: rgba(158, 9, 12, 0.22);
  box-shadow: 0 18px 34px rgba(158, 9, 12, 0.09);
}

.portal-classified-detail-page .portal-content-block,
.portal-classified-detail-page .portal-sidebar-block,
.portal-job-detail-page .portal-content-block,
.portal-job-detail-page .portal-sidebar-block,
.portal-event-detail-page .portal-content-block,
.portal-event-detail-page .portal-sidebar-block {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.55rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
  padding: 1.65rem 1.75rem;
}

.portal-classified-detail-page .portal-content-block h2,
.portal-classified-detail-page .portal-sidebar-block h3,
.portal-job-detail-page .portal-content-block h2,
.portal-job-detail-page .portal-sidebar-block h3,
.portal-event-detail-page .portal-content-block h2,
.portal-event-detail-page .portal-sidebar-block h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 850;
  color: #171717;
}

.portal-classified-detail-page .portal-classified-specs,
.portal-job-detail-page .portal-classified-specs,
.portal-event-detail-page .portal-classified-specs {
  justify-content: flex-start;
  gap: 0.75rem 0.8rem;
}

.portal-classified-detail-page .portal-classified-specs span,
.portal-job-detail-page .portal-classified-specs span,
.portal-event-detail-page .portal-classified-specs span {
  min-height: 2.25rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #475569;
  font-weight: 700;
}

.portal-classified-detail-page .portal-article-body,
.portal-job-detail-page .portal-article-body,
.portal-event-detail-page .portal-article-body {
  color: #374151;
  line-height: 1.85;
}

.portal-classified-detail-page .portal-owner-card,
.portal-job-detail-page .portal-owner-card,
.portal-event-detail-page .portal-owner-card {
  align-items: center;
  gap: 1rem;
}

.portal-classified-detail-page .portal-owner-card-image,
.portal-job-detail-page .portal-owner-card-image,
.portal-event-detail-page .portal-owner-card-image {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #f3f4f6;
}

.portal-classified-detail-page .portal-owner-card-image img,
.portal-job-detail-page .portal-owner-card-image img,
.portal-event-detail-page .portal-owner-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-classified-detail-page .portal-owner-card-copy,
.portal-job-detail-page .portal-owner-card-copy,
.portal-event-detail-page .portal-owner-card-copy {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.portal-classified-detail-page .portal-owner-card-copy strong,
.portal-job-detail-page .portal-owner-card-copy strong,
.portal-event-detail-page .portal-owner-card-copy strong {
  color: #171717;
}

.portal-classified-detail-page .portal-owner-card-copy span,
.portal-job-detail-page .portal-owner-card-copy span,
.portal-event-detail-page .portal-owner-card-copy span {
  color: #6b7280;
}

@media (max-width: 1199px) {
  .portal-event-card,
  .portal-property-card,
  .portal-vehicle-card,
  .portal-curated-job-card {
    grid-template-columns: 1fr;
  }

  .portal-curated-job-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .portal-curated-job-card .portal-list-card-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
  }

  .portal-curated-job-card .portal-list-card-actions .portal-primary-btn,
  .portal-curated-job-card .portal-list-card-actions .portal-favorite-btn {
    width: auto;
  }
}

@media (max-width: 991px) {
  .portal-curated-sidebar,
  .portal-sticky-sidebar {
    position: static;
  }

  .portal-detail-page-header-main {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .portal-curated-intro h1 {
    font-size: 2.35rem;
  }

  .portal-list-card-body,
  .portal-curated-job-card,
  .portal-classified-detail-page .portal-content-block,
  .portal-classified-detail-page .portal-sidebar-block,
  .portal-job-detail-page .portal-content-block,
  .portal-job-detail-page .portal-sidebar-block,
  .portal-event-detail-page .portal-content-block,
  .portal-event-detail-page .portal-sidebar-block {
    padding: 1.2rem;
  }

  .portal-list-card-head {
    grid-template-columns: 1fr;
  }

  .portal-list-card-actions,
  .portal-curated-job-card .portal-list-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-list-card-actions .portal-primary-btn,
  .portal-curated-job-card .portal-list-card-actions .portal-primary-btn,
  .portal-curated-job-card .portal-list-card-actions .portal-favorite-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .portal-job-card-media {
    width: 84px;
    height: 84px;
  }

  .portal-curated-job-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 1rem;
  }

  .portal-classified-detail-page .portal-detail-gallery-hero,
  .portal-job-detail-page .portal-detail-gallery-hero,
  .portal-event-detail-page .portal-detail-gallery-hero {
    height: 260px;
  }

  .portal-classified-detail-page .portal-detail-gallery-thumbs,
  .portal-job-detail-page .portal-detail-gallery-thumbs,
  .portal-event-detail-page .portal-detail-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Listing restore refinement */
.portal-events-page .portal-classified-grid,
.portal-property-page .portal-classified-grid,
.portal-vehicles-page .portal-classified-grid {
  gap: 1.4rem;
}

.portal-events-page .portal-classified-card,
.portal-property-page .portal-classified-card,
.portal-vehicles-page .portal-classified-card {
  grid-template-columns: 245px minmax(0, 1fr);
  border-radius: 1.55rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.portal-events-page .portal-classified-card:hover,
.portal-property-page .portal-classified-card:hover,
.portal-vehicles-page .portal-classified-card:hover,
.portal-jobs-page .portal-job-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.1);
}

.portal-events-page .portal-classified-card.portal-listing-featured,
.portal-property-page .portal-classified-card.portal-listing-featured,
.portal-vehicles-page .portal-classified-card.portal-listing-featured,
.portal-jobs-page .portal-job-list-item.portal-listing-featured {
  border-color: #efcc72;
  background: linear-gradient(180deg, #fffdf7 0%, #fff8e8 100%);
  box-shadow: 0 24px 52px rgba(237, 174, 73, 0.16);
}

.portal-events-page .portal-classified-body,
.portal-property-page .portal-classified-body,
.portal-vehicles-page .portal-classified-body {
  padding: 1.45rem 1.5rem;
  gap: 0.75rem;
}

.portal-events-page .portal-classified-card h3,
.portal-property-page .portal-classified-card h3,
.portal-vehicles-page .portal-classified-card h3 {
  margin: 0;
  font-size: 1.48rem;
  line-height: 1.14;
  font-weight: 800;
}

.portal-events-page .portal-classified-card h3 a,
.portal-property-page .portal-classified-card h3 a,
.portal-vehicles-page .portal-classified-card h3 a,
.portal-jobs-page .portal-job-list-item h2 a {
  color: #171717;
  text-decoration: none;
}

.portal-events-page .portal-classified-card h3 a:hover,
.portal-property-page .portal-classified-card h3 a:hover,
.portal-vehicles-page .portal-classified-card h3 a:hover,
.portal-jobs-page .portal-job-list-item h2 a:hover {
  color: var(--portal-red);
}

.portal-events-page .portal-classified-topline,
.portal-property-page .portal-classified-topline,
.portal-vehicles-page .portal-classified-topline,
.portal-jobs-page .portal-article-list-meta {
  gap: 0.55rem 0.75rem;
}

.portal-events-page .portal-classified-topline span:not(.portal-tag),
.portal-property-page .portal-classified-topline span:not(.portal-tag),
.portal-vehicles-page .portal-classified-topline span:not(.portal-tag),
.portal-jobs-page
  .portal-article-list-meta
  span:not(.portal-badge-highlight):not(.portal-badge-light) {
  color: #667180;
  font-size: 0.85rem;
  font-weight: 700;
}

.portal-events-page .portal-classified-specs,
.portal-property-page .portal-classified-specs,
.portal-vehicles-page .portal-classified-specs,
.portal-jobs-page .portal-classified-specs {
  justify-content: flex-start;
  gap: 0.6rem 0.75rem;
}

.portal-events-page .portal-classified-specs span,
.portal-property-page .portal-classified-specs span,
.portal-vehicles-page .portal-classified-specs span,
.portal-jobs-page .portal-classified-specs span {
  min-height: 2.1rem;
  padding: 0.4rem 0.74rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
}

.portal-events-page .portal-classified-price,
.portal-property-page .portal-classified-price,
.portal-vehicles-page .portal-classified-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.95rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--portal-red);
  font-size: 1.18rem;
  font-weight: 900;
}

.portal-events-page .portal-classified-footer,
.portal-property-page .portal-classified-footer,
.portal-vehicles-page .portal-classified-footer,
.portal-jobs-page .portal-classified-footer {
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.portal-events-page .portal-classified-footer .portal-primary-btn,
.portal-property-page .portal-classified-footer .portal-primary-btn,
.portal-vehicles-page .portal-classified-footer .portal-primary-btn,
.portal-jobs-page .portal-classified-footer .portal-primary-btn {
  margin-left: auto;
}

.portal-jobs-page .portal-job-list {
  gap: 1.1rem;
}

.portal-jobs-page .portal-job-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.portal-jobs-page .portal-job-list-item .portal-article-list-content {
  gap: 0.8rem;
}

.portal-jobs-page .portal-job-list-item h2 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.12;
  font-weight: 800;
}

.portal-jobs-page .portal-job-list-item .portal-classified-footer {
  justify-content: flex-end;
  align-items: center;
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.portal-jobs-page .portal-job-list-item .portal-badge-highlight {
  position: static;
}

@media (max-width: 991px) {
  .portal-events-page .portal-classified-card,
  .portal-property-page .portal-classified-card,
  .portal-vehicles-page .portal-classified-card,
  .portal-jobs-page .portal-job-list-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .portal-events-page .portal-classified-body,
  .portal-property-page .portal-classified-body,
  .portal-vehicles-page .portal-classified-body,
  .portal-jobs-page .portal-job-list-item {
    padding: 1.1rem;
  }

  .portal-events-page .portal-classified-footer,
  .portal-property-page .portal-classified-footer,
  .portal-vehicles-page .portal-classified-footer,
  .portal-jobs-page .portal-classified-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-events-page .portal-classified-footer .portal-primary-btn,
  .portal-property-page .portal-classified-footer .portal-primary-btn,
  .portal-vehicles-page .portal-classified-footer .portal-primary-btn,
  .portal-jobs-page .portal-classified-footer .portal-primary-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}
/* Catalog redesign */
.portal-catalog-page {
  padding-bottom: 4rem;
}

.portal-catalog-intro {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.portal-catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  color: var(--portal-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portal-catalog-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.portal-catalog-intro p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #606b79;
  font-size: 1.05rem;
}

.portal-catalog-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.portal-catalog-sidebar {
  position: relative;
}

.portal-catalog-filter-card {
  position: sticky;
  top: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.portal-catalog-results {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.portal-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.portal-catalog-toolbar strong {
  display: inline-block;
  margin-right: 0.35rem;
  color: #111827;
  font-size: 1.15rem;
}

.portal-catalog-toolbar span {
  color: #64748b;
  font-weight: 600;
}

.portal-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.portal-view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9px;
  background: #fff;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.portal-view-toggle-btn:hover,
.portal-view-toggle-btn.is-active {
  border-color: rgba(185, 28, 28, 0.18);
  background: #fff1f1;
  color: var(--portal-red);
}

.portal-catalog-list {
  display: grid;
  gap: 1.4rem;
}

.portal-catalog-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.portal-catalog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.09);
}

.portal-catalog-item.is-featured {
  border-color: rgba(234, 179, 8, 0.32);
  background: #fbfbe3;
  box-shadow: 0 28px 56px rgba(234, 179, 8, 0.15);
}

.portal-catalog-item-has-media {
  display: grid;
  grid-template-columns: minmax(200px, 220px) minmax(0, 1fr);
}

.portal-catalog-media {
  position: relative;
  display: block;
  min-height: 100%;
  background: #e5e7eb;
}

.portal-catalog-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.portal-catalog-featured-badge,
.portal-catalog-type-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portal-catalog-featured-badge {
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #facc15, #fb923c);
  color: #111827;
  box-shadow: 0 10px 22px rgba(251, 146, 60, 0.26);
}

.portal-catalog-featured-badge.is-inline {
  position: static;
  width: fit-content;
  margin: 1.1rem 1.1rem 0 1.1rem;
}

.portal-catalog-type-badge {
  left: 1rem;
  bottom: 1rem;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
}

.portal-catalog-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.45rem;
}

.portal-catalog-topline,
.portal-catalog-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
}

.portal-catalog-topline span:not(.portal-tag):not(.portal-badge-light),
.portal-catalog-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
}

.portal-catalog-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
  font-weight: 800;
}

.portal-catalog-title a {
  color: #111827;
  text-decoration: none;
}

.portal-catalog-title a:hover {
  color: var(--portal-red);
}

.portal-catalog-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-catalog-price {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--portal-red);
  font-size: 1.12rem;
  font-weight: 900;
  white-space: nowrap;
}

.portal-catalog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.portal-job-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
}

.portal-job-item-icon {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 100%;
  background: #f7f7f7;
  color: var(--portal-red);
  font-size: 1.4rem;
}

.portal-catalog-item.is-featured .portal-job-item-icon {
  background: #fdf1c0;
}

.portal-job-item .portal-catalog-body {
  padding-left: 1.25rem;
}

.portal-job-item .portal-catalog-footer {
  justify-content: flex-end;
}

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-catalog-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-catalog-item-has-media {
  grid-template-columns: 1fr;
}

/*.portal-catalog-page [data-listing-view-root].is-grid-view .portal-catalog-media {
  aspect-ratio: 16 / 11;
}*/

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-catalog-image {
  min-height: 100%;
}

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-catalog-footer {
  align-items: flex-start;
  flex-direction: column;
}

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-catalog-actions {
  width: 100%;
  justify-content: space-between;
}

.portal-catalog-page [data-listing-view-root].is-grid-view .portal-job-item {
  grid-template-columns: 1fr;
}

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-job-item-icon {
  min-height: 84px;
}
/* Detail redesign */
.portal-detail-redesign-page {
  padding-bottom: 4rem;
}

.portal-detail-redesign-page .portal-breadcrumb {
  margin: 1rem 0;
}

.portal-detail-hero-head {
  margin-bottom: 1.8rem;
  padding: 1.55rem 1.7rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 1.7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.portal-detail-hero-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.portal-detail-title {
  margin: 0;
  font-size: clamp(2rem, 2.2vw, 3.3rem);
  line-height: 1.2;
}

.portal-detail-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin-top: 0.85rem;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 700;
}

.portal-detail-location span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.portal-detail-hero-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.75rem 1.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff1f1 0%, #ffe2e2 100%);
  color: var(--portal-red);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 900;
  white-space: nowrap;
}

.portal-split-gallery {
  gap: 1rem;
}

.portal-detail-gallery-main,
.portal-detail-gallery-trigger {
  display: block;
  width: 100%;
}

.portal-detail-gallery-trigger {
  border: 0;
  padding: 0;
  background: transparent;
}

.portal-detail-gallery-hero {
  width: 100%;
  height: 480px;
  border-radius: 1.7rem;
  object-fit: cover;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.13);
}

.portal-detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.portal-detail-gallery-thumb {
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 1.15rem;
  background: transparent;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.portal-detail-gallery-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.portal-detail-gallery-thumb:hover img {
  transform: scale(1.03);
}

.portal-detail-redesign-page .portal-content-block,
.portal-detail-redesign-page .portal-sidebar-block {
  border-radius: 1.45rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.portal-detail-redesign-page .portal-content-block {
  padding: 1.5rem 1.6rem;
}

.portal-detail-redesign-page .portal-content-block h2,
.portal-detail-redesign-page .portal-sidebar-block h3 {
  margin-top: 0;
}

.portal-detail-side-card {
  padding: 1.35rem;
}

.portal-detail-side-price-card {
  background: linear-gradient(180deg, #fffdf6 0%, #fff9ea 100%);
  border-color: rgba(234, 179, 8, 0.22);
}

.portal-detail-side-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: #92400e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-detail-side-price {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--portal-red);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.portal-detail-side-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.portal-detail-side-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #5b6472;
  font-weight: 700;
}

.portal-detail-redesign-page .portal-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.portal-detail-redesign-page .portal-favorite-btn,
.portal-detail-redesign-page .portal-primary-btn,
.portal-detail-redesign-page .portal-secondary-btn {
  justify-content: center;
}

.portal-detail-redesign-page .portal-article-body p:last-child {
  margin-bottom: 0;
}

.portal-detail-redesign-page .portal-classified-specs {
  gap: 0.7rem;
}

.portal-detail-redesign-page .portal-classified-specs span {
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .portal-catalog-layout {
    grid-template-columns: 1fr;
  }

  .portal-catalog-filter-card {
    position: static;
  }

  .portal-detail-gallery-hero {
    height: 420px;
  }
}

@media (max-width: 991px) {
  .portal-catalog-page
    [data-listing-view-root].is-grid-view
    .portal-catalog-list {
    grid-template-columns: 1fr;
  }

  .portal-catalog-item-has-media,
  .portal-job-item {
    grid-template-columns: 1fr;
  }

  .portal-job-item-icon {
    min-height: 86px;
  }

  .portal-detail-hero-bar {
    flex-direction: column;
  }

  .portal-detail-hero-price {
    align-self: flex-start;
  }
}

@media (max-width: 767px) {
  .portal-catalog-toolbar,
  .portal-catalog-footer,
  .portal-catalog-actions,
  .portal-view-toggle {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-view-toggle-btn,
  .portal-catalog-actions .portal-primary-btn,
  .portal-catalog-actions .portal-favorite-btn,
  .portal-catalog-price {
    width: 100%;
    justify-content: center;
  }

  .portal-catalog-body,
  .portal-detail-redesign-page .portal-content-block,
  .portal-detail-side-card,
  .portal-detail-hero-head {
    padding: 1.15rem;
  }

  .portal-detail-gallery-hero {
    height: 270px;
    border-radius: 1.25rem;
  }

  .portal-detail-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-detail-gallery-thumb img {
    height: 92px;
  }
}
/* Job featured badge alignment */
.portal-job-item {
  position: relative;
}

.portal-job-item .portal-catalog-featured-badge.is-inline {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  margin: 0;
}

.portal-job-item.is-featured .portal-catalog-body {
  padding-top: 1.5rem;
}

@media (max-width: 767px) {
  .portal-job-item .portal-catalog-featured-badge.is-inline {
    top: 0.85rem;
    right: 0.85rem;
  }
}
/* Catalog card height normalization */
.portal-event-catalog,
.portal-property-catalog,
.portal-vehicle-catalog {
  align-items: stretch;
}

.portal-event-item,
.portal-property-item,
.portal-vehicle-item {
  min-height: 220px;
}

.portal-event-item .portal-catalog-media,
.portal-property-item .portal-catalog-media,
.portal-vehicle-item .portal-catalog-media {
  height: 100%;
  min-height: 220px;
}

.portal-event-item .portal-catalog-image,
.portal-property-item .portal-catalog-image,
.portal-vehicle-item .portal-catalog-image {
  height: 100%;
}

.portal-event-item .portal-catalog-title,
.portal-property-item .portal-catalog-title,
.portal-vehicle-item .portal-catalog-title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-catalog-page [data-listing-view-root].is-grid-view .portal-event-item,
.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-property-item,
.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-vehicle-item {
  min-height: 100%;
  height: 100%;
}

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-event-item
  .portal-catalog-media,
.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-property-item
  .portal-catalog-media,
.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-vehicle-item
  .portal-catalog-media {
  min-height: 200px;
  height: 200px;
}

.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-event-catalog,
.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-property-catalog,
.portal-catalog-page
  [data-listing-view-root].is-grid-view
  .portal-vehicle-catalog {
  align-items: stretch;
}

@media (max-width: 991px) {
  .portal-event-item,
  .portal-property-item,
  .portal-vehicle-item,
  .portal-event-item .portal-catalog-media,
  .portal-property-item .portal-catalog-media,
  .portal-vehicle-item .portal-catalog-media {
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .portal-event-item,
  .portal-property-item,
  .portal-vehicle-item,
  .portal-event-item .portal-catalog-media,
  .portal-property-item .portal-catalog-media,
  .portal-vehicle-item .portal-catalog-media {
    min-height: 210px;
  }

  .portal-catalog-page
    [data-listing-view-root].is-grid-view
    .portal-event-item
    .portal-catalog-media,
  .portal-catalog-page
    [data-listing-view-root].is-grid-view
    .portal-property-item
    .portal-catalog-media,
  .portal-catalog-page
    [data-listing-view-root].is-grid-view
    .portal-vehicle-item
    .portal-catalog-media {
    height: 210px;
    min-height: 210px;
  }
}

.portal-promo-unit {
  position: relative;
  display: block;
  margin: 0 auto;
}

.portal-promo-unit + .portal-promo-unit {
  margin-top: 1rem;
}

.portal-promo-shell {
  overflow: hidden;
  /*border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8f4ef);
  border: 1px solid rgba(158, 9, 12, 0.08);
  box-shadow: 0 18px 50px rgba(18, 24, 40, 0.08);*/
}

.portal-promo-link,
.portal-promo-link:hover {
  display: block;
  text-decoration: none;
}

.portal-promo-unit img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.portal-promo-tracker {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.advertiser-dashboard-page .account-card {
  border-radius: 28px;
}

.portal-advertiser-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.portal-advertiser-metric {
  padding: 1.25rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f6f1eb);
  border: 1px solid rgba(158, 9, 12, 0.08);
  box-shadow: 0 18px 40px rgba(18, 24, 40, 0.06);
}

.portal-advertiser-metric span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b7d74;
  margin-bottom: 0.35rem;
}

.portal-advertiser-metric strong {
  font-size: 2rem;
  line-height: 1;
  color: #121826;
}

.advertising-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.advertising-chart-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.advertising-chart-bars {
  width: 100%;
  min-height: 180px;
  padding: 0.8rem 0.55rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  align-items: end;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbf7f1, #fff);
  border: 1px solid rgba(158, 9, 12, 0.08);
}

.advertising-chart-bars .bar {
  display: block;
  width: 100%;
  border-radius: 999px 999px 14px 14px;
  min-height: 6px;
}

.advertising-chart-bars .bar.is-views {
  background: linear-gradient(180deg, #f6b653, #d98a0a);
}

.advertising-chart-bars .bar.is-clicks {
  background: linear-gradient(180deg, #c73434, #7d0a0d);
}

.advertising-chart-day small {
  color: #7b7f87;
  text-align: center;
  font-size: 0.78rem;
}

.advertising-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #555;
  font-size: 0.92rem;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-right: 0.45rem;
}

.legend-dot.is-views {
  background: #d98a0a;
}

.legend-dot.is-clicks {
  background: #9e090c;
}

@media (max-width: 991px) {
  .portal-advertiser-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .portal-advertiser-metrics {
    grid-template-columns: 1fr;
  }
}

.portal-article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}
.portal-article-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #4b5563;
  font-size: 0.95rem;
}
.portal-article-meta-chip i {
  color: var(--portal-red);
}
.portal-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  padding: 1.4rem 0 1.8rem;
}
.portal-share-copy {
  display: grid;
  gap: 0.28rem;
  max-width: 320px;
}
.portal-share-copy strong {
  color: var(--portal-text);
  font-size: 1rem;
}
.portal-share-copy span {
  color: var(--portal-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.portal-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.portal-share-row a,
.portal-share-row button {
  border: 0;
  color: #fff;
  padding: 0.78rem 1rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.portal-share-row a:hover,
.portal-share-row button:hover {
  transform: translateY(-1px);
}
.share-facebook {
  background: #1877f2;
}
.share-twitter {
  background: #111111;
}
.share-instagram {
  background: linear-gradient(135deg, #fd1d1d 0%, #c13584 52%, #f77737 100%);
}
.share-tiktok {
  background: linear-gradient(135deg, #111111 0%, #25f4ee 100%);
}
.share-whatsapp {
  background: #25d366;
}
.share-copy-url {
  background: #334155;
}
@media (max-width: 768px) {
  .portal-article-meta-bar {
    gap: 0.65rem;
  }
  .portal-article-meta-chip {
    width: 100%;
    justify-content: flex-start;
  }
  .portal-share-row {
    align-items: flex-start;
  }
}

.ck.ck-editor {
  position: relative;
}

.ck.ck-editor__top {
  position: sticky;
  top: 104px;
  z-index: 30;
}

.ck.ck-editor__top .ck-sticky-panel__content,
.ck.ck-editor__top .ck-sticky-panel__content_sticky {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.ck.ck-editor__main > .ck-editor__editable {
  min-height: 420px;
}

body:not(.admin-body) .ck.ck-editor__top {
  position: static;
}

body:not(.admin-body) .ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
  top: 104px !important;
  z-index: 50 !important;
}

.portal-contact-page {
  margin-top: 20px;
}
.portal-contact-layout {
  grid-template-columns: 370px minmax(0, 1fr);
}
.portal-contact-form-card {
  padding: 2rem;
}
.portal-contact-title {
  margin-bottom: 0.65rem;
}
.portal-contact-text {
  color: #5b6471;
  margin-bottom: 1.5rem;
}
.portal-contact-form .form-label {
  font-weight: 700;
  color: #172033;
}
.portal-contact-form .form-control,
.portal-contact-form .form-select,
.portal-contact-form textarea {
  border-radius: 16px;
  min-height: 54px;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: none;
}
.portal-contact-form textarea {
  min-height: 220px;
  resize: vertical;
}
.portal-contact-form .form-control:focus,
.portal-contact-form .form-select:focus,
.portal-contact-form textarea:focus {
  border-color: rgba(158, 9, 12, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(158, 9, 12, 0.08);
}
.portal-contact-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}
.portal-contact-sidebar-block {
  padding: 1.5rem;
}
.portal-contact-sidebar-block strong {
  color: #172033;
}
.portal-contact-socials {
  display: grid;
  gap: 0.85rem;
}
.portal-contact-socials a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
}
.portal-contact-socials a:hover {
  color: var(--portal-red);
}
.portal-contact-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(158, 9, 12, 0.08);
  color: var(--portal-red);
  font-size: 1.05rem;
}
@media (max-width: 991.98px) {
  .portal-contact-layout {
    grid-template-columns: 1fr;
  }
  .portal-contact-actions {
    justify-content: stretch;
  }
  .portal-contact-actions .portal-primary-btn {
    width: 100%;
    justify-content: center;
  }
}

.portal-register-consent {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
}
.portal-register-consent .form-check-input {
  margin-left: 0;
  margin-right: 0.3rem;
}
.portal-register-consent .form-check-label {
  color: #394150;
  line-height: 1.6;
}
.portal-register-consent a {
  color: var(--portal-red);
  font-weight: 700;
  text-decoration: none;
}
.portal-register-consent a:hover {
  text-decoration: underline;
}
button[data-register-submit]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.portal-related-events-section {
  margin-top: 3.5rem;
}

.portal-related-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.portal-related-event-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.portal-related-event-card.is-featured {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 22px 52px rgba(245, 158, 11, 0.18);
}

.portal-related-event-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
}

.portal-related-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-related-event-media .portal-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
}

.portal-related-event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.25rem;
}

.portal-related-event-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 800;
}

.portal-related-event-body h3 a {
  color: var(--portal-black);
}

.portal-related-event-body p {
  margin: 0;
  color: var(--portal-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.portal-related-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.portal-related-event-footer strong {
  color: var(--portal-red);
  font-size: 1rem;
}

.portal-related-event-footer a {
  font-weight: 700;
}

@media (max-width: 991px) {
  .portal-related-events-grid {
    grid-template-columns: 1fr;
  }
}

.portal-related-listings-section {
  margin-top: 3.5rem;
}

.portal-related-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.portal-related-listing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.portal-related-listing-card.is-featured {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 22px 52px rgba(245, 158, 11, 0.18);
}

.portal-related-listing-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
}

.portal-related-listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-related-listing-media .portal-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
}

.portal-related-listing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.25rem;
}

.portal-related-listing-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 800;
}

.portal-related-listing-body h3 a {
  color: var(--portal-black);
}

.portal-related-listing-body p {
  margin: 0;
  color: var(--portal-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.portal-related-listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.portal-related-listing-footer strong {
  color: var(--portal-red);
  font-size: 1rem;
}

.portal-related-listing-footer a {
  font-weight: 700;
}

@media (max-width: 991px) {
  .portal-related-listings-grid {
    grid-template-columns: 1fr;
  }
}

.portal-related-jobs-section {
  margin-top: 3.5rem;
}

.portal-related-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.portal-related-job-card {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  overflow: hidden;
}

.portal-related-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.12);
}

.portal-related-job-card.is-featured {
  border-color: #f2d17d;
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e4 100%);
  box-shadow: 0 26px 58px rgba(237, 174, 73, 0.18);
}

.portal-related-job-card .portal-tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  left: auto;
  z-index: 2;
}

.portal-related-job-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.2rem 1.25rem;
  color: inherit;
  text-decoration: none;
}

.portal-related-job-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(158, 9, 12, 0.08);
  color: var(--portal-red);
  font-size: 1.2rem;
}

.portal-related-job-kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--portal-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-related-job-copy h3 {
  margin: 0 0 0.45rem;
  color: var(--portal-black);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.portal-related-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #5b6472;
  font-size: 0.92rem;
}

.portal-related-job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.portal-related-job-arrow {
  color: #9aa3b2;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .portal-related-jobs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .portal-related-job-link {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .portal-related-job-arrow {
    display: none;
  }
}

.portal-related-businesses-section {
  margin-top: 3.5rem;
}

.portal-related-businesses-list {
  margin-top: 0;
}

.portal-related-business-item {
  position: relative;
}

.portal-related-business-item.is-featured {
  border-color: #f2d17d;
  background: linear-gradient(180deg, #fffdf8 0%, #fff7e4 100%);
  box-shadow: 0 24px 54px rgba(237, 174, 73, 0.16);
}

.portal-related-business-item .portal-guide-meta {
  align-items: center;
  gap: 0.65rem;
}

.portal-related-business-item .portal-tag {
  margin-left: auto;
}

@media (max-width: 575px) {
  .portal-related-business-item .portal-guide-meta {
    flex-wrap: wrap;
  }

  .portal-related-business-item .portal-tag {
    margin-left: 0;
  }
}
