@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');


/* =========================
   پایه
========================= */

* {
    box-sizing: border-box;
}


html {
    direction: rtl;
}


body {
    margin: 0;

    background: #ffffff;
    color: #222222;

    font-family: Vazirmatn, sans-serif;

    -webkit-font-smoothing: antialiased;
}


/* =========================
   Container
========================= */

.container {
    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    padding: 32px 20px 50px;
}


/* =========================
   Header
========================= */

.site-header {
    text-align: center;

    margin-bottom: 48px;
}


.site-header h1 {
    font-size: 28px;

    line-height: 1.5;

    margin: 0 0 10px;
}


.site-header p {
    margin: 0;

    color: #777777;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================
   Books
========================= */

.books h2 {
    font-size: 20px;

    margin: 0 0 18px;
}


.book {
    .book-cover {
    width: 70px;
    height: 95px;

    object-fit: cover;

    border-radius: 8px;

    flex-shrink: 0;
}


.book-info {
    flex: 1;

    padding: 0 14px;
}
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding: 17px 16px;

    margin-bottom: 12px;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    color: #222222;

    text-decoration: none;

    -webkit-tap-highlight-color: transparent;
}


.book h3 {
    margin: 0 0 5px;

    font-size: 17px;

    line-height: 1.6;
}


.book p {
    margin: 0;

    color: #888888;

    font-size: 13px;
}


.book span {
    font-size: 20px;
}


/* =========================
   Story
========================= */

.story {
    width: 100%;
}


.story h1 {
    text-align: center;

    font-size: 27px;

    line-height: 1.6;

    margin: 0 0 8px;
}


.episode-title {
    text-align: center;

    color: #777777;

    font-size: 14px;

    line-height: 1.8;

    margin: 0 0 42px;
}


/* =========================
   متن داستان
========================= */

.story-text {
    font-size: 18px;

    line-height: 2.25;

    text-align: justify;

    overflow-wrap: break-word;
}


.story-text p {
    margin: 0 0 26px;
}


/* =========================
   Navigation
========================= */

.navigation {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 45px;

    padding-top: 20px;

    border-top: 1px solid #e5e5e5;
}


.navigation a {
    flex: 1;

    color: #333333;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.7;
}


.navigation a:last-child {
    text-align: left;
}


/* =========================
   صفحه‌های بزرگ‌تر
========================= */

@media (min-width: 600px) {

    .container {
        padding-top: 60px;
    }


    .site-header h1 {
        font-size: 34px;
    }


    .story h1 {
        font-size: 32px;
    }


    .story-text {
        font-size: 19px;

        line-height: 2.25;
    }

}