/* ========== Blog / News pages ========== */
/* Brand tokens aligned with homepage (FUN&SUN) */
:root {
  --bot-red: #e73039;
  --bot-yellow: #fecc0f;
  --bot-ink: #1d1d1b;
  --bot-muted: #4e5459;
  --bot-radius: 6px;
  --bot-radius-lg: 8px;
}

.trv-page-content:has(.com-content-category-blog) {
  padding-top: 28px;
  padding-bottom: 56px;
}

/* Top gap from menu is handled by .bot-breadcrumbs margin */
.trv-page-content:has(.bot-breadcrumbs) {
  padding-top: 0;
}

.trv-page-content:has(.bot-breadcrumbs) {
  padding-top: 0;
}

.bot-blog__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 28px;
}

.bot-blog__flag {
  display: block;
  flex: 0 0 auto;
  width: 56px !important;
  max-width: none !important;
  height: 40px !important;
  margin: 0 !important;
  float: none !important;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(29, 29, 27, 0.12);
  background: #f5f6f7;
}

.bot-blog__head-text {
  min-width: 0;
  flex: 1;
}

.bot-blog__title,
.com-content-category-blog > h1 {
  margin: 0 0 12px;
  color: #1d1d1b;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.bot-blog__head .bot-blog__title {
  margin-bottom: 8px;
}

.bot-blog__desc,
.com-content-category-blog .category-desc {
  margin: 0;
  max-width: 720px;
  color: #4e5459;
  font-size: 16px;
  line-height: 1.5;
}

.bot-blog__desc p,
.com-content-category-blog .category-desc p {
  margin: 0;
}

.bot-blog__empty {
  min-height: 0;
}

.bot-blog__empty,
.com-content-category-blog .alert {
  margin: 8px 0 24px;
  border: 0;
  border-radius: 8px;
  background: #f5f6f7;
  color: #4e5459;
}

/* Blog filters: country / type / author + chips */
.bot-blog__filterbar {
  margin: 0 0 24px;
  clear: both;
}

.bot-blog__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px 16px;
  align-items: end;
  margin: 0 0 14px;
  padding: 16px 18px;
  border: 1px solid #e8eaec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 29, 27, 0.06);
}

.bot-blog__panel--news {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.bot-blog__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.bot-blog__field-label {
  color: #9aa0a6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bot-blog__select {
  width: 100%;
  height: 44px;
  padding: 0 36px 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e7276' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #1d1d1b;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
}

.bot-blog__select:focus {
  outline: none;
  border-color: #c8ccd0;
  box-shadow: 0 0 0 3px rgba(231, 48, 57, 0.12);
}

.bot-blog__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: #fecc0f;
  color: #1d1d1b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.bot-blog__apply:hover {
  background: #f5c400;
  color: #1d1d1b;
}

.bot-blog__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bot-blog__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #4e5459;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bot-blog__chip:hover {
  border-color: #d5d8db;
  color: #1d1d1b;
}

.bot-blog__chip.is-active {
  border-color: #fecc0f;
  background: #fecc0f;
  color: #1d1d1b;
}

.bot-blog__chip-icon {
  font-size: 14px;
  line-height: 1;
}

.bot-blog__chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: #f0f2f4;
  color: #6e7276;
  font-size: 12px;
  font-weight: 700;
}

.bot-blog__chip.is-active .bot-blog__chip-count {
  background: rgba(29, 29, 27, 0.12);
  color: #1d1d1b;
}

.bot-blog__filter-empty {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f5f6f7;
  color: #6e7276;
  font-size: 14px;
}

.bot-blog__grid .bot-card.is-filter-hidden,
.bot-blog__grid .bot-card[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  .bot-blog__panel {
    grid-template-columns: 1fr 1fr;
  }

  .bot-blog__apply {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .bot-blog__panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }
}

.bot-blog__countries {
  margin-top: 36px;
  clear: both;
}

.bot-blog__countries-title {
  margin: 0 0 8px;
  color: #1d1d1b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.bot-blog__countries-lead {
  margin: 0 0 20px;
  max-width: 640px;
  color: #4e5459;
  font-size: 15px;
  line-height: 1.45;
}

.bot-blog__countries-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.bot-country {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px 14px;
  text-decoration: none;
  color: #1d1d1b;
  background: #fff;
  border: 1px solid #e8eaec;
  border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bot-country:hover {
  transform: translateY(-2px);
  border-color: #d5d8db;
  box-shadow: 0 10px 24px rgba(29, 29, 27, 0.08);
  color: #1d1d1b;
  text-decoration: none;
}

.bot-country__flag-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 48px;
}

.bot-country__flag {
  display: block;
  width: 72px !important;
  max-width: none !important;
  height: 48px !important;
  margin: 0 !important;
  float: none !important;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(29, 29, 27, 0.12);
  background: #f5f6f7;
}

.bot-country__flag--empty {
  background: linear-gradient(135deg, #eef0f2, #dfe3e6);
}

.bot-country__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.bot-country__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 8px;
  background: #f5f6f7;
  color: #4e5459;
  font-size: 12px;
  font-weight: 600;
}

/* Cards grid */
.bot-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
  clear: both;
  overflow: visible;
  align-items: stretch;
}

.bot-blog__grid > .bot-card {
  min-height: 0;
  height: auto;
}

.bot-card {
  margin: 0;
  background: #fff;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 8px 28px rgba(29, 29, 27, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
  clear: both;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(29, 29, 27, 0.12);
}

/* Services: photo + title link only */
.bot-card--service .bot-card__body {
  padding: 14px 16px 16px;
}

.bot-card--service .bot-card__title {
  margin: 0;
  font-size: 17px;
}

.bot-card--service .bot-card__excerpt,
.bot-card--service .bot-card__meta,
.bot-card--service .bot-card__badges {
  display: none !important;
}

.bot-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.bot-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2a2a28 0%, #4e5459 100%);
  overflow: hidden;
  clear: both;
  border-radius: 8px 8px 0 0;
}

.bot-card__media--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(254, 204, 15, 0.35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(231, 48, 57, 0.28), transparent 45%);
}

/* Override coraltravel .blog img { float:left; max-width:150px } */
.trv-page-content .blog .bot-card__img,
.trv-page-content .bot-blog .bot-card__img,
.bot-card__img {
  float: none !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.bot-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}

.bot-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d1b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bot-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.bot-card__title {
  margin: 0 0 8px;
  color: #1d1d1b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.bot-card:hover .bot-card__title {
  color: #e73039;
}

.bot-card__excerpt {
  margin: 0 0 16px;
  color: #4e5459;
  font-size: 14px;
  line-height: 1.45;
  flex: 1;
}

.bot-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
  color: #7a8086;
  font-size: 13px;
  line-height: 1.3;
}

.bot-card__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 70%;
}

.bot-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f5;
  position: relative;
}

/* Theme floats/max-width on .blog img — force circle crop */
.trv-page-content .blog .bot-card__avatar img,
.trv-page-content .bot-blog .bot-card__avatar img,
.bot-card__avatar img {
  float: none !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
}

.bot-card__avatar--initials {
  background: #fecc0f;
  color: #1d1d1b;
}

.bot-card__avatar-letters {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.bot-card__initials,
.bot-card__author-name {
  font-size: 13px;
  font-weight: 600;
  color: #7a8086;
  line-height: 1.25;
  white-space: normal;
}

.bot-blog__nav {
  margin-top: 36px;
}

.bot-blog__counter {
  margin: 0 0 8px;
  color: #7a8086;
  font-size: 13px;
}

/* Hide default noisy Joomla bits if any remain */
.bot-blog .article-info,
.bot-blog .info-block,
.bot-blog .icons,
.bot-blog .readmore {
  display: none !important;
}

@media (max-width: 1199px) {
  .bot-blog__countries-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .bot-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bot-blog__countries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bot-blog__title,
  .com-content-category-blog > h1 {
    font-size: 28px;
  }

  .bot-blog__flag {
    width: 44px;
    height: 32px;
  }

  .bot-blog__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bot-blog__countries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bot-blog__countries-title {
    font-size: 20px;
  }

  .bot-country {
    padding: 14px 10px 12px;
  }
}


/* Hard clear so theme floats never escape into lead-form / footer */
.bot-blog,
.bot-blog__grid,
.bot-blog__head {
  clear: both;
}

.bot-blog::after,
.bot-blog__grid::after {
  content: "";
  display: table;
  clear: both;
}

.trv-page-content:has(.bot-blog) {
  height: 100%;
  min-height: 100%;
  overflow: visible;
  padding-bottom: 56px;
}

/* Do not restyle other category blogs (services etc.) */
.trv-page-content .blog:not(.bot-blog) .bot-card {
  all: unset;
}


/* Services / other category blogs: neutralize theme float that escapes into lead form */
.trv-page-content .blog:not(.bot-blog) {
  overflow: hidden;
  clear: both;
}
.trv-page-content .blog:not(.bot-blog)::after {
  content: "";
  display: table;
  clear: both;
}
.trv-page-content .blog:not(.bot-blog) .blog-items,
.trv-page-content .blog:not(.bot-blog) .blog-item,
.trv-page-content .blog:not(.bot-blog) .item-content {
  overflow: hidden;
  clear: both;
}
.trv-page-content .blog:not(.bot-blog) img {
  float: none !important;
  max-width: 100% !important;
  height: auto !important;
}
.trv-page-content .request-module-block,
.trv-page-content .lead-form-section,
main .lead-form-section {
  clear: both;
  position: relative;
  z-index: 1;
}

/* Tourvisor CTA banner in article — site palette */
.bot-tourvisor-cta {
  margin: 36px 0 12px;
}

.bot-tourvisor-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  padding: 28px 32px;
  border-radius: 8px;
  background: #1d1d1b;
  color: #fff;
}

.bot-tourvisor-cta__copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.bot-tourvisor-cta__icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #fecc0f;
}

.bot-tourvisor-cta__text {
  min-width: 0;
}

.bot-tourvisor-cta__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.bot-tourvisor-cta__sub {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.bot-tourvisor-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 6px;
  background: #fecc0f;
  color: #1d1d1b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.bot-tourvisor-cta__btn:hover,
.bot-tourvisor-cta__btn:focus {
  background: #f5c400;
  color: #1d1d1b;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(254, 204, 15, 0.35);
}

.bot-tourvisor-cta__arrow {
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 767px) {
  .bot-tourvisor-cta__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
    gap: 18px;
  }

  .bot-tourvisor-cta__title {
    font-size: 18px;
  }

  .bot-tourvisor-cta__sub {
    font-size: 14px;
  }

  .bot-tourvisor-cta__btn {
    width: 100%;
  }
}

/* ========== Hotel review article (no sidebar) ========== */
.bot-hotelreview {
  max-width: none;
  clear: both;
}

.bot-hr {
  margin: 0 0 40px;
  padding: 28px 32px 32px;
  border: 1px solid #e8eaec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 29, 27, 0.06);
}

.bot-hr__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.bot-hr__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.bot-hr__badge--country {
  background: #f5f6f7;
  color: #4e5459;
}

a.bot-hr__badge--country:hover {
  color: #e73039;
}

.bot-hr__badge--type {
  background: #fecc0f;
  color: #1d1d1b;
}

.bot-hr__title {
  margin: 0 0 16px;
  color: #1d1d1b;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.4px;
}

.bot-hr__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 0 0 22px;
  padding: 14px 0;
  border-top: 1px solid #eceef0;
  border-bottom: 1px solid #eceef0;
  color: #6e7276;
  font-size: 14px;
}

.bot-hr__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d1d1b;
  font-weight: 600;
}

.bot-hr__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #1d1d1b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.bot-hr__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bot-hr__hero {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f2f4;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.bot-hr__hero img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  float: none !important;
  margin: 0 !important;
}

.bot-hr__content {
  color: #2c3236;
  font-size: 16px;
  line-height: 1.65;
}

.bot-hr__content > *:first-child {
  margin-top: 0;
}

.bot-hr__content h2 {
  margin: 28px 0 12px;
  color: #1d1d1b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.bot-hr__content h3 {
  margin: 22px 0 10px;
  color: #1d1d1b;
  font-size: 18px;
  font-weight: 700;
}

.bot-hr__content p {
  margin: 0 0 14px;
}

.bot-hr__content ul,
.bot-hr__content ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.bot-hr__content li {
  margin: 0 0 6px;
}

.bot-hr__content .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.bot-hr__content .pros-box,
.bot-hr__content .cons-box {
  padding: 16px 18px;
  border-radius: 8px;
}

.bot-hr__content .pros-box {
  background: #f3faf6;
  border-left: 4px solid #1f8a5b;
}

.bot-hr__content .cons-box {
  background: #fff5f4;
  border-left: 4px solid #e73039;
}

.bot-hr__content .pros-box h4 {
  margin: 0 0 8px;
  color: #1f8a5b;
}

.bot-hr__content .cons-box h4 {
  margin: 0 0 8px;
  color: #e73039;
}

.bot-hr__content .pros-box ul,
.bot-hr__content .cons-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bot-hr__content .info-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  border: 1px solid #e8eaec;
  border-radius: 8px;
  overflow: hidden;
}

.bot-hr__content .info-table th,
.bot-hr__content .info-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #e8eaec;
  font-size: 14px;
}

.bot-hr__content .info-table th {
  background: #f5f6f7;
  color: #1d1d1b;
  font-weight: 700;
}

.bot-hr__content .insider-tip {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 8px;
  border-left: 4px solid #fecc0f;
  background: #fff9e6;
  color: #4e5459;
}

.bot-hr__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #eceef0;
}

.bot-hr__tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f5f6f7;
  color: #4e5459;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.bot-hr__tag:hover {
  background: #e73039;
  color: #fff;
}

.bot-hr-related {
  margin: 8px 0 48px;
  clear: both;
}

.bot-hr-related__title {
  margin: 0 0 16px;
  color: #1d1d1b;
  font-size: 24px;
  font-weight: 700;
}

.bot-hr-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bot-hr-related__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8eaec;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(29, 29, 27, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bot-hr-related__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29, 29, 27, 0.08);
  color: inherit;
  text-decoration: none;
}

.bot-hr-related__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2a2a28, #4e5459);
  overflow: hidden;
}

.bot-hr-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
}

.bot-hr-related__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
}

.bot-hr-related__name {
  color: #1d1d1b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.bot-hr-related__card:hover .bot-hr-related__name {
  color: #e73039;
}

.bot-hr-related__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: #9aa0a6;
  font-size: 12px;
}

@media (max-width: 991px) {
  .bot-hr {
    padding: 20px 18px 24px;
  }

  .bot-hr__title {
    font-size: 26px;
  }

  .bot-hr__content .pros-cons {
    grid-template-columns: 1fr;
  }

  .bot-hr-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .bot-hr-related__grid {
    grid-template-columns: 1fr;
  }
}

/* Block builder (plg_content_botblocks) */
.bot-blocks {
  color: #2c3236;
  font-size: 16px;
  line-height: 1.65;
}

.bot-blocks > *:first-child {
  margin-top: 0;
}

.bot-blocks h2,
.bot-block--heading-text h2 {
  margin: 28px 0 12px;
  color: #1d1d1b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.bot-blocks h3 {
  margin: 22px 0 10px;
  color: #1d1d1b;
  font-size: 18px;
  font-weight: 700;
}

.bot-blocks p {
  margin: 0 0 14px;
}

.bot-blocks ul,
.bot-blocks ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.bot-blocks li {
  margin: 0 0 6px;
}

.bot-blocks .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.bot-blocks .pros-box,
.bot-blocks .cons-box {
  padding: 16px 18px;
  border-radius: 8px;
}

.bot-blocks .pros-box {
  background: #f3faf6;
  border-left: 4px solid #1f8a5b;
}

.bot-blocks .cons-box {
  background: #fff5f4;
  border-left: 4px solid #e73039;
}

.bot-blocks .pros-box h4 {
  margin: 0 0 8px;
  color: #1f8a5b;
}

.bot-blocks .cons-box h4 {
  margin: 0 0 8px;
  color: #e73039;
}

.bot-blocks .pros-box ul,
.bot-blocks .cons-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bot-blocks .info-table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  border: 1px solid #e8eaec;
  border-radius: 8px;
  overflow: hidden;
}

.bot-blocks .info-table th,
.bot-blocks .info-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #e8eaec;
  font-size: 14px;
}

.bot-blocks .info-table th {
  background: #f5f6f7;
  color: #1d1d1b;
  font-weight: 700;
}

.bot-blocks .insider-tip {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 8px;
  border-left: 4px solid #fecc0f;
  background: #fff9e6;
  color: #4e5459;
}

.bot-blocks > * {
  clear: both;
  float: none !important;
  max-width: 100%;
}

.bot-hr__content img,
.bot-blocks img,
.bot-block--image img {
  float: none !important;
  clear: both;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.bot-block--image {
  display: block;
  width: 100%;
  margin: 22px 0;
  clear: both;
  float: none !important;
  background: transparent;
  overflow: visible;
  border-radius: 0;
}

.bot-block--image img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  border-radius: 8px;
  background: #f0f2f4;
}

.bot-block--image figcaption {
  display: block;
  margin: 10px 0 0;
  padding: 0 2px;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.45;
  background: none;
  border: 0;
  text-align: left;
}

.bot-block--image figcaption:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bot-block--tip,
.bot-block--text,
.bot-block--heading-text,
.bot-block--list,
.bot-block--params,
.bot-block--pros-cons {
  clear: both;
}

@media (max-width: 767px) {
  .bot-blocks .pros-cons {
    grid-template-columns: 1fr;
  }

  .bot-hr__hero {
    aspect-ratio: 4 / 3;
    max-height: 280px;
  }
}
