/* Otis — trang chi tiết bài viết (tin tức + trang dịch vụ). Giữ màu Otis (navy #243670, vàng cát #d4b28c / #c9a27e). */
body.op-article {
  --op-navy: #243670;
  --op-ink: #1f2937;
  --op-muted: #6b7280;
  --op-line: #e8eaf0;
  --op-sand: #c9a27e;
  --op-measure: 760px;
}

/* ---------- phần đầu bài ---------- */
body.op-article .op-article-head { max-width: var(--op-measure); margin: 8px 0 28px; }
body.op-article .op-article-cat {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  background: #c9a27e1f; color: #8a6a45; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-decoration: none;
}
body.op-article .op-article-cat:hover { background: #c9a27e33; }
body.op-article .op-article-title {
  margin: 14px 0 12px; color: var(--op-navy); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; font-weight: 700;
  letter-spacing: -.02em; text-align: left; text-transform: none;
}
body.op-article .op-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--op-muted); font-size: 14.5px; }
body.op-article .op-article-meta > * + *::before { content: "·"; margin-right: 10px; opacity: .7; }

/* ảnh đại diện + breadcrumb */
body.op-article .thim-ekit-single-post__featured-image img { border-radius: var(--otis-r-card, 24px); width: 100%; object-fit: cover; aspect-ratio: 21 / 8; }
body.op-article .thim-ekit-breadcrumb { font-size: 13.5px; color: var(--op-muted); }
body.op-article .thim-ekit-breadcrumb a { color: var(--op-muted); }
body.op-article .thim-ekit-breadcrumb a:hover { color: var(--op-navy); }

/* ---------- nội dung ---------- */
body.op-article .thim-ekit-single-post__content { max-width: var(--op-measure); color: var(--op-ink); font-size: 17px; line-height: 1.75; }
body.op-article .thim-ekit-single-post__content :is(p, li, td, figcaption, h1, h2, h3, h4, h5, h6, div) { text-align: left !important; }
body.op-article .thim-ekit-single-post__content p { margin: 0 0 18px; }
body.op-article .thim-ekit-single-post__content :is(h1, h2, h3, h4) {
  color: var(--op-navy); font-weight: 700; letter-spacing: -.01em; text-transform: none; scroll-margin-top: 100px;
}
body.op-article .thim-ekit-single-post__content h1,
body.op-article .thim-ekit-single-post__content h2 { font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.3 !important; margin: 44px 0 14px !important; }
body.op-article .thim-ekit-single-post__content h3 { font-size: clamp(19px, 1.9vw, 22px) !important; line-height: 1.35 !important; margin: 32px 0 10px !important; }
body.op-article .thim-ekit-single-post__content h4 { font-size: 18px !important; line-height: 1.4 !important; margin: 24px 0 8px !important; }
body.op-article .thim-ekit-single-post__content > :first-child,
body.op-article .thim-ekit-single-post__content > div > :first-child { margin-top: 0 !important; }
body.op-article .thim-ekit-single-post__content :is(ul, ol) { margin: 0 0 20px; padding-left: 1.3em; }
body.op-article .thim-ekit-single-post__content li { margin: 0 0 8px; padding-left: 2px; }
body.op-article .thim-ekit-single-post__content li::marker { color: var(--op-sand); }
body.op-article .thim-ekit-single-post__content a { color: var(--op-navy); text-decoration: underline; text-decoration-color: #24367055; text-underline-offset: 3px; }
body.op-article .thim-ekit-single-post__content a:hover { text-decoration-color: currentColor; }
body.op-article .thim-ekit-single-post__content strong { color: #111827; }
body.op-article .thim-ekit-single-post__content img {
  display: block; max-width: 100%; height: auto !important; border-radius: 16px; margin: 8px 0;
}
body.op-article .thim-ekit-single-post__content :is(figure, .wp-caption) { width: auto !important; max-width: 100%; margin: 28px 0; }
body.op-article .thim-ekit-single-post__content :is(figure img, .wp-caption img) { width: 100%; margin: 0; }
body.op-article .thim-ekit-single-post__content :is(figcaption, .wp-caption-text) {
  margin-top: 10px; color: var(--op-muted); font-size: 14px; font-style: normal; line-height: 1.5; text-align: center !important;
}
body.op-article .thim-ekit-single-post__content blockquote {
  margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--op-sand); border-radius: 0 14px 14px 0;
  background: #c9a27e12; color: #374151; font-size: 17px;
}
body.op-article .thim-ekit-single-post__content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
body.op-article .thim-ekit-single-post__content :is(th, td) { border: 1px solid var(--op-line); padding: 10px 12px; }
body.op-article .thim-ekit-single-post__content hr { border: 0; border-top: 1px solid var(--op-line); margin: 36px 0; }
/* emoji đầu dòng tiêu đề (🔹, ✅…) không làm lệch hàng */
body.op-article .thim-ekit-single-post__content h2 img.emoji,
body.op-article .thim-ekit-single-post__content h3 img.emoji { display: inline; width: 1em; margin: 0 .2em 0 0; border-radius: 0; }

/* trang dịch vụ (khung .otis-tour…) — giữ khung nhưng nhẹ và thoáng hơn */
body.op-article .thim-ekit-single-post__content [class^="otis-"] { max-width: 100%; }
body.op-article .thim-ekit-single-post__content [class^="otis-"] > h2:first-child { margin-top: 0 !important; }

/* ---------- tag + chia sẻ ---------- */
body.op-article .thim-ekit-single-post__info { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
body.op-article .thim-ekit-single-post__info a {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--op-line);
  color: var(--op-ink); text-decoration: none;
}
body.op-article .thim-ekit-single-post__info a:hover { border-color: var(--op-navy); color: var(--op-navy); }
body.op-article .elementor-widget-thim-ekits-post-info { flex: 1; }
body.op-article .elementor-widget-thim-ekits-post-info,
body.op-article .elementor-widget-thim-ekits-social-share { border-top: 1px solid var(--op-line); padding-top: 18px !important; }
body.op-article .elementor-widget-thim-ekits-post-info + .elementor-widget-thim-ekits-social-share { border-top: 1px solid var(--op-line); }

/* ---------- bài viết liên quan ---------- */
body.op-article .elementor-widget-thim-ekits-post-related .thim-ekits-post__inner { gap: 24px !important; }
body.op-article .elementor-widget-thim-ekits-post-related .thim-ekits-post__article {
  border-radius: var(--otis-r-card, 24px); overflow: hidden; background: #fff; box-shadow: var(--otis-shadow-card);
  transition: box-shadow .2s, transform .2s;
}
body.op-article .elementor-widget-thim-ekits-post-related .thim-ekits-post__article:hover { box-shadow: var(--otis-shadow-hover); transform: translateY(-2px); }
body.op-article .elementor-widget-thim-ekits-post-related .e-con { border: 0 !important; --border-radius: 0 !important; }
body.op-article .elementor-widget-thim-ekits-post-related img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 !important; }

@media (max-width: 767px) {
  body.op-article .thim-ekit-single-post__content { font-size: 16px; line-height: 1.7; }
  body.op-article .thim-ekit-single-post__featured-image img { aspect-ratio: 16 / 9; border-radius: 18px; }
  body.op-article .op-article-head { margin-bottom: 20px; }
}

/* cột đọc 760px căn giữa trong container (desktop) */
body.op-article .op-article-head,
body.op-article .thim-ekit-single-post__content,
body.op-article .elementor-widget-thim-ekits-post-comment .comments-area,
body.op-article .ocm-list,
body.op-article .comment-respond { margin-left: auto !important; margin-right: auto !important; width: 100%; max-width: var(--op-measure); }
body.op-article .elementor-element-f3bdf4d, body.op-article .e-con:has(> .elementor-widget-thim-ekits-social-share) { max-width: var(--op-measure) !important; margin-left: auto !important; margin-right: auto !important; width: 100%; }
body.op-article .ocm-title { max-width: var(--op-measure); margin-left: auto !important; margin-right: auto !important; }

/* ảnh đại diện: giữ tỉ lệ gốc (ép 21:8 làm ảnh banner thấp bị phóng to → mờ); chỉ cắt khi ảnh quá cao */
body.op-article .thim-ekit-single-post__featured-image img { aspect-ratio: auto !important; height: auto !important; max-height: 520px; object-fit: cover; }
@media (max-width: 767px) { body.op-article .thim-ekit-single-post__featured-image img { aspect-ratio: auto !important; max-height: 300px; } }
