/* Blog — category list & single article (myvacation) */

h1.article-hero__title,
h1.blog-page__title,
h1.category-page__title,
h1.contact-page__title,
h1.article-page__title,
.blog-page__inner > h1,
.blog-page__hero h1 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.blog-page {
  --blog-radius: 16px;
  --blog-shadow: 0 4px 24px rgba(25, 30, 59, 0.08);
  padding: 40px 0 80px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.blog-page__inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 15px;
}

.blog-page__hero {
  margin-bottom: 40px;
  padding: 40px 32px;
  border-radius: var(--blog-radius);
  background: linear-gradient(135deg, #eef4fa 0%, #f8fafc 55%, #fff 100%);
  border: 1px solid var(--border-gray, #dfe0e4);
  text-align: right;
}

/* Blog page h1 / titles */
.blog-page__title,
.category-page__title,
.contact-page__title {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-main, #191e3b);
  text-align: right;
}

.blog-page__title--page {
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.blog-page__title--category {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.blog-page__inner > h1:not([class]) {
  margin: 0 0 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-main, #191e3b);
  text-align: right;
  letter-spacing: -0.02em;
}

.blog-page__hero h1,
.blog-page__hero h2 {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--dark-main, #191e3b);
  line-height: 1.2;
}

.blog-page__hero .blog-page__title--category {
  margin-bottom: 16px;
}

.blog-page__hero .category-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-secondary, #525975);
  max-width: 720px;
}

.blog-page__hero .category-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white, #fff);
  border: 1px solid var(--border-gray, #dfe0e4);
  border-radius: var(--blog-radius);
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(25, 30, 59, 0.12);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-secondary, #eef4fa);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__media--placeholder {
  background: linear-gradient(145deg, #eef4fa 0%, #dce8f8 50%, #e8f0fa 100%);
  cursor: pointer;
}

.blog-card__media--placeholder:hover {
  background: linear-gradient(145deg, #e3edfa 0%, #d0e2f7 50%, #dce8f8 100%);
}

.blog-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 24px;
  box-sizing: border-box;
}

.blog-card__placeholder-icon {
  color: var(--blue-main, #1668e3);
  opacity: 0.55;
}

.blog-card__media--placeholder:hover .blog-card__placeholder-icon {
  opacity: 0.75;
}

.blog-card__placeholder-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-secondary, #525975);
  opacity: 0.85;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
  text-align: right;
}

.blog-card__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-main, #1668e3);
  margin-bottom: 10px;
}

.blog-card__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card__title a {
  color: var(--dark-main, #191e3b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: var(--blue-main, #1668e3);
}

.blog-card__excerpt {
  flex: 1;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dark-secondary, #525975);
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-main, #1668e3);
  text-decoration: none;
}

.blog-card__link:hover {
  text-decoration: underline;
}

.blog-page .com-content-category-blog__pagination,
.blog-page .com-content-category-blog__navigation {
  padding: 24px 0 0;
  border-top: 1px solid var(--border-gray, #dfe0e4);
}

.blog-page .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.blog-page .pagination a,
.blog-page .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--dark-main, #191e3b);
  border: 1px solid var(--border-gray, #dfe0e4);
  background: #fff;
}

.blog-page .pagination a:hover {
  border-color: var(--blue-main, #1668e3);
  color: var(--blue-main, #1668e3);
}

.blog-page .alert-info {
  padding: 16px 20px;
  border-radius: 12px;
  background: #eef4fa;
  border: 1px solid #c7daf7;
  color: var(--dark-main, #191e3b);
}

/* Single article */
.blog-article-page {
  padding-bottom: 80px;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(180deg, #f4f7fc 0%, #fff 240px);
}

.blog-article-page .wrapper {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero */
.article-hero {
  position: relative;
  min-height: 280px;
  max-height: 420px;
  display: flex;
  align-items: flex-end;
  background-color: var(--blue-secondary, #eef4fa);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.article-hero--placeholder {
  min-height: 220px;
  background: linear-gradient(145deg, #eef4fa 0%, #dce8f8 50%, #e8f0fa 100%);
  margin-bottom: 24px;
}

.article-shell--no-hero-image {
  margin-top: 0;
}

.blog-article-page .article-page__title {
  margin: 0 0 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-main, #191e3b);
  text-align: right;
}

.article-hero__placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-main, #1668e3);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(25, 30, 59, 0.82) 0%, rgba(25, 30, 59, 0.35) 55%, rgba(25, 30, 59, 0.08) 100%);
}

.article-hero--placeholder .article-hero__overlay {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.article-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-hero__eyebrow {
  margin: 0;
  align-self: flex-start;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
}

.article-hero--placeholder .article-hero__eyebrow {
  color: var(--dark-secondary, #525975);
}

.article-hero__title {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.article-hero--placeholder .article-hero__title {
  color: var(--dark-main, #191e3b);
}

.article-hero__title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  align-self: flex-end;
  text-align: right;
  max-width: 100%;
}

.article-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #fffaeb;
  color: #b54708;
}

.container{
  max-width: 100% !important;
}

/* Shell */
.article-shell {
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.article-date {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-secondary, #525975);
}

.article-actions {
  margin-bottom: 16px;
}

/* Content card */
.article-content-card {
  background: #fff;
  border: 1px solid var(--border-gray, #dfe0e4);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(25, 30, 59, 0.08);
  padding: 36px 40px;
  margin-bottom: 28px;
}

#container-475 .article-content-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

#container-475 .com-content-article__body{
  padding: 15px 0 0;
}

.article-content-card .com-content-article__body,
.article-content-card[itemprop="articleBody"] {
  max-width: none;
  padding: 15px;
}

.blog-article-page .com-content-article__body p,
.blog-article-page .com-content-article__body li,
.blog-article-page .blog-in p,
.blog-article-page .blog-in li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--dark-secondary, #525975);
  margin-bottom: 1.25em;
}

.blog-article-page .com-content-article__body > *:first-child {
  margin-top: 0;
}

.blog-article-page .com-content-article__body h2,
.blog-article-page .com-content-article__body h3,
.blog-article-page .com-content-article__body h4 {
  color: var(--dark-main, #191e3b);
  font-weight: 700;
  margin: 1.75em 0 0.65em;
  line-height: 1.35;
}

.blog-article-page .com-content-article__body h2 { font-size: 1.55rem; }
.blog-article-page .com-content-article__body h3 { font-size: 1.28rem; }
.blog-article-page .com-content-article__body h4 { font-size: 1.1rem; }

.blog-article-page .com-content-article__body a {
  color: var(--blue-main, #1668e3);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.blog-article-page .com-content-article__body a:hover {
  opacity: 0.8;
}

.blog-article-page .com-content-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0;
  box-shadow: 0 4px 16px rgba(25, 30, 59, 0.08);
}

.blog-article-page .com-content-article__body ul,
.blog-article-page .com-content-article__body ol {
  padding-inline-start: 1.35em;
  margin-bottom: 1.25em;
}

.blog-article-page .com-content-article__body blockquote {
  margin: 1.5em 0;
  padding: 18px 22px;
  border-inline-end: 4px solid var(--blue-main, #1668e3);
  background: var(--blue-secondary, #eef4fa);
  border-radius: 0 12px 12px 0;
  font-style: normal;
  color: var(--dark-main, #191e3b);
}

.blog-article-page .com-content-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}

.blog-article-page .com-content-article__body th,
.blog-article-page .com-content-article__body td {
  padding: 12px 14px;
  border: 1px solid var(--border-gray, #dfe0e4);
  text-align: right;
}

.blog-article-page .com-content-article__body th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--dark-main, #191e3b);
}

.blog-article-page .com-content-article__body pre,
.blog-article-page .com-content-article__body code {
  font-size: 14px;
  background: #f4f7fc;
  border-radius: 8px;
}

.blog-article-page .com-content-article__body pre {
  padding: 16px;
  overflow-x: auto;
  margin: 1.5em 0;
}

/* Meta & tags */
.article-info {
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border-gray, #dfe0e4);
  border-radius: 12px;
  font-size: 14px;
  color: var(--dark-secondary, #525975);
}

.blog-article-page dl.article-info {
  display: grid;
  gap: 8px;
  margin: 0;
  max-width: none;
  padding: 0;
}

.blog-article-page dl.article-info dt {
  font-weight: 600;
  color: var(--dark-main, #191e3b);
}

.blog-article-page dl.article-info dd {
  margin: 0 0 8px;
}

.blog-article-page dl.article-info dd.category-name,
.blog-article-page dl.article-info dd.parent-category-name {
  display: none;
}

.article-tags {
  margin-bottom: 20px;
}

.blog-article-page .tags,
.blog-article-page .article-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-article-page .tags a,
.blog-article-page .article-tags a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-secondary, #eef4fa);
  color: var(--blue-main, #1668e3);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.blog-article-page .tags a:hover,
.blog-article-page .article-tags a:hover {
  background: #dce8f8;
}

.article-toc {
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-gray, #dfe0e4);
  border-radius: 12px;
}

.article-pagination {
  margin: 20px 0;
}

.article-content-card--locked {
  text-align: center;
}

/* Hide legacy wrappers */
.blog-article-page .pull-left.item-image,
.blog-article-page .pull-right.item-image,
.blog-article-page .item-image {
  display: none;
}

@media (max-width: 768px) {
  .blog-page {
    padding: 24px 0 48px;
  }

  .blog-page__hero {
    padding: 28px 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-hero {
    min-height: 220px;
    max-height: 320px;
  }

  .article-hero__inner {
    padding: 32px 0 28px;
  }

  .article-shell {
    margin-top: -20px;
  }

  .article-content-card {
    padding: 24px 20px;
  }
}
