header {
    height: auto;
    padding: 184px 0 100px 0;
    min-height: auto;
    background-color: transparent;
    background-image: none;
}

header .container {
    color: var(--dark-green);
    flex-direction: column;
    height: auto;
    min-height: auto;
}

header p {
    width: auto;
    margin-bottom: 0;
    text-align: center;
}

h1, h2, h3, h4, strong, a {
    color: var(--dark-green);
}

section p {
    color: var(--gray);
}

strong {
    font-weight: 600;
}

header h1 {
    margin-bottom: 10px;
}

@media (max-width: 786px) {
    header {
        padding: 135px 0 50px 0;
    }
}

/* TERMS OF USE */

.terms-of-use header {
    background-color: var(--brown);
}

.terms-of-use h3 {
    margin-top: 75px;
    border-top: 1px solid #E7E7E7;
    padding-top: 75px;
    font-size: 32px;
    margin-bottom: 35px;
}

@media (max-width: 786px) {
    .terms-of-use h3 {
        margin-top: 50px;
        margin-bottom: 25px;
        padding-top: 50px;
        font-size: 30px;
    }
}

/* BLOG */

.blog {
    background-color: var(--brown);
}

.blog section {
    padding-top: 0;
}

.blog .blog-posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1300px) {
    .blog .blog-posts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 786px) {
    .blog .blog-posts-container {
        grid-template-columns: 1fr;
    }
}

/* POST/ARTICLE */
.article-container {
    padding-top: 150px;
    padding-bottom: 100px;
    display: flex;
    align-items: baseline;
    gap: 50px;
}

article {
    width: calc(100% - 350px);
}

aside {
    width: 300px;
    position: sticky;
    top: 100px;
}

article h1 {
    font-size: 57px;
    font-weight: 600;
    margin-bottom: 25px;
}

article .entry-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-green);
    text-transform: uppercase;
    margin-bottom: 50px;
}

article img {
    border-radius: 16px;
    margin-bottom: 50px;
}

article h3 {
    font-size: 32px;
    font-weight: 600;
}

article p {
    color: var(--gray);
    margin-bottom: 24px;
}

article p:last-child {
    margin-bottom: 0;
}

.social-share ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-share ul li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brown);
    border-radius: 8px;
    line-height: 0;
    transition: all 0.2s ease-in-out;
}

.social-share ul li a:hover {
    background-color: var(--light-green);
    transform: translateY(-5px);
}

.recent-post-link {
    display: block;
    margin-bottom: 15px;
}

.recent-post {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.recent-post:not(:last-child) {
    margin-bottom: 20px;
}

.recent-post-image {
    width: 93px;
    height: 93px;
    border-radius: 16px;
    background-position: 50%;
    background-size: cover;
}

.recent-post-title {
    width: calc(100% - 108px);
    font-weight: 600;
    color: var(--dark-green);
}

aside h4:not(:first-child) {
    margin-top: 50px;
}

aside h4 {
    font-size: 21px;
    color: var(--dark-green);
    font-weight: 600;
}

.ad {
    width: 100%;
    height: 250px;
    background-color: var(--brown);
    border-radius: 16px;
}

@media (max-width: 1300px) {
    .article-container {
        padding-top: 100px;
    }
}

@media (max-width: 991px) {
    .article-container {
        flex-direction: column;
        gap: 50px;
    }
    article, aside {
        width: 100%;
    }
}

@media (max-width: 786px) {
    .article-container {
        padding-bottom: 50px;
    }
    article h1 {
        font-size: 47px;
    }
    article .entry-meta,
    article img {
        margin-bottom: 30px;
    }
}

@media (max-width: 500px) {
    article h1 {
        font-size: 34px;
    }
    article h3 {
        font-size: 26px;
    }
}

/* CONTACT */

.contact-us section {
    padding-top: 0;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border-radius: 16px;
    padding: 30px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-detail:not(:last-child) {
    margin-bottom: 40px;
}

.contact-detail-info {
    width: calc(100% - 100px);
}

.contact-detail-icon {
    width: 75px;
    height: 75px;
    background-color: var(--brown);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-icon img {
    width: 30px;
}

.contact-detail-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 7.5px;
}

.contact-detail-content {
    color: var(--gray);
}

.contact-form {
    width: 50%;
}

.contact-form form {
    margin-top: 30px;
}

.contact-us h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.form-row:not(:last-child) {
    margin-bottom: 20px;
}

form input,
form textarea {
    width: 100%;
    background-color: var(--brown);
    color: var(--dark-green);
    padding: 17.5px 20px;
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

form button {
    width: 100%;
    background-color: var(--dark-green);
    color: var(--white);
    font-weight: 600;
    text-align: center;
    padding: 17.5px 20px;
    border: 0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
}

@media (max-width: 991px) {
    .contact-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .contact-detail-icon {
        width: 60px;
        height: 60px;
    }
    .contact-detail-title {
        font-size: 18px;
        margin-bottom: 5px;
    }
    .contact-detail-icon img {
        width: 25px;
    }
    .contact-form {
        text-align: center;
    }
    .form-row {
        flex-direction: column;
    }
}