/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Remove page-wrapper padding on investor & project pages */
.single-investor .page-wrapper,
.post-type-archive-investor .page-wrapper,
.single-project .page-wrapper,
.post-type-archive-project .page-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Card equal height - Tại Sao Chọn Chúng Tôi */
.row.row-equal > .col {
  display: flex !important;
}
.row.row-equal > .col > .col-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
}

/* CF7 Form - Trang Liên Hệ */
.cf7-row {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
}
.cf7-col-6 {
  flex: 1;
  min-width: 0;
}
.wpcf7 label {
  display: block;
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s;
  background: #fafafa;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #000000;
  outline: none;
  background: #fff;
}
.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}
.wpcf7 input[type="submit"] {
  background: #000000;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}
.wpcf7 input[type="submit"]:hover {
  background: #E9B211;
  color: #000000;
}
.wpcf7-response-output {
  border-radius: 6px !important;
  font-size: 14px;
}
@media (max-width: 48em) {
  .cf7-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Short Video Section - Hover effects */
.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: all 0.35s ease;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(233,178,17,0.2);
}

/* Hide Comments globally */
#comments, 
.comments-area, 
.comments-link, 
.entry-comments, 
.post-comments, 
.comments-count, 
.comment-count,
.comment-list,
.comment-respond,
li.comment {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
}

/* Hide Author Box / Avatar */
.entry-author, 
.author-box, 
.blog-author-image {
  display: none !important;
}

/* Enhance Single Post Content */
.single-post .entry-content {
  font-size: 17px;
  line-height: 1.85;
  color: #333;
  max-width: 900px; /* Optional: adjust for readability if needed */
  margin: 0 auto;
}

.single-post .entry-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  margin: 40px 0 20px;
  padding-left: 15px;
  border-left: 5px solid #E9B211;
  line-height: 1.3;
}

.single-post .entry-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 30px 0 15px;
}

.single-post .entry-content p {
  margin-bottom: 25px;
}

.single-post .entry-content img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.single-post .entry-content blockquote {
  background: #fdf9ea;
  border-left: 6px solid #E9B211;
  padding: 30px 40px;
  font-style: italic;
  font-size: 1.1em;
  color: #444;
  border-radius: 0 12px 12px 0;
  margin: 40px 0;
}

.single-post .entry-content ul, 
.single-post .entry-content ol {
  margin-bottom: 30px;
  padding-left: 20px;
}

.single-post .entry-content li {
  margin-bottom: 12px;
}

.single-post .entry-content strong, 
.single-post .entry-content b {
  color: #000;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}