/*
Theme Name: Sun Vĩnh Hưng - Flatsome Child
Theme URI: https://sunvinhhung.com.vn/
Description: Child theme Flatsome 3.19.x cho Sun Vĩnh Hưng, gồm UX Builder và 12 Page Template luxury độc lập.
Author: sunvinhhung.com.vn
Template: flatsome
Version: 1.7.2
Text Domain: svh
*/

/* ================================================================
   SINGLE POST — editorial layout
   ================================================================ */
.single-post #main {
  background: #f5f2eb;
}

.single-post .blog-wrapper.blog-single {
  padding: clamp(34px, 5vw, 74px) 0 clamp(70px, 8vw, 110px);
}

.single-post .blog-wrapper > .row.row-large {
  max-width: 1240px;
}

.single-post .entry-author.author-box,
.single-post #comments.comments-area {
  display: none !important;
}

.single-post .row-divided > .post-sidebar {
  border-left: 0 !important;
}

.single-post article.type-post > .article-inner {
  background: #fff;
  border: 1px solid rgba(7, 26, 43, .09);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(7, 26, 43, .09) !important;
  overflow: hidden;
}

.single-post .entry-header-text.entry-header-text-top {
  padding: clamp(40px, 6vw, 72px) clamp(24px, 8vw, 94px) clamp(32px, 5vw, 55px);
}

.single-post .entry-category a {
  color: #a4772c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.single-post h1.entry-title {
  color: #071a2b;
  font-family: Lora, serif;
  font-size: clamp(2.05rem, 3.7vw, 3.45rem);
  line-height: 1.09;
  letter-spacing: -.045em;
  margin: 14px auto 22px;
  max-width: 940px;
  text-wrap: balance;
}

.single-post .entry-divider {
  background: linear-gradient(90deg, #c79a49, #f1d58d);
  height: 2px;
  width: 62px;
}

.single-post .entry-meta {
  color: #718084;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: .68rem;
  letter-spacing: .09em;
}

.single-post .entry-meta .byline {
  display: none;
}

.single-post .entry-image {
  margin: 0 clamp(18px, 3.5vw, 42px);
  overflow: hidden;
  border-radius: 20px;
}

.single-post .entry-image img {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  width: 100%;
}

.single-post .entry-image .post-date {
  left: 18px;
  top: 18px;
}

.single-post .entry-content.single-page {
  color: #334d54;
  font-size: 1.04rem;
  line-height: 1.85;
  padding-top: 12px;
}

.single-post .entry-content.single-page h2,
.single-post .entry-content.single-page h3,
.single-post .entry-content.single-page h4 {
  color: #071a2b;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.single-post .entry-content.single-page a:not(.button):not(.svh-related-card__image) {
  color: #8f671f;
  text-decoration-color: rgba(143, 103, 31, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-post .entry-content.single-page blockquote {
  background: #f6f0e4;
  border-left: 3px solid #caa55a;
  border-radius: 0 16px 16px 0;
  color: #173a43;
  font-family: Lora, serif;
  font-size: 1.16rem;
  margin: 34px 0;
  padding: 24px 28px;
}

.single-post .entry-content figcaption {
  color: #718084;
  font-size: .75rem;
  line-height: 1.6;
  margin-top: 9px;
}

.single-post .blog-share {
  margin: 10px clamp(22px, 6vw, 72px) 0;
  padding: 15px 0 24px;
}

.single-post .blog-share .button {
  border-color: rgba(7, 26, 43, .18);
  color: #0b3b48;
}

.single-post footer.entry-meta {
  display: none;
}

.single-post .navigation-post {
  margin: 0 clamp(22px, 6vw, 72px) 42px;
}

.single-post .navigation-post .next-prev-nav {
  border-color: rgba(7, 26, 43, .12);
  padding: 20px 0;
}

.single-post .navigation-post a {
  color: #0b3b48;
  font-family: Lora, serif;
  font-size: .9rem;
}

/* Related posts generated by functions.php. */
.single-post .svh-related-posts {
  background: #f6f2e9;
  border-top: 1px solid rgba(7, 26, 43, .1);
  margin-top: clamp(45px, 7vw, 82px);
  padding: clamp(50px, 6vw, 76px) clamp(22px, 5vw, 62px);
}

.single-post .svh-related-posts__header {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.single-post .svh-related-posts__eyebrow {
  color: #a4772c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.single-post .svh-related-posts__header h2 {
  color: #071a2b;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  margin: 0;
}

.single-post .svh-related-posts__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single-post .svh-related-card {
  background: #fff;
  border: 1px solid rgba(7, 26, 43, .1);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(7, 26, 43, .07);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.single-post .svh-related-card:hover {
  box-shadow: 0 20px 45px rgba(7, 26, 43, .12);
  transform: translateY(-4px);
}

.single-post .svh-related-card__image {
  aspect-ratio: 16 / 10;
  background: #0b3b48;
  display: block;
  min-height: 0;
  overflow: hidden;
}

.single-post .svh-related-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  width: 100%;
}

.single-post .svh-related-card:hover .svh-related-card__image img {
  transform: scale(1.045);
}

.single-post .svh-related-card__placeholder {
  align-items: center;
  color: #efd38d;
  display: flex;
  font-family: Lora, serif;
  font-size: 1.3rem;
  height: 100%;
  justify-content: center;
}

.single-post .svh-related-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.single-post .svh-related-card__meta {
  color: #9a712b;
  display: flex;
  flex-wrap: wrap;
  font-size: .62rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: .08em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.single-post .svh-related-card__meta time::before {
  content: "·";
  margin-right: 8px;
}

.single-post .svh-related-card h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  margin: 0 0 9px;
}

.single-post .svh-related-card h3 a {
  color: #071a2b !important;
  text-decoration: none !important;
}

.single-post .svh-related-card p {
  color: #66777b;
  font-size: .75rem;
  line-height: 1.6;
  margin: 0 0 13px;
}

/* Flatsome sidebar: recent posts, categories and contact widget. */
.single-post .post-sidebar {
  padding-left: 24px;
}

.single-post .post-sidebar #secondary {
  position: sticky;
  top: 96px;
}

.single-post .post-sidebar .widget {
  background: #fff;
  border: 1px solid rgba(7, 26, 43, .09);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(7, 26, 43, .07);
  margin-bottom: 22px;
  overflow: hidden;
  padding: 24px;
}

.single-post .post-sidebar .widget-title {
  color: #071a2b;
  display: block;
  font-family: Lora, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
  text-transform: none;
}

.single-post .post-sidebar .is-divider {
  background: linear-gradient(90deg, #b88735, #efd38d);
  height: 2px;
  margin: 12px 0 16px;
  width: 42px;
}

.single-post .post-sidebar .recent-blog-posts-li {
  border-bottom: 1px solid rgba(7, 26, 43, .09);
}

.single-post .post-sidebar .recent-blog-posts-li:last-child {
  border-bottom: 0;
}

.single-post .post-sidebar .recent-blog-posts {
  gap: 10px;
  padding: 13px 0;
}

.single-post .post-sidebar .recent-blog-posts .badge {
  height: 64px;
  width: 72px;
}

.single-post .post-sidebar .recent-blog-posts .badge-inner {
  border-radius: 10px;
}

.single-post .post-sidebar .recent-blog-posts a {
  color: #163a43;
  display: -webkit-box;
  font-family: Lora, serif;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.45;
  overflow: hidden;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single-post .post-sidebar .post_comments {
  display: none;
}

.single-post .post-sidebar .widget_categories ul {
  margin: 0;
}

.single-post .post-sidebar .widget_categories li {
  border: 0;
  margin: 0;
}

.single-post .post-sidebar .widget_categories li + li {
  border-top: 1px solid rgba(7, 26, 43, .08);
}

.single-post .post-sidebar .widget_categories a {
  align-items: center;
  color: #294950;
  display: flex;
  font-size: .82rem;
  font-weight: 600;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
}

.single-post .post-sidebar .widget_categories a::after {
  color: #b88735;
  content: "\2192";
}

.single-post .post-sidebar .widget_custom_html {
  background: linear-gradient(145deg, #123f49, #061d29);
  border-color: rgba(202, 165, 90, .42);
  color: rgba(255, 255, 255, .78);
}

.single-post .post-sidebar .widget_custom_html .widget-title,
.single-post .post-sidebar .widget_custom_html a {
  color: #fff;
}

.single-post .svh-related-card__link {
  color: #8f671f !important;
  font-size: .72rem;
  font-weight: 700;
  margin-top: auto;
  text-decoration: none !important;
}

/* Reusable CTA: paste the supplied HTML into a Custom HTML block. */
.single-post .svh-article-cta {
  background: linear-gradient(135deg, #103f4c 0%, #061c27 75%);
  border: 1px solid rgba(202, 165, 90, .48);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(7, 26, 43, .18);
  color: #fff;
  display: grid;
  grid-template-columns: 40% 60%;
  margin: clamp(40px, 6vw, 72px) auto;
  max-width: 940px;
  overflow: hidden;
}

.single-post .svh-article-cta__image img {
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  width: 100%;
}

.single-post .svh-article-cta__content {
  align-self: center;
  padding: clamp(28px, 5vw, 54px);
}

.single-post .svh-article-cta__eyebrow {
  color: #efd38d;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.single-post .svh-article-cta h2 {
  color: #fff !important;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  margin-bottom: 14px;
}

.single-post .svh-article-cta p {
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
}

.single-post .svh-article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.single-post .svh-article-cta .button {
  border-radius: 999px;
  font-size: .74rem;
  margin: 0;
  min-height: 44px;
  padding: 0 22px;
}

.single-post .svh-article-cta .button.primary {
  background: linear-gradient(115deg, #c49b4e, #f3d991, #c99e4d);
  border: 0;
  color: #102a31;
}

.single-post .svh-article-cta .button.is-outline {
  border-color: rgba(255, 255, 255, .48);
  color: #fff;
}

@media (max-width: 849px) {
  .single-post .blog-wrapper > .row.row-large { max-width: 760px; }
  .single-post .post-sidebar { padding-left: 15px; }
  .single-post .post-sidebar #secondary { position: static; }
  .single-post .svh-related-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-post .svh-article-cta { grid-template-columns: 1fr; }
  .single-post .svh-article-cta__image img { max-height: 330px; min-height: 0; }
}

@media (max-width: 549px) {
  .single-post .blog-wrapper.blog-single { padding-top: 20px; }
  .single-post article.type-post > .article-inner { border-radius: 16px; }
  .single-post .entry-header-text.entry-header-text-top { padding: 34px 20px 28px; }
  .single-post h1.entry-title { font-size: 2.15rem; }
  .single-post .entry-image { border-radius: 12px; margin: 0 12px; }
  .single-post .entry-content.single-page { font-size: .98rem; }
  .single-post .svh-related-posts { padding: 42px 16px; }
  .single-post .svh-related-posts__grid { grid-template-columns: 1fr; }
  .single-post .svh-related-card__image { aspect-ratio: 16 / 9; min-height: 0; }
  .single-post .svh-article-cta { border-radius: 16px; margin-left: 12px; margin-right: 12px; }
  .single-post .svh-article-cta__actions { display: grid; }
  .single-post .svh-article-cta .button { width: 100%; }
}
