:root {  
    --home-content-width: min(100%, 1240px);
    --home-title: 30px;
    --home-subtitle: 18px;
    --home-title-weight: 300;
    --home-subtitle-weight: 500;
    --home-color-1: #f4f4f4;
    --home-btn: 16px;
    --home-line-height: 1.67;
}
@media (min-width: 1200px) {
    :root {  
        --home-title: 48px;
        --home-subtitle: 24px;
    }
}
@media (min-width: 1600px) {
    :root {  
        --home-content-width: min(100%, 1440px);
    }
}

section {
    position: relative;
    padding: 60px 0;
}
.home .section-content {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 var(--main-padding);
}
.home .inner-content {
    width: var(--home-content-width);
    margin: 0 auto;
}
.home-title {
    font-size: var(--home-title);
    font-weight: var(--home-title-weight);
    color: var(--theme-color-2);
}
.home-subtitle {
    font-size: var(--home-subtitle);
    font-weight: var(--home-subtitle-weight);
    color: var(--theme-color-1);
    text-transform: uppercase;
}
.home .btn-readmore {
    display: inline-block;
    padding: 15px 20px;
    line-height: 1;
    font-size: var(--home-btn);
    font-weight: 500;
    text-align: center;
    border-radius: 40px;
    background-color: var(--theme-color-1);
    min-width: 180px;
    transition: 0.3s;
    color: var(--theme-color-4);
}
.home .btn-readmore:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.home .slick-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}
.home .slick-dots button {
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    padding: 0;
    background-color: rgb(from var(--border-color-1) r g b / 0.9); 
    color: transparent;
    cursor: pointer;
    transition: 0.3s;
}
.home .slick-dots .slick-active button, .homeSlider .slick-dots button:hover {
    background-color: var(--theme-color-1);
}
.home .section-wrapper {
    display: grid;
}
.home .section-wrapper .section-column {
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}
.home .section-column .section-content {
    width: min(100%, 740px);
}
@media (min-width: 768px) {
    .home .section-wrapper .section-column {
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (min-width: 1024px) {
    .home .section-wrapper {
        display: grid;
        grid-template-columns: 50% 50%;
    }
}
@media (min-width: 1200px) {
    .home .section-wrapper .section-column {
        padding-left: 50px;
        padding-right: 50px;
    }
}

/*** Banner ***/
.homeBanner {
    margin-top: var(--header-height);
    padding: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    margin-bottom: 20px;
}
.homeBanner .banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.homeBanner .banner {
    position: relative;
    width: 100%;
    height: 100%;
}
.homeBanner .banner-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 30px;
}
.homeBanner .subTitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--theme-color-1);
    margin-bottom: 20px;
}
.homeBanner .title {
    font-size: 40px;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    /* margin-bottom: 20px; */
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.homeBanner p {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.homeBanner span.highlight {
    position: relative;
    background-image: linear-gradient(180deg, var(--theme-color-1), var(--theme-color-1));
    background-repeat: no-repeat;
    background-size: 100% 30%;
    background-position: 0 70%;
}
.homeBanner .btn-readmore {
    background-color: var(--theme-color-1);
    color: #fff;
}
.homeBanner .banner1 .banner-img {
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .banner2 .banner-img {
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .banner3 .banner-img {
    background-image: url(../images/home/home_banner.jpg);
}
.homeBanner .slick-list, .homeBanner .slick-track {
    height: 100%;
}
.homeBanner .slick-dots {
    position: absolute;
    bottom: 50px;
    right: 40px;
}
.homeBanner .slick-dots button {
    background-color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) {
    .homeBanner .text {
        width: min(65%, 800px);
    }
}
@media (min-width: 1024px) {
    .homeBanner .banner-content {
        padding: 40px 80px;
    }
    .homeBanner .slick-dots {
        right: max(calc((100% - var(--home-content-width)) / 2), 80px);
        bottom: 100px;
    }
}
@media (min-width: 1200px) {
    .homeBanner .title {
        font-size: 70px;
    }
    .homeBanner p {
        font-size: 40px;
    }
}

/*** News ***/
.homeNews {
    text-align: center;
}
.homeNews .item-wrapper {
    margin: 50px -5px;
}
.homeNews .item-wrapper .slick-track {
    display: flex;
}
.homeNews .item {
    background-color: var(--home-color-1);
    border-radius: 30px;
    padding: 20px;
    margin: 0 5px;
    display: grid;
    justify-items: center;
    align-content: baseline;
    height: inherit;
    min-height: 280px;
}
.homeNews .date {
    line-height: 1;
    background-color: var(--theme-color-1);
    color: #fff;
    width: 60px;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
}
.homeNews.theme2 .date {
    border-radius: 20px;
}
.homeNews .month {
    font-size: 13px;
    text-transform: uppercase;
}
.homeNews .day {
    font-size: 24px;
}
.homeNews .caption {
    font-size: 18px;
    font-weight: 500;
    color: var(--theme-color-2);
    margin: 15px 0 10px;
    white-space: nowrap;
    overflow: hidden;
}
.homeNews .title {
    font-size: 16px;
    color: var(--theme-color-3);
    text-align: left;
    line-height: var(--home-line-height);
}
.homeNews .title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    transition: 0.3s;
}
.homeNews .title a:hover {
    color: var(--theme-color-1);
}
@media (min-width: 768px) {
    .homeNews .item {
        border-radius: 50px;
        padding: 30px;
    }
}
@media (min-width: 1024px) {
    .homeNews .item-wrapper {
        margin-left: -10px;
        margin-right: -10px;
    }
    .homeNews .item {
        border-radius: 50px;
        padding: 50px 40px;
        margin: 0 10px;
    }
}
@media (min-width: 1200px) {
    .homeNews .day {
        font-size: 30px;
    }
    .homeNews .caption {
        font-size: 24px;
    }
}

/*** Stockquote ***/
.homeStockquote {
    background-color: #F4F4F4;
    text-align: center;
}
.homeStockquote .stockquote-wrapper {
    width: min(100%, 1220px);
    margin: 0 auto;
    padding: 0 10px;
}
.homeStockquote .iframe-wrapper {
    margin-top: 30px;
}
.homeStockquote .iframe {
    width: 100%;
}

/*** Profile ***/
.homeProfile {
    margin-bottom: 30px;
    /* background-color: #f4f4f4; */
}
.homeProfile .text-wrapper {
    padding: 0 20px;
    margin-bottom: 30px;
}
.homeProfile .desc {
    color: var(--theme-color-3);
    line-height: var(--home-line-height);
    margin-top: 30px;
}
.homeProfile .btn-readmore {
    background-color: var(--theme-color-1);
    color: #fff;
}
@media (min-width: 1024px) {
    .homeProfile .inner-content {
        display: flex;
        align-items: center;
    }
    .homeProfile .img-wrapper {
        flex-shrink: 0;
        width: calc(min(100vw, var(--max-width)) * 0.57);
        margin-right: calc((min(100vw, var(--max-width)) - 100%) / -2);
    }
    .homeProfile .img {
        clip-path: polygon(15% 0, 0 100%, 100% 100%, 100% 0);
    }
    .homeProfile .img img {
        width: 100%;
    }
    .homeProfile .text-wrapper {
        padding: 0 40px;
        margin-bottom: 0;
    }
}

/*** Financial Highlights ***/
.homeFinancial {
    text-align: center;
    background-color: #F4F4F4;
    padding: 80px 0;
}
.homeFinancial .data-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 50px;
    margin-bottom: 50px;
    column-gap: 20px;
}
.homeFinancial .data-wrapper .item {
    /* background-color: #fff; */
    padding: 30px 15px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 0;
    justify-items: center;
    align-items: center;
    color: var(--theme-color-2);
    margin-bottom: 20px;
}
.homeFinancial .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}
.homeFinancial .icon-operating {
    background-image: url(../images/home/icon_financial1.svg);
}
.homeFinancial .icon-service {
    background-image: url(../images/home/icon_financial2.svg);
}
.homeFinancial .icon-net {
    background-image: url(../images/home/icon_financial3.svg);
}
.homeFinancial .icon-eps {
    background-image: url(../images/home/icon_financial4.svg);
}
.homeFinancial .caption {
    font-size: 16px;
    color: var(--border-color-1);
}
.homeFinancial .value {
    font-size: 24px;
    font-weight: 700;
}
.homeFinancial .value .counter {
    visibility: hidden;
}
.homeFinancial .item > div:last-child {
    align-self: baseline;
    margin-top: 5px;
}
@media (min-width: 768px) {
    .homeFinancial .data-wrapper {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 20px;
    }
}
@media (min-width: 1200px) {
    .homeFinancial .data-wrapper {
        column-gap: 40px;
    }
    .homeFinancial .data-wrapper .item {
        padding: 60px 20px;
    }
    .homeFinancial .icon {
        width: 100px;
        height: 100px;
    }
    .homeFinancial .value {
        font-size: 42px;
    }
}

/*** Report ***/
.homeReport {
    background-color: var(--theme-color-1);
}
.homeReport .report-wrapper {
    position: relative;
    width: min(100%, 1000px);
    margin: 0 auto;
    /* background-color: #fff; */
    padding: 40px;
    display: grid;
    justify-items: center;
}
.homeReport .cover {
    width: min(100%, 250px);
    margin: 0 auto 40px;
    border: 1px solid #333;
    box-shadow: 10px 10px var(--theme-color-4);
}
.homeReport .home-title {
    margin-bottom: 30px;
    color: #fff;
}
.homeReport .home-subtitle {
    margin-bottom: 5px;
    color: #fff;
}
.homeReport .btn-readmore {
    background-color: var(--theme-color-4);
    color: var(--theme-color-1);
}
@media (min-width: 768px) {
    .homeReport {
        padding: 80px 60px;
    }
    .homeReport .report-wrapper {
        grid-template-columns: 1fr 40%;
        align-items: center;
        justify-items: flex-start;
        padding: 0 70px;
    }
    .homeReport .cover {
        width: 100%;
        margin-bottom: 0;
    }
    .homeReport .text {
        order: -1;
        padding: 20px;
    }
    .homeReport .home-title {
        margin-bottom: 40px;
    }
}
@media (min-width: 1366px) {
    .homeReport {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .homeReport .report-wrapper {
        padding: 0 90px;
    }
}

/*** Project ***/
.homeProject {
    text-align: center;
}
.homeProject .item-wrapper {
    width: min(100%, 1140px);
    margin: 50px auto;
}
.homeProject .item {
    width: calc(min(100vw, 1440px) * 0.4);
    background-color: #fff;
    margin: 0 10px;
}
.homeProject .img-wrapper {
    margin-bottom: 15px;
}
.homeProject .img-wrapper img {
    width: 100%;
}
.homeProject .desc {
    font-size: 16px;
    color: var(--theme-color-3);
    line-height: var(--home-line-height);
}
.homeProject .slick-list {
    /* overflow: visible; */
}
@media (min-width: 768px) {
    .homeProject .item-wrapper.infinite {
        padding-right: 15%;
    }
    .homeProject .item {
        margin: 0 20px;
    }
}
@media (min-width: 1024px) {
    .homeProject .item-wrapper.infinite {
        padding-right: 13%;
    }
}
@media (min-width: 1200px) {
    .homeProject .desc {
        font-size: 20px;
    }
}
@media (min-width: 1600px) {
    .homeProject .item-wrapper {
        width: min(100%, 1400px);
    }
}



/*** Animation ***/
.home-subtitle, .home-title {
    opacity: 0;
}

.homeBanner .banner-img{
    opacity: 1;
}
.homeBanner .banner-content {
    opacity: 0;
}
.homeBanner .slick-initialized .slick-active .banner-content {
    animation: slideRight 0.5s 0.8s both;
}

.homeNews .item-wrapper {
    opacity: 0;
}
.homeNews.act .home-title, .homeNews.act .home-subtitle {
    animation: slideUp 0.5s both;
}
.homeNews.act .item-wrapper {
    animation: fadeIn 0.5s 0.5s both;
}

.homeStockquote .iframe-wrapper {
    opacity: 0;
}
.homeStockquote.act .home-title, .homeStockquote.act .home-subtitle {
    animation: slideUp 0.5s both;
}
.homeStockquote.act .iframe-wrapper {
    animation: fadeIn 0.5s 0.5s both;
}

.homeProfile .img-wrapper, .homeProfile .desc, .homeProfile .btn-wrapper {
    opacity: 0;
}
.homeProfile.act .img-wrapper {
    animation: slideLeft 0.5s both;
}
.homeProfile.act .home-title, .homeProfile.act .home-subtitle, .homeProfile.act .desc, .homeProfile.act .btn-wrapper {
    animation: slideRight 0.5s 0.3s both;
}

.homeFinancial .data-wrapper, .homeFinancial .btn-wrapper {
    opacity: 0;
}
.homeFinancial.act .home-title, .homeFinancial.act .home-subtitle {
    animation: fadeIn 0.5s both;
}
.homeFinancial.act .data-wrapper {
    animation: slideUp 0.5s 0.5s both;
}
.homeFinancial.act .btn-wrapper {
    animation: slideUp 0.5s 0.8s both;
}

.homeReport .img, .homeReport .btn-wrapper {
    opacity: 0;
}
.homeReport.act .img {
    animation: slideLeft 0.5s both;
}
.homeReport.act .btn-wrapper, .homeReport.act .home-title, .homeReport.act .home-subtitle {
    animation: slideRight 0.5s 0.3s both;
}

.homeProject .item-wrapper {
    opacity: 0;
}
.homeProject.act .home-title, .homeProject.act .home-subtitle {
    animation: fadeIn 0.5s both;
}
.homeProject.act .item-wrapper {
    animation: slideUp 0.5s 0.5s both;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes slideUp {
    0% { opacity: 0; transform: translate3d(0, 100px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideRight {
    0% { opacity: 0; transform: translate3d(-100px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideLeft {
    0% { opacity: 0; transform: translate3d(100px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}



/*** PRINT ***/
@media print {
    section:not(:first-of-type) {
        break-before: page;
        page-break-before: always;
    }
    .homeBanner .slick-list, .homeBanner .slick-track {
        width: 100% !important;
        transform: translate3d(0px, 0px, 0px) !important;
    }
    .homeBanner .slick-slide {
        display: none !important;
    }
    .homeBanner .slick-slide.slick-active {
        display: block !important;
    }
}