/*
Theme Name: Schoolbag
Theme URI: https://schoolbag.edu.sg
Author: WP Ho
Author URI: https://schoolbag.edu.sg
Description: Custom block theme for Schoolbag.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, wide-blocks
Requires at least: 6.2
Tested up to: 6.2.2
Requires PHP: 7.3
Version: 0.9

Schoolbag WordPress Theme, (C) 2023 Ministry of Education
*/


/* Defaults
-------------------------------------------- */

body {
    background-color: var(--wp--preset--color--base);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::selection {
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--complementary);
}

html {
    scroll-behavior: smooth;
}

img.edit-site-site-icon__image {
    filter: invert(1);
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
    transition: all 0.2s ease-in-out;
}

a:focus,
a:hover,
a:not(.wp-element-button) {
    text-decoration-thickness: 1px;
    outline:none;
}

b,
strong,
th {
    font-weight: var(--wp--custom--font-weight--bold);
}

mark {
    background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
    background-position: 0 85%;
    background-repeat: repeat-x;
    background-size: 100% 15%;
}

.hide {
    display: none;
}

.transparent {
    opacity: 0;
}


/* Forms
--------------------------------------------- */

input,
select,
textarea {
    background-color: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--contrast);
    border-radius: 0;
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--light);
    line-height: var(--wp--custom--line-height--body);
    padding: 10px 20px;
    width: 100%;
}

input:focus,
textarea:focus {
    background-color: var(--wp--preset--color--base);
    outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
    width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
    -webkit-appearance: none;
}

::placeholder {
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    opacity: 0.5;
}


/* Header
--------------------------------------------- */
.top-header {
    padding: 6px 30px 0px 30px;
    box-shadow: var(--wp--preset--shadow--light);
}

.top-header-wrapper.is-layout-flex {
    gap: 0 !important;
}

.is-position-sticky {
    z-index: 15;
}

.top-header-logo {
    width: 200px;
    height: auto;
}

/* Code
--------------------------------------------- */

/* *:not(.wp-block-code)>code {
    background-color: var(--wp--preset--color--neutral-2);
    font-size: var(--wp--preset--font-size--small);
    padding: 5px 8px;
}*/

/* Group
--------------------------------------------- */

.wp-block-group.is-style-shadow-light {
    box-shadow: var(--wp--preset--shadow--light);
}


/* List
--------------------------------------------- */

.is-style-no-disc {
    list-style-type: none;
    padding-left: 0;
}

/* Navigation
--------------------------------------------- */

.top-header-links {
    margin: 10px 0 !important;
}

.top-header-links .wp-block-navigation__responsive-container {
    column-gap: 20px;
}

.wp-block-navigation__responsive-container.is-menu-open {
    padding-bottom: 30px;
    padding-top: 30px
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover,
.wp-block-navigation__responsive-container-open:focus,
.wp-block-navigation__responsive-container-close:focus .wp-block-navigation__responsive-container-open:visited,
.wp-block-navigation__responsive-container-close:visited {
    box-shadow: none;
    border-radius: 0;
    margin-top: initial;
    margin-bottom: initial;
    background: none;
    border: none;
}

.wp-block-navigation .wp-block-navigation-item__label {
    white-space: nowrap;
}

/* Navigation Submenu
--------------------------------------------- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
    padding: 5px 10px;
}

/* Top Navigation Bar
--------------------------------------------- */
/*.top-nav-bar {
    background-color: #ddd;
    padding: 10px 20px;
    min-height: 55px;
}*/


/* Search Icon and Modal
--------------------------------------------- */

p.link-search,
p.link-share {
    margin: 0 0 5px 0;
    width: 18px;
    height: 18px;
}

.fa-bars {
    width: 18px;
}

.fa-share-nodes {
    cursor: pointer;
		border:none;
		background:transparent;
		font-size:var(--wp--preset--font-size--medium);
		padding:0px;		
}

.fa-magnifying-glass {
    cursor: pointer;
    /*transform: scale(-1, 1);*/
		border:none;
		background:transparent;
		font-size:var(--wp--preset--font-size--medium);
		padding:0px;
}

.fa-close {
    font-size: 20px;
    cursor: pointer;
}

.schbag-notification-bar .fa-close {
    font-size: 16px;
}

#schbag-search-modal {
    margin-block-start: 0;
    max-width: 920px;
    padding: 5px 0 10px 0;
}

.search-form {
    padding: 0 0 10px 0;
}

.schbag-404-wrapper .wp-block-search__input,
.schbag-search-result-form .wp-block-search__input,
.search-form #search-input {
    padding: 0 5px 8px 5px;
    border-bottom: 2px solid var(--wp--preset--color--contrast);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    font-size: var(--wp--preset--font-size--small);
    max-width: 930px;
}

.search-form .wp-block-search__inside-wrapper {
    justify-content: center;
}

.schbag-404-wrapper button.wp-block-search__button,
.schbag-search-result-form button.wp-block-search__button {
    display: none;
}

/*.schbag-404-wrapper .wp-block-search__input,
.schbag-search-result-form .wp-block-search__input {
    padding: 10px 20px;
    border: 1px solid var(--wp--preset--color--complementary);
    font-size: var(--wp--preset--font-size--normal);
    max-width: 450px;
}*/

#schbag-edm-modal {
    padding: 40px;
    background-color: var(--wp--preset--color--secondary);
}

#schbag-edm-modal.modal {
    max-width: 1000px;
}

#schbag-edm-modal .inputbox {
    min-width: 150px;
}

.edm-subscribe .wp-block-button__link {
    margin-left: 15px;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.modal .close-modal {
    margin-block-start: 0;
}

/*.search-form .search-button {
    padding: 5px 10px;
    border-radius: 0;
}

.search-close {
    margin: 2px 0 0 8px;
    padding: 0;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    background-color: transparent;
}*/

/* Search Results Page
--------------------------------------------- */

.schbag-search-result-pg {
    padding: 20px 30px;
}

nav.wp-block-query-pagination {
    margin-top: 30px;
    margin-bottom: 40px;
}

nav.wp-block-query-pagination a {
    font-weight: 600;
    color: var(--wp--preset--color--primary);
}

nav .wp-block-query-pagination-numbers .page-numbers {
    margin-right: 10px;
}

.schbag-search-result-list .wp-block-post-featured-image img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.schbag-search-result-list .schbag-post-terms {
    margin-block-start: 0 !important;
}

.schbag-search-result-form .wp-block-search__label {
    font-weight: 600;
    font-size: var(--wp--preset--font-size--large);
    color: var(--wp--preset--color--primary);
}

.schbag-search-result-form .wp-block-search__inside-wrapper {
    margin-top: 5px;
}

.schbag-404-wrapper .wp-block-search__button,
.schbag-search-result-form .wp-block-search__button {
    margin-left: -10px;
}


/* Featured Stories
--------------------------------------------- */
.schbag-home {
    margin-block-start: 20px !important;
}

.schbag-home-featured {
    padding-top: 0;
    padding-bottom: 40px;
}

.schbag-home-featured .schbag-post-terms {
    margin-block-start: 0px !important;
    column-gap: 4px;
}

.schbag-home-featured h2 {
    margin: 6px 0;
    font-size: clamp(25px, 3vw, 32px);
}

.schbag-home-featured figure {
    margin-bottom: 0;
}

.schbag-archive-featured .wp-block-image a,
/*.schbag-home-featured .wp-block-post-featured-image a,*/
.schbag-home-featured .wp-block-image a,
.schbag-post-related-articles .wp-block-post-featured-image a {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

/* Enlarge featured image on hover */
/*.schbag-home-featured .wp-block-post-template .wp-block-post:hover .wp-block-post-featured-image img,*/
.schbag-home-featured .schbag-home-featured-col-1:hover .wp-block-image img,
.schbag-home-featured .schbag-home-featured-col-2-flex-sub-1:hover .wp-block-image img,
.schbag-home-featured .schbag-home-featured-col-2-flex-sub-2:hover .wp-block-image img,
.schbag-post-related-articles .wp-block-post:hover .wp-block-post-featured-image img,
.schbag-archive-featured .wp-block-columns:hover .wp-block-image img {
    transform: scale(1.05);
}

/*.schbag-home-featured .wp-block-post-template .wp-block-post .wp-block-post-featured-image img,*/
.schbag-home-featured .schbag-home-featured-col-1 .wp-block-image img,
.schbag-home-featured .schbag-home-featured-col-2-flex-sub-1 .wp-block-image img,
.schbag-home-featured .schbag-home-featured-col-2-flex-sub-2 .wp-block-image img,
.schbag-post-related-articles .wp-block-post .wp-block-post-featured-image img,
.schbag-archive-featured .wp-block-columns .wp-block-image img {
    transition: all ease 0.5s;
}

.schbag-home-featured-col-1 {
    flex-basis: 70% !important;
}

/*.schbag-home-featured-footer {
    margin-block-start: 20px !important;
    width: 100%;
    height: 140px;
    background: url("/wp-content/themes/schbag/assets/images/mask_tape.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}*/

.schbag-home-featured-col-2 {
    flex-basis: 30% !important;
}

.schbag-home-section,
.schbag-home-section a {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    font-size: 25px;
    color: var(--wp--preset--color--primary);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.section-hr {
    margin-block-start: 0 !important;
    max-width: 1400px !important;
    color: var(--wp--preset--color--neutral-2);
}

/* AddtoAny widget */
/*.a2a_floating_style {
    position: fixed;
    top: 170px;
    background-color: transparent !important;
    border-radius: 0 !important;
}*/
#schbag-addtoany-modal {
    margin-block-start: 0 !important;
}

.a2a_kit {
    display: flex;
    justify-content: space-evenly;
    padding: 3px 0 10px;
}


/* Post Terms (Tags)
--------------------------------------------- */

/* Hide 2nd tags onwards */
/*.schbag-post-terms a:nth-of-type(1n+2),
.schbag-post-terms span:nth-of-type(1n+2) {
    display: none;
}*/

.schbag-post-terms {
    margin-block-start: 8px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    /* Add padding to prevent descenders of letters from being cropped out when using -webkit-line-clamp */
    padding-bottom: 0.14em;
    white-space: nowrap;
    /* Change text to white to hide ellipsis */
    color: #fff;

}

.schbag-post-terms a {
    /* color: var(--wp--preset--color--primary); */
		color:#294B8F;
    margin-right: 4px;
    display:inline-block;
    line-height:normal;
    margin:3px;
}

.schbag-home-latest .schbag-post-terms a {
    color: var(--wp--preset--color--base);
    background: none;
    border: 1px solid var(--wp--preset--color--base);
}


/* Post Categories
--------------------------------------------- */
.schbag-post-categories {
    margin-block-start: 15px !important;
    padding: 8px 10px;
    background-color: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--display);
    border-radius: 10px;
    text-align: center;
    font-size: var(--wp--preset--font-size--medium);
}

.schbag-post-categories p a {
    color: var(--wp--preset--color--base);
    letter-spacing: 0.3px;
}


/* Common properties
--------------------------------------------- */
.schbag-home h2.schbag-post-title {
    margin: 5px 0 15px 0;
    line-height: 1.2;
}

.schbag-home h3.schbag-post-title {
    margin: 6px 0 10px 0;
    line-height: 1.2;
}

.schbag-home h4.schbag-post-title {
    margin: 6px 0 10px 0;
    line-height: 1.2;
}

.schbag-home .schbag-post-title>a,
.schbag-home .schbag-post-excerpt,
.schbag-archive-section .schbag-post-title>a,
.schbag-archive .schbag-post-excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    /* Add padding to prevent descenders of letters from being cropped out when using -webkit-line-clamp */
    padding-bottom: 0.14em;
}

.schbag-home .schbag-post-excerpt {
    margin: 0 0 10px 0;
    font-size: var(--wp--preset--font-size--normal);
}

.schbag-404-wrapper,
.schbag-home-tag-list,
.schbag-home-tiles,
.schbag-home-latest,
.schbag-home-perspectives,
.schbag-home-videos,
.schbag-home-edm-bnr,
.schbag-home-edm-bnr2,
.schbag-home-edm-bnr3,
.schbag-archive-section {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 40px;
}

.schbag-home-banner {
    padding-bottom: 40px;
}

.schbag-404-wrapper {
    padding-bottom: 140px;
}

.schbag-home-category {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 500;
}

.schbag-post-date {
    font-size: 14px;
}

p.schbag-post-date {
    margin-top: 0;
}

.wp-block-post-template .wp-block-post:not(:last-of-type) {
    margin-bottom: 0;
}

.center {
    margin: 0 auto;
    text-align: center;
}

/*.schbag-home-edm-wrapper::before,
.schbag-home-edm-wrapper2::before,
.schbag-home-edm-wrapper::after,
.schbag-home-edm-wrapper2::after,
.schbag-archive-educator-voices::after,
.schbag-home-videos::before,
.schbag-home-latest::before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
}*/


/* Notification bar */
.schbag-notification-bar {
    margin-block-start: 0 !important;
    background-color: #fec900;
}

.schbag-notification-bar p {
    font-weight: 600;
    padding: 6px 0;
}

.schbag-pbtm-0 {
    padding-bottom: 0 !important;
}


/* Tag List
--------------------------------------------- */
.schbag-home-tag-list {
    padding-bottom: 70px;
}

.schbag-home-tag-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.schbag-home-tag-list-tags a {
    color: var(--wp--preset--color--contrast) !important;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: 600;
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--primary);
    margin-right: 10px;
    text-transform: none;
    line-height: 3;
    white-space: nowrap;
    border-radius: 15px;
    padding: 3px 7px;
    letter-spacing: 0.3px;
    text-transform:capitalize;
}


/* Latest Stories
--------------------------------------------- */
.schbag-home-latest {
    position: relative;
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--primary);
}

.schbag-home-latest .schbag-post-terms {
    margin-block-start: -15px !important;
    color: var(--wp--preset--color--primary);
    line-height: 3;
    padding:5px 0px
}

.schbag-home-latest h3.schbag-post-title {
    margin-bottom: 0;
}

.schbag-home-latest h4.schbag-post-title {
    margin-bottom: 0;
}

.schbag-home-latest .wp-block-post-template.is-flex-container {
    flex-wrap: nowrap;
    /* gap between slides is set by Swiper JS */
    gap: 0;
}

.schbag-home-latest .schbag-home-section {
    color: var(--wp--preset--color--base);
}

.schbag-home-featured img,
.schbag-home-latest img,
.schbag-home-featured-col-2 img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    margin-block-start: 0 !important;
    color: var(--wp--preset--color--base);
}

.schbag-archive-category-list .swiper-button-prev,
.schbag-archive-category-list .swiper-button-next {
    color: var(--wp--preset--color--primary);
    top: 38%;
}

.schbag-archive-category-list figure.wp-block-image {
    margin-bottom:0px;
}

/* Perspectives
--------------------------------------------- */
.schbag-home-perspectives {
    background-color: var(--wp--preset--color--base);
    padding-bottom: 0;
}

.schbag-home-perspectives .wp-block-button {
    margin-bottom: 40px !important;
}

/*.schbag-home-perspectives-footer {
    margin-block-start: -70px !important;
    width: 100%;
    height: 140px;
    background-image: url("/wp-content/themes/schbag/assets/images/slide_compass.png");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: contain;
}*/

.top-header .wp-element-button,
.schbag-archive-header .wp-element-button {
    margin-top: 0;
}

.top-header .wp-element-button {
    white-space: nowrap;
}

.schbag-home-perspectives .wp-post-image {
    margin-bottom: 0 !important;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.is-style-outline.wp-block-button .wp-block-button__link {
	border-color: var(--wp--preset--color--complementary);;
	color: var(--wp--preset--color--contrast);
}

.is-style-outline.is-style-outline.wp-block-button .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--complementary);
    color: var(--wp--preset--color--base);
}

/*.schbag-home-edm-bnr .wp-element-button {
    background-color: var(--wp--preset--color--contrast);
}*/


/* Schoolbag Home Tiles
--------------------------------------------- */
.schbag-home-tiles-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.schbag-home-tiles h3 {
    margin-block-start: -15px !important;
    margin-block-end: 15px !important;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--medium);
}


/* Videos Section on Homepage
--------------------------------------------- */
.schbag-home-videos {
    position: relative;
}

.schbag-home-videos h3 {
    margin-block-start: 10px;
}

.schbag-home-videos iframe {
    width: 100% !important;
    height: 100% !important;
    /* aspect ratio for Youtube videos */
    aspect-ratio: 16/9;
}

.schbag-archive h2.schbag-post-title {
    margin: 0;
}

.schbag-archive h2 {
    margin-block-start: 15px !important;
}

.schbag-home-videos h4.wp-block-heading {
    margin: 0;
    line-height: 1.2;
    font-size: smaller;
}

.schbag-home-videos-thm-cols {
    margin-block-start: 0 !important;
    margin-block-end: 17px !important;
}

.schbag-home-videos-thm-col-2 img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.schbag-post-related-articles .wp-block-post-featured-image img {
    aspect-ratio: 3/2;
    object-fit: cover;
}


/* Post Content
--------------------------------------------- */
/*.schbag-post-body>.wp-block-post-content>p:first-of-type:first-child:first-letter {
    initial-letter: 2;
    -webkit-initial-letter: 2;
    font-family: var(--wp--preset--font-family--display);
    padding-right: 4px;
}*/

.wp-block-post-content p img,
.wp-block-media-text__media img,
.wp-block-post-featured-image img {
    max-width: 100%;
    height: auto;
}

.site-content {
    margin-block-start: 0 !important;
}

/*.schbag-post-body .wp-block-post-terms a {
    font-size: var(--wp--preset--font-size--xx-small);
    color: var(--wp--preset--color--base);
    border-radius: 20px;
    background-color: var(--wp--preset--color--complementary);
    padding: 5px 10px;
    margin-right: 3px;
    line-height: 2.6;
    white-space: nowrap;
}*/

.schbag-archive-header {
    position: relative;
    padding-top: 10px;
    padding-bottom: 30px;
}

.schbag-post-header {
    position: relative;
    padding-top: 30px;
    padding-bottom: 60px;
}

.schbag-post-header2 {
    position: relative;
    margin-block-start: 0 !important;
    padding-top: 30px;
    padding-bottom: 0;
}

.schbag-post-header2 h1 {
    color: var(--wp--preset--color--primary);
    padding-left: 30px;
    padding-right: 30px;
}

.schbag-post-body .wp-block-pullquote:not(.alignleft),
.schbag-post-body .wp-block-pullquote:not(.alignright) {
    margin-block-start: 0;
}

.schbag-post-body .wp-block-pullquote:not(.alignleft):not(.alignright) blockquote {
    margin-bottom: 0;
}

.schbag-post-body .wp-block-pullquote.alignleft,
.schbag-post-body .wp-block-pullquote.alignright {
    margin-block-start: 40px;
    border-top: 10px solid var(--wp--preset--color--primary);
    padding: 0;
}

.schbag-post-body .wp-block-pullquote cite {
    font-size: var(--wp--preset--font-size--large);
}

.schbag-post-body .wp-block-pullquote p:last-of-type {
    margin-block-end: 10px;
}

/*.schbag-post-body .wp-block-media-text h2,
.schbag-post-body .wp-block-media-text h3 {
    line-height: 1.5;
}

.schbag-callout-box {
    border: 2px solid #666;
}

.schbag-callout-box img {
    border-radius: 0;
}*/

.schbag-post-header .schbag-post-meta,
.schbag-post-header2 .wp-block-post-date {
    font-size: var(--wp--preset--font-size--x-small);
}

.schbag-post-header .schbag-post-meta {
    font-style: italic;
}

.schbag-post-header a.wp-block-post-author-name__link::before {
    content: 'Story by ';
    font-weight: normal;
    text-transform: none;
}

.schbag-post-header2 a.wp-block-post-author-name__link {
    font-style: italic;
    font-size: var(--wp--preset--font-size--x-small);
}

.schbag-post-header2 a.wp-block-post-author-name__link::before {
    content: 'By ';
    font-weight: normal;
    text-transform: none;
    color: var(--wp--preset--color--contrast);
}

.schbag-post-header2 .wp-block-post-featured-image img {
    object-fit: cover;
    aspect-ratio: 2/1;
}

.schbag-post-header a {
    color: var(--wp--preset--color--base);
    font-weight: 600;
    text-transform: capitalize;
    margin-right: 30px;
}
.schbag-post-header .wp-block-post-author a {
    margin-right: 5px;
}

.schbag-post-body a {
    color: var(--wp--preset--color--primary);
}

.site-content .taxonomy-category {
    color: var(--wp--preset--color--complementary);
}

.schbag-post-header .wp-block-post-title,
.schbag-post-header2 .wp-block-post-title {
    /*margin-block-start: 15px !important;*/
    font-size: var(--wp--preset--font-size--max-48);
    font-weight: 700;
}

.schbag-post-header .wp-block-post-excerpt {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--regular);
}

.schbag-post-header2 .wp-block-post-excerpt {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--bold);
}

.schbag-post-photo-caption,
.schbag-post-body img+em {
    margin-block-start: 10px !important;
    margin-block-end: 0 !important;
    font-size: var(--wp--preset--font-size--x-small);
    color: #636381;
    text-align: left;
    line-height: 1.2;
}


.schbag-post-header .wp-block-post-featured-image+.schbag-post-photo-caption {
    margin-top: 5px;
    color: var(--wp--preset--color--base);
}

.schbag-post-header2 .wp-block-post-featured-image+.schbag-post-photo-caption {
    margin-top: 5px;
    color: var(--wp--preset--color--neutral-2);
}

.schbag-post-body {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding-bottom: 50px;
}

/*.schbag-post-body h2,
.schbag-post-body h3 {
    font-family: var(--wp--preset--font-family--display);
}*/

.schbag-post-body hr {
    border: 1px solid var(--wp--preset--color--primary);
}

.schbag-post-body .hr2 {
    border: 0.5px solid var(--wp--preset--color--neutral-2);
    max-width: 740px;
}

.schbag-post-body .wp-block-media-text__content>p:first-of-type {
    margin-block-start: 0;
}

.schbag-post-related-articles a {
    color: var(--wp--preset--color--contrast);
    font-weight:bold;
}

.schbag-post-related-articles-title {
    font-size: var(--wp--preset--font-size--medium);
    color: var(--wp--preset--color--primary);
    text-transform: uppercase;
}

.schbag-post-related-articles .wp-block-post-title {
    margin-block-start: -15px !important;
    font-weight: normal;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.2;
}



/* EDM Banner
--------------------------------------------- */
.schbag-home-edm-bnr,
.schbag-home-edm-bnr2,
.schbag-archive-category-list {
    position: relative;
    background-color: var(--wp--preset--color--secondary);
}

.schbag-home-edm-bnr3 {
    position: relative;
    background-color: #a7cec8;
}

.schbag-home-edm-bnr h3,
.schbag-home-edm-bnr2 h3,
.schbag-home-edm-bnr3 h3 {
    font-family: var(--wp--preset--font-family--display);
    color: var(--wp--preset--color--primary);
}

.schbag-home-edm-bnr3 h3 {
		color:var(--wp--preset--color--contrast);
}

.schbag-home-edm-bnr p:first-of-type,
.schbag-home-edm-bnr3 p:first-of-type {
    margin-block-start: 10px !important;
}

/*.schbag-home-edm-wrapper2::after {
    background-image: url("/wp-content/themes/schbag/assets/images/mask_tape.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: 1;
}

.schbag-home-edm-wrapper::after {
    background-image: url("/wp-content/themes/schbag/assets/images/pencil_peep.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: 1;
}*/

.schbag-home-edm-bnr h2,
.schbag-home-edm-bnr2 h2 {
    font-family: var(--wp--preset--font-family--display);
    font-size: var(--wp--preset--font-size--max-36);
}

.fa-external-link {
    color: #fff;
}

/* Newsletter Email Address Field
--------------------------------------------- */

.newsletter_form {
    display: flex;
    flex-direction: row;
    margin-block-start: 0 !important;
    padding: 0;
}

.schbag-home-edm-bnr2 p:first-of-type {
    margin-block-start: 10px !important;
    margin-block-end: 20px !important;
}

.schbag-home-edm-bnr2 .inputbox {
    flex-grow: 2;
    border: none;
    font-size: var(--wp--preset--font-size--x-small);
    border: 1px solid var(--wp--preset--color--complementary);
    min-width: 250px;
    max-width: 450px;
}

.schbag-home-edm-bnr2 input:focus {
    outline: none;
}

.schbag-search-result-form .wp-block-search__button,
.schbag-404-wrapper .wp-block-search__button,
.search-form .search-button,
.schbag-home-edm-bnr2 button {
    border: 0;
    /* color: var(--wp--preset--color--base); */
    background: var(--wp--preset--color--complementary);
		color: var(--wp--preset--color--black);		
    font-size: var(--wp--preset--font-size--x-small);
    font-family: var(--wp--preset--font-family--display);
    font-weight: 600;
    cursor: pointer;
}

.success_message {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
}

.error_message {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    color: var(--wp--preset--color--complementary);
    font-size: var(--wp--preset--font-size--x-small);
}


/* Archive
--------------------------------------------- */
.schbag-archive {
    margin-block-start: 0 !important;
}

.schbag-archive-header,
.schbag-archive-header a {
    color: var(--wp--preset--color--base);
}

.schbag-archive-header .featured-label {
    text-transform: uppercase;
    font-family: var(--wp--preset--font-family--display);
    font-size: var(--wp--preset--font-size--xx-small);
    font-weight: 700;
    line-height: 1;
}

.schbag-archive-header .wp-block-post-date {
    font-size: var(--wp--preset--font-size--xx-small);
    margin-bottom: 30px;
}

.schbag-archive-section h3.schbag-post-title {
    margin: 6px 0 4px 0;
    line-height: 1.2;
}

.schbag-archive-section h4.schbag-post-title {
    margin: 6px 0 4px 0;
    line-height: 1.2;
}

.schbag-search-result-list .wp-block-post-date,
.schbag-archive-section .wp-block-post-date {
    font-size: var(--wp--preset--font-size--xx-small);
    color: var(--wp--preset--color--neutral-3);
    margin-block-start: 0;
}

/*.schbag-archive-section h3 {
    margin-block-start: 15px !important;
}*/

.schbag-home-tag-list-tags>p,
.schbag-archive-header .schbag-post-terms>p {
    display: inline;
}

.schbag-archive-header .schbag-post-terms a {
    color: var(--wp--preset--color--base);
    background: none;
    border: 1px solid var(--wp--preset--color--base);
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    font-size: var(--wp--preset--font-size--xxx-small);
    border-radius: 15px;
    padding: 3px 7px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.schbag-archive-featured>div.wp-block-columns {
    column-gap: 40px;
}

.schbag-archive-featured h1 {
    display: inline-block;
    font-family: var(--wp--preset--font-family--primary);
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--wp--preset--color--base);
    padding: 8px 0;
}

.schbag-archive-featured img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.schbag-archive-featured.has-global-padding .alignwide {
    margin-right: var(--wp--style--root--padding-right) !important;
    margin-left: var(--wp--style--root--padding-left) !important;
}

.schbag-archive-featured .wp-block-post-title {
    margin-block-start: 15px !important;
    font-size: clamp(26px, 4vw, 32px);
}

.schbag-archive-featured .schbag-post-terms {
    line-height: 3;
    padding: 5px 0px;
}


/*.schbag-archive-section-title {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0.3px;
}

.schbag-archive-parent-voices img,
.schbag-archive-educator-voices img {
    aspect-ratio: 4/3;
    object-fit: cover;
}*/

/*.schbag-archive-parent-voices-cols-col-1 img,*/
.schbag-archive-section img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.schbag-archive-category-wrapper {
    color: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--display);
    font-size: var(--wp--preset--font-size--xx-small);
    cursor: pointer;
}

.schbag-archive-category-wrapper .switch-tag {
    border: 2px solid var(--wp--preset--color--secondary);
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.schbag-archive-category-wrapper .switch-tag .fas {
    font-size: 36px;
}

.schbag-archive-category-wrapper .switch-tag-active {
    /*border: 2px solid var(--wp--preset--color--primary);
    border-radius: 4px;
    color: var(--wp--preset--color--complementary); */
		color: var(--wp--preset--color--active-tab);
		
    padding: 10px;
    font-weight: bold;
}

.schbag-archive-category-wrapper .switch-tag:hover {
  /*  color: var(--wp--preset--color--complementary); */
	color: var(--wp--preset--color--active-tab);
}

.schbag-archive-category-list {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    /*padding: 10px 0;*/
}

.schbag-archive-category-list .wp-block-columns.is-layout-flex {
    gap: 0 !important;
}

.schbag-archive-category-list img {
    width: 60px;
    height: 48px;
    cursor: pointer;
}

.schbag-archive-category-list p {
    margin-block-start: 5px !important;
    cursor: pointer;
    line-height: 1.1;
}

/*.schbag-archive-educator-voices {
    position: relative;
    background-color: #e5e5e5;
}

.schbag-archive-educator-voices .schbag-post-terms a {
    color: var(--wp--preset--color--complementary);
}

.schbag-post-loop-list .wp-block-post-template.is-flex-container {
    row-gap: 0.3em;
}*/

/*.schbag-archive .schbag-archive-parent-voices-cols-col-1 .schbag-post-title>a,
.schbag-archive .schbag-post-loop-list .schbag-post-title>a {
    -webkit-line-clamp: 5;
}

.schbag-archive .schbag-post-excerpt {
    margin-top: 15px;
    margin-bottom: 0;
}

.schbag-archive .schbag-post-terms {
    margin-block-start: 0 !important;
    margin-top: 0;
    margin-bottom: 10px;
}*/


/* Tag Page */
.schbag-tag {
    margin-bottom: 50px;
}

.schbag-tag .wp-block-query-title {
    font-family: var(--wp--preset--font-family--display);
    color: var(--wp--preset--color--primary);
    text-transform:capitalize;
}


/* WP Emoji CSS Generated by WordPress
--------------------------------------------- */
img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}


/* Footer
--------------------------------------------- */
/*footer {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 40px 0 60px 0;
    background-color: var(--wp--preset--color--tertiary);
    color: var(--wp--preset--color--base);
}

footer a {
    color: var(--wp--preset--color--base);
}*/

footer {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 40px 0 60px 0;
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--xxx-small);
}

footer a,
.schbag-top {
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--xx-small);
}

.schbag-top {
    margin-top: 25px !important;
    cursor: pointer;
}

footer .title {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    letter-spacing: 0.5;
    text-transform: uppercase;
}

footer p.slogan {
    margin-top: 15px;
    font-weight: 600;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.3;
}

.footer-links-col-wide {
    flex-basis: 40% !important;
}

.footer-links-col-narrow {
    flex-basis: 20% !important;
}

.footer-links-col {
    padding: 20px 20px 0 20px;
}

.footer-links-col .title {
    padding-bottom: 5px;
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: 700;
}

.footer-links-col p {
    line-height: 1.2;
    margin-top: 10px;
}

.footer-copyright {
    margin: 50px 0 30px 0;
    text-align: center;
}

.footer-copyright p {
    font-size: var(--wp--preset--font-size--xx-small);
    text-align: center;
    margin-top: 0;
}

.footer-hr {
    max-width: 100% !important;
    color: var(--wp--preset--color--neutral-2);
}

.footer-social-media {
    margin-top: 10px !important;
}

.footer-social-media a {
    font-size: var(--wp--preset--font-size--small);
}

/* Social Media Icons
--------------------------------------------- */
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram {
    background-color: var(--wp--preset--color--contrast);
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter svg {
    display:none;
}
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter A {
    background:url('assets/images/X_icon_2.svg') center no-repeat;
    background-size:75% auto;
    width:1.5em;
    height:1.5em;
    border-radius:50%;
}

/* Interactive Stories */
.schbag-shadow-green {
    box-shadow: -10px 10px #00c0ab, -14px 14px #000;
    /* Since the shadow is on the left, offset the margin to position the shift */
    margin: 0 14px 14px 14px !important;
}

.schbag-shadow-green:hover {
    box-shadow: -10px 10px #fe6d5d, -14px 14px #000;
}

.schbag-vh-100 {
    min-height: 100vh;
}

.schbag-flex-center-horizontal-vertical {
    margin-block-start: 0 !important;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.is-style-outline.is-style-outline.schbag-black-outline-text {
    border: 1px solid var(--wp--preset--color--contrast) !important;
    color: var(--wp--preset--color--contrast) !important;
    border-radius: 5px !important;
}

/* Animation */
.animate__animated.animate__bounceInLeft,
.animate__animated.animate__bounceInRight {
    --animate-duration: 2s;
    --animate-delay: 2s;
    opacity: 1;
}

.animate__animated a img:hover {
    opacity: 0.7;
}

.animate__animated a:hover {
    color: var(--wp--preset--color--complementary);
    text-decoration: underline;
}


/* Media Queries
-------------------------------------------- */

@media only screen and (max-width: 480px) {
    .footer-copyright p a { line-height:200%; }
    
    .schbag-home-tiles .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
    }

    .top-nav-bar {
        column-gap: 20px !important;
    }

    .top-header-logo {
        width: 180px;
        height: auto;
    }

    /* Row gap between menu items in hamburger menu */
    .wp-block-navigation__responsive-container {
        row-gap: 25px;
    }

    /* Font size of menu items in hamburger menu */
    .wp-block-navigation .wp-block-button .wp-block-button__link,
    .wp-block-navigation a:where(:not(.wp-element-button)) {
        font-size: var(--wp--preset--font-size--small);
    }

    .schbag-notification-bar .fa-close {
        padding-right: 30px;
    }

    /*.schbag-home-edm-bnr {
        background-repeat: no-repeat;
    }*/

    /*.schbag-home-perspectives-footer,
    .schbag-home-edm-wrapper::after,
    .schbag-home-edm-wrapper2::after {
        background-image: none;
    }*/

}

@media only screen and (min-width: 481px) {

    .schbag-home-tiles .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 45% !important;
    }

}

@media only screen and (max-width: 600px) {

    /* Utility
    --------------------------------------------- */

    .is-style-hidden-mobile {
        display: none !important;
    }

    body .is-layout-constrained>.wp-block-pullquote.alignright {
        float: none;
        margin-inline-start: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (min-width: 782px) {

    .schbag-home-videos-col-1 {
        flex-basis: 60% !important;
    }

    .schbag-home-videos-col-2 {
        flex-basis: 40% !important;
    }

    .schbag-home-videos-thm-col-1 {
        flex-basis: 67% !important;
    }

    .schbag-home-videos-thm-col-2 {
        flex-basis: 33% !important;
    }

    /* Revert ul.is-layout-flow to block */
    .schbag-home-featured-col-2 .schbag-home-featured-col-2-flex,
    /*.schbag-home-featured-col-2 ul.is-layout-flow,*/
    .schbag-home-videos-col-2 .schbag-home-videos-col-2-wrapper {
        display: block !important;
    }

    .schbag-home-featured-col-2 .schbag-home-featured-col-2-flex-sub-2 {
        margin-block-start: 15px !important;
    }

    .schbag-home-videos-col-2 .schbag-home-videos-col-2-wrapper>div.wp-block-columns {
        margin-block-end: 0;
    }

    #schbag-edm-modal > .is-layout-flex {
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: self-end;
    }

}


@media only screen and (max-width: 781px) {

    /* Columns
    --------------------------------------------- */
    body .is-layout-flex {
        row-gap: 15px !important;
    }

    .is-style-columns-reverse {
        flex-direction: column-reverse !important;
    }

    .schbag-home-videos h4.wp-block-heading {
        margin-top: -5px;
    }

    .schbag-archive-category-list .wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
        flex-basis: fit-content !important;
    }

    .schbag-post-header2 {
        margin-block-start: 0 !important;
    }

    .schbag-post-header2 .wp-block-post-excerpt,
    .schbag-post-header2 .wp-block-post-author-name,
    .schbag-post-header2 .schbag-post-photo-caption {
        padding-left: 30px;
        padding-right: 30px;
    }

    /*.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column
    .site-footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 45% !important;
    }*/

    .site-footer .wp-block-columns.is-not-stacked-on-mobile {
        flex-wrap: wrap !important;
    }

    .site-footer .wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
        flex-basis: 45% !important;
    }

    .footer-copyright p {
        text-align: center;
    }

    .schbag-home-featured h2 {
        margin-bottom: 0;
    }

    .schbag-home-videos-col-2 {
        margin-top: 15px !important;
    }

    .schbag-home-videos-col-2 div.wp-block-columns:not(:last-of-type) {
        margin-bottom: 30px !important;
    }

    .schbag-home-edm-bnr3 .is-nowrap {
        flex-wrap: wrap !important;
    }

}

@media only screen and (min-width: 600px) {

    /* Navigation Link
    --------------------------------------------- */
    .wp-block-navigation-item.is-style-outline a {
        border: 1px solid currentColor;
        padding: 8px 15px;
    }

    /* Change navigation block breakpoint from 600px to 980px  */
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }

    .schbag-home-perspectives .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 30% !important;
    }

    /* Convert .is-layout-flow to flex */
    .schbag-home-featured-col-2 .schbag-home-featured-col-2-flex,
    .schbag-home-videos-col-2 .schbag-home-videos-col-2-wrapper {
        display: flex;
        flex-wrap: nowrap;
        align-items: baseline;
        gap: 1.2rem;
    }

    .schbag-home-videos-col-2 .schbag-home-videos-col-2-wrapper>div.wp-block-columns {
        margin-block-start: 0;
        flex-basis: 0;
        flex-grow: 1;
    }

}

@media only screen and (max-width: 599px) {

    .schbag-home-featured h2 {
        margin-bottom: 20px;
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        margin-top: 15px;
    }

    .schbag-home-videos h3.wp-block-heading {
        font-size: revert;
        text-align:center;
    }
    .schbag-home-videos h4.wp-block-heading {
        font-size: revert;
        text-align:center;
    }

    .schbag-home-videos .wp-block-image img {
        margin:0px auto;
        display:block;
    }
    
}

@media only screen and (max-width: 799px) {

    .schbag-archive-category-list {
        /* Add left & right padding to give space for swiper nav buttons */
        padding-left: 40px;
        padding-right: 40px;
    }
}

/*@media only screen and (max-width: 900px) {
    .a2a_floating_style.a2a_vertical_style {
        display: none;
    }
}*/

@media (min-width: 1100px) {

    /* Change navigation block breakpoint from 600px to 980px */
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
    }

}

@media (max-width: 1099px) {

    /* Move hamburger menu from below logo to beside logo
       and add bottom padding to logo */
    .top-header-wrapper {
        flex-direction: row !important;
        justify-content: space-between;
    }

    .top-header-wrapper.is-layout-flex {
        column-gap: 20px !important;
    }

    .top-header-logo {
        padding-bottom: 10px;
    }

    .edm-subscribe .wp-block-button__link {
        margin-left: 0;

    }
}

@media only screen and (min-width: 1600px) {

    /* Make Swiper navigation buttons bigger on wide screens */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 60px;
    }
}

#recaptcha > DIV { z-index:9999; }

.schbag-notification-bar A { text-decoration:underline; }

.mobile_ad_image { display:none; }
@media only screen and (max-width: 480px) {
    .mobile_ad_image { display:block; width:100%; }
    .desktop_ad_image { display:none; }
    
    body.home .schbag-home-featured .wp-block-heading > A { font-size:20px !important; }
    body.home .schbag-home-featured H3.wp-block-heading > A { font-size:16px !important; }
    body.home .schbag-home-featured H4.wp-block-heading > A { font-size:16px !important; }
}


body:not(.home) main .section-hr { max-width:1200px !important; }
@media only screen and (max-width: 1200px) {
    body:not(.home) main .section-hr { margin:0px 40px !important; }
}   


#youtube-video { position:relative; }
#youtube-video:after { content:''; padding-top:59.5%; display:block; }
#youtube-video IFRAME { position:absolute; width:100% !important; height:100% !important; top:0px; left:0px; object-fit:contain; }

.taxonomy-story-tag.schbag-home-tag-list-tags .wp-block-post-terms__separator { color:transparent; }


.schbag-subscribe {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    padding: 40px;
    position: relative;
}

.schbag-subscribe h1 {
    font-family: var(--wp--preset--font-family--primary);
    font-size: 40px;
    color:var(--wp--preset--color--primary);
}

.schbag-subscribe h2 {
    font-family: var(--wp--preset--font-family--display);
    font-size: var(--wp--preset--font-size--x-large);
}

.schbag-subscribe p:first-of-type {
    margin-block-start: 10px !important;
    margin-block-end: 20px !important;
}

.schbag-subscribe .inputbox {
    flex-grow: 2;
    border: none;
    font-size: var(--wp--preset--font-size--x-small);
    border: 1px solid var(--wp--preset--color--complementary);
    min-width: 250px;
    max-width: 450px;
}

.schbag-subscribe input:focus {
    outline: none;
}

.schbag-subscribe button {
    border: 0;
    color: var(--wp--preset--color--base);
    background: var(--wp--preset--color--complementary);
    font-size: var(--wp--preset--font-size--x-small);
    font-family: var(--wp--preset--font-family--display);
    font-weight: 600;
    cursor: pointer;
}

@media only screen and (max-width: 480px) {
    .schbag-subscribe .inputbox { 
        min-width:none;
    }
    
    body .schbag-subscribe .is-layout-constrained > .alignright {
        margin-left:0px;
        float:none;
    }
}
    
@media only screen and (max-width: 420px) {
    #schbag-edm-modal {
        padding:40px 20px;  
    }
}

.wp-block-post-content IMG { max-width:100%; }

.schbag-latest { margin-top:30px !important; }

.wp-block-post-template.is-flex-container { list-style:none; display:flex; flex-direction:row;  flex-wrap:wrap;  gap:1.25em; padding:0px; }
.wp-block-post-template.is-flex-container > li { margin:0px; }

@media only screen and (min-width: 600px) {
	.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li {
		width:calc(33.33333% - .83333em);
	}
}

#schbag-edm-modal > .wp-block-group > * { padding-left:var(--wp--style--root--padding-right); padding-right:var(--wp--style--root--padding-right); }

.wp-block-navigation__responsive-container.is-menu-open UL.wp-block-navigation__container P.link-search, .wp-block-navigation__responsive-container.is-menu-open UL.wp-block-navigation__container P.link-share { display:none !important; }

.schbag-home-featured-col-1 H3.wp-block-heading { margin-top:calc(var(--wp--custom--spacing--gap)/2); }
.schbag-home-featured-col-1 H4.wp-block-heading { margin-top:calc(var(--wp--custom--spacing--gap)/2); }

.schbag-osos-header .wp-block-post-excerpt { color: var(--wp--preset--color--contrast); }

.wog--tabbed-button { background-color: var(--wp--preset--color--primary); !important; }

.schbag-home-edm-bnr3 .wp-block-button .wp-block-button__link { 
	color: var(--wp--preset--color--black);
  background: var(--wp--preset--color--complementary);
}
.schbag-home-edm-bnr3 .wp-block-button .wp-block-button__link .fa-external-link {
	color: var(--wp--preset--color--black);
}

.schbag-home-tiles .wp-block-image img {
	aspect-ratio: 540 / 356;
	object-fit:cover;
}