/* =========================================
   MICHAEL THOMAS SMITH
   Main Website Styles
   ========================================= */


/* =========================================
   GENERAL PAGE
   ========================================= */

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(70,107,107,0.10), transparent 34%),
        radial-gradient(circle at 92% 78%, rgba(70,107,107,0.07), transparent 36%),
        #FCFBF8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.75;

    max-width: 1120px;
    margin: 0 auto;

    padding: 42px 48px 90px 48px;
}


/* =========================================
   NAVIGATION
   ========================================= */

nav {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;

    margin-bottom: 72px;
    padding-bottom: 17px;

    border-bottom: 1px solid #DDDDDD;
}

nav a {
    color: #444444;
    text-decoration: none;
    margin-right: 16px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover {
    color: #466B6B;
    border-bottom-color: #AFC0C0;
}


nav a:hover {
    color: #466B6B;
}


/* =========================================
   MAIN CONTENT
   ========================================= */

main {
    max-width: 1050px;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: normal;

    line-height: 1.15;

    margin-top: 0;
    margin-bottom: 25px;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: normal;

    line-height: 1.3;

    margin-top: 52px;
    margin-bottom: 20px;
}

h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: normal;
}

p {
    margin-top: 0;
    margin-bottom: 24px;
}


/* =========================================
   LINKS
   ========================================= */

a {
    color: #466B6B;
}

a:hover {
    color: #284848;
}


/* =========================================
   HOMEPAGE
   ========================================= */

.site-title {
    font-size: 52px;
    font-weight: normal;

    line-height: 1.1;

    margin-bottom: 14px;
}

.site-subtitle {
    font-size: 21px;

    color: #666666;

    margin-bottom: 65px;
}

.home-introduction {
    max-width: 760px;

    font-size: 19px;
    line-height: 1.8;
}


/* =========================================
   BOOK PAGE
   ========================================= */

.book-title {
    font-size: 46px;
    font-weight: normal;

    line-height: 1.1;

    max-width: 900px;

    margin: 0 0 7px 0;
}

.book-subtitle {
    font-size: 27px;
    font-style: italic;
    font-weight: normal;

    color: #666666;

    margin: 0 0 48px 0;
}

.book {
    display: flex;

    align-items: flex-start;

    gap: 62px;

    max-width: 1050px;
}

.book-cover {
    flex: 0 0 300px;
}

.book-cover img {
    width: 100%;
    height: auto;

    display: block;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.13);
}

.book-description {
    flex: 1;

    font-size: 17px;
    line-height: 1.8;
}

.book-description p {
    margin-top: 0;
    margin-bottom: 23px;
}


/* =========================================
   BOOK LINKS
   ========================================= */

.book-description a {
    color: #466B6B;

    text-decoration: none;

    border-bottom: 1px solid #AFC0C0;
}

.book-description a:hover {
    color: #284848;

    border-bottom-color: #284848;
}


/* =========================================
   SIMPLE SECTION RULE
   ========================================= */

.section-rule {
    border: 0;
    border-top: 1px solid #DDDDDD;

    margin: 55px 0 45px 0;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    body {
        font-size: 16px;

        padding: 25px 20px 55px 20px;
    }

    nav {
        line-height: 2;

        margin-bottom: 45px;
    }

    nav a {
        margin-right: 10px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 26px;
    }

    .site-title {
        font-size: 40px;
    }

    .site-subtitle {
        font-size: 19px;

        margin-bottom: 45px;
    }

    .home-introduction {
        font-size: 17px;
    }

    .book-title {
        font-size: 36px;
    }

    .book-subtitle {
        font-size: 23px;

        margin-bottom: 32px;
    }

    .book {
        flex-direction: column;

        gap: 30px;
    }

    .book-cover {
        width: 245px;

        flex: none;
    }

    .book-description {
        font-size: 16px;
    }
}

.cv-link a {
    display: block;
    width: fit-content;

    padding: 12px 18px;

    color: #466B6B;
    text-decoration: none;

    background-color: transparent;

    transition: background-color 0.2s ease, color 0.2s ease;
}

.cv-link a:hover {
    background-color: #E6EEEE;
    color: #284848;
}

/* =========================================
   TALKS PAGE
   ========================================= */

.featured-talk {
    max-width: 950px;
}

.featured-talk h2 {
    font-size: 34px;
    margin-top: 0;
    margin-bottom: 5px;
}

.talk-meta {
    color: #666666;
    font-size: 16px;
    margin-bottom: 28px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;

    aspect-ratio: 16 / 9;

    margin-bottom: 30px;
}

.video-container iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;
}

.talk-description {
    max-width: 780px;
    font-size: 19px;
    line-height: 1.8;
}

.talk-note {
    max-width: 780px;
    color: #666666;
    font-size: 16px;
}

.talk-link {
    margin-top: 30px;
}

.talk-link a {
    display: inline-block;

    padding: 10px 16px;

    color: #466B6B;

    text-decoration: none;

    border: 1px solid #AFC0C0;
    border-radius: 2px;

    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

.talk-link a:hover {
    background-color: #E6EEEE;
    color: #284848;
    border-color: #466B6B;
}


/* =========================================
   CONFERENCE PRESENTATIONS
   ========================================= */

.conference-section {
    max-width: 950px;
}

.conference-section details {
    margin-top: 10px;
}

.conference-section summary {
    cursor: pointer;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;

    color: #466B6B;

    padding: 8px 0;
}

.conference-section summary:hover {
    color: #284848;
}

.conference-list {
    margin-top: 30px;
    max-width: 850px;
}

.conference-list h3 {
    font-size: 21px;

    color: #555555;

    margin-top: 42px;
    margin-bottom: 12px;
}

.conference-list p {
    margin-bottom: 28px;
}


/* =========================================
   TALKS PAGE ON MOBILE
   ========================================= */

@media (max-width: 700px) {

    .featured-talk h2 {
        font-size: 29px;
    }

    .talk-description {
        font-size: 17px;
    }

    .conference-section summary {
        font-size: 23px;
    }

}
/* =========================================
   ACADEMIC PAGE
   ========================================= */

.academic-introduction {
    max-width: 760px;

    font-size: 19px;
    line-height: 1.8;

    color: #4f4f4f;

    margin-bottom: 70px;
}


/* -----------------------------------------
   PUBLICATION SECTIONS
   ----------------------------------------- */

.publication-section {
    max-width: 860px;
}

.publication-section h2 {
    font-size: 30px;
    font-weight: normal;

    margin-top: 55px;
    margin-bottom: 38px;

    padding-bottom: 12px;

    border-bottom: 1px solid #DDDDDD;
}


/* -----------------------------------------
   INDIVIDUAL PUBLICATION
   ----------------------------------------- */

.publication {
    display: grid;

    grid-template-columns: 65px 1fr;

    column-gap: 28px;

    margin-bottom: 42px;

    padding: 7px 18px 24px 0;

    border-left: 3px solid transparent;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        padding-left 0.2s ease;
}


/* Subtle highlight when the cursor
   moves over a publication */

.publication:hover {
    background-color: #F3F6F5;

    border-left-color: #466B6B;

    padding-left: 12px;
}


/* -----------------------------------------
   YEAR
   ----------------------------------------- */

.publication-year {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    color: #777777;

    padding-top: 6px;

    letter-spacing: 0.04em;
}


/* -----------------------------------------
   PUBLICATION TITLE
   ----------------------------------------- */

.publication-content h3 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;

    font-weight: normal;

    line-height: 1.4;

    margin: 0 0 8px 0;
}


/* -----------------------------------------
   AUTHORS
   ----------------------------------------- */

.publication-authors {
    font-size: 16px;

    color: #555555;

    margin: 0 0 5px 0;
}


/* -----------------------------------------
   JOURNAL / PUBLICATION INFORMATION
   ----------------------------------------- */

.publication-details {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    line-height: 1.6;

    color: #666666;

    margin: 0 0 17px 0;
}


/* -----------------------------------------
   PUBLICATION LINKS
   ----------------------------------------- */

.publication-links {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin-top: 10px;
}

.publication-links a {
    display: inline-block;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    line-height: 1;

    color: #466B6B;

    text-decoration: none;

    border: 1px solid #B8C8C8;

    border-radius: 3px;

    padding: 7px 10px;

    background-color: #FAFBFA;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.publication-links a:hover {
    color: #FFFFFF;

    background-color: #466B6B;

    border-color: #466B6B;
}


/* -----------------------------------------
   FEATURED BOOK
   ----------------------------------------- */

.featured-publication {
    background-color: #F7F8F7;

    border-left-color: #466B6B;

    padding: 25px 25px 28px 20px;

    margin-bottom: 58px;
}

.featured-publication:hover {
    background-color: #F1F5F4;
}

.featured-publication .publication-content h3 {
    font-size: 29px;

    line-height: 1.3;
}


/* -----------------------------------------
   CLOSING NOTE
   ----------------------------------------- */

.publication-note {
    max-width: 700px;

    margin-top: 65px;

    color: #777777;

    font-size: 14px;

    line-height: 1.7;

    border-top: 1px solid #DDDDDD;

    padding-top: 20px;
}


/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 700px) {

    .academic-introduction {
        font-size: 17px;

        margin-bottom: 45px;
    }

    .publication-section {
        max-width: 100%;
    }

    .publication-section h2 {
        font-size: 27px;

        margin-top: 42px;
    }

    .publication {
        grid-template-columns: 1fr;

        row-gap: 4px;

        margin-bottom: 40px;

        padding-left: 15px;
    }

    .publication:hover {
        padding-left: 20px;
    }

    .publication-year {
        padding-top: 0;

        margin-bottom: 6px;
    }

    .publication-content h3 {
        font-size: 21px;
    }

    .featured-publication {
        padding: 20px 20px 24px 15px;
    }

    .featured-publication .publication-content h3 {
        font-size: 25px;
    }

    .publication-links {
        gap: 7px;
    }

    .publication-links a {
        font-size: 12px;

        padding: 8px 10px;
    }

}

/* =========================================
   SITE FOOTER
   ========================================= */

.site-footer {
    margin-top: 140px;
    padding-top: 25px;
    padding-bottom: 20px;

    border-top: 1px solid #DDDDDD;

    display: flex;
    justify-content: space-between;
    gap: 30px;

    color: #777777;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 700px) {

    .site-footer {
        margin-top: 90px;
        padding-top: 22px;

        flex-direction: column;
        gap: 5px;
    }

}
