:root {
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-tini: 12px;
    --font-size-h1: 56px;
    --font-size-h2: 48px;
    --font-size-h3: 40px;
    --font-size-h4: 28px;
    --font-size-h5: 20px;
    --font-size-h6: 18px;
    --space-size-1: 10px;
    --space-size-2: 20px;
    --space-size-3: 30px;
    --space-size-4: 40px;
    --space-size-5: 64px;
    --input-height: 50px;
    --color-pri: #84AC85;
    --color-sec: #4D775A;
    --color-thr: #ABCEAB;
    --color-white: #fff;
    --color-black: #000;
    --color-gray: #F8F8F8;
}

body {
    font-family: "Sora", sans-serif;
    color: var(--color-black);
    font-size: var(--font-size-base);
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    text-wrap: pretty;
}

b,
strong {
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--color-pri);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

h5 {
    font-size: var(--font-size-h5);
}

h6 {
    font-size: var(--font-size-h6);
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
    border: none;
}

.big-font {
    font-size: var(--font-size-h5);
}

a {
    color: var(--color-pri);
    transition: all 0.3s ease-in-out;
    /* text-decoration: none; */
}

a:hover,
a:focus {
    color: var(--color-pri);
}

input,
select {
    display: inline-block;
}

.color-w {
    color: var(--color-white) !important;
}

.color-pri {
    color: var(--color-pri) !important;
}

.pb-base {
    padding-bottom: var(--space-size-5) !important;
}

.pt-base {
    padding-top: var(--space-size-5) !important;
}

.py-base {
    padding-top: var(--space-size-5) !important;
    padding-bottom: var(--space-size-5) !important;
}

.mb-base {
    margin-bottom: var(--space-size-4) !important;
}

ol,
ul {
    padding-left: var(--space-size-2);
    margin-bottom: 0;
}

ol li,
ul li {
    padding-bottom: calc(var(--space-size-1) * 1.5);
    padding-left: var(--space-size-1);
}

ul {
    list-style: disc;
}

ol>li::marker {
    content: url('../arrow.svg');
}

ol ol,
ol ul,
ul ul,
ul ol {
    padding-top: calc(var(--space-size-1) * 0.75);
}

ol ol li,
ol ul li,
ul ul li,
ul ol li {
    padding-bottom: calc(var(--space-size-1) * 0.25);
}

select,
input {
    font-weight: 400;
    height: var(--input-height);
    background-color: var(--color-white);
    padding: 0 25px;
    border: 0;
    border-radius: 0;
    outline: none;
    width: 100%;
}

textarea {
    border: 0;
    border-radius: 0;
    outline: none;
    width: 100%;
    padding: 0 25px;
    background-color: var(--color-white);
    font-weight: 400;
}

input[type=radio],
input[type=checkbox] {
    padding: 0;
}

select {
    -webkit-appearance: none;
    background-image: url('../select.svg');
    background-position: center right 15px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding-right: 50px;
}

.is-btn a,
.button {
    height: var(--input-height);
    background-color: var(--color-pri);
    padding: 0 25px;
    border: 1px solid var(--color-pri);
    border-radius: 0;
    outline: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    text-transform: uppercase;
    text-decoration: none;
}

.is-btn a:hover,
.button:hover {
    background-color: var(--color-white);
    color: var(--color-pri);
}

.gap-base {
    gap: var(--space-size-2);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    z-index: 9995;
    transition: all 0.5s ease-in-out;
    padding: 32px 0;
    width: 100%;
}

.site-header.header-fixed {
    position: fixed;
    background-color: transparent;
}

.site-header .site-branding img {
    transition: all 0.4s ease-in-out;
    height: 48px;
    width: auto;
    max-width: none;
}

.site-header.header-fixed .site-branding img {
    filter: brightness(5);
}

.site-header .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.site-header .menu li {
    padding: 0px 0px 0 24px;
}

.site-header .menu li a {
    color: var(--color-black);
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    font-size: var(--font-size-small);
    font-weight: 600;
}

.site-header.header-fixed .menu li a {
    color: var(--color-white);
}

.site-header .menu li a:hover,
.site-header .menu li.current-menu-item a {
    color: var(--color-pri);
}

.site-header .hamburger {
    cursor: pointer;
    z-index: 2;
}

.site-header .hamburger .line {
    width: 26px;
    height: 2px;
    background-color: var(--color-black);
    display: block;
    margin: 6px 0 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.site-header.header-fixed .hamburger .line {
    background-color: var(--color-white);
}

.down .site-header {
    position: fixed;
    background-color: rgba(220, 220, 220, 0.75);
    padding: 10px 0;
}

.down .site-header.header-fixed {
    background-color: rgba(0, 0, 0, 0.3);
}

.down .site-header .site-branding img {
    height: 40px;
}

.menu-header-mobile {
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
    display: none;
    /* visibility: hidden;
    opacity: 0;
    height: 0;
    transition: all 0.5s ease-in-out; */
}

.menu-header-mobile ul.menu {
    border-top: 3px solid var(--color-pri);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    padding: var(--space-size-4);
    background-color: var(--color-white);
    display: block;
}

.menu-header-mobile ul.menu li {
    padding-left: 0;
}

.menu-header-mobile ul.menu a {
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    color: #666 !important;
    padding: var(--space-size-1) var(--space-size-4);
    display: block;
    font-weight: normal;
}

/* .menu-header-mobile.open {
    visibility: visible;
    opacity: 1;
    height: fit-content;
} */
/* Main */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-wrapper {
    height: auto;
}

.section {
    /* padding: var(--space-size-5); */
    position: relative;
}

.img-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%;
    height: 0;
    overflow: hidden;
    background-color: var(--color-gray);
}

.img-wrap img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}

.section-banner {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.section-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-banner.banner-full {
    height: 100vh;
}

.section-banner .content {
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9;
}

.section-banner:not(.no-pattern)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
    background-image: url('../pattern-cover.svg');
    background-position: bottom right;
    background-size: 60%;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.35);
}

.section-banner.banner-full::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.section-banner .tagline {
    margin-top: 15%;
    font-family: "Playfair Display";
    font-weight: 500;
    font-style: italic;
}

.bg-white {
    background-color: var(--color-white);
}

.bg-gray {
    background-color: var(--color-gray);
}

.bg-pri {
    background-color: var(--color-pri);
    color: var(--color-white);
}

.bg-sec {
    background-color: var(--color-sec);
    color: var(--color-white);
}

.bg-thr {
    background-color: var(--color-thr);
    color: var(--color-white);
}


.list-image {
    display: flex;
    justify-content: center;
    gap: var(--space-size-5);
    flex-wrap: wrap;
    align-items: center;
}

.list-image img {
    height: 75px;
    object-fit: contain;
    object-position: center;
    width: auto;
}

.section-testi::after {
    background-image: url('../pattern_trans.svg');
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.item-testi {
    display: flex;
    align-items: center;
    gap: var(--space-size-3)
}

.item-testi .avt-wrap {
    width: 30%;
    min-width: 30%;
}

.item-testi .img-wrap {
    padding-top: 110%;
}

.item-testi .content-wrap {
    padding: var(--space-size-5) 5% var(--space-size-5) 0;
    width: 100%;
}

.item-testi .content-wrap .content {
    font-size: var(--font-size-h5);
}

.item-testi .content-wrap .name {
    font-weight: bold;
    font-size: var(--font-size-small);
    padding-top: var(--space-size-4);
    text-align: right;
}

.post-list {
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-size-4);
    position: relative;
}

.post-list .img-wrap {
    padding-top: 68%;
}

.post-list .content {
    position: absolute;
    left: 0;
    bottom: 27px;
    right: 100px;
    padding: 15px 30px 15px 15px;
    background-color: var(--color-sec);
}

.post-list .content h6 a::after {
    content: '';
    background: url(../read.svg) no-repeat center;
    display: block;
    width: 12px;
    height: 12px;
    background-size: contain;
    margin-left: 0;
    margin-top: 5px;
    position: relative;
    left: calc(100% + 10px);
}

/* div:nth-child(even)>.post-list .content {
    background-color: var(--color-pri);
} */

.post-list .cat-date {
    font-size: var(--font-size-small);
}

.post-list a {
    text-decoration: none;
    color: var(--color-white);
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: var(--color-white);
    opacity: 0.5;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 6px;
}

.swiper-pagination-bullet-active {
    background: var(--color-white);
    opacity: 1;
}

.has-box {
    padding: 30px 15px;
}

.item-people {
    border-bottom: 1px solid var(--color-pri);
    height: 100%;
}

.item-people .img-wrap {
    padding-top: 100%;
}

.item-people .content-wrap {
    padding: 16px;
}

.section-img>.container {
    z-index: 1;
    position: relative;
}

.section-img .big-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-img .big-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-img .big-box .justify-content-end>div {
    padding-left: calc(1.5rem * .5);
}

.section-img .big-box .justify-content-start>div {
    padding-right: calc(1.5rem * .5);
}

.video-wrap {
    position: relative;
    padding-top: 60%;
    width: 100%;
}

.video-wrap video,
.video-wrap .poster,
.video-wrap iframe {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrap.no-play::after {
    content: "";
    background-image: url('../play.png');
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 90px;
    height: 90px;
    background-size: contain;
    cursor: pointer;
}

.nav-tabs {
    display: flex;
    justify-content: center;
}

.nav-tabs .nav-item {
    padding: 0;
}

.nav-tabs .nav-item .nav-link {
    padding: var(--space-size-1) var(--space-size-2);
    border-radius: 0;
    border: 0;
    background: none;
    text-transform: uppercase;
    font-size: var(--font-size-tini);
    font-weight: 700;
    color: var(--color-black);
}

.nav-tabs .nav-item .nav-link.active {
    color: var(--color-pri);
    box-shadow: 0px 2px 0px 0px var(--color-pri);
}

.box-title {
    display: inline-block;
    background: var(--color-pri);
    padding: 10px 100px 10px 50px;
    /* margin-bottom: var(--space-size-3); */
}

.box-title h3 {
    margin-bottom: 0;
}

.item-group {
    margin-top: var(--space-size-5);
}

.title-line {
    display: flex;
    align-items: center;
}

.title-line::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-pri);
    flex: 1;
}

.title-line span {
    width: max-content;
    padding-right: var(--space-size-2);
}

.loading-more {
    display: flex;
    justify-content: center;
}

.loading-more svg {
    width: 50px;
}

.single-post .cat-time a {
    color: #797979;
    text-decoration: none;
}

.project-item {
    /* margin-bottom: var(--space-size-4); */
    padding: var(--space-size-3);
    background-color: var(--color-white);
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 300;
    height: 100%;
}

.project-item strong {
    font-weight: 600;
}

.project-item::after {
    content: url('../read.svg');
    position: absolute;
    right: var(--space-size-3);
    bottom: var(--space-size-2);
    filter: invert(1);
}

.project-item .list-image {
    justify-content: start;
    gap: var(--space-size-2);
    margin-top: var(--space-size-1);
}

.project-item .list-image img {
    max-width: 25%;
    object-fit: contain;
}

.project-item hr {
    border-top: 2px solid var(--color-black);
    opacity: 1;
}

.project-item:hover {
    color: var(--color-white);
    background-color: var(--color-pri);
}

.project-item:hover h5 {
    color: var(--color-white);
}

.project-item:hover hr {
    border-color: var(--color-white);
}

.project-item:hover::after {
    filter: invert(0);
}

.project-filter {
    display: flex;
    gap: var(--space-size-2);
    justify-content: center;
    align-items: center;
}

.project-select {
    background-image: url('../down.png');
    border-color: var(--color-sec);
    color: var(--color-sec);
    width: unset;
    padding: 0 30px 0 10px;
    background-position: center right 10px;
    height: 28px;
}

.single-project .site-main {
    padding-bottom: 5em;
}

.project-metas {
    background: var(--color-sec);
    padding: 1.25em 2.375em;
    margin-bottom: 1em;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2em;
    margin-bottom: 2em;
}

.gallery .gal-item {
    flex: 0 0 auto;
    width: 32%;
}

.gallery .gal-item a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.gallery .gal-item figure {
    position: relative;
    height: 100%;
}

.gallery .gal-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    margin: 0;
    padding: 0.25rem 1rem;
    font-size: smaller;
}

.gallery .gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}