@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #49515B;
}

a {
    text-decoration: none;
    color: #49515B;
    transition: all 300ms ease-in-out;
}

a:hover {
    color: #644704;
}

a[rel="button"] {
    display: inline-block;
    padding: 15px 20px;
    text-align: center;
    color: white;
    min-width: 130px;
    background-image: linear-gradient(360deg, #644704, #9f7004, #ab8a44, #9b6f0a, #6c4d07) !important;
    font-weight: 800;
    border-radius: 10px;
}

a.border {
    background: transparent;
}

a[rel="button"]+a[rel="button"] {
    margin-left: 20px;
}

.head {
    margin: 0 0 55px;
}

.head>h2 {
    font-weight: bold;
    position: relative;
    padding-bottom: 35px;
    color: #A37E2C;
    text-transform: uppercase;
    font-size: 30px;
    margin: 0;
    text-shadow: 1px 1px 1px #fff;
}

.head>h2::before {
    content: '';
    position: absolute;
    left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="49" height="14" viewBox="0 0 49 14"> <defs> <linearGradient id="linear-gradient" x1="1" y1="1" x2="0" gradientUnits="objectBoundingBox"> <stop offset="0" stop-color="%23412f06"/> <stop offset="0.731" stop-color="%2392722b"/> <stop offset="1" stop-color="%23eecf8c"/> </linearGradient> </defs> <g id="Under_Line_" data-name="Under Line " transform="translate(0 0)"> <circle id="Dot" cx="7" cy="7" r="7" transform="translate(18 0)" fill="url(%23linear-gradient)"/> <circle id="Dot-2" data-name="Dot" cx="5.5" cy="5.5" r="5.5" transform="translate(38 2)" fill="url(%23linear-gradient)"/> <circle id="Dot_" data-name="Dot " cx="5.5" cy="5.5" r="5.5" transform="translate(0 2)" fill="url(%23linear-gradient)"/> </g> </svg>');
    bottom: 0;
    width: 44px;
    height: 13px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: auto;
    right: 0;
}

.biography .head>h2:before {
    right: inherit;
}

#page {
    overflow: hidden;
}

.site-header {
    padding-top: 15px;
    background: #F3F3F3;
}

.text-center ul {
    all: unset;
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 15px;
}

.text-center ul li a {
    display: block;
    margin: 0 10px;
}

.menu-toggle {
    display: none;
}


.site-header a.custom-logo-link {
    display: block;
    height: 100px;
    margin: auto;
}

.site-header a.custom-logo-link img {
    height: 100%;
    width: 100%;
    object-fit: scale-down;
}

#primary-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    background: #A37E2C;
    padding: 20px 0;
    border-radius: 10px;
}

#primary-menu li>a {
    padding: 8px 10px;
    text-transform: uppercase;
    font-size: 14px;
    color: #FFF;
}

#primary-menu li>a:hover {
    color: #000
}

#site-navigation {
    background: #000000;
    padding: 25px 0;
    margin-top: 25px;
}

#primary-menu li.current-menu-item a {
    font-weight: 900;
    font-style: italic;
}

.intro .item {
    /* height: 520px; */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
}

.intro .item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.intro .container{
    position:absolute;
    left: 0;
    right: 0;
}

.intro .item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(360deg, black, #534019);
    opacity: .6;
}

.intro .item .content-box {
    color: #FFF;
    position: relative;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: 300ms;
    margin-left: 140px;
}


.intro .swiper-slide-active .item .content-box {
    opacity: 1;
    transform: unset;
    transition-delay: .5s;
}

.intro .item .content-box h1 {
    font-size: 2em;
    margin: 0;
    line-height: 1.8;
    font-style: italic;
}

.intro .item .content-box .content {
    font-size: 14px;
}

.swiper-pagination-bullet {
    background: linear-gradient(135deg, #EECF8C, #412F06);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    transform: scale(1.5);
}

@media (min-width:1399.98px) {

    .intro .item {
        /* height: 780px; */
    }

}

.about {
    background: #000;
    color: #FFF;
    padding: 70px 0;
    font-size: 14px;
    position: relative;
}

.about:before {
    content: '';
    position: absolute;
    background-image: url(../images/logo-d01.png);
    height: 610px;
    width: 620px;
    left: -210px;
    top: -97px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.about .content {
    font-size: 1.5em;
}

.about .images {
    margin-top: 90px;
}

.about .item {
    position: relative;
    margin: 0 10px;
    margin-bottom: 60px;
}

.about .item span {
    position: absolute;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="67" height="68" viewBox="0 0 67 68"> <g id="_01" data-name="01" transform="translate(1 0.497)"> <path id="Path_1" data-name="Path 1" d="M175.555,63.8,155.442,70.39a12.918,12.918,0,0,1-12.614-2.626L127.044,53.7a12.817,12.817,0,0,1-4.025-12.2l4.329-20.657a12.858,12.858,0,0,1,8.589-9.574L156.05,4.676A12.918,12.918,0,0,1,168.664,7.3l15.784,14.065a12.817,12.817,0,0,1,4.025,12.2l-4.329,20.657A12.858,12.858,0,0,1,175.555,63.8Z" transform="translate(-123.746 -3.53)" fill="%23fff"/> <path id="Path_1-2" data-name="Path 1" d="M175.555,63.8,155.442,70.39a12.918,12.918,0,0,1-12.614-2.626L127.044,53.7a12.817,12.817,0,0,1-4.025-12.2l4.329-20.657a12.858,12.858,0,0,1,8.589-9.574L156.05,4.676A12.918,12.918,0,0,1,168.664,7.3l15.784,14.065a12.817,12.817,0,0,1,4.025,12.2l-4.329,20.657A12.858,12.858,0,0,1,175.555,63.8Z" transform="translate(-122.746 -4.53)" fill="%23a37e2c"/> </g> </svg>');
    height: 60px;
    width: 60px;
    background-size: contain;
    display: grid;
    place-content: center;
    font-size: 20px;
    top: -30px;
    left: -30px;
    background-repeat: no-repeat;
}

.about .item figure {
    margin: 0;
    height: 340px;
    overflow: hidden;
    border-radius: 10px;
}

.about .item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.biography {
    position: relative;
    color: #FFF;
    font-size: 14px;
    min-height: 610px;
    overflow: hidden;
}

.biography>figure {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    margin: 0;
    height: 100%;
}

.biography>figure>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.biography .box-content {
    font-size: 1.3em;
    padding-right: 35px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 9;
    margin-bottom: 40px;
}

.biography .head {
    padding-top: 50px;
}

.links {
    background: #000;
    padding: 70px 0;
    position: relative
}

.links:before {
    content: '';
    position: absolute;
    background-image: url(../images/logo-d02.png);
    height: 610px;
    width: 620px;
    right: -210px;
    bottom: -137px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.links .item {
    display: block;
    background: #272727;
    padding: 50px 0;
    text-align: center;
    position: relative;
    font-size: 15px;
    border-radius: 10px;
}

.links .item a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.links .item span {
    height: 80px;
    display: block;
    margin: auto;
    width: 80px;
}

.links .item span img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.links .item h2 {
    font-size: 1.5em;
    color: #A37E2C;
    margin: 0;
    text-shadow: 0px 1px 1px #fff;
    margin-top: 15px;
}

.contact {
    height: 900px;
    overflow: hidden;
    position: relative;
}

.contact figure {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    margin: 0;
}

.contact figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact .head {
    padding-top: 70px;
}

.contact form {
    position: relative;
    background: #272727;
    padding: 20px;
    margin-right: 60px;
    padding-top: 100px;
    margin-top: 100px;
    border-radius: 15px;
}

.contact form:before {
    content: '';
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="134.174" height="160.402" viewBox="0 0 134.174 160.402"> <g id="Icon" transform="translate(0.5 0.501)"> <g id="Bg"> <g id="Bg-2" data-name="Bg" transform="translate(0 0)"> <g id="Path_12" data-name="Path 12" transform="translate(-887.396 -6607.105)" fill="%23fff" stroke-miterlimit="10"> <path d="M 955.2184448242188 6766.005859375 C 955.2182006835938 6766.005859375 955.218505859375 6766.005859375 955.21826171875 6766.005859375 C 951.3651733398438 6766.005859375 947.538330078125 6764.93505859375 944.1514282226562 6762.90966796875 L 901.2595825195312 6737.25927734375 C 897.686279296875 6735.12255859375 894.674560546875 6731.974609375 892.550048828125 6728.15625 C 890.4221801757812 6724.33203125 889.2428588867188 6719.94091796875 889.1395874023438 6715.45751953125 L 887.9031982421875 6661.80224609375 C 887.7998657226562 6657.31884765625 888.7755737304688 6652.8671875 890.7249145507812 6648.9287109375 C 892.67138671875 6644.99609375 895.5350341796875 6641.68408203125 899.00634765625 6639.3505859375 L 940.661865234375 6611.34619140625 C 944.3026123046875 6608.8984375 948.4815673828125 6607.60498046875 952.7470092773438 6607.60498046875 C 956.5999755859375 6607.60498046875 960.4266967773438 6608.67529296875 963.8134765625 6610.70068359375 L 1006.705383300781 6636.3515625 C 1010.278625488281 6638.48828125 1013.290283203125 6641.6357421875 1015.414794921875 6645.4541015625 C 1017.542663574219 6649.2783203125 1018.722045898438 6653.66943359375 1018.825317382812 6658.15283203125 L 1020.061706542969 6711.80810546875 C 1020.1650390625 6716.29150390625 1019.189331054688 6720.7431640625 1017.239990234375 6724.681640625 C 1015.293518066406 6728.6142578125 1012.429870605469 6731.92626953125 1008.958557128906 6734.259765625 L 967.3031005859375 6762.26416015625 C 963.6626586914062 6764.7119140625 959.4835205078125 6766.005859375 955.2184448242188 6766.005859375 Z" stroke="none"/> <path d="M 952.7457885742188 6608.10498046875 C 948.5808715820312 6608.10498046875 944.498779296875 6609.369140625 940.9407958984375 6611.76123046875 L 899.2852783203125 6639.765625 C 895.8861083984375 6642.05078125 893.0809936523438 6645.2958984375 891.1730346679688 6649.150390625 C 889.2593994140625 6653.0166015625 888.3015747070312 6657.3876953125 888.4030151367188 6661.791015625 L 889.6394653320312 6715.4462890625 C 889.7408447265625 6719.8486328125 890.8983764648438 6724.15966796875 892.9869384765625 6727.9130859375 C 895.0687866210938 6731.65478515625 898.0181884765625 6734.73828125 901.5161743164062 6736.830078125 L 944.4080200195312 6762.48046875 C 947.7174682617188 6764.45947265625 951.4556274414062 6765.505859375 955.21826171875 6765.505859375 C 959.3839111328125 6765.505859375 963.46630859375 6764.2412109375 967.0241088867188 6761.84912109375 L 1008.679626464844 6733.8447265625 C 1012.078735351562 6731.5595703125 1014.883972167969 6728.314453125 1016.791870117188 6724.4599609375 C 1018.705444335938 6720.59375 1019.663330078125 6716.22265625 1019.561828613281 6711.8193359375 L 1018.325439453125 6658.1640625 C 1018.223999023438 6653.76171875 1017.066467285156 6649.45068359375 1014.977905273438 6645.697265625 C 1012.89599609375 6641.95556640625 1009.946655273438 6638.87255859375 1006.44873046875 6636.78076171875 L 963.556884765625 6611.1298828125 C 960.2479858398438 6609.15087890625 956.510009765625 6608.10498046875 952.7462768554688 6608.10498046875 L 952.7457885742188 6608.10498046875 M 952.7470092773438 6607.10498046875 C 956.637451171875 6607.10498046875 960.5345458984375 6608.1572265625 964.0701293945312 6610.271484375 L 1006.961975097656 6635.92236328125 C 1014.398071289062 6640.369140625 1019.11083984375 6648.8388671875 1019.3251953125 6658.14111328125 L 1020.561584472656 6711.79638671875 C 1020.775939941406 6721.0986328125 1016.459289550781 6729.81982421875 1009.237548828125 6734.6748046875 L 967.58203125 6762.67919921875 C 960.3604736328125 6767.53466796875 951.3310546875 6767.78662109375 943.894775390625 6763.3388671875 L 901.0029296875 6737.6884765625 C 893.5667724609375 6733.2412109375 888.85400390625 6724.771484375 888.6397094726562 6715.46923828125 L 887.4033203125 6661.81396484375 C 887.18896484375 6652.51171875 891.505615234375 6643.79052734375 898.7273559570312 6638.935546875 L 940.3828735351562 6610.93115234375 C 944.1709594726562 6608.384765625 948.455078125 6607.1044921875 952.7470092773438 6607.10498046875 Z" stroke="none" fill="%23000"/> </g> </g> <path id="Color_Overlay" data-name="Color Overlay" d="M56.5,156.235,13.607,130.584c-7.436-4.447-12.149-12.917-12.363-22.22L.008,54.709c-.214-9.3,4.1-18.022,11.324-22.878l41.656-28a21.861,21.861,0,0,1,23.687-.661l42.892,25.651c7.436,4.447,12.149,12.917,12.363,22.22l1.237,53.655c.214,9.3-4.1,18.022-11.324,22.878l-41.655,28a21.857,21.857,0,0,1-23.687.661Z" transform="translate(0)" fill="%23272727" stroke="%23272727" stroke-width="1"/> <g id="Stroke_Effect" data-name="Stroke Effect" transform="translate(0)" fill="none" stroke-linejoin="round"> <path d="M56.5,156.235,13.607,130.584c-7.436-4.447-12.149-12.917-12.363-22.22L.008,54.709c-.214-9.3,4.1-18.022,11.324-22.878l41.656-28a21.861,21.861,0,0,1,23.687-.661l42.892,25.651c7.436,4.447,12.149,12.917,12.363,22.22l1.237,53.655c.214,9.3-4.1,18.022-11.324,22.878l-41.655,28a21.857,21.857,0,0,1-23.687.661Z" stroke="none"/> <path d="M 67.8221435546875 153.4012603759766 C 70.99026489257812 153.4011383056641 74.10814666748047 152.4306488037109 76.83913421630859 150.5942077636719 L 118.4941329956055 122.591552734375 C 124.0107421875 118.8822860717773 127.3341598510742 112.0765533447266 127.16748046875 104.8305282592773 L 125.9309539794922 51.17499923706055 C 125.7646331787109 43.94476318359375 122.1457672119141 37.35094833374023 116.4865036010742 33.96668243408203 L 73.59490203857422 8.31602668762207 C 71.06092834472656 6.800868511199951 68.21037292480469 6 65.35140228271484 6 C 62.18297958374023 6 59.06510925292969 6.97034215927124 56.33440017700195 8.80644702911377 L 14.67929458618164 36.80955123901367 C 9.162689208984375 40.51886749267578 5.83929443359375 47.32457733154297 6.00600528717041 54.57063293457031 L 7.242478847503662 108.2261352539062 C 7.408847332000732 115.4563674926758 11.02768898010254 122.0501861572266 16.68692588806152 125.4344482421875 L 59.57821655273438 151.0849456787109 C 62.11211395263672 152.5998229980469 64.96289825439453 153.4008026123047 67.8221435546875 153.4012603759766 M 67.82173919677734 159.4012603759766 C 63.93137359619141 159.4007568359375 60.03495407104492 158.3485260009766 56.49937438964844 156.2347564697266 L 13.60739994049072 130.5838623046875 C 6.171426296234131 126.1371078491211 1.458110451698303 117.6668930053711 1.244057774543762 108.3641586303711 L 0.007610435131937265 54.70886993408203 C -0.206442192196846 45.40613174438477 4.109426021575928 36.68642044067383 11.33139991760254 31.83044815063477 L 52.9869270324707 3.827052593231201 C 60.20890045166016 -1.028918862342834 69.23808288574219 -1.279896974563599 76.67405700683594 3.166394710540771 L 119.566032409668 28.81726264953613 C 127.0020599365234 33.26405334472656 131.7153778076172 41.7342643737793 131.9293670654297 51.0369987487793 L 133.1658782958984 104.6922912597656 C 133.3798675537109 113.995002746582 129.0640106201172 122.7147369384766 121.8420333862305 127.570686340332 L 80.18656158447266 155.5736389160156 C 76.39834594726562 158.1210021972656 72.11368560791016 159.4012603759766 67.82173919677734 159.4012603759766 Z" stroke="none" fill="%23494949"/> </g> </g> <g id="Group_4" data-name="Group 4" transform="translate(28.604 36.895)"> <path id="Path_15" data-name="Path 15" d="M1,42.367a2.768,2.768,0,0,0,2.767,2.767H42.5a2.768,2.768,0,0,0,2.767-2.767C45.267,31.8,35.459,23,23.133,23S1,31.8,1,42.367Z" transform="translate(-1 37.867)" fill="%23dfdfdf" fill-rule="evenodd"/> <path id="Path_16" data-name="Path 16" d="M20.367,23.054C9.372,24.255,1,32.51,1,42.271a2.768,2.768,0,0,0,2.767,2.767h33.2a2.768,2.768,0,0,0,2.767-2.767C39.733,32.51,31.361,24.255,20.367,23.054Z" transform="translate(-1 37.962)" fill="%23fff" fill-rule="evenodd"/> <circle id="Ellipse_1" data-name="Ellipse 1" cx="11.088" cy="11.088" r="11.088" transform="translate(10.505 36.313)" fill="%23dfdfdf"/> <path id="Path_17" data-name="Path 17" d="M13.3,14.126a11.07,11.07,0,0,0,0,21.436,11.07,11.07,0,0,0,0-21.436Z" transform="translate(6.067 22.189)" fill="%23fff" fill-rule="evenodd"/> <path id="Path_18" data-name="Path 18" d="M17.327,25.059,15.053,36.424a2.767,2.767,0,0,0,4.136,2.913l10.262-6.156A29.041,29.041,0,0,0,37.134,34.2c7.215,0,13.593-2.587,17.557-6.452A14.127,14.127,0,0,0,59.267,17.6,14.127,14.127,0,0,0,54.691,7.452C50.726,3.587,44.349,1,37.134,1S23.541,3.587,19.576,7.452A14.127,14.127,0,0,0,15,17.6a13.383,13.383,0,0,0,2.327,7.459Z" transform="translate(23.733 -1)" fill="%2392722b" fill-rule="evenodd"/> <path id="Path_19" data-name="Path 19" d="M34.367,1.046A24.552,24.552,0,0,0,19.576,7.371,14.127,14.127,0,0,0,15,17.519a13.383,13.383,0,0,0,2.327,7.459L15.053,36.343a2.767,2.767,0,0,0,.3,1.9L23.917,33.1a28.223,28.223,0,0,0,4.18.813L29.45,33.1a28.329,28.329,0,0,0,4.914.891,24.537,24.537,0,0,0,14.793-6.325,14.127,14.127,0,0,0,4.576-10.148A14.127,14.127,0,0,0,49.157,7.371,24.552,24.552,0,0,0,34.367,1.046Z" transform="translate(23.733 -0.919)" fill="%23eecf8c" fill-rule="evenodd"/> <path id="Path_20" data-name="Path 20" d="M21.767,6a2.767,2.767,0,1,0,2.767,2.767A2.768,2.768,0,0,0,21.767,6Zm8.3,0a2.767,2.767,0,1,0,2.767,2.767A2.768,2.768,0,0,0,30.067,6Zm8.3,0a2.767,2.767,0,1,0,2.767,2.767A2.768,2.768,0,0,0,38.367,6Z" transform="translate(30.8 7.833)" fill="%2392722b" fill-rule="evenodd"/> </g> </g> </svg>');
    height: 134px;
    width: 110px;
    background-size: contain;
    position: absolute;
    background-repeat: no-repeat;
    top: -79px;
    left: 0;
    right: 0;
    margin: auto;
}

.contact form label {
    display: block;
}

.contact form input,
.contact form textarea {
    width: 100%;
    text-align: center;
    min-height: 46px;
    box-shadow: -3px -2px rgb(255 255 255 / 32%);
    border: 0;
    background: 0;
    border-radius: 10px;
    outline: 0;
    color: #FFF;
}

.contact form br {
    display: none;
}

.contact form textarea {
    height: 140px;
    resize: none;
}


input.wpcf7-submit {
    color: #FFF;
    border: 0;
    min-width: 110px;
    padding: 8px 0;
    display: block;
    margin: auto;
    background-image: linear-gradient(360deg, #644704, #9f7004, #ab8a44, #9b6f0a, #6c4d07) !important;
    box-shadow: none !important;
    width: auto !important;
}

.wpcf7-spinner {
    margin: auto;
    display: block;
    margin-top: 20px;
}


footer .top {
    background: #F3F3F3;
    padding: 60px 0;
}

footer .bottom {
    background: #000;
    padding: 30px 0;
    color: #FFF;
}

footer .bottom a {
    color: #FFF;
}

footer .top .logo-footer ul {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

footer .top .logo-footer ul li a {
    margin: 0 8px;
    width: 40px;
    height: 40px;
    background: #000;
    display: grid;
    place-content: center;
    border-radius: 50%;
}

footer .top .logo-footer ul li a img {
    filter: brightness(0)invert(1);
}

footer .top .logo-footer img {
    max-width: 170px;
    display: block;
    margin: auto;
}

footer .top h2 {
    color: #92722B;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

footer .top ul.menu {
    padding: 0;
    list-style-position: inside;
    list-style-image: linear-gradient(360deg, #644704, #9f7004, #ab8a44, #9b6f0a, #6c4d07) !important;
    line-height: 2;
    text-transform: uppercase;
}

.entry-header {
    background: linear-gradient(180deg, #060088, #130f64);
    color: #FFF;
    min-height: 182px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.entry-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

#post-33 {
    background: #000;
    position: relative;
    padding-top: 60px;
    padding-bottom: 50px;
    color: #FFF;
    font-size: 17px;
    line-height: 1.8;
}

#post-33:before,
#post-33:after {
    content: '';
    position: absolute;
    height: 610px;
    width: 620px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#post-33:before {
    background-image: url(../images/logo-d01.png);
    top: -110px;
    left: -260px;
}

#post-33:after {
    background-image: url(../images/logo-d02.png);
    bottom: -80px;
    right: -260px;
}

.post-thumbnail img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.post-thumbnail {
    height: 450px;
    overflow: hidden;
    margin-bottom: 15px;
}

.page-template-template-contact .contact {
    background: #000;
    position: relative;
    margin-top: -3px;
}

.page-template-template-contact .links:before {
    background-image: url(../images/logo-d01.png);
    bottom: inherit;
    right: inherit;
    top: -110px;
    left: -270px;
}

.page-template-template-contact .contact form {
    margin-right: 0;
}

.page-template-template-contact .contact:before {
    content: '';
    position: absolute;
    background-image: url(../images/logo-d02.png);
    height: 610px;
    width: 620px;
    right: -210px;
    bottom: -137px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

}

.container.bottom-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 90px;
}

.container.bottom-text .content-box {
    margin: 0;
    text-align: center;
}

.container.bottom-text .col-lg-6 {
    width: 100%;
}

@media (max-width:991.98px) {
    #primary-menu {
        display: block;
        position: fixed;
        z-index: 9;
        left: 0;
        top: 0;
        background: #000;
        min-width: 250px;
        height: 100vh;
        transform: translateX(-250px);
        opacity: 0;
        transition: 300ms;
        padding: 0;
        border-radius: 0;
        padding-top: 30px;
        padding-left: 20px;
    }

    #primary-menu li:not(last-child) {
        margin: 0;
    }

    #primary-menu li>a {
        display: block;
    }

    #primary-menu.opened {
        transform: none;
        opacity: 1;
    }

    .menu-toggle {
        width: 24px;
        height: 19px;
        position: relative;
        display: block;
        margin-right: 15px;
    }

    .menu-toggle::after,
    .menu-toggle::before {
        content: '';
        position: absolute;
        height: 2px;
        width: 100%;
        background: #fff;
    }

    .menu-toggle::after {
        bottom: 0;
    }

    .menu-toggle::before {
        top: 0;
        box-shadow: 0 8px 0 #fff;
    }

    .slide-mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        background: #000;
        z-index: 9;
        opacity: 0;
        visibility: hidden;
        transition: 300ms;
    }

    .slide-mobile.opened {
        opacity: .3;
        visibility: visible
    }

    .head>h2 {
        font-size: 18px;
    }

    .intro .item {
        height: 400px;
    }

    .intro .item .content-box {
        font-size: 8px;
        padding-left: 400px;
    }

    .about .item figure {
        height: 210px;
    }

    .biography .box-content {
        -webkit-line-clamp: 4;
    }

    .biography {
        min-height: 410px;
        font-size: 11px;
    }

    .links .item {
        padding: 30px 0;
        font-size: 10px;
    }

    .container.bottom-text .content-box {
        padding: 0 !important;
    }
    
    .container.bottom-text {
        bottom: 50px;
    }

}


@media (max-width:767.98px) {

    footer {
        font-size: 12px;
    }

    .head>h2 {
        font-size: 20px;
    }

    .intro .item {
        height: 500px;
        background-position: center;
    }

    .intro .item .content-box {
        padding-left: 210px;
        font-size: 5px;
        margin: 0;
    }

    .intro .item {
        height: 240px;
    }

    .about {
        font-size: 9px;
    }

    .about .item span {
        left: -15px;
    }

    .biography>figure,
    .contact>figure {
        display: none;
    }

    .links .item {
        margin: 0 0 30px;
    }

    .contact form {
        margin-right: 0;
    }

    footer {
        text-align: center;
    }

    .site-header a.custom-logo-link {
        height: 60px;
    }

}