/*
Theme Name: Host
Theme URI: https://www.intuitiweb.cz/
Description: Custom responsive WordPress theme for h7o.cz.

Author: Roman Pospech
Author URI: https://www.intuitiweb.cz/
Version: 1.1.0
Tags: personal, responsive
*/

@font-face {
    font-family: 'Vegan Sans';
    src: url('css/fonts/VeganSansPremium-Bold.eot');
    src: url('css/fonts/VeganSansPremium-Bold.eot?#iefix') format('embedded-opentype'),
    url('css/fonts/VeganSansPremium-Bold.woff2') format('woff2'),
    url('css/fonts/VeganSansPremium-Bold.woff') format('woff'),
    url('css/fonts/VeganSansPremium-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Vegan Sans';
    src: url('css/fonts/VeganSansPremium-BoldItalic.eot');
    src: url('css/fonts/VeganSansPremium-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('css/fonts/VeganSansPremium-BoldItalic.woff2') format('woff2'),
    url('css/fonts/VeganSansPremium-BoldItalic.woff') format('woff'),
    url('css/fonts/VeganSansPremium-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Kunda Book';
    src: url('css/fonts/KundaBookPremium-Bold.eot');
    src: url('css/fonts/KundaBookPremium-Bold.eot?#iefix') format('embedded-opentype'),
    url('css/fonts/KundaBookPremium-Bold.woff2') format('woff2'),
    url('css/fonts/KundaBookPremium-Bold.woff') format('woff'),
    url('css/fonts/KundaBookPremium-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Kunda Book';
    src: url('css/fonts/KundaBookPremium-BoldItalic.eot');
    src: url('css/fonts/KundaBookPremium-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('css/fonts/KundaBookPremium-BoldItalic.woff2') format('woff2'),
    url('css/fonts/KundaBookPremium-BoldItalic.woff') format('woff'),
    url('css/fonts/KundaBookPremium-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Kunda Book';
    src: url('css/fonts/KundaBookPremium-Regular.eot');
    src: url('css/fonts/KundaBookPremium-Regular.eot?#iefix') format('embedded-opentype'),
    url('css/fonts/KundaBookPremium-Regular.woff2') format('woff2'),
    url('css/fonts/KundaBookPremium-Regular.woff') format('woff'),
    url('css/fonts/KundaBookPremium-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Kunda Book';
    src: url('css/fonts/KundaBookPremium-Italic.eot');
    src: url('css/fonts/KundaBookPremium-Italic.eot?#iefix') format('embedded-opentype'),
    url('css/fonts/KundaBookPremium-Italic.woff2') format('woff2'),
    url('css/fonts/KundaBookPremium-Italic.woff') format('woff'),
    url('css/fonts/KundaBookPremium-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}




@-ms-viewport {
    width: device-width;
}

/* CSS reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    color: inherit;
    text-decoration: none;
}

input, button, textarea, select {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
}
button,
textarea,
input:not([type=checkbox]):not([type=radio]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button,
input[type="button"],
input[type="submit"] {
    cursor: pointer;
}

img {
    pointer-events: none;
}


::-moz-selection {
    color: #fff;
    background-color: rgba(255, 0, 126, 0.94);
}
::selection {
    color: #fff;
    background-color: rgba(255, 0, 126, 0.94);
}

html {
    min-width: 320px;
}

body {
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    color: #000;
    font-family: 'Vegan Sans', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
}
.modal-open {
    overflow: hidden;
}



/* Paragraph & Typographic */

/* Links */
a {
    -webkit-transition: color 0.2s ease-in, background 0.2s ease-in;
    -o-transition: color 0.2s ease-in, background 0.2s ease-in;
    -ms-transition: color 0.2s ease-in, background 0.2s ease-in;
    -moz-transition: color 0.2s ease-in, background 0.2s ease-in;
    transition: color 0.2s ease-in, background 0.2s ease-in;
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #000;
    text-decoration: none;
}
a:before,
a:after {
    -webkit-transition: color 0.2s ease-in, background 0.2s ease-in;
    -o-transition: color 0.2s ease-in, background 0.2s ease-in;
    -ms-transition: color 0.2s ease-in, background 0.2s ease-in;
    -moz-transition: color 0.2s ease-in, background 0.2s ease-in;
    transition: color 0.2s ease-in, background 0.2s ease-in;
}



/*Main wrappers*/

.wrapper {
    padding: 0 25px;
}

.container {
    margin: 0 auto;
    max-width: 1240px;
}

@media screen and (max-width: 375px) {

    .wrapper {
        padding: 0 20px;
    }
}

header + .wrapper,
.wrapper--first {
    padding-top: 50px;
}



/*Header*/

.header {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FF007E;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.header__logo {
    font-size: 20px;
}
.header__logo:hover {
    color: #fff;
}

.header__search {
    margin-left: auto;
    width: 20px;
    height: 17px;
    background: url(images/ico_search.svg) center no-repeat;
    background-size: contain;
}



/* Menu overlay */

.overlay-menu {
    pointer-events: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #FF007E;
    z-index: 99;
    -webkit-transition:  opacity 0.2s ease-in;
    -o-transition:  opacity 0.2s ease-in;
    -ms-transition:  opacity 0.2s ease-in;
    -moz-transition:  opacity 0.2s ease-in;
    transition: opacity 0.2s ease-in;
}
.overlay-menu.active {
    pointer-events: all;
    opacity: 1;
}

.overlay-menu__inner-wrapper {
    position: absolute;
    top: 55px;
    left: 0;
    height: calc(100% - 55px);
    width: 100%;
    padding-top: 50px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overlay-menu__categories {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    height: 100%;
    max-width: 1240px;
    width: 100%;
    font-weight: 700;
    font-family: 'Kunda Book', serif;
    font-size: 70px;
    color: #000;
}

.overlay-menu__items {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.overlay-menu__items:before {
    position: absolute;
    content: '';
    display: block;
    top: auto;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #000;
}

.overlay-menu__item {
    position: relative;
    z-index: 1;
    top: -10px;
    padding: 0 15px;
    background-color: #FF007E;
}
.overlay-menu__item:hover {
    color: #fff;
}
.overlay-menu__item--recenze {
    right: 25px;
}
.overlay-menu__item--rozhovor {
    left: 35px;
}
.overlay-menu__item--komentar {
    right: 60px;
}
.overlay-menu__item--fejeton {
    left: 5px;
}
.overlay-menu__item--tema {
    left: 25px;
}
.overlay-menu__item--studie {
    right: 55px;
}

.overlay-menu__footer {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    width: 100%;
    height: 105px;
    padding-top: 30px;
}
.overlay-menu__footer__link:hover {
    color: #fff;
}

.overlay-menu__footer__separator {
    padding: 0 5px;
}

@media screen and (max-width: 1080px) {

    .overlay-menu__categories {
        font-size: 56px;
    }

    .overlay-menu__item {
        padding: 7px 15px;
    }
    .overlay-menu__item--recenze {
        right: 23px;
    }
    .overlay-menu__item--rozhovor {
        left: 15px;
    }
    .overlay-menu__item--komentar {
        right: 48px;
    }
    .overlay-menu__item--fejeton {
        left: auto;
        right: 5px;
    }
    .overlay-menu__item--tema {
        left: 15px;
    }
    .overlay-menu__item--studie {
        right: 50px;
    }
}

@media screen and (min-width: 769px) {

    .overlay-menu__categories--tablet {
        display: none;
    }

    .overlay-menu__items:nth-of-type(1),
    .overlay-menu__items:nth-of-type(3) {
        justify-content: space-between;
    }
}
@media screen and (max-width: 900px) {

    .overlay-menu__categories {
        font-size: 50px;
    }

    .overlay-menu__item {
        top: -8px;
        padding: 10px 15px;
    }
}
@media screen and (max-width: 768px) {

    .overlay-menu__categories--desktop {
        display: none;
    }
    .overlay-menu__categories--tablet {
        height: 400px;
    }
}
@media screen and (max-width: 680px) {

    .overlay-menu__categories {
        font-size: 40px;
    }
    .overlay-menu__categories--tablet {
        height: 340px;
    }

    .overlay-menu__item {
        top: -5px;
        padding: 0 10px;
        margin: 10px 0;
    }
}
@media screen and (min-width: 501px) {

    .overlay-menu__categories--mobile {
        display: none;
    }
}
@media screen and (max-width: 500px) {

    .overlay-menu__items {
        display: block;
    }
    .overlay-menu__items:before {
        display: none;
    }
    .overlay-menu__categories--mobile {
        height: 680px;
    }

    .overlay-menu__item {
        display: block;
        top: 0;
        padding: 0;
        text-align: center;
    }

    .overlay-menu__inner-wrapper {
        display: block;
        /*justify-content: space-between;*/
        padding-top: 30px;
    }

    .overlay-menu__categories--desktop,
    .overlay-menu__categories--tablet {
        display: none;
    }

    .overlay-menu__categories {
        height: auto;
    }

    .overlay-menu__footer {
        padding-top: 30px;
    }
}
@media screen and (max-width: 425px) {

    .overlay-menu__categories {
        font-size: 36px;
    }
    .overlay-menu__categories--mobile {
        height: 630px;
    }
}
@media screen and (max-width: 1100px) {

    .overlay-menu__footer {
        flex-direction: column;
        flex-wrap: wrap;
        text-align: center;
        padding-bottom: 30px;
        height: 130px;
        padding-top: 40px;
    }

    .overlay-menu__footer__column {
        width: 100%;
    }
}
@media screen and (max-width: 900px) {

    .overlay-menu__footer {
        height: 315px;
    }

    .overlay-menu__footer__separator {
        display: block;
        font-size: 0;
        margin-top: 11px;
    }
}

.overlay-menu__item--first {
    padding-left: 0;
}
.overlay-menu__item--last {
    padding-right: 0;
}



/*Hamburger menu*/

.hamburger-menu {
    pointer-events: all;
    position: relative;
    z-index: 10000;
    width: 30px;
    height: 30px;
    margin-left: 15px;
}

.hamburger-menu .breadroll {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -7px 0 0 -10px;
}

.hamburger-menu .breadroll .beef,
.hamburger-menu .breadroll .beef::before,
.hamburger-menu .breadroll .beef::after {
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 3px;

    background-color: #000;

    -webkit-transition: transform 0.25s ease;
    -moz-transition: transform 0.25s ease;
    -ms-transition: transform 0.25s ease;
    -o-transition: transform 0.25s ease;
    transition: transform 0.25s ease;
}
.hamburger-menu .breadroll .beef::before {
    top: 6px;
    content: "";
    opacity: 1;
}
.hamburger-menu .breadroll .beef::after {
    top: 12px;
    content: "";
}
.hamburger-menu.active .breadroll .beef {
    -webkit-transform: translate3d(0px, 6px, 0px) rotate(45deg);
    transform: translate3d(0px, 6px, 0px) rotate(45deg);
}
.hamburger-menu.active .breadroll .beef::before {
    opacity: 0;
}
.hamburger-menu.active .breadroll .beef::after {
    -webkit-transform: translate3d(0px, -12px, 0px) rotate(-90deg);
    transform: translate3d(0px, -12px, 0px) rotate(-90deg);
}



/*Main page title*/

.main-title {
    border-bottom: 5px solid #000;
}
.main-title--search {
    border-bottom: 0;
}

.main-title__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 135px;

    font-family: 'Kunda Book', serif;
    font-weight: 700;
    font-size: 70px;
}
.main-title__container--category {
    justify-content: center;
    padding-bottom: 10px;
}
.main-title__container--author {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    padding: 35px 0 45px;
    font-size: 50px;
}
.main-title__container:before {
    position: absolute;
    content: '';
    display: block;
    top: auto;
    left: 15px;
    right: 15px;
    height: 5px;
    background-color: #000;
}
.main-title__container--category:before,
.main-title__container--author:before,
.main-title__container--search:before {
    display: none;
}

.main-title__subtitle,
.main-title__h7o {
    position: relative;
    z-index: 1;
    background-color: #fff;
}
.main-title__h7o {
    padding-right: 25px;
}
.main-title__subtitle {
    top: -7px;
    padding-left: 25px;

}

.main-title__h7o sub {
    vertical-align: sub;
    font-size: smaller;
}

.main-title__author-caption {
    margin-bottom: 5px;
    font-family: 'Vegan Sans', sans-serif !important;
    font-size: 16px;
}

@media screen and (max-width: 1080px) {

    .main-title__container {
        height: 120px;
        font-size: 60px;
    }
    .main-title__container--author {
        padding: 30px 0 40px;
        font-size: 46px;
    }
}
@media screen and (max-width: 900px) {

    .main-title__container {
        height: 110px;
        font-size: 50px;
    }
    .main-title__container--author {
        padding: 26px 0 36px;
        font-size: 44px;
    }

    .main-title__h7o {
        padding-right: 20px;
    }

    .main-title__subtitle {
        top: -5px;
        padding-left: 20px;
    }
}
@media screen and (max-width: 768px) {

    .main-title__container {
        height: 100px;
        font-size: 44px;
    }
    .main-title__container--author {
        padding: 22px 0 32px;
        font-size: 42px;
    }
}
@media screen and (max-width: 680px) {

    .main-title__container {
        height: 90px;
        font-size: 40px;
    }
    .main-title__container--author {
        padding: 18px 0 28px;
    }

    .main-title__h7o {
        padding-right: 15px;
    }

    .main-title__subtitle {
        top: -4px;
        padding-left: 15px;
    }
}
@media screen and (max-width: 600px) {

    .main-title__container {
        height: 80px;
        font-size: 36px;
    }
    .main-title__container--author {
        padding: 18px 0 23px;
    }
}
@media screen and (max-width: 480px) {

    .main-title__container {
        font-size: 40px;
    }
    .main-title__container--author {
        font-size: 36px;
    }

    .main-title__subtitle {
        font-size: 20px;
        line-height: 1;
        max-width: 104px;
    }
}
@media screen and (max-width: 767px) {

    .main-title__container--search {
        height: auto;
    }
}

.main-title__container--author {
    height: auto;
}



/*Articles*/

.article-header {
    line-height: 1.375;
}

.article-header a {
    color: #FF007E;
}
.article-header a:hover {
    color: #000;
}

.wrapper--last-article {
    padding: 0 30px;
}

.last-article,
.articles {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.last-article {
    align-items: center;
    margin-top: 50px;
    margin-right: -30px;
    margin-left: -30px;
}

.article {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 15px;
    margin-top: 85px;
    text-align:  center;
    height: 100%;
    overflow: hidden;
    line-height: 0;
}

.last-article__text {
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 0;
    padding: 0 30px;
    text-align:  center;
}

.last-article__heading,
.article__heading {
    position: relative;
    margin-top: 35px;
    line-height: 1;
    font-family: 'Kunda Book', serif;
    font-weight: 700;
    font-size: 40px;
}
.article__heading:after {
    position: absolute;
    content: '';
    display: block;
    bottom: -30px;
    left: 50%;
    width: 100px;
    height: 5px;
    background-color: #000;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);

    -webkit-transition: color 0.2s ease-in, background 0.2s ease-in;
    -o-transition: color 0.2s ease-in, background 0.2s ease-in;
    -ms-transition: color 0.2s ease-in, background 0.2s ease-in;
    -moz-transition: color 0.2s ease-in, background 0.2s ease-in;
    transition: color 0.2s ease-in, background 0.2s ease-in;
}
.article__heading:hover:after {
    background-color: #FF007E;
}

.article p {
    margin-top: 65px;
    line-height: 1.4375;
    display: block;
    display: -webkit-box;
    /*max-height: 138px;
    -webkit-line-clamp: 6;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-article p {
    margin-top: 35px;
    line-height: 1.4;
    font-size: 20px;
}

.last-article em {
    font-style: italic;
}

.last-article__img {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: calc(68% / 2);
}

.last-article__img img {
    position: absolute;
    max-width: calc(100% - 60px);
    width: calc(100% - 60px);
    height: auto;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.last-article__footer {
    margin-top: 30px;
}

.last-article__read-more {
    color: #FF007E;
}
.last-article__read-more:hover {
    color: #000;
}


@media screen and (max-width: 1150px) {

    .last-article__heading,
    .article__heading {
        margin-top: 25px;
    }
}
@media screen and (max-width: 1080px) {

    .last-article__heading,
    .article__heading {
        margin-top: 20px;
        font-size: 36px;
    }

    .article p {
        margin-top: 55px;
    }

    .last-article p {
        margin-top: 25px;
        font-size: 18px;
    }

    .last-article__footer {
        margin-top: 25px;
    }
}
@media screen and (max-width: 900px) {

    .wrapper--last-article {
        padding: 0 25px;
    }

    .container--last-article {
        margin: 0 auto;
        max-width: 590px;
    }

    .article {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .last-article {
        margin-right: -15px;
        margin-left: -15px;
    }

    .last-article__heading,
    .article__heading {
        font-size: 34px;
    }

    .last-article__text {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 30px;
        padding: 0 15px;
    }

    .last-article__img {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
        padding-top: 71%;
    }

    .last-article__img img {
        max-width: calc(100% - 30px);
        width: calc(100% - 30px);
    }
}
@media screen and (max-width: 768px) {

    .article {
        margin-top: 60px;
    }
}
@media screen and (max-width: 680px) {

    .articles {
        margin: 0 auto;
        max-width: 370px;
    }

    .article {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    .article + .article {
        margin-top: 50px;
    }

    .last-article__heading,
    .article__heading {
        margin-top: 15px;
    }
    .article__heading:after {
        bottom: -28px;
    }

    .article p {
        margin-top: 50px;
    }
}
@media screen and (max-width: 425px) {

    .last-article__heading,
    .article__heading {
        margin-top: 15px;
    }
    .article__heading:after {
        bottom: -28px;
    }

    .article p {
        margin-top: 50px;
    }
    .last-article p {
        font-size: 16px;
    }

}
@media screen and (max-width: 375px) {

    .wrapper--last-article {
        padding: 0 20px;
    }

    .last-article__heading,
    .article__heading {
        font-size: 32px;
    }
}

.article-header__separator {
    padding: 0 3px;
}

@media
screen and (min-width: 901px) and (max-width: 1150px),
screen and (min-width: 680px) and (max-width: 800px),
screen and (min-width: 320px) and (max-width: 440px) {

    .article-header__separator--last:not(.article-header__separator--detail) {
        font-size: 0;
        display: block;
    }
}


.old-articles-cta-wrapper {
    text-align: center;
}

.old-articles-cta {
    display: inline-block;
    margin-top: 60px;
    width: 204px;
    line-height: 50px;
    text-align: center;
    background-color: #FF007E;
}
.old-articles-cta:hover {
    color: #fff;
    background-color: #000;
}

@media screen and (max-width: 768px) {

    .old-articles-cta {
        margin-top: 40px;
    }
}



/*Banner - latest magazine*/

.orange-banner {
    margin-top: 90px;
    text-align: center;
    border-top: 5px solid #000;
    border-bottom: 5px solid #000;
}

.orange-banner__link {
    display: flex;
    justify-content: center;
    max-width: 1320px;
    padding: 16px 0;
    color: #FF007E;
}
.orange-banner__link:hover {
    color: #000;
}

.orange-banner__read-more {
    margin-left: 5px;
    white-space: nowrap;
}

@media screen and (min-width: 901px) {

    .orange-banner__text-wrapper {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-right: 5px;
        max-width: 100%;
        white-space: nowrap;
    }

    .orange-banner__text-wrapper p {
        display: inline;
    }
}
@media screen and (max-width: 900px) {

    .orange-banner__link {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 20px 0;
    }

    .orange-banner__separator {
        display: none;
    }

    .orange-banner__text-wrapper p,
    .orange-banner__read-more {
        margin-left: 0;
        margin-top: 7px;
    }
}
@media screen and (max-width: 768px) {

    .orange-banner {
        margin-top: 60px;
    }
}



/*Newsletter*/

.wrapper--newsletter {
    margin-top: 85px;
    padding-top: 80px;
    text-align: center;
    border-top: 5px solid #000;
}

.newsletter {
    max-width: 610px;
}

.newsletter__heading {
    position: relative;
    line-height: 1;
    font-family: 'Kunda Book', serif;
    font-weight: 700;
    font-size: 40px;
}

.newsletter__para {
    margin-top: 40px;
    line-height: 1.4;
    font-size: 20px;
}

.newsletter__para .nowrap {
    white-space: nowrap;
}

.mc-embedded-subscribe-form {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.mc-embedded-subscribe-form .email {
    padding: 6px 10px 10px;
    width: 100%;
    font-family: 'Kunda Book', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #000;
    border: 4px solid #000;
    border-radius: 0;
}

.mc-embedded-subscribe-form .button {
    margin-left: 15px;
    padding: 0 30px;
    line-height: 50px;
    font-family: 'Vegan Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    background-color: #FF007E;
    border-radius: 0;

    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.mc-embedded-subscribe-form .button:hover {
    color: #fff;
    background-color: #000;
}

.mc-embedded-subscribe-form ::-webkit-input-placeholder {
    color: #000;
}
.mc-embedded-subscribe-form :-moz-placeholder { /* Firefox 18- */
    color: #000;
}
.mc-embedded-subscribe-form ::-moz-placeholder {  /* Firefox 19+ */
    color: #000;
}
.mc-embedded-subscribe-form :-ms-input-placeholder {
    color: #000;
}

@media screen and (max-width: 768px) {

    .wrapper--newsletter {
        margin-top: 60px;
        padding-top: 50px;
    }

    .newsletter__heading {
        font-size: 36px;
    }

    .newsletter__para {
        margin-top: 25px;
        font-size: 18px;
    }

    .mc-embedded-subscribe-form {
        display: flex;
        justify-content: center;
        margin-top: 25px;
    }
}
@media screen and (max-width: 600px) {

    .mc-embedded-subscribe-form {
        flex-direction: column;
    }

    .mc-embedded-subscribe-form .button {
        margin: 15px auto 0;
        width: 204px;
    }
}

.newsletter-overlay {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.newsletter-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.newsletter-modal {
    position: relative;
    padding: 40px 50px;
    margin: 0 auto;
    max-width: 610px;
    text-align: center;
    background-color: #fff;
}

.newsletter-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 1.1;
    font-size: 40px;
    font-family: 'Kunda Book', serif;
    color: #fff;
    background-color: #000;
}
.newsletter-modal__close:hover {
    color: #000;
    background-color: #FF007E;
}

@media screen and (min-height: 361px) {

    .newsletter-overlay {
        display: flex;
        align-items: center;
    }
}
@media screen and (max-height: 360px) {

    .newsletter-overlay {
        height: 100%;
        overflow-y: auto;
    }
}
@media screen and (max-width: 425px) {

    .newsletter-modal {
        padding: 50px 30px 40px;
    }

    .newsletter-modal__close {
        width: 40px;
        height: 40px;
        font-size: 34px;
    }
}
@media screen and (max-width: 375px) {

    .newsletter-modal {
        padding: 50px 25px 40px;
    }
}



/*Banner - subscription*/

.wrapper--subscription {
    margin-top: 85px;
    padding: 0 90px;
    border-top: 5px solid #000;
}

.subscription {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 60px;
    margin-right: -90px;
    margin-left: -90px;
}

.subscription__text,
.subscription__covers {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 90px;
}

.subscription__text {
    margin-top: 0;
    text-align:  center;
}

.subscription__heading {
    position: relative;
    line-height: 1;
    font-family: 'Kunda Book', serif;
    font-weight: 700;
    font-size: 40px;
}

.subscription p {
    max-width: 456px;
    margin: 35px auto 0;
    line-height: 1.4;
    font-size: 20px;
}

.subscription__footer {
    margin-top: 60px;
}

.subscription__cta {
    color: #FF007E;
}
.subscription__cta:hover {
    color: #000;
}

.subscription__covers {
    height: 400px;
}

.subscription__covers__wrapper {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
}

.subscription__cover {
    position: absolute;
    width: 239px;
    height: 354px;
    background: #fff center no-repeat;
    background-size: cover;
    box-shadow: 0 4px 15px 0 rgba(0,0,0,0.5);
}
.subscription__cover--left {
    z-index: 3;
    bottom: 0;
    left: 0;
    background-image: url(images/cover1.jpg);
}
.subscription__cover--middle {
    z-index: 2;
    align-self: center;
    background-image: url(images/cover2.jpg);
}
.subscription__cover--right {
    z-index: 1;
    top: 0;
    right: 0;
    background-image: url(images/cover3.jpg);
}

@media screen and (max-width: 1200px) {

    .wrapper--subscription {
        padding: 0 60px;
    }

    .subscription {
        margin-right: -60px;
        margin-left: -60px;
    }

    .subscription__text,
    .subscription__covers {
        padding: 0 60px;
    }

}
@media screen and (max-width: 1080px) {

    .wrapper--subscription {
        padding: 0 30px;
    }

    .subscription {
        margin-right: -30px;
        margin-left: -30px;
    }

    .subscription p {
        max-width: 375px;
    }

    .subscription__text,
    .subscription__covers {
        padding: 0 30px;
    }

    .subscription__footer {
        margin-top: 35px;
    }
}
@media screen and (max-width: 900px) {

    .subscription p {
        font-size: 18px;
    }

    .subscription__covers {
        height: 360px;
    }

    .subscription__cover {
        width: 209px;
        height: 310px;
    }
}
@media screen and (max-width: 768px) {

    .wrapper--subscription {
        margin-top: 60px;
        padding: 0 25px;
    }

    .subscription {
        flex-direction: column-reverse;
        margin-right: -25px;
        margin-left: -25px;
    }

    .subscription__heading {
        margin-top: 40px;
        font-size: 36px;
    }

    .subscription p {
        margin: 25px auto 0;
    }

    .subscription__text,
    .subscription__covers {
        flex: 0 0 100%;
        width: 100%;
        max-width: 425px;
        padding: 0 25px;
    }
    .subscription__covers {
        height: 300px;
        max-width: 400px;
    }

    .subscription__cover {
        width: 177px;
        height: 260px;
    }

    .subscription__footer {
        margin-top: 25px;
    }
}
@media screen and (max-width: 425px) {

    .subscription__covers {
        height: 270px;
        max-width: 370px;
    }

    .subscription__cover {
        width: 155px;
        height: 230px;
    }
}
@media screen and (max-width: 375px) {

    .wrapper--subscription {
        padding: 0 20px;
    }

    .subscription {
        flex-direction: column-reverse;
        margin-right: -20px;
        margin-left: -20px;
    }

    .subscription__text,
    .subscription__covers {
        padding: 0 20px;
    }
}



/*Pagination*/

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 65px;
}

.pagination .current {
    color: #FF007E;
}

.pagination .page-numbers {
    position: relative;
    padding: 0 5px 0 15px;
}
.pagination .page-numbers:not(.dots):hover {
    color: #FF007E;
}

.pagination .page-numbers:not(.prev) + .page-numbers:not(.next):before {
    position: absolute;
    top: 0;
    left: 0;
    content: '|';
    color: #000;
    display: inline-block;

}

.pagination .prev {
    padding-left: 0;
}
.pagination .next {
    padding-right: 0;
}

@media screen and (max-width: 768px) {

    .pagination {
        margin-top: 45px;
    }
}



/*Article's detail*/

.articles-detail__header {
    position: relative;
    margin-top: 65px;
    text-align: center;
}
.articles-detail__header:after {
    position: absolute;
    content: '';
    display: block;
    bottom: -55px;
    left: 50%;
    width: 100px;
    height: 5px;
    background-color: #000;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
.articles-detail__header--latest-magazine:after {
    display: none;
}

.articles-detail__heading {
    line-height: 1.06;
    max-width: 700px;
    margin: 30px auto 0;
    font-family: 'Kunda Book', serif;
    font-size: 70px;
    font-weight: 700;
}
.articles-detail__heading--latest-magazine {
    max-width: 540px;
}

.articles-detail__header p {
    line-height: 1.4;
    max-width: 700px;
    margin: 55px auto 0;
    font-size: 20px;
}

.articles-detail__content {
    display: flex;
    margin-top: 120px;
}

.articles-detail__content__left {
    position: relative;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: center;
    padding-right: 75px;
    /*padding-left: 50px;*/
}

.articles-detail__content__left img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.articles-detail__content__right {
    flex: 0 0 66.66%;
    max-width: 680px;
    line-height: 1.28;
    font-family: 'Kunda Book', serif;
    font-size: 21px;
    font-weight: normal;
}

.articles-detail__content__right figure + p,
.articles-detail__content__right p + figure,
.articles-detail__content__right h2 + p,
.articles-detail__content__right p + h2,
.articles-detail__content__right p + p {
    margin-top: 30px;
}

.articles-detail__content__right em {
    font-family: 'Kunda Book', serif;
    font-size: 21px;
    font-style: italic;
}

.articles-detail__content__right strong,
.articles-detail__content__right strong em {
    font-family: 'Vegan Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.articles-detail__content__right h4 {
    margin-bottom: 30px;
}
.articles-detail__content__right p + h4 {
    margin-top: 30px;
}

.articles-detail hr {
    margin: 40px 0;
    width: 100px;
    height: 5px;
    background-color: #000;
    border: none;
}
.articles-detail__header hr {
    margin-left: auto;
    margin-right: auto;
}

.articles-detail a {
    color: #FF007E;
}
.articles-detail a:hover {
    color: #000;
}

a.articles-detail__cta {
    display: inline-block;
    width: 205px;
    line-height: 50px;
    color: #000;
    background-color: #FF007E;
}
a.articles-detail__cta:hover {
    color: #fff;
    background-color: #000;
}

.articles-detail__fb-comments {
    margin-top: 60px;
    width: 66.66%;
    max-width: 680px;
    margin-left: 33.33%;
}


/*Post images*/

.articles-detail figure {
    margin: 40px 0;
}
.articles-detail--latest-magazine figure {
    margin: 55px 0;
}

.articles-detail figcaption {
    text-align: left;
    font-family: 'Kunda Book', serif;
    font-size: 21px;
    font-style: italic;
    color: #000;
}

.articles-detail figure a {
    display: block;
}

.articles-detail figure iframe {
	max-width: 100%;
}

.articles-detail img {
    display: block;
    max-width: 100%;
    height: auto;
}
.articles-detail--latest-magazine img {
    box-shadow: 0 4px 15px 0 rgba(0,0,0,0.5);
}


@media screen and (max-width: 1080px) {

    .articles-detail__heading {
        margin-top: 25px;
        font-size: 64px;
    }

    .articles-detail__header p {
        margin: 40px auto 0;
        font-size: 18px;
    }
}
@media screen and (max-width: 900px) {

    .articles-detail__header:after {
        bottom: -50px;
    }

    .articles-detail__heading {
        margin-top: 20px;
        font-size: 58px;
    }

    .articles-detail__header p {
        margin: 35px auto 0;
    }

    .articles-detail__content {
        margin-top: 100px;
    }

    .articles-detail__content__right em,
    .articles-detail__content__right,
    .articles-detail figcaption {
        font-size: 20px;
    }

    .articles-detail figure {
        margin: 30px 0;
    }
    .articles-detail--latest-magazine figure {
        margin: 40px 0;
    }

    .articles-detail__content__right figure + p,
    .articles-detail__content__right p + figure,
    .articles-detail__content__right h2 + p,
    .articles-detail__content__right p + h2,
    .articles-detail__content__right p + p {
        margin-top: 20px;
    }

    .articles-detail__content__right strong,
    .articles-detail__content__right strong em  {
        font-size: 18px;
    }

    .articles-detail__content__right h4 {
        margin-bottom: 20px;
    }
    .articles-detail__content__right p + h4 {
        margin-top: 20px;
    }

    .articles-detail hr {
        margin: 30px 0;
    }
    .articles-detail__header hr {
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 768px) {

    .articles-detail__heading {
        font-size: 54px;
    }

    .articles-detail__content__left {
        display: none;
    }

    .articles-detail__content__right {
        flex: 0 0 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .articles-detail__fb-comments {
        margin-top: 40px;
        width: 100%;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 680px) {

    .articles-detail__header {
        margin-top: 55px;
    }

    .articles-detail__heading {
        font-size: 50px;
    }
}
@media screen and (max-width: 600px) {

    .articles-detail__header {
        margin-top: 50px;
    }

    .articles-detail__heading {
        font-size: 46px;
    }
	
    .articles-detail__content__right {
        max-width: 100%;
    }
}
@media screen and (max-width: 480px) {

    .articles-detail__heading {
        font-size: 42px;
    }
}
@media screen and (max-width: 440px) {

    .article-header__separator--detail {
        font-size: 0;
        display: block;
    }
}
@media screen and (max-width: 425px) {

    .articles-detail__header {
        margin-top: 40px;
    }
    .articles-detail__header:after {
        bottom: -45px;
    }

    .articles-detail__heading {
        font-size: 40px;
    }

    .articles-detail__header p {
        margin: 30px auto 0;
        font-size: 16px;
    }

    .articles-detail__content {
        margin-top: 90px;
    }
}
@media screen and (max-width: 375px) {

    .articles-detail__heading {
        font-size: 36px;
    }

    .articles-detail__content__right strong,
    .articles-detail__content__right strong em {
        font-size: 17px;
    }
}


.is-style-perex-left,
.is-style-perex-left-bottom,
.is-style-figure-left {
    background-color: #fff;
}

@media screen and (min-width: 769px) {

    .articles-detail__content__right .is-style-perex-left,
    .articles-detail__content__right .is-style-perex-left-bottom,
    .articles-detail__content__right .is-style-figure-left {
        pointer-events: none;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    .articles-detail__content__left .is-style-perex-left,
    .articles-detail__content__left .is-style-perex-left-bottom,
    .articles-detail__content__left .is-style-figure-left {
        position: absolute;
        left: 0;
        right: 75px;
        margin: 0;

        opacity: 0;
        -webkit-transition: opacity 1s ease-out;
        -o-transition: opacity 1s ease-out;
        -ms-transition: opacity 1s ease-out;
        -moz-transition: opacity 1s ease-out;
        transition: opacity 1s ease-out;
    }
    .articles-detail__content__left .is-style-perex-left.done,
    .articles-detail__content__left .is-style-perex-left-bottom.done,
    .articles-detail__content__left .is-style-figure-left.done {
        opacity: 1;
    }

    .articles-detail__content__left .is-style-figure-left figcaption {
        margin-top: 20px;
        margin-bottom: 0;
        text-align: center;
        line-height: 1.4375;
        font-family: 'Vegan Sans', sans-serif;
        font-size: 16px;
        font-style: normal;
    }

    .articles-detail__content__left .is-style-perex-left {
        line-height: 1.4;
        font-size: 20px;
    }

    .articles-detail__content__left .is-style-perex-left-bottom {
        bottom: 0;
        padding-top: 30px;
        font-size: 16px;
        line-height: 1.4375;
    }
    .articles-detail__content__left .is-style-perex-left-bottom:before {
        position: absolute;
        content: '';
        display: block;
        top: 0;
        left: 50%;
        width: 100px;
        height: 5px;
        background-color: #000;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .articles-detail__content__right .is-style-perex-left-bottom:before {
        display: none;
    }
}
@media screen and (max-width: 1200px) {

    .articles-detail__content__left .is-style-perex-left {
        font-size: 18px;
    }
}
@media screen and (max-width: 900px) {

    .articles-detail__content__left .is-style-perex-left {
        font-size: 16px;
    }
}
@media screen and (max-width: 768px) {

    .articles-detail__content__right .is-style-perex-left-bottom {
        position: relative;
        padding-top: 30px;
        margin-top: 30px;
    }
    .articles-detail__content__right .is-style-perex-left-bottom:before {
        position: absolute;
        content: '';
        display: block;
        top: 0;
        left: 0;
        width: 100px;
        height: 5px;
        background-color: #000;
    }

    .articles-detail__content__right hr + .is-style-perex-left-bottom {
        padding-top: 0;
    }
    .articles-detail__content__right hr + .is-style-perex-left-bottom:before {
        display: none;
    }
}


/*Search*/

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-form__heading {
    margin-bottom: 10px;
}

.search-form__body {
    display: flex;
    width: 100%;
}

.search-form__input {
    margin-left: 50px;
    padding: 6px 10px 10px;
    width: 100%;
    font-family: 'Kunda Book', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #000;
    border: 4px solid #000;
    border-radius: 0;
}

.search-form__submit {
    margin-left: 15px;
    padding: 0 30px;
    line-height: 50px;
    font-family: 'Vegan Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    background-color: #FF007E;
    border-radius: 0;

    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.search-form__submit:hover {
    color: #fff;
    background-color: #000;
}

.search-form ::-webkit-input-placeholder {
    color: #000;
}
.search-form :-moz-placeholder { /* Firefox 18- */
    color: #000;
}
.search-form ::-moz-placeholder {  /* Firefox 19+ */
    color: #000;
}
.search-form :-ms-input-placeholder {
    color: #000;
}

@media screen and (max-width: 900px) {

    .search-form__input {
        margin-left: 40px;
    }
}
@media screen and (max-width: 767px) {

    .search-form {
        display: block;
        padding: 25px 0 10px;
    }

    .search-form__heading {
        margin-bottom: 20px;
        margin-top: -10px;
    }

    .search-form__input {
        margin-left: 0;
    }
}
@media screen and (max-width: 480px) {

    .search-form__heading {
        margin-bottom: 10px;
    }

    .search-form__body {
        display: block;
    }

    .search-form__submit {
        margin-left: 0;
        width: 100%;
    }
}

.search-message {
    margin-top: 25px;
    text-align: center;
    font-size: 22px;
}
.search-message--empty {
    min-height: 20vh;
}

@media screen and (max-width: 1080px) {

    .search-message {
        font-size: 20px;
    }
}
@media screen and (max-width: 768px) {

    .search-message {
        font-size: 18px;
    }
    .search-message--empty {
        min-height: 150px;
    }
}
@media screen and (max-width: 425px) {

    .search-message {
        font-size: 16px;
    }
    .search-message--empty {
        min-height: 75px;
    }
}


/*Footer*/

.footer {
    margin-top: 85px;
    padding-top: 30px;
    padding-bottom: 30px;
    line-height: 1.375;
    text-align: center;
    border-top: 5px solid #000;
}

.footer__para {
    margin-bottom: 0;
}
.footer__para + .footer__para {
    margin-top: 25px;
}

.footer__link__separator {
    padding: 0 5px;
}

.footer__para a:hover {
    color: #FF007E;
}

@media screen and (max-width: 768px) {

    .footer {
        margin-top: 60px;
    }
}
@media screen and (max-width: 900px) {

    .footer__link__separator {
        display: block;
        font-size: 0;
        margin-top: 7px;
    }
}
