a{
color:inherit;
}
h1 {
    font-family: "Marcellus", serif;
    font-size: 2em;
    color: #fff;
    font-weight: 400;
    margin-top: 10px;
}

.rich-text-style h2 {
    margin-bottom: 15px;
    font-size: 32px !important;
    color: #2c2c2c;
    text-transform: capitalize;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "Marcellus", serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2em;
}

.section {
    padding-top: 130px;
}

p {
    color: #535353;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.5em;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
}

iframe {
    margin-top: 15px;
    margin-bottom: 15px;
}

.rich-text-style h3 {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    font-size: 28px !important;
    color: #2c2c2c;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "Marcellus", sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2em;
}

.rich-text-style ul {
    margin-top: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    grid-row-gap: 15px;
    color: #535353;
    margin-left: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    list-style-type: disc;
}

li.item {
    align-items: center;
    line-height: 1.4em;
    list-style: disc;

}

blockquote {
    border-left: 4px solid #385b21;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px 40px;
    font-family: "Marcellus", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: #2c2c2c;
    margin-left: 0;
    margin-right: 0;
}

.rich-text-style h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 24px;
    color: #2c2c2c;
    font-family: "Marcellus", sans-serif;
    font-weight: 400;
    line-height: 1.2em;
}

.flex-horizontal-align-center.margin-top-medium {
    margin-top: 40px;
    align-items: center;
    display: flex;
    color: #2c2c2c;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5em;
}

.author-image {
    object-fit: cover;
    object-position: 50% 0%;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-right: 15px;
    display: block;
}

h5 {
    color: #2c2c2c;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Marcellus, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2em;
}

.blog-template-pagination {
    grid-column-gap: 60px;
    grid-row-gap: 60px;
    align-items: center;
    margin-top: 80px !important;
    display: flex;
}

.blog-template-prev-button {
    flex: 1;
    display: flex;
}

.blog-template-next-button {
    flex: 1;
    justify-content: flex-end;
    display: flex;
}

.blog-template-pagination-link {
    align-items: center;
    width: auto;
    display: flex;
    transition: all .35s;
    text-decoration: none;
}

.prev-post-arrow {
    color: rgb(175, 175, 175);
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 25px;
    font-family: "Fa solid 900", sans-serif;
    position: relative;
    transition: color 0.3s;
}

h6 {
    color: rgb(14, 14, 14);
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "Marcellus", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2em;
    max-width: 289px;
}

.blog-template-next {
    text-align: right;
}

.next-post-arrow {
    color: rgb(175, 175, 175);
    margin-bottom: 0;
    margin-left: 25px;
    font-family: "Fa solid 900", sans-serif;
    position: relative;
    transition: color 0.3s;
}

footer {
    padding-top: 80px;
}
.like-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #f2f2f2;
  cursor: pointer;
  position: fixed;
  bottom: 45px;
  right: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.3s ease, transform 0.2s ease;
}

.like-btn:hover {
  background: #e6e6e6;
  transform: scale(1.05);
}

.heart {
  width: 28px;
  height: 28px;
  fill: #999;
  transition: fill 0.3s ease, transform 0.2s ease;
}

/* активное состояние */
.like-btn.active .heart {
  fill: #e63946;
  transform: scale(1.15);
}

.teaching-preview-text,
.teaching-blurred-preview {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.teaching-blurred-preview {
    position: relative;
    max-height: 145px;
    margin-top: 18px;
    overflow: hidden;
    color: #555;
    filter: blur(5px);
    opacity: .72;
    user-select: none;
    pointer-events: none;
}

.teaching-blurred-preview::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 75%;
    content: "";
    background: linear-gradient(to bottom, transparent, #fff);
}

.locked-media-description {
    max-width: 760px;
    margin: 0 auto 28px;
    color: #4f4f4f;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    text-align: center;
}

.locked-media {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(157, 125, 69, .3);
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(36, 40, 43, .14);
    user-select: none;
}

.locked-video {
    aspect-ratio: 16 / 9;
    background: #181b1d;
}

.locked-video > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) saturate(.65);
    transform: scale(1.015);
}

.locked-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 16, 17, .35), rgba(14, 16, 17, .78));
}

.locked-media-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.locked-media-lock {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    color: #fff;
    background: rgba(36, 40, 43, .78);
    backdrop-filter: blur(8px);
}

.locked-media-lock .material-icons { font-size: 20px; }

.locked-video-play {
    display: inline-flex;
    width: 82px;
    height: 82px;
    margin-left: -10px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 214, 177, .65);
    border-radius: 50%;
    color: #24282b;
    background: rgba(230, 214, 177, .92);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .26);
}

.locked-video-play .material-icons { margin-left: 4px; font-size: 42px; }

.locked-audio {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 240px;
    background: #24282b;
}

.locked-audio-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6d6b1;
    background: radial-gradient(circle at 35% 30%, rgba(212, 175, 55, .25), transparent 45%), #1d2022;
}

.locked-audio-cover .material-icons { font-size: 76px; opacity: .88; }

.locked-audio-player {
    position: relative;
    display: flex;
    padding: 42px;
    flex-direction: column;
    justify-content: center;
}

.locked-audio-player .locked-media-lock {
    position: absolute;
    top: 24px;
    right: 24px;
}

.locked-audio-wave {
    display: flex;
    height: 74px;
    align-items: center;
    gap: 5px;
    opacity: .75;
    filter: blur(1px);
}

.locked-audio-wave span {
    width: 4px;
    height: 25%;
    border-radius: 4px;
    background: #e6d6b1;
}

.locked-audio-wave span:nth-child(3n) { height: 72%; }
.locked-audio-wave span:nth-child(4n) { height: 45%; }
.locked-audio-wave span:nth-child(5n) { height: 92%; }
.locked-audio-wave span:nth-child(7n) { height: 58%; }

.locked-audio-line {
    height: 3px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, .16);
}

.locked-audio-line span {
    display: block;
    width: 28%;
    height: 100%;
    background: #9d7d45;
}

.teaching-access-card {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 26px auto 0;
    padding: 36px;
    text-align: center;
    border: 1px solid rgba(157, 125, 69, 0.28);
    border-radius: 16px;
    background: #faf8f3;
    box-shadow: 0 14px 40px rgba(44, 44, 44, 0.09);
}

.teaching-access-card h3 {
    margin: 0 0 12px;
    color: #2c2c2c;
    font-family: "Marcellus", sans-serif;
    font-size: 30px;
    font-weight: 400;
}

.teaching-access-card p {
    margin: 0 auto;
    max-width: 520px;
    color: #555;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.teaching-access-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.teaching-access-button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    border: 1px solid #9d7d45;
    border-radius: 6px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.teaching-access-login,
.teaching-access-register:hover {
    color: #fff;
    background: #9d7d45;
}

.teaching-access-register,
.teaching-access-login:hover {
    color: #9d7d45;
    background: transparent;
}


@media (max-width: 1280px) {
    .section1.blog {
    height: 45vh;
}
.section.blog-details{
    padding-top: 20px;
}
}


@media(max-width:772px) {
    .section1.blog {
        height: 30vh;
        padding-bottom: 0;
    }

    .blog-cover {
        height: 35vh;
    }

    .background.blog {
        height: 35vh !important;

    }
    .blog-template-pagination {
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
       /*  display: flex;
        flex-direction: column; */
    }
        .blog-template-prev-button, .blog-template-next-button {
        flex: none;
        width: 100%;
    }
    .blog-template-prev-button, .blog-template-next-button {
        flex: none;
        width: 100%;
    }
    .section.blog-details{
        padding-top: 40px;
    }

    .teaching-access-card {
        margin-top: 32px;
        padding: 28px 20px;
    }

    .teaching-access-card h3 {
        font-size: 25px;
    }

    .teaching-access-actions {
        flex-direction: column;
    }

    .teaching-access-button {
        width: 100%;
        box-sizing: border-box;
    }

    .locked-media { border-radius: 12px; }
    .locked-video-play { width: 64px; height: 64px; }
    .locked-video-play .material-icons { font-size: 34px; }
    .locked-audio { grid-template-columns: 92px 1fr; min-height: 170px; }
    .locked-audio-cover .material-icons { font-size: 46px; }
    .locked-audio-player { padding: 28px 18px; }
    .locked-audio-player .locked-media-lock { top: 14px; right: 14px; width: 36px; height: 36px; }
    .locked-audio-wave { gap: 3px; }
    .locked-audio-wave span { width: 3px; }
}
