/*
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.   ***************/
/* Định dạng chung cho form */
.support-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tiêu đề form */
.support-form h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin-bottom: 10px;
}

/* Mô tả dưới tiêu đề */
.support-form p {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Input và Textarea */
.support-form input,
.support-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

/* Hiệu ứng khi focus vào input */
.support-form input:focus,
.support-form textarea:focus {
    border-color: #e63946;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.3);
    outline: none;
}

/* Nút gửi */
.support-form button {
    width: 100%;
    padding: 12px;
    background: #e63946;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hiệu ứng hover cho nút gửi */
.support-form button:hover {
    background: #b22234;
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}


/* Áp dụng font Raleway cho tiêu đề */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700 !important;
}

/* Áp dụng font Open Sans cho nội dung */
body, p, li, span, div, a {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 400;
}

/* Optional: làm rõ menu hoặc tiêu đề đặc biệt */
.header, .nav, .ux-menu, .page-title {
  font-family: 'Raleway', sans-serif !important;
}


/* ======== BLOG (Flatsome) – Hi-Tech refresh ======== */
:root { --ink:#0F172A; --muted:#6B7280; --line:#E5E7EB; --primary:#1E6DF0; --primary2:#3B82F6; --radius:16px; }

.gt2t-blog .post-item .col-inner { height:100%; }

/* CARD */
.gt2t-blog .post-item .box {
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:0 6px 22px rgba(2,6,23,.06);
  transition:transform .18s ease, box-shadow .18s ease;
  height:100%;
  display:flex;flex-direction:column;
}
.gt2t-blog .post-item .box:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(2,6,23,.12);
}

/* IMAGE 16:9 – cover */
.gt2t-blog .box-image{margin:0;border-bottom:1px solid var(--line);}
.gt2t-blog .box-image .image-cover{padding-top:56.25% !important;position:relative;}
.gt2t-blog .box-image img{
  position:absolute;inset:0; width:100%; height:100%; object-fit:cover; display:block;
}

/* CONTENT */
.gt2t-blog .box-text{padding:16px;}
.gt2t-blog .blog-post-inner{display:flex;flex-direction:column;gap:10px;min-height:220px;}
.gt2t-blog .is-divider{display:none;}

.gt2t-blog .post-title{margin:0;}
.gt2t-blog .post-title a{
  color:#111; font-weight:900; line-height:1.35; 
  font-size:clamp(18px,2.6vw,22px); text-decoration:none;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.gt2t-blog .from_the_blog_excerpt{
  color:#374151; font-size:15px; line-height:1.6; margin:0;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}

/* BUTTON */
.gt2t-blog a.button.primary{
  background:linear-gradient(90deg,var(--primary),var(--primary2)) !important;
  border:none; color:#fff; font-weight:800; letter-spacing:.2px;
  border-radius:12px; padding:10px 14px; text-transform:none;
  margin-top:auto; align-self:flex-start;
}
.gt2t-blog a.button.primary:hover{ filter:brightness(1.05); }

/* Lưới và khoảng cách */
.gt2t-blog .col.post-item{margin-bottom:16px;}

@media (max-width: 767.98px){
  .gt2t-blog .box-text{padding:14px}
  .gt2t-blog .from_the_blog_excerpt{font-size:14.5px;-webkit-line-clamp:2}
  .gt2t-blog a.button.primary{width:100%; text-align:center}
}


