/*
Theme Name: J Group
Theme URI: https://jgroupvietnam.com/
Template: hello-elementor
Author: Hieu Nguyen
Author URI: https://jgroupvietnam.com/
Description: Child theme for Hello Elementor
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 1.0.0
Updated: 2026-07-08 09:41:06

*/

.elementor-widget-text-editor p {
	margin-bottom: 0 !important
}

.linkbox {
	position: relative;
}

.linkbox a:before {
    content: "";
    position: absolute;
    background: #fff;
    height: 1px;
    width: 78px;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
	z-index: 2;
}

.linkbox a:after {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    height: 100%;
    width: 0px;
    top: 0;
    left: 100%;
	transition: all 0.3s ease;
	z-index: 1;
}

.linkbox a:hover:after {
    width: 45px;
}

@media only screen and (max-width: 480px){
  .linkbox{
      overflow: hidden;
  }
}

#hanoi, #danang, #footer, #tphochiminh {
    scroll-margin-top: 100px;
}

/* timeline */

.timeline .twae-arrow {
    display: none;
}

.timeline .twae-wrapper {
    --tw-line-width: 2px;
	--tw-ibx-radius: 0;
	--tw-ibx-size: 30px;
	--tw-cbx-radius: 0;
}

.timeline .twae-wrapper .twae-icondot {
	border-radius: 50%;
}

.timeline .twae-content,
.timeline .twae-wrapper .twae-story:hover .twae-content {
	box-shadow: none;
}

.timeline .twae-vertical.twae-wrapper .twae-year {
	margin: 20px 0;
}

.timeline .twae-wrapper .twae-media img {
	width: 30%;
}

/* blog */

.blog .page-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}

@media (max-width: 767px) {
    .blog .page-content {
        grid-template-columns: 1fr;
		gap: 20px;
    }
}

.blog .page-content .post {
    margin: 0;
}

.blog .page-content .post .entry-title {
    font-size: 24px;
}

.blog .page-content .post img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.blog .page-header .entry-title {
	    text-align: center;
}
