/* =========================================================
   NEWS AND CONTACT PAGE STYLES
   Tách từ coto-theme.css để dễ bảo trì.
   ========================================================= */

/* News and contact pages */
.modern-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 24px;
}

.modern-breadcrumb a {
  color: rgba(255,255,255,.9);
}

.modern-breadcrumb span,
.modern-breadcrumb a:hover {
  color: #f1cf68;
}

.modern-breadcrumb i {
  font-size: 10px;
  color: rgba(255,255,255,.5);
}

.page-eyebrow {
  display: inline-flex;
  color: #f1cf68;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em !important;
  margin-bottom: 10px;
}

.news-hero,
.contact-hero {
  background:
    radial-gradient(circle at 86% 16%, rgba(216, 182, 91, .25), transparent 25%),
    linear-gradient(108deg, #063829 0%, #07533b 56%, #f5faf6 56.2%, #fffdf8 100%);
  padding: 38px 0 52px;
  border-bottom: 1px solid rgba(7,68,47,.12);
}

.news-detail-hero {
  background:
    radial-gradient(circle at 86% 16%, rgba(216, 182, 91, 0.22), transparent 40%),
    linear-gradient(135deg, #053324 0%, #07442f 100%);
  padding: 42px 0 56px;
  border-bottom: 1px solid rgba(7,68,47,.18);
}

.news-detail-hero .news-meta {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 700;
  margin-top: 14px;
}

.news-detail-hero .news-meta span {
  color: rgba(255, 255, 255, 0.88) !important;
}

.news-detail-hero .news-meta span:first-child {
  color: #f1cf68 !important;
}

.news-hero .container,
.news-page .container,
.news-detail-hero .container,
.news-detail-page .container,
.contact-hero .container,
.contact-page .container {
  max-width: min(1500px, calc(100% - 96px));
}

.news-hero-copy,
.news-detail-head {
  max-width: 880px;
}

.news-hero h1,
.news-detail-head h1,
.contact-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 950;
  margin: 0;
}

.news-hero p,
.contact-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 15px;
  line-height: 1.8;
}

.news-page,
.news-detail-page,
.contact-page {
  padding: 48px 0 72px;
  background: linear-gradient(180deg, #f3f8f5 0%, #fff 45%, #f7faf8 100%);
}

.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.news-filter-tabs a {
  padding: 11px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(7,68,47,.1);
  color: #34443e;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(7,68,47,.05);
}

.news-filter-tabs a:hover,
.news-filter-tabs a.active {
  background: #064c37;
  color: #fff;
  border-color: #064c37;
}

.modern-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.modern-news-card,
.modern-article,
.news-side-panel,
.contact-info-panel,
.contact-form-panel {
  background: #fff;
  border: 1px solid rgba(7,68,47,.11);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(7,68,47,.08);
}

.modern-news-card {
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.modern-news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(7,68,47,.22);
  box-shadow: 0 24px 54px rgba(7,68,47,.13);
}

.modern-news-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef7f0;
}

.modern-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.modern-news-card:hover .modern-news-img img {
  transform: scale(1.06);
  filter: saturate(1.04) contrast(1.03);
}

.modern-news-body {
  padding: 20px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #72827b;
  font-size: 12px;
  font-weight: 800;
}

.news-meta span:first-child {
  color: #064c37;
}

.modern-news-body h2 {
  min-height: 58px;
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.modern-news-body h2 a {
  color: #101a17;
}

.modern-news-body p {
  color: #5c6d65;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.read-more-link,
.back-news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #064c37;
  font-size: 13px;
  font-weight: 900;
}

.modern-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.modern-pagination a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(7,68,47,.1);
  color: #1d2d27;
  font-weight: 900;
}

.modern-pagination a.active,
.modern-pagination a:hover {
  background: #064c37;
  color: #fff;
}

@media (max-width: 991.98px) {
  .news-hero,
  .contact-hero {
    background:
      radial-gradient(circle at 92% 8%, rgba(216, 182, 91, .18), transparent 34%),
      linear-gradient(135deg, #053324 0%, #07533b 100%);
    padding: 30px 0 40px;
  }

  .news-hero .container,
  .news-page .container,
  .news-detail-hero .container,
  .news-detail-page .container,
  .contact-hero .container,
  .contact-page .container {
    max-width: min(100% - 32px, 760px);
  }

  .news-hero h1,
  .news-detail-head h1,
  .contact-hero h1 {
    font-size: clamp(30px, 7vw, 44px);
    max-width: 720px;
  }

  .news-hero-copy,
  .news-detail-head {
    max-width: 720px;
  }

  .news-page,
  .news-detail-page,
  .contact-page {
    padding: 34px 0 52px;
  }

  .modern-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .modern-news-body {
    padding: 16px;
  }

  .modern-news-body h2 {
    min-height: auto;
    font-size: 17px;
    overflow-wrap: break-word;
  }
}

@media (max-width: 575.98px) {
  .modern-breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .news-hero,
  .contact-hero {
    background: linear-gradient(180deg, #053324 0%, #07533b 100%);
    padding: 26px 0 34px;
  }

  .news-hero .container,
  .news-page .container,
  .news-detail-hero .container,
  .news-detail-page .container,
  .contact-hero .container,
  .contact-page .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .news-hero h1,
  .news-detail-head h1,
  .contact-hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .news-hero p,
  .contact-hero p {
    font-size: 14px;
    line-height: 1.65;
  }

  .news-filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px 0;
    padding: 0;
  }

  .news-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .news-filter-tabs a {
    padding: 8px 12px;
    font-size: 11.5px;
  }

  .modern-news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modern-news-img {
    aspect-ratio: 16 / 9;
  }

  .modern-news-body h2 {
    font-size: 18px;
    line-height: 1.35;
  }

  .modern-news-body p {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .news-meta {
    gap: 8px;
    font-size: 11px;
  }
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.modern-article {
  padding: clamp(24px, 4vw, 46px);
  min-width: 0;
}

.article-lead {
  margin: 0 0 28px;
  padding-left: 18px;
  border-left: 4px solid #d8b65b;
  color: #4d5f57;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 650;
}

.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 30px;
}

.article-content {
  color: #2f4039;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: break-word;
}

.news-side-panel {
  padding: 22px;
  border-top: 4px solid #064c37;
  min-width: 0;
}

.news-side-panel h3 {
  color: #101a17;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
}

.related-list {
  display: grid;
  gap: 14px;
}

.related-list a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #101a17;
}

.related-list img {
  width: 82px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.related-list strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
}

.related-list small {
  color: #7b8a84;
  font-size: 12px;
}

.back-news-link {
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 22px;
  border-radius: 12px;
  background: #eef8f2;
}

.modern-empty-state {
  text-align: center;
  padding: 70px 24px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(7,68,47,.1);
}

.modern-empty-state i {
  color: #064c37;
  font-size: 44px;
  margin-bottom: 14px;
}

@media (max-width: 991.98px) {
  .news-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .modern-article {
    padding: 24px;
  }

  .news-side-panel {
    padding: 20px;
  }
}

@media (max-width: 575.98px) {
  .news-detail-hero {
    padding: 26px 0 34px;
  }

  .news-detail-head h1 {
    font-size: 25px;
    line-height: 1.16;
  }

  .news-detail-page {
    padding: 18px 0 36px;
  }

  .news-detail-layout {
    gap: 14px;
  }

  .modern-article {
    padding: 16px;
    border-radius: 12px;
  }

  .article-lead {
    margin-bottom: 18px;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .article-cover {
    border-radius: 10px;
    margin-bottom: 18px;
  }

  .article-content {
    font-size: 14px;
    line-height: 1.75;
  }

  .news-side-panel {
    padding: 16px;
    border-radius: 12px;
  }

  .news-side-panel h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .related-list a {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }

  .related-list img {
    width: 64px;
    height: 50px;
    border-radius: 8px;
  }

  .back-news-link {
    min-height: 38px;
    border-radius: 10px;
  }
}

/* =========================================================
   PREMIUM COMPACT CONTACT PAGE STYLES
   ========================================================= */

.premium-contact-section {
  padding: 34px 0 42px;
  background: radial-gradient(circle at 5% 5%, rgba(7, 68, 47, 0.08), transparent 45%),
              radial-gradient(circle at 95% 95%, rgba(217, 185, 111, 0.07), transparent 45%),
              #eff3f0;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
}

.premium-contact-section .container.compact-container {
  max-width: 1200px;
  padding: 0 24px;
  width: 100%;
}

/* Header bar bên trong phần liên hệ, cực kỳ gọn */
.contact-header-bar {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.compact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4a5c54;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  width: 100%;
}

.compact-breadcrumb a {
  color: #4a5c54;
  transition: color 0.2s ease;
}

.compact-breadcrumb a:hover {
  color: #07442f;
}

.compact-breadcrumb i {
  font-size: 11px;
  color: rgba(7, 68, 47, 0.5);
}

.contact-header-title h1 {
  font-size: clamp(28px, 4vw, 38px) !important;
  font-weight: 900 !important;
  color: #07442f;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.contact-header-title .page-eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #cda95b; /* Gold brand color for eyebrow */
}

/* Layout chính dạng Card kép nằm ngang */
.premium-contact-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* CỘT TRÁI: PANEL THÔNG TIN LIÊN HỆ - LUXURY DARK EMERALD MODE */
.contact-info-panel-compact {
  background: linear-gradient(135deg, #053324 0%, #021a12 100%);
  border: 1px solid rgba(217, 185, 111, 0.25);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 20px 48px rgba(3, 26, 18, 0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
}

/* Các Card nhỏ biểu diễn thông tin */
.contact-info-card-compact {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 185, 111, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 12px;
}

.contact-info-card-compact:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(217, 185, 111, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-info-card-compact i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(217, 185, 111, 0.12);
  color: #e3c27a;
  font-size: 18px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: 1px solid rgba(217, 185, 111, 0.2);
}

.contact-info-card-compact:hover i {
  background: #e3c27a;
  color: #021a12;
  transform: scale(1.06) rotate(3deg);
}

.contact-info-card-compact span {
  display: block;
  color: #e3c27a; /* Gold labels */
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.contact-info-card-compact strong {
  color: #ffffff; /* Outstanding crisp white text */
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 700;
  display: block;
}

/* Support Box dạng vàng nhạt quý phái */
.contact-quick-support {
  padding: 15px 17px;
  border-radius: 16px;
  background: rgba(217, 185, 111, 0.07);
  color: #fff;
  margin-top: auto;
  border: 1px solid rgba(217, 185, 111, 0.2);
}

.contact-quick-support h3 {
  color: #e3c27a !important;
  font-size: 14.5px;
  font-weight: 850;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-quick-support h3 i {
  color: #e3c27a !important;
}

.contact-quick-support p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.info-content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* CỘT PHẢI: FORM LIÊN HỆ CỰC NỔI BẬT VỚI DẢI VIỀN XANH LÁ COTO */
.contact-form-panel-compact {
  background: #ffffff;
  border: 1px solid rgba(7, 68, 47, 0.15);
  border-top: 6px solid #07442f; /* Premium top green highlight */
  border-radius: 24px;
  padding: 30px 34px;
  box-shadow: 0 20px 48px rgba(7, 68, 47, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title-compact {
  margin-bottom: 18px;
}

.form-title-compact h2 {
  color: #07442f;
  font-size: 21px !important;
  font-weight: 850 !important;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.form-title-compact p {
  color: #4a5c54;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Form layout 2 cột mỗi hàng cực gọn */
.modern-contact-form-compact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-label-wrapper-compact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #07442f;
}

.contact-input-wrapper-compact {
  position: relative;
  width: 100%;
}

.contact-input-wrapper-compact input,
.contact-input-wrapper-compact textarea {
  width: 100%;
  padding: 12px 14px 12px 42px !important;
  border: 1.5px solid rgba(7, 68, 47, 0.2) !important;
  border-radius: 12px !important;
  background: #f8faf9 !important; /* Subtle gray-emerald tint to look clean and neat */
  color: #101a17 !important; /* Deep dark text */
  outline: none;
  font-size: 14px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 2px 4px rgba(7, 68, 47, 0.02) !important;
}

.contact-input-wrapper-compact input:focus,
.contact-input-wrapper-compact textarea:focus {
  border-color: #07442f !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(7, 68, 47, 0.12) !important;
}

/* Icon định vị chính xác bên trong ô nhập liệu */
.contact-input-wrapper-compact i {
  position: absolute !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #4a5c54 !important; /* High contrast icon */
  font-size: 14px !important;
  pointer-events: none;
  transition: color 0.22s ease;
  z-index: 10;
  display: inline-block !important;
}

.contact-input-wrapper-compact.textarea-wrapper-compact i {
  top: 16px !important;
  transform: none !important;
}

.contact-input-wrapper-compact input:focus + i,
.contact-input-wrapper-compact textarea:focus + i {
  color: #07442f !important;
}

.contact-input-wrapper-compact textarea {
  resize: none;
}

/* Submit Button - Luxury Dark Forest Emerald with Sand Hover */
.submit-btn-compact {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #07442f;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 18px rgba(7, 68, 47, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.submit-btn-compact:hover {
  background: #e3c27a;
  color: #021a12;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 185, 111, 0.4);
}

/* RESPONSIVE POLISH */
@media (max-width: 991.98px) {
  .premium-contact-section {
    padding: 28px 0 44px;
    min-height: auto;
  }

  .premium-contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info-panel-compact {
    min-height: auto;
    padding: 24px;
  }

  .contact-form-panel-compact {
    padding: 32px 28px;
  }
}

@media (max-width: 575.98px) {
  .premium-contact-section .container.compact-container {
    padding: 0 14px;
  }

  .contact-header-bar {
    margin-bottom: 16px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form-panel-compact {
    padding: 24px 20px;
  }

  .contact-info-panel-compact {
    padding: 20px;
  }

  .contact-info-card-compact {
    align-items: flex-start;
    padding: 14px;
  }

  .submit-btn-compact {
    font-size: 14px;
  }
}

/* =========================================================
   CKEDITOR 5 CONTENT STYLES (ck-content)
   Dùng cho phần nội dung bài viết được tạo bởi CKEditor 5
   Hỗ trợ căn chỉnh ảnh: trái, phải, giữa, float
   ========================================================= */

.article-content.ck-content {
  /* Reset để đảm bảo ảnh không bị giới hạn */
}

/* --- Wrapper ảnh (figure.image) --- */
.article-content.ck-content figure.image {
  display: table;
  clear: both;
  text-align: center;
  margin: 1.2em auto;
  max-width: 100%;
}

.article-content.ck-content figure.image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(7,68,47,.10);
}

.article-content.ck-content figure.image figcaption {
  display: table-caption;
  caption-side: bottom;
  font-size: 13px;
  color: #6b7c75;
  text-align: center;
  padding: 6px 8px 2px;
  font-style: italic;
}

/* --- ẢNH CĂN GIỮA --- */
.article-content.ck-content figure.image.image-style-align-center,
.article-content.ck-content figure.image.image-style-block-align-center {
  margin-left: auto;
  margin-right: auto;
}

/* --- ẢNH FLOAT TRÁI (chữ bao quanh bên phải) --- */
.article-content.ck-content figure.image.image-style-align-left,
.article-content.ck-content figure.image.image-style-block-align-left {
  float: left;
  margin-right: 24px;
  margin-bottom: 12px;
  margin-left: 0;
}

/* --- ẢNH FLOAT PHẢI (chữ bao quanh bên trái) --- */
.article-content.ck-content figure.image.image-style-align-right,
.article-content.ck-content figure.image.image-style-block-align-right,
.article-content.ck-content figure.image.image-style-side {
  float: right;
  margin-left: 24px;
  margin-bottom: 12px;
  margin-right: 0;
  max-width: 50%;
}

/* --- Xóa float sau ảnh --- */
.article-content.ck-content p,
.article-content.ck-content h2,
.article-content.ck-content h3,
.article-content.ck-content ul,
.article-content.ck-content ol {
  overflow: hidden; /* Đảm bảo text wrap đúng khi có ảnh float */
}

/* Clearfix sau ảnh cuối cùng */
.article-content.ck-content::after {
  content: '';
  display: table;
  clear: both;
}

/* --- Inline ảnh không có figure --- */
.article-content.ck-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Tiêu đề --- */
.article-content.ck-content h2 {
  font-size: 26px;
  font-weight: 900;
  color: #07442f;
  margin: 2em 0 .75em;
  line-height: 1.25;
}

.article-content.ck-content h3 {
  font-size: 21px;
  font-weight: 800;
  color: #0d5c3e;
  margin: 1.6em 0 .6em;
  line-height: 1.3;
}

/* --- Đoạn văn --- */
.article-content.ck-content p {
  margin: 0 0 1.1em;
}

/* --- Danh sách --- */
.article-content.ck-content ul,
.article-content.ck-content ol {
  padding-left: 28px;
  margin-bottom: 1.1em;
}

.article-content.ck-content li {
  margin-bottom: 6px;
}

/* --- Blockquote --- */
.article-content.ck-content blockquote {
  border-left: 5px solid #d8b65b;
  margin: 1.5em 0;
  padding: 14px 22px;
  background: #fffdf4;
  border-radius: 0 10px 10px 0;
  color: #4d5f57;
  font-style: italic;
  font-size: 17px;
}

/* --- Bảng --- */
.article-content.ck-content .table {
  overflow-x: auto;
  margin: 1.5em 0;
}

.article-content.ck-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.article-content.ck-content table th,
.article-content.ck-content table td {
  border: 1px solid rgba(7,68,47,.18);
  padding: 10px 14px;
  text-align: left;
}

.article-content.ck-content table th {
  background: #07442f;
  color: #fff;
  font-weight: 800;
}

.article-content.ck-content table tr:nth-child(even) td {
  background: #f3f8f5;
}

/* --- Code --- */
.article-content.ck-content code {
  background: #f0f4f2;
  color: #064c37;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13.5px;
}

/* --- Link --- */
.article-content.ck-content a {
  color: #064c37;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content.ck-content a:hover {
  color: #d8b65b;
}

/* --- RESPONSIVE --- */
@media (max-width: 767.98px) {
  .article-content.ck-content figure.image.image-style-align-left,
  .article-content.ck-content figure.image.image-style-block-align-left,
  .article-content.ck-content figure.image.image-style-align-right,
  .article-content.ck-content figure.image.image-style-block-align-right,
  .article-content.ck-content figure.image.image-style-side {
    float: none;
    margin: 1.2em auto;
    max-width: 100%;
    display: table;
  }

  .article-content.ck-content h2 { font-size: 22px; }
  .article-content.ck-content h3 { font-size: 18px; }
}
