/* =============================================================
   PERCoLATEPRAXIS
   Article: The Business of Trends
   File: bsns-trend.css

   This stylesheet is specifically for:
   articles/marketing/bsns-trends.html

   Font:
   Times New Roman throughout the article
   ============================================================= */


/* =============================================================
   BASIC RESET
   Removes default browser spacing and makes sizing predictable
   ============================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =============================================================
   HTML
   Enables smooth scrolling
   ============================================================= */

html {
    scroll-behavior: smooth;
}


/* =============================================================
   BODY
   Main page background, text colour and typography
   ============================================================= */

body {
    background-color: #f7f5f0;
    color: #222222;

    font-family: "Times New Roman", Times, serif;

    line-height: 1.75;
}


/* =============================================================
   MAIN ARTICLE CONTAINER
   Controls the overall spacing around the article
   ============================================================= */

.article-container {
    width: 100%;

    padding: 70px 20px 90px;
}


/* =============================================================
   ARTICLE
   Keeps the article at a comfortable reading width
   ============================================================= */

.article {
    max-width: 820px;
    margin: 0 auto;
}


/* =============================================================
   ARTICLE HEADER
   Title and introduction section
   ============================================================= */

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


/* =============================================================
   ARTICLE CATEGORY
   Small label above the article title
   ============================================================= */

.article-category {
    margin-bottom: 18px;

    font-size: 15px;
    font-weight: bold;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #76502f;
}


/* =============================================================
   ARTICLE TITLE
   Main heading
   ============================================================= */

.article-header h1 {
    margin-bottom: 24px;

    font-family: "Times New Roman", Times, serif;

    font-size: 46px;
    font-weight: 700;

    line-height: 1.15;

    color: #1f1f1f;
}


/* =============================================================
   ARTICLE INTRODUCTION
   Short description displayed below the title
   ============================================================= */

.article-intro {
    max-width: 700px;

    margin: 0 auto 42px;

    font-size: 20px;
    font-style: italic;

    line-height: 1.6;

    color: #555555;
}


/* =============================================================
   ARTICLE IMAGE
   Controls the image displayed at the top of the article
   ============================================================= */

.article-image {
    width: 100%;

    margin: 0 0 55px;
}


/* =============================================================
   ARTICLE IMAGE - ACTUAL IMAGE
   ============================================================= */

.article-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 4px;
}


/* =============================================================
   ARTICLE CONTENT
   Main body of the article
   ============================================================= */

.article-content {
    font-family: "Times New Roman", Times, serif;

    font-size: 19px;

    line-height: 1.8;
}


/* =============================================================
   ARTICLE PARAGRAPHS
   Creates comfortable spacing between paragraphs
   ============================================================= */

.article-content p {
    margin-bottom: 26px;
}


/* =============================================================
   EMPHASIS
   Keeps bold and italic text consistent with Times New Roman
   ============================================================= */

.article-content strong,
.article-content em {
    font-family: "Times New Roman", Times, serif;
}


/* =============================================================
   ARTICLE FOOTER
   Closing section at the bottom of the article
   ============================================================= */

.article-footer {
    margin-top: 60px;
    padding-top: 30px;

    border-top: 1px solid #d8d3ca;

    text-align: center;

    font-size: 17px;

    color: #666666;
}


/* =============================================================
   BACK LINK
   Link that takes the reader back to the main website
   ============================================================= */

.back-link {
    display: inline-block;

    margin-top: 18px;

    font-family: "Times New Roman", Times, serif;

    font-size: 17px;
    font-weight: bold;

    color: #76502f;

    text-decoration: none;

    transition: opacity 0.2s ease;
}


/* =============================================================
   BACK LINK - HOVER
   ============================================================= */

.back-link:hover {
    opacity: 0.65;
}


/* =============================================================
   TABLET RESPONSIVE DESIGN
   Applies to screens 768px and below
   ============================================================= */

@media (max-width: 768px) {

    .article-container {
        padding: 50px 18px 70px;
    }


    .article-header h1 {
        font-size: 38px;
    }


    .article-intro {
        font-size: 19px;
        margin-bottom: 35px;
    }


    .article-content {
        font-size: 18px;
    }

}


/* =============================================================
   MOBILE RESPONSIVE DESIGN
   Applies to screens 480px and below
   ============================================================= */

@media (max-width: 480px) {

    .article-container {
        padding: 35px 16px 55px;
    }


    .article-category {
        font-size: 13px;
        letter-spacing: 1.5px;
    }


    .article-header h1 {
        font-size: 31px;
        line-height: 1.2;
    }


    .article-intro {
        font-size: 18px;
        line-height: 1.5;

        margin-bottom: 30px;
    }


    .article-image {
        margin-bottom: 40px;
    }


    .article-content {
        font-size: 17px;
        line-height: 1.7;
    }


    .article-content p {
        margin-bottom: 22px;
    }


    .article-footer {
        margin-top: 45px;
        font-size: 16px;
    }

}