/*
 Theme Name:   Newsroom Twenty Twenty-Four Child
 Description:  A child theme for the Twenty Twenty-Four block theme.
 Author:       Jason Campbell
 Template:     twentytwentyfour
 Version:      1.0.1
*/

/* Header */
.wp-block-navigation__submenu-container {
    box-sizing: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border: 1px solid #1b244d;
}

.wp-block-navigation__submenu-container li {
    font-size: .8em;
}

body .header-top {
  padding: 30px 20px !important;
}

body .top-nav-desktop, body .nav-desktop {
    display: none;
}

body .mobile-nav-spacer {
  border-top: 1px solid #eceae8;
  max-height: 0;
  margin: 0;
  width: 100%;
}

body .hide-mobile {
  display: none;
}

@media screen and (min-width: 768px) {
  body .top-banner {
   justify-content: space-evenly;
   padding: 5px 0;
  }
  body .top-banner a {
   text-decoration: none;
  }
  body .top-nav-desktop, body .nav-desktop {
    display: flex;
  }
  body nav.nav-desktop {
    border: 1px solid #eceae8;
    border-left: none;
    border-right: none;
    width: 100%;
    max-width: none;
    padding: 10px 0;
  }
  body nav.nav-desktop ul {
    justify-content: center;
    font-size: 1.2em;
  }
  body .nav-mobile {
    display: none;
  }
  body .hide-mobile {
    display: block;
  }
}

/* Home page */
.news-cpt-list {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
}

.news-cpt-title {
    font-size: 1.2em;
    margin: 10px 0 0 0;
}

.news-cpt-item article {
    text-decoration: none;
}

.news-cpt-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.default-news-image {
    text-align: center;
}

.news-cpt-item a {
    text-decoration: none;
}

.news-cpt-item p {
    padding: 5px 0 10px;
    margin: 0;
    font-size: .9em;
}

.news-cpt-item span {
    display: inline;
}

.news-cpt-date {
    font-style: italic;
}

.home-cta-link {
  height: 100%;
  border: 1px solid #ffffff;
}
.home-cta-link:hover {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border: 1px solid #1b244d;
}
.home-cta-icon {
    min-width: 80px;
}
body .home-cta-link p {
  font-size: .9em;
  line-height: 1.3;
}
.home-cta-arrow {
  color: #d4362e;
  font-size: 1.8em;
}

.press-cpt-title {
    font-size: 1.2em;
    margin: 10px 0 0 0;
}

.press-cpt-title a {
    text-decoration: none;
    font-style: normal;
    color: #d4362e;
}

.press-cpt-title a:after {
    color: #d4362e;
    text-decoration: none;
    font-weight: bold;
    font-family: FontAwesome;
    padding-left: 5px;
    position: relative;
    content: "\f138";
}

.press-cpt-item p {
    margin: 0 0 20px;
}

.press-cpt-date {
    font-style: italic;
    font-size: .9em;
}

/* News archive page */
.news-archive-item {
    display: flex;
    flex-direction: column;
}

.news-archive-item-left {
    min-width: 280px;
}

.news-archive-image-link img {
    max-width: 280px;
}

.news-archive-item-title {
    font-size: 1.2em;
}

li.type-news {
    overflow: auto;
}

.post-type-archive-news .wp-block-post-template-is-layout-grid {
    gap: 0;
}

@media screen and (min-width: 768px) {
    .news-archive-item {
        display: flex;
        flex-direction: row;
    }

    .news-archive-item-right {
        padding: 20px;
    }
}

/* Global */
.right-chevron:after {
    text-decoration: none;
    font-weight: bold;
    font-family: FontAwesome;
    padding-left: 5px;
    position: relative;
    content: "\f054";
}
