/*
Theme Name:   Motomarine Child
Theme URI:    https://example.com/
Description:  Child theme for Motomarine
Author:       Your Name
Author URI:   https://example.com/
Template:     mmarine   
Version:      1.0.0
Text Domain:  mmarine-child
*/

@import url('https://fonts.googleapis.com/css2?family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap');

* {
    outline: none !important;
    text-decoration: none !important;
}

body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 25px;
    font-weight: 400;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { 
	margin-bottom: 15px;
    font-weight: 800;
}

h1, .h1 {
    font-size: 48px;
    line-height: 100%;
}

h2, .h2 {
    font-size: 36px;
    line-height: 110%;
}

h3, .h3 {
    font-size: 30px;
    line-height: 110%;
}

.container {
    max-width: 1300px;
}

.container-wide {
    max-width: 1400px;
}

.cta-btn {
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    text-transform: uppercase;
    padding: 20px 35px;    
}

.cta-btn.cta-btn-border {
    background: transparent;
    color: var(--text-color);
	border-color: var(--text-color);
}

.cta-btn.cta-btn-border:hover {
    background: var(--text-color);
    color: #FFFFFF;
	border-color: var(--text-color);
}

.promo-bar-wrap {
    background: #03162c;
    text-align: center;
    padding: 15px 0;
}

.promo-bar-wrap * {
    color: #fff;
}

.custom-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 77;
    width: 100%;
}

.header-main-wrap {
    position: relative;
}

.header-main-wrap:before {
    content: "";
    background: #FFFFFF;
    opacity: 0.22;
    height: 1px;
    width: 100%;
    position: absolute;
    left: calc(-50% - 107px);
    top: 90px;
}

.header-main-wrap:after {
    content: "";
    background: #FFFFFF;
    opacity: 0.22;
    height: 1px;
    width: 100%;
    position: absolute;
    left: calc(50% + 136px);
    top: 90px;
}

.header-main-wrap .container {
    display: flex;
    justify-content: space-between;
    max-width: 1500px;
}

.header-main-wrap .menu {
    display: flex;
    margin: 0 -25px;
}

.header-main-wrap .menu > li {
    margin: 0 25px;
    padding: 35px 0
}

.header-main-wrap .menu > li > a {
    color: #fff;
    text-transform: uppercase;
}

.header-main-wrap .hm-site-logo {
    padding: 35px 0 0 ;
}

.header-main-wrap .hm-site-logo span {
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #EF5A39;
}

.header-main-wrap .hm-site-logo span:first-child {
    padding-right: 260px;
    position: relative;
    left: 17px;
}

.header-main-wrap .hm-site-logo a {
    display: table;
    margin: -40px auto 0;
    max-width: 140px;
}

body.home .hero {
    padding: 340px 0;
    position: relative;
}

body.home .hero .container {
	max-width: 1200px;
}

body.home .hero.hero-v2:before {
    content: "";
    background: linear-gradient(271.48deg, rgba(2, 31, 65, 0) 7.5%, rgba(2, 31, 65, 0.97) 100.59%), linear-gradient(180deg, #021F41 7.48%, rgba(2, 31, 65, 0) 41.73%), linear-gradient(180deg, rgba(2, 31, 65, 0) 35.13%, #021F41 95.25%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

body.home .hero [class*="head-label-"] {
    opacity: 0.8;
    color: #FFFFFF;
}

[class*="head-label-"]:before,
[class*="head-label-"]:after {
    display: none;
}

[class*="head-label-"] {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.38em;
    text-transform: uppercase;
}

body.home .hero .h2 {
    font-size: 48px;
}

body.home .hero .h2 span {
    font-family: 'Wittgenstein';
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.025em;
    color: #1F9EA5;
}

body.home .hero p {
    font-size: 18px;
}

body.home .hero + .clients {
    margin: -168px 0 12px;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

body.home .hero + .clients .brand-logos .slide > div {
    height: 35px;
}

body.home .hero + .clients [class*="head-label-"] {
    letter-spacing: 0.38em;
    color: #FFFFFF;
    opacity: 0.8;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

body.home .hero + .clients [class*="head-label-"]:before {
    content: "";
    background: #FFFFFF;
    opacity: 0.22;
    height: 1px;
    width: 1000%;
    position: absolute;
    left: calc(100% - 5px);
    top: 12px;
    display: block;
}

body.home .hero + .clients [class*="head-label-"]:after {
    content: "";
    background: #FFFFFF;
    opacity: 0.22;
    height: 1px;
    width: 1000%;
    position: absolute;
    right: 100%;
    top: 12px;
    display: block;
}

.cp-card {
    position: relative;
}

.cp-card > img {
    height: 300px;
}

.cp-card .default {
    background: linear-gradient(208.96deg, #021F41 6.48%, rgba(2, 31, 65, 0) 32.89%), linear-gradient(180deg, rgba(2, 31, 65, 0) 34.17%, #021F41 100%), url(image.png);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background-color: rgba(2,31,65,0.3);
    transition: 0.3s all;
    pointer-events: none;
}

.cp-card .default img {
    position: absolute;
    top: 20px;
    right: 20px;
    max-height: 22px;
}

.cp-card .cp-title {
    font-weight: 700;
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.cp-card p {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.7;
}

.cp-card .default .cp-title  {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.cp-card .default p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cp-card div span {
    font-size: 14px;
    text-transform: uppercase;
    color: #1F9EA5;
    display: table;
    margin: 5px 0 0;
}

.cp-card .hover {
    position:absolute;
    top: 0;
    background-color: rgba(2,31,65,0.87);
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s all;
}

.cp-card .hover img {
    max-height: 30px;
    margin: 0 auto 15px;;
    display: table;
}

.cp-card .hover span {
    margin: 10px auto 0;
}

.cp-card:hover .default {
    opacity: 0;
}

.cp-card:hover .hover {
    opacity: 1;
}

body .wp-block-separator {
    margin: 0 auto;
    border-bottom: 4px solid #1F9EA5;
    opacity: 1;
	width: 100%;
	max-width: 80px;
	border-radius: 10px;
	opacity: 0.24 !important;
}