/*
Theme Name: Student Press Freedom
Theme URI: https://studentpressfreedom.org
Author: WordPress Special Projects
Author URI: https://wpspecialprojects.wordpress.com
Description: Website for Student Press Freedom
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwenty
Text Domain: studentpressfreedom
*/
/* Swap link underline behavior on homepage in Issues section - added by MM */
body.home .wp-block-cover__inner-container h2 a {
    text-decoration: none;
}

body.home .wp-block-cover__inner-container h2 a:hover {
    text-decoration: underline;
}

body.home h1.entry-title {
    font-size: 4rem;
}

/* OVERRIDES FOR HOME TO SWAP LOGO / DATE */
body.home .header-titles-wrapper .header-titles {
    position: absolute;
    top: calc(100vh - 12em);
}

body.home .header-titles .site-logo {
    margin: 0;
}

body.home .cover-header .entry-title {
    position: absolute;
    top: calc(-100vh + 2.4em);
    left: 2em;
}

body.home.admin-bar .cover-header .entry-title {
    top: calc(-100vh + 3.2em);
}

@media (max-width: 684px) {
    body.home .cover-header .entry-title {
        position: absolute;
        top: calc(-100vh + 3em);
        left: 1em;
    }

    body.home.admin-bar .cover-header .entry-title {
        top: calc(-100vh + 4.6em);
    }

    body.home h1.entry-title {
        font-size: 2.5rem;
    }
}

/* GH#10 Move Tagline under Site Logo @tommusrhodus - Includes changes to CSS above */
body.home .header-titles-wrapper .header-titles {
    display: block;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0 0 3rem;
}

body.home .header-titles .site-description {
    margin: 0;
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 3rem;
    letter-spacing: 0.5rem;
    font-weight: 300;
}

body.home .header-titles-wrapper .header-titles img {
    max-width: 628px;
    width: 90%;
    height: auto !important;
    max-height: none;
    margin: 0 auto;
}

body .header-titles-wrapper .header-titles img {
    max-width: 300px;
    height: auto !important;
}

body .header-titles {
    flex-direction: column;
}

body .header-titles .site-logo {
    margin: 0;
}

body .header-titles .site-description {
    text-transform: uppercase;
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.25rem;
    text-align: center;
}

body.home .header-inner .toggle {
    margin-top: 0;
}

body .header-inner .toggle {
    margin-top: -2.5rem;
}

@media (max-width: 684px) {
    body.home .header-titles .site-description {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }

    body .header-titles-wrapper .header-titles img {
        max-width: 100%;
    }

    body .header-titles .site-description {
        display: block;
        font-size: 1rem;
    }
}
