/*
Theme Name: Roam Child
Theme URI: https://roam.qodeinteractive.com
Description: A child theme of Roam Theme
Author: Mikado Themes
Author URI: http://themeforest.net/user/mikado-themes
Version: 1.0.1
Text Domain: roam
Template: roam
*/

*:not(i) {
	font-family: 'Google Sans', sans-serif !important;
}

i::before, i::after, .ab-icon::before, .lnr::before {
	font-family: dashicons, Linearicons-Free !important;
}

/* Đảm bảo các class icon phổ biến không bị ghi đè nhầm */
[class^='fa-']::before, [class*=' fa-']::before,
.material-icons,
.dashicons {
	font-family: inherit !important;
}


.page-id-2299 .mkdf-title-holder.mkdf-standard-type.mkdf-has-bg-image.mkdf-bg-full-screen {
    background-size: cover;
}

/*	css tour carousel	*/
.custom-roam-tour-carousel-wrap {
    position: relative;
}

.custom-roam-tour-carousel .item {
    box-sizing: border-box;
}

.custom-tour-card {
    background: #f3f3f3;
    border: 1px solid #d9d9d9;
    overflow: hidden;
    height: 100%;
}

.custom-tour-thumb {
    position: relative;
    overflow: hidden;
}

.custom-tour-thumb img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
}

.custom-tour-content {
    padding: 22px 28px 30px;
    min-height: 195px;
    background: #f3f3f3;
}

.custom-tour-title {
    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 18px;
}

.custom-tour-title a {
    color: #1f2a37;
    text-decoration: none;
}

.custom-tour-title a:hover {
    color: #c99745;
}

.custom-tour-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.custom-tour-meta {
    background: #c99745;
    color: #fff;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 16px;
    font-weight: 600;
}

.custom-tour-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.custom-tour-meta .meta-icon {
    font-size: 14px;
    line-height: 1;
}

/* gap slide = 15px */
.custom-roam-tour-carousel .owl-stage {
    display: flex;
}

.custom-roam-tour-carousel .owl-item {
    padding-right: 15px;
}

.custom-roam-tour-carousel .owl-item:last-child {
    padding-right: 0;
}

/* dots gần giống hình bạn gửi */
.custom-roam-tour-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.custom-roam-tour-carousel .owl-dot span {
    width: 34px;
    height: 22px;
    margin: 0 3px;
    background: #d5d5d5;
    border: 1px solid #666;
    border-radius: 2px;
    display: inline-block;
    position: relative;
}

.custom-roam-tour-carousel .owl-dot span:after {
    content: "";
    width: 12px;
    height: 12px;
    background: #8b8b8b;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 10px;
}

.custom-roam-tour-carousel .owl-dot.active span:after {
    background: #c99745;
}

.mkdf-tour-title{
	 display: -webkit-box;
    -webkit-line-clamp: 2;    
    -webkit-box-orient: vertical;
    overflow: hidden;
	 line-height: 1.3em;
    height: calc(1.2em * 2);
	margin-top:0;
}

.mkdf-tour-excerpt{
	 display: -webkit-box;
    -webkit-line-clamp: 2;    
    -webkit-box-orient: vertical;
    overflow: hidden;
	 line-height: 1.3em;
    height: calc(1.2em * 2);
	margin-bottom:15px;
}

/*		tour grid 2 column		*/

.custom-roam-tour-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.custom-roam-tour-grid-item {
    min-width: 0;
}

.custom-tour-destination {
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #c99647;
    margin-bottom: 10px;
    font-weight: 600;
	margin-top:10px;
}

.custom-grid-tour-card .mkdf-tour-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-grid-tour-card .mkdf-tour-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}



@media only screen and (max-width: 768px) {
    .custom-roam-tour-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*		css chung		*/

.mkdf-tours-standard-item.custom-grid-tour-card, .mkdf-tours-standard-item {
    border: 1px solid #ccc;
}

.mkdf-tours-standard-item-content{
	margin-top:10px;
}

.custom-tour-destination, .mkdf-tour-title, .mkdf-tour-excerpt{
	padding: 0 10px;
}

.mkdf-blog-list-holder .mkdf-bli-inner{
	border:1px solid #ccc;
}

.mkdf-blog-list-holder .mkdf-bli-content{
	padding:10px;
}

.mkdf-blog-list-holder .mkdf-post-title{
	 display: -webkit-box;
    -webkit-line-clamp: 2;    
    -webkit-box-orient: vertical;
    overflow: hidden;
	 line-height: 1.3em;
    height: calc(1.2em * 2);
}



/*/////////////////////		css popup 	////////////////////*/
/* FOOTER IMAGE */
.footer-image {
  width: 180px;
  max-width: 80%;
  margin: auto;
  text-align: center;
  padding: 20px 0;
}

.footer-image img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-image img:hover {
  transform: scale(1.05);
}

/* POPUP */
#popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* CONTENT */
.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 450px;
  animation: fadeIn 0.3s ease;
}

.popup-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
  color: #d19e52;
  transition: 0.3s;
  z-index:9999;
}

.close-btn:hover {
  color: #b8853f;
}

/* DOWNLOAD BUTTON */
.popup-content a {
  display: inline-block;
  padding: 10px 20px;
  background: #d19e52;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.popup-content a:hover {
  background: #b8853f;
}

/* ANIMATION */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* RESPONSIVE */
@media screen and (max-width: 1600px) {
  .popup-content{
    max-width: 330px !important;
  }
}
@media screen and (max-width: 767px) {
  .popup-content{
    max-width: 230px !important;
  }
}



/*/////////////////		css tong	///////////////////*/
 @media screen and (max-width: 576px) {
    .mkdf-iwt-content,.mkdf-iwt-text{
	display:block !important;
}
}



