/*!
Theme Name: GospelHouse
Theme URI: https://gospel-house.church
Author: GospelHouse Team
Author URI: https://gospel-house.church
Description: Кастомная тема GospelHouse с современным дизайном
Version: 1.0.0
Tested up to: 5.7
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gospelhouse
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

/* base styles */
:root {
    background-color: #348dbf;
    --text-color: #000000;
}

* {
    margin: 0;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: "Inter", sans-serif;
    word-break: break-all;
}

body {
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: #0d0e11;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.5;
}

a:hover {
    color: #3993c6;
}

a:active {
    color: #478eb6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-top: 0;
    color: var(--text-color);
    word-break: break-word;
}

h1 {
    margin: 32px 0;
}

h3 {
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
}

ol,
ul,
li {
    list-style: none;
    padding-left: 0;
}

p {
    word-break: break-word;
}

header li {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

hr {
    width: 100%;
    opacity: 0.1;
    height: 1px;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 95%,
            rgba(0, 0, 0, 0)
    );
    margin-top: 60px;
    margin-bottom: 60px;
}

.container {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 0;
}

.home-content {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.page-container {
    display: flex;
    flex-direction: column;
}

.page-content {
    display: flex;
    flex-direction: column;
}

.page-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 260px);
    gap: 32px;
    justify-content: center;
    margin-top: 46px;
}

/* .page-footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
} */

.page-title {
    text-align: center;
}

.content-card-image {
    width: 100%;
    max-width: 260px;
    height: 149px;
    border-radius: 12px;
    object-fit: cover;
}

.single-content {
    text-align: center;
    margin-top: 50px;
}

.single-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 502px;
    margin: 0 auto;

    h1 {
        margin: 0;
    }
}

.single-title {
    color: #000000;
    font-weight: 600;
    font-size: 28px;
    line-height: 37px;
    text-align: center;
}

.single-meta {
    color: #000000;
    opacity: 30%;
    font-weight: 500;
    font-size: 14px;
    line-height: 23px;
    max-width: 320px;
    text-align: center;
    word-break: normal !important;
    word-wrap: break-word !important;
}

.wp-block-embed iframe {
    max-width: 843px;
    width: 100%;
    height: 444px;
    margin: 0 auto;
    border-radius: 16px;
}

.single-footer {
    margin-top: 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 22px;
}

.single-footer-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.single-footer_author {
    font-family: Caveat;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    vertical-align: bottom;
    color: #1D99DF;
}

.single-footer_info {
    font-size: 15px;
}

.single-footer-statistic {
    display: flex;
    gap: 12px;
    align-items: center;
}

.single-footer-likes {
    display: flex;
    gap: 10px;
    background-color: #FD5C4D;
    border-radius: 60px;
    padding: 10px 24px;
}

.single-footer-likes-count {
    color: #FFFFFF;
    font-family: Inter;
    font-weight: 600;
    font-size: 15px;
    line-height: 23px;
    text-align: center;
    vertical-align: middle;
}

.share-icon {
    background-color: #F1F2F3;
    width: 48px;
    height: 48px;
    display: flex;
    border-radius: 9999px;
    align-items: center;
    justify-content: center;
}

@keyframes moveClouds {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.6%);
    }
}

@media screen and (max-width: 876px){
    .page-content-grid {
        grid-template-columns: repeat(2, 260px);
        padding: 0 16px;
    }
}

@media screen and (max-width: 768px) {
    hr {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .home-content {
        padding: 0 16px;
    }

    .content-card-image {
        max-width: 100%;
        max-height: 202px;
    }
}

@media screen and (max-width: 648px) {
    .content-card-image {
        max-width: 100%;
        min-height: 202px;
    }

    .page-content-grid {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 16px;
    }
}

@media screen and (max-width: 526px) {
    .page-content-grid {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 16px;
    }
}
