@import url("https://fonts.googleapis.com/css2?family=Arima+Madurai:wght@300;700&display=swap");
:root {
    --primary: #f8cf7c;
    --primary-rgb: 248, 207, 124;
    --bs-primary: #f8cf7c;
    --bs-primary-rgb: 248, 207, 124;
}

/* Layout
  ====================================================================== */
#main {
    padding-top: 0;
}

#main,
.main > .container:first-child,
.main > .motive__motto:first-child,
.container--article {
    padding-bottom: 0;
}

/* Typography
  ====================================================================== */
h2, .h2 {
    font-size: clamp(1.25rem, calc(1.5rem + .9vw), 2.5rem);
}

h2, h3, h4, h5, h6 {
    color: #e7d7b8;
}

.container--article h1 {
    position: relative;
    color: #eee;
}

.container--article h1::after {
    position: absolute;
    content: "";
    bottom: -1rem;
    left: 50%;
    right: 0;
    background: var(--primary);
    width: 4rem;
    height: .25rem;
    border-radius: .25rem;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6), 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.section-title h1 {
    margin-bottom: .5em;
}

.container--article h1 + p,
.container--article .h1 + p {
    margin-top: clamp(1rem, 5vw, 3rem);
}

/* Motive, motto
  ====================================================================== */
.motto {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}

body:not(#index) .motive__background,
body:not(#index) .motive__motto {
    opacity: 1;
}

body:not(#index) .motive {
    display: none;
}

.motto {
    max-width: 34em;
}

.motto__text {
    font-family: "Arima Madurai", sans-serif;
    font-weight: 300;
    color: #f8cf7c;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    letter-spacing: .1em;
    line-height: 1;
    margin-bottom: .3125em;
}

.motto__title {
    color: #efefea;
}

.motto__title,
h1, h2, h3, h4, h5, h6 {
    font-family: "Arima Madurai", sans-serif;
    font-weight: 700;
}

@media (min-width: 576px) {
    .motive__motto {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .motto__title {
        font-size: 4rem;
    }
    #index .motto__title {
        font-size: clamp(3rem, 7vw, 5.5rem);
    }
}

.motive__background {
    background-position: 58% center;
}

.motive__background::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .25;
}

@media (min-width: 576px) {
    .motive__background::before {
        opacity: 0;
    }
}

/* Sections
  ====================================================================== */
.section-container.contact > .row {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.section-container.contact img[src*="icons"] {
    display: inline-block;
    margin-top: -3px;
    margin-right: 3px;
}

@media (max-width: 767.98px) {
    .section-2-col-right-text > .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    .section-2-col-left-text,
    .section-2-col-right-text {
        text-align: center;
    }
}

.pattern-bg {
    background-size: initial;
    background-repeat: repeat;
}

.filter-default {
    -webkit-filter: invert(91%) sepia(20%) saturate(1217%) hue-rotate(326deg) brightness(101%) contrast(95%);
    filter: invert(91%) sepia(20%) saturate(1217%) hue-rotate(326deg) brightness(101%) contrast(95%);
}

.section-contact .social-icons > .section-cell-item a img {
    -webkit-filter: invert(91%) sepia(20%) saturate(1217%) hue-rotate(326deg) brightness(101%) contrast(95%);
    filter: invert(91%) sepia(20%) saturate(1217%) hue-rotate(326deg) brightness(101%) contrast(95%);
    -webkit-transition: 0s;
    transition: 0s;
}

.section-map #map {
    -webkit-filter: grayscale(1) invert(1) sepia(0.5) contrast(0.8);
    filter: grayscale(1) invert(1) sepia(0.5) contrast(0.8);
}

.footer .section-map,
.footer #map {
    padding-top: 0;
    padding-bottom: 0;
}

@media (min-width: 992px) {
    .section-dynamic[data-dynamic-type="gallery"] .gallery__item {
        width: 16.66666%;
    }
}

/* List
  ====================================================================== */
@media (min-width: 768px) {
    .section-perex {
        font-size: calc(.12vw + 1rem);
        line-height: 1.618;
    }
}
