/* GENERAL STYLING */

body {
    margin: 0;
    padding: 0;

    background-color: #fffffc;
    color: black;

    font-family: "Georgia", serif;
}


/* FABLE HEADER */

header {
    text-align: center;
    padding-top: 40px;
}

header h1 {
    font-size: 100px;
    font-weight: normal;
    margin: 0;
}

/* FABLE HEADER LINK */

header h1 a,
header h1 a:visited {
    color: black;
    text-decoration: none;
}

header h1 a:hover {
    opacity: 0.6;
}

/* HOMEPAGE NAVIGATION */

.main-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 100px;

    margin-top: 115px;
    padding-bottom: 100px;
}

/* NAVIGATION LINKS */

.main-navigation a {
    color: black;
    text-decoration: none;
    font-size: 26px;
}

.main-navigation a:hover {
    opacity: 0.6;
}

/* CATEGORY PAGE */

.category-page {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 120px;
}

.category-page h2 {
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 40px;
}

/* CATEGORY SUBTITLES */

.category-subtitle {
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    color: #555555;
    margin-top: -30px;
    margin-bottom: 40px;
}

/* ARTICLE GRID */

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

/* ARTICLE PREVIEWS */

.article-preview a {
    color: black;
    text-decoration: none;
}

.article-preview h3 {
    font-size: 18px;
    font-weight: normal;
    margin-top: 25;
    margin-bottom: 30px;
}

.article-preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.article-preview a:hover {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

/* ARTICLE PAGE */

.article-page {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 120px;
}


/* BREADCRUMB NAVIGATION */

.breadcrumb {
    font-size: 16px;
    margin-bottom: 60px;
}

.breadcrumb a,
.breadcrumb a:visited {
    color: black;
    text-decoration: none;
}

.breadcrumb a:hover {
    opacity: 0.6;
}

/* ARTICLE HEADING */

.article-header {
    text-align: center;
    margin-bottom: 60px;
}

.article-header h2 {
    font-size: 27px;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 16px;
}

.article-header time {
    font-size: 16px;
}

/* ARTICLE SUBTITLES */

.article-subtitle {
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    color: #555555;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 30px;
}

/* ARTICLE CONTENT */

.article-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}


/* ARTICLE COLUMNS */

.article-column {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    padding: 20px;
}


/* ARTICLE PARAGRAPHS */

.article-column p {
    margin-top: 0;
    margin-bottom: 32px;
}


/* ARTICLE IMAGE */

.article-image {
    width: 65%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* PROLOGUE PAGE */

.prologue-page {
    max-width: 1200px;
    margin: 70px auto;
    padding: 0 400px;
}

.prologue-page h2 {
    font-size: 28px;
    text-align: center;
    font-weight: normal;
    font-variant-caps: small-caps;
    margin-top: 0;
    margin-bottom: 30px;
}


/* PROLOGUE CONTENT */

.prologue-content {
    max-width: auto;
}

.prologue-content p {
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
    margin-top: 0;
    margin-bottom: 32px;
}

/* MOBILE PROLOGUE */

@media (max-width: 768px) {

    .prologue-page {
        padding: 0 40px;
    }

    .prologue-page h2 {
        font-size: 32px;
    }

    .prologue-content {
        max-width: 100%;
    }

    .prologue-content p {
        font-size: 17px;
        line-height: 1.6;
        text-align: center;
    }

}

/* FABLE MOBILE LAYOUT */

@media (max-width: 768px) {

    /* FABLE MASTHEAD */

    header {
        padding-top: 50px;
    }

    header h1 {
        font-size: 66px;
    }


    /* HOMEPAGE */

    .main-navigation {
        gap: 75px;
        margin-top: 75px;
        padding-bottom: 30px;
    }

    .main-navigation a {
        font-size: 22px;
    }


    /* CATEGORY PAGES */

    .category-page {
        margin: 45px auto;
        padding: 0 35px;
    }

    .category-page h2 {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 22px;
        padding: 0;
        text-align: center;
    }

    .category-subtitle {
        font-size: 12px;
        margin-top: -15px;
        margin-bottom: 40px;
        text-align: center;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .article-preview {
        text-align: center;
    }

    .article-preview h3 {
        font-size: 16px;
        margin: 0 auto 15px;
        padding: 0 20px;
        max-width: 260px;
    }

    .article-preview img {
        width: 75%;
        max-width: 220px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
        padding: 0;
        margin: 0 auto;
    }


    /* INDIVIDUAL ARTICLES */

    .article-page {
        margin: 55px auto;
        padding: 0 25px;
    }

    .breadcrumb {
        font-size: 14px;
        text-align: center;
        max-width: 260px;
        margin: 0 auto 40px;
    }

    .article-header {
        margin-bottom: 20px;
    }

    .article-header h2 {
        font-size: 24px;
    }

    .article-header h2 p {
        margin: 0;
    }

    /* ARTICLE SUBTITLES */

    .article-subtitle {
        font-size: 16px;
        font-style: italic;
        font-weight: normal;
        color: #555555;
        text-align: center;
        margin-top: 4px;
        margin-bottom: 30px;
    }

    .article-header time {
        font-size: 16px;
    }

    .article-content {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .article-column:last-child {
        padding-top: 0;
    }

    .article-column:first-child p:last-child {
        margin-bottom: 0;
    }

    .article-column {
        font-size: 17px;
        line-height: 1.7;
        text-align: justify;
        padding: 24px;
        min-width: 0;
    }

    .article-column p {
        margin-bottom: 25px;
    }

    .article-image {
        width: 65%;
        max-width: 280px;
        height: auto;
        margin-bottom: 30px;
    }

}