/**
Homepage rework
**/
figure.main-image {
    margin: 0;
}

.px-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.py-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ty-intro > div > *:last-child {
    margin: 0;
    font-size: 26px;
    font-weight: 400;
    line-height: 37px;
}

.ty-intro > div > p {
    color: #363636;
}

.ty-intro > div > p > strong,
.ty-intro > div > p > b {
    color: #ff7900;
}

#video {
    padding: 40px 0;
}

#video .ty-video-wrapper {
    position: relative;
    padding-top: 56.25%;
    width: calc(100% + 15px);
}

#video .ty-video-wrapper iframe {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

#video .ty-video-link {
    display: flex;
    align-items: center;
    width: calc(100% + 15px);
    padding: 20px 30px;
    color: #363636;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    background-color: #FFF;
    transition: color 0.3s ease-in-out;
}

#video .ty-video-link:hover {
    color: #ff7900;
    text-decoration: none;
}

#video .ty-video-link svg {
    width: 22px;
    margin-left: 15px;
}

#video .ty-video-link svg path {
    fill: #ff7900;
}

#know-more {
    padding: 20px 0;
}

#know-more .ty-know-more-title {
    padding: 20px 30px;
    background-color: #FFF;
}

#know-more .ty-know-more-title h2 {
    margin: 0;
    color: #363636;
    font-size: 38px;
    line-height: 58px;
    font-weight: 600;
}

#know-more .ty-know-more-items {
    padding: 20px 30px;
    background-color: #FFF;
}

#know-more .ty-know-more-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#know-more .ty-know-more-items ul li {
    margin: 0 0 30px;
}

#know-more .ty-know-more-items ul li:last-child {
    margin: 0;
}

#know-more .ty-know-more-items ul li a,
#know-more .ty-know-more-items ul li div {
    position: relative;
    display: block;
    padding-left: 72px;
    text-decoration: none;
}

#know-more .ty-know-more-items ul li a:before {
    content: url('/wp-content/themes/smidswater/images/arrow-right-regular.svg');
    position: absolute;
    left: 0;
    display: block;
    width: 32px;
    height: 36px;
}

#know-more .ty-know-more-items ul li a h3,
#know-more .ty-know-more-items ul li div h3 {
    margin: 0;
    color: #363636;
    font-size: 28px;
    line-height: 32px;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

#know-more .ty-know-more-items ul li a p,
#know-more .ty-know-more-items ul li div p {
    margin: 0;
    color: #363636;
    font-size: 18;
    line-height: 32px;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
}

#know-more .ty-know-more-items ul li a:hover h3,
#know-more .ty-know-more-items ul li a:hover p {
    color: #ff7900;
}

.homeNews {
    padding: 0 0 120px;
}

.homeNews#content .container.ty-news-header {
    padding: 0 0 24px;
    background-color: transparent;
}

.homeNews#content .container.ty-news-header .row {
    display: flex;
    align-items: center;
}

.homeNews#content .container.ty-news-header .row > div:last-child {
    display: flex;
    justify-content: flex-end;
}

.homeNews#content .container.ty-news-header .row > div:first-child h2 {
    color: #363636;
    font-size: 36px;
    line-height: 41px;
    font-weight: 600;
}

.homeNews#content .container.ty-news-header .row > div:last-child a {
    color: #363636;
    font-size: 18px;
    line-height: 41px;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease-in-out;
}

.homeNews#content .container.ty-news-header .row > div:last-child a:hover {
    color: #ff7900;
}

.homeNews#content .container.ty-news-header h2 {
    margin: 0;
}

.homeNews#content .container.ty-news-body {
    padding: 0;
}

.homeNews#content .container.ty-news-body > div.row > div > a.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 40px 25px;
    margin: 0;
    text-decoration: none;
}

.homeNews#content .container.ty-news-body > div.row:nth-child(even) > div > a.row {
    background-color: #FAFAFA;
}

.homeNews#content .container.ty-news-body a.row div:first-child h3 {
    margin: 0;
    color: #363636;
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    text-align: left;

}

.homeNews#content .container.ty-news-body a.row div:first-child p {
    margin: 0;
    color: #363636;
    font-size: 18px;
    line-height: 35px;
    font-weight: 700;
    text-align: left;
}

.homeNews#content .container.ty-news-body a.row div:last-child p {
    margin: 0;
    color: #363636;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    text-align: left;
}


.homeNews#content .container.ty-news-body .ty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 0;
    padding: 4px 30px;
    color: #363636;
    font-size: 18px;
    line-height: 40px;
    font-weight: 600;
    background-color: #FF7900;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.homeNews#content .container .ty-btn:hover {
    color: #FFF;
    background-color: #363636;
}

@media only screen and (min-width: 768px) {
    #video .ty-video-block:first-child .ty-video-wrapper {
        margin-left: -15px;
    }
    
    #video .ty-video-block:last-child .ty-video-wrapper {
        margin-right: -15px;
    }

    #video .ty-video-block:first-child .ty-video-link {
        margin-left: -15px;
    }

    #video .ty-video-block:last-child .ty-video-link {
        margin-right: -15px;
    }
}

@media only screen and (max-width: 767px) {
    #video .ty-video-wrapper {
        width: 100%;
    }

    #video .ty-video-link {
        width: 100%;
    }

    #video .ty-video-block:first-child {
        margin-bottom: 30px; 
    }

    .py-40:last-child {
        padding-top: 0;
        padding-bottom: 40px;
    }

    .homeNews#content .container.ty-news-header {
        padding: 0 15px 24px;
    }
}