/*
Theme Name: NL NDP Wordpress Theme
Theme URI: https://nlndp.ca/
Author: Steven Moran
Author URI: https://stevemoran.ca
Description: A Wordpress Theme for the Newfoundland & Labrador NDP. Based on Frost WP Theme.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.5
Tested up to: 6.5.2
Requires PHP: 7.0
Version: 1.0.9
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: nlndp
*/
/* utilities */
.sr-only {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
/* theme styles */
.wp-block-ndp-blocks-footer-nav {
    background-color: var(--wp--preset--color--neutral);
    padding: var(--wp--preset--spacing--large) 0;
}

.wp-block-ndp-blocks-footer-nav h4 {
    color: var(--wp--preset--color--primary);
    margin-bottom: var(--wp--preset--spacing--x-small);
	font-weight: var(--wp--custom--font-weight--medium);
}


.wp-block-ndp-blocks-footer-nav .wp-block-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.wp-block-ndp-blocks-footer-nav ul li a {
    text-decoration: none;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.3;
}

.wp-block-ndp-blocks-footer-nav .wp-block-columns {
    width: 920px;
}

.wp-block-ndp-blocks__container {
    max-width: var(--wp--style--global--wide-size);
    margin: auto;
    padding: 20px;
}
.ndp-blocks__latest {
    max-width: var(--wp--style--global--wide-size);
}
.ndp-blocks__latest.latest--full {
    max-width: none;
}
.ndp-blocks__latest .wp-block-latest-posts__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ndp-blocks__latest .wp-block-latest-posts__list li {
    background-color: #F0F8F9;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.ndp-blocks__latest .wp-block-latest-posts__list li > .wp-block-latest-posts__post-date {
    order: 1;
}
.ndp-blocks__latest .wp-block-latest-posts__list li > .wp-block-latest-posts__post-title {
    order: 2;
    color: var(--wp--preset--color--secondary);
    text-decoration: none;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 600;
    margin: var(--wp--preset--spacing--x-small) 0 var(--wp--preset--spacing--small);
}
.ndp-blocks__latest .wp-block-latest-posts__list li > .wp-block-latest-posts__post-excerpt{
    order: 3
}
.ndp-blocks__latest .wp-block-latest-posts__list.wp-block-latest-posts.columns-3 li {
    width: 100%;
}
.ndp-blocks__latest .wp-block-latest-posts__post-excerpt a {
    color: var(--wp--preset--color--contrast);
}

.wp-block-post-title {
    color: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--max-36);
    line-height: var;
    font-family: var(--wp--preset--font-family--primary);
    font-weight: var(--wp--custom--font-weight--semi-bold);
}

.wp-block-file {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #E8F2F7;
    border-radius: 4px;
    padding: 4px;
}

.wp-block-file a {
    text-decoration: none;
    color: var(--wp--preset--color--contrast);
}

.wp-block-file::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url('../nlndp/assets/images/icons/file.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 4px;
}

.wp-block-file::after{
    content: "";
    width: 24px;
    height: 24px;
    background-image: url('../nlndp/assets/images/icons/download.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 4px;
    margin-left: auto;
}

.wp-block-ndp-blocks-donate-bar.no-background {
 background: none
}

.wp-block-ndp-blocks-hero.extend-full-width,
.wp-block-ndp-blocks-donate-bar.extend-full-width,
.wp-block-group.extend-full-width {
    width: 100vw;
    margin-top: 0;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: 0 !important;
    max-width: none;
}
.wp-block-button .wp-block-button__link {
	white-space: nowrap;
}