/* Event Country Blog / Travel Guides page - targeted only for /blog/ */
.ecx-blog-body {
  background: #f2f2f2 !important;
}

.ecx-blog-page {
  width: min(100% - 36px, 1240px);
  margin: 0 auto;
  padding: 34px 0 72px;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #15191f;
}

.ecx-blog-hero {
  min-height: 360px;
  border-radius: 6px;
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.46), rgba(0,0,0,0.78)),
    url('/assets/img/generated/ec-image-fallback.svg') center/cover no-repeat;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.16);
  overflow: hidden;
}

.ecx-blog-hero-copy > span,
.ecx-blog-section-head span,
.ecx-blog-featured-copy > span,
.ecx-blog-seo-block > div > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ff7a00;
  font-weight: 1000;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.ecx-blog-hero-copy h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(2.45rem, 6.4vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 1000;
}

.ecx-blog-hero-copy p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.ecx-blog-hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ecx-blog-hero-actions a,
.ecx-blog-featured-copy a,
.ecx-guide-body a,
.ecx-blog-section-head > a,
.ecx-blog-trip-book {
  min-height: 43px;
  padding: 0 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ecx-blog-hero-actions a:first-child,
.ecx-blog-featured-copy a,
.ecx-guide-body a,
.ecx-blog-trip-book {
  background: #ff7a00;
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 122, 0, 0.24);
}

.ecx-blog-hero-actions a:last-child,
.ecx-blog-section-head > a {
  background: #fff;
  color: #15191f;
  border: 1px solid #e7eaf0;
}

.ecx-blog-hero-actions a:hover,
.ecx-blog-featured-copy a:hover,
.ecx-guide-body a:hover,
.ecx-blog-section-head > a:hover,
.ecx-blog-trip-book:hover {
  transform: translateY(-2px);
}

.ecx-blog-hero-card {
  border-radius: 6px;
  padding: 22px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
}

.ecx-blog-hero-card small,
.ecx-blog-hero-card strong,
.ecx-blog-hero-card p {
  display: block;
}

.ecx-blog-hero-card small {
  color: #ffd7bf;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ecx-blog-hero-card strong {
  margin: 8px 0;
  font-size: 1.45rem;
  color: #fff;
}

.ecx-blog-hero-card p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.ecx-blog-search-card {
  position: relative;
  z-index: 3;
  margin: -34px auto 0;
  width: min(100% - 40px, 1110px);
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e7eaf0;
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.16);
  padding: 12px;
}

.ecx-blog-form {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr auto auto;
  gap: 8px;
  align-items: stretch;
}

.ecx-blog-field {
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #edf0f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ecx-blog-field label {
  font-size: 0.72rem;
  font-weight: 1000;
  color: #7a8291;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-blog-field input,
.ecx-blog-field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: #15191f;
  font-weight: 800;
}

.ecx-blog-form button {
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
}

.ecx-blog-form button[type="submit"] {
  background: #ff7a00;
  color: #fff;
}

.ecx-blog-form button[type="button"] {
  background: #f1f3f6;
  color: #15191f;
}

.ecx-blog-featured {
  margin-top: 44px;
}

.ecx-blog-featured-card {
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7eaf0;
  box-shadow: 0 16px 48px rgba(16, 24, 40, 0.1);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 0.95fr;
}

.ecx-blog-featured-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ecx-blog-featured-copy h2,
.ecx-blog-section-head h2,
.ecx-blog-seo-block h2 {
  margin: 0;
  color: #15191f;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 1000;
}

.ecx-blog-featured-copy p,
.ecx-blog-section-head p,
.ecx-blog-seo-block p {
  margin: 12px 0 0;
  color: #5e6673;
  line-height: 1.65;
}

.ecx-blog-featured-tags {
  margin: 18px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ecx-blog-featured-tags b {
  border-radius: 999px;
  background: #fff2e6;
  color: #b94e00;
  padding: 8px 12px;
  font-size: 0.78rem;
}

.ecx-blog-featured-image {
  min-height: 320px;
  background: linear-gradient(135deg, #ff7a00, #111827);
}

.ecx-blog-featured-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  opacity: 0.36;
}

.ecx-blog-section-head {
  margin: 54px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}

.ecx-blog-section-head.compact {
  margin-bottom: 18px;
}

.ecx-blog-section-head > a {
  white-space: nowrap;
}

.ecx-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ecx-guide-card {
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e9ef;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
}

.ecx-guide-image {
  height: 210px;
  position: relative;
  background: linear-gradient(135deg, #ff7a00, #111827);
  overflow: hidden;
}

.ecx-guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.38;
}

.ecx-guide-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,0.92);
  color: #111827;
  font-size: 0.75rem;
  font-weight: 1000;
}

.ecx-guide-body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.ecx-guide-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #7a8291;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-guide-body h3 {
  margin: 10px 0 0;
  color: #15191f;
  font-size: 1.15rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 1000;
}

.ecx-guide-body p {
  margin: 10px 0 0;
  color: #5e6673;
  line-height: 1.55;
  font-size: 0.92rem;
}

.ecx-guide-body ul {
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ecx-guide-body li {
  position: relative;
  padding-left: 18px;
  color: #4d5562;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ecx-guide-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff7a00;
}

.ecx-guide-body a {
  margin-top: auto;
}

.ecx-blog-seo-block {
  margin-top: 54px;
  border-radius: 6px;
  background: #15191f;
  color: #fff;
  padding: 32px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 26px;
  align-items: start;
}

.ecx-blog-seo-block h2,
.ecx-blog-seo-block p {
  color: #fff;
}

.ecx-blog-seo-block p {
  color: rgba(255,255,255,0.76);
}

.ecx-blog-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ecx-blog-steps article {
  border-radius: 6px;
  padding: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.ecx-blog-steps strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff7a00;
  color: #fff;
}

.ecx-blog-steps h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: 1rem;
}

.ecx-blog-steps p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ecx-blog-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ecx-blog-trip-card {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e6e9ef;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

.ecx-blog-trip-media {
  position: relative;
  height: 225px;
  background: #dde3ec;
  overflow: hidden;
}

.ecx-blog-trip-media a,
.ecx-blog-trip-media img,
.ecx-blog-trip-media video,
.ecx-blog-trip-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ecx-blog-trip-media img,
.ecx-blog-trip-media video {
  object-fit: cover;
}

.ecx-blog-card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #111827;
  font-size: 1.55rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.16);
  z-index: 4;
}

.ecx-blog-card-arrow.prev {
  left: 10px;
}

.ecx-blog-card-arrow.next {
  right: 10px;
}

.ecx-blog-media-count {
  position: absolute;
  right: 11px;
  bottom: 11px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.ecx-blog-trip-body {
  padding: 16px;
}

.ecx-blog-trip-body > span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ff7a00;
  font-weight: 1000;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-blog-trip-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 1000;
  letter-spacing: -0.025em;
}

.ecx-blog-trip-body h3 a {
  color: #15191f;
  text-decoration: none;
}

.ecx-blog-trip-body p {
  margin: 8px 0 0;
  color: #646b78;
  line-height: 1.45;
  font-size: 0.88rem;
}

.ecx-blog-trip-bottom {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.ecx-blog-trip-bottom strong {
  color: #15191f;
  font-size: 1.05rem;
  font-weight: 1000;
}

.ecx-blog-trip-bottom small {
  color: #6b7280;
  font-weight: 900;
}

.ecx-blog-trip-book {
  margin-top: 14px;
  width: 100%;
}

.ecx-blog-faq {
  margin-top: 52px;
}

.ecx-blog-faq details {
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e6e9ef;
  padding: 0 18px;
  margin-bottom: 10px;
  box-shadow: 0 8px 26px rgba(16, 24, 40, 0.05);
}

.ecx-blog-faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 1000;
  color: #15191f;
}

.ecx-blog-faq p {
  margin: 0 0 18px;
  color: #5e6673;
  line-height: 1.6;
}

.ecx-loader,
.ecx-empty {
  grid-column: 1 / -1;
  border-radius: 6px;
  background: #fff;
  border: 1px dashed #d8dee8;
  color: #687282;
  padding: 24px;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .ecx-blog-hero,
  .ecx-blog-featured-card,
  .ecx-blog-seo-block {
    grid-template-columns: 1fr;
  }

  .ecx-blog-form {
    grid-template-columns: 1fr 1fr;
  }

  .ecx-blog-field-main,
  .ecx-blog-form button {
    grid-column: auto;
  }

  .ecx-blog-grid,
  .ecx-blog-experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ecx-blog-page {
    width: min(100% - 22px, 1240px);
    padding-top: 18px;
  }

  .ecx-blog-hero {
    min-height: auto;
    padding: 24px;
  }

  .ecx-blog-hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .ecx-blog-search-card {
    width: 100%;
    margin-top: 14px;
  }

  .ecx-blog-form,
  .ecx-blog-grid,
  .ecx-blog-experience-grid,
  .ecx-blog-steps {
    grid-template-columns: 1fr;
  }

  .ecx-blog-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ecx-blog-section-head > a {
    width: 100%;
  }

  .ecx-blog-featured-copy,
  .ecx-blog-seo-block {
    padding: 22px;
  }
}
