/*
Theme Name: FSM News Center
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fsm-news-center
Tags: 
*/
:root {--bs-body-line-height: 1.5; --wp--style--global--content-size: 1140px !important;}
:root :where(h1.wp-block-post-title){text-decoration: none !important;}
header,footer {
background: var(--wp--preset--color--custom-fsm-primary);
color: var(--wp--preset--color--white);
}
header .header-content, footer #footer-site-links, footer #menu-footer-nu-links, body > .wp-site-blocks > .wp-block-group {
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
}
footer {font-size: .8em}
footer ul#footer-site-links {
	column-count: 2;
	line-height: 2em;
}
footer ul#menu-footer-nu-links li {
	display: inline-block;
	margin: .5em 1em .5em 0;
}
.breadcrumbs {color:var(--bs-gray-600);}
a:where(:not(.wp-element-button)){
text-decoration:underline;
}
a:where(:not(.wp-element-button)):hover{
background:var(--wp--preset--color--custom-hover);
text-decoration:underline dotted;
}
header .nu-logo a:hover {
background: none;
text-decoration: none;
}
header #global_links a,
.wp-block-site-title a {
text-decoration: none;
}
header #global_links a:hover,
.wp-block-site-title a:hover {
background: none;
text-decoration: underline;
}
ul.is-layout-grid li.wp-block-post {
position: relative;
}
.taxonomy-category.wp-block-post-terms a {
background: var(--wp--preset--color--custom-fsm-primary);
color: #fff;
font-size: .8em;
letter-spacing: .3px;
padding: .3em;
text-decoration: none;
text-transform: uppercase;
top: 0;
z-index: 1;
}
ul.is-layout-grid .taxonomy-category.wp-block-post-terms a {
position: absolute;
}
.is-layout-flow > .wp-block-image.alignright {
	background: #efefef;
	display: flex;
	margin-left 1em;
	align-items: center;
	flex-direction: column;
	padding-top: 0.5em;
}
.is-layout-flow > .wp-block-image.alignright + p:first-of-type{
  margin-block-start: 0 
}
.wp-block-button .wp-block-button__link:hover,
.taxonomy-category.wp-block-post-terms a:hover {
text-decoration: underline;
}
.wp-block-post-terms.taxonomy-post_tag a{
  padding: 2px 7px;
  border: 1px solid;
  display: inline-block;
}
.taxonomy-category.wp-block-post-terms :not(:first-child) {display: none;}
.wp-block-image :where(figcaption) {
  background: #efefef;
  font-size: .8em;
  font-style: italic;
  margin: 0;
  padding: .5em;
}
.wp-block-image.w-100 img {
  width: 100%;
}
header .top-nav {
  position: absolute;
  top: 0;
  right: 0;
  padding: .3em 0;
  margin-top: 0;
}
header .wp-block-navigation a.wp-block-navigation-item__content {
padding: .6em;
}
header .wp-block-navigation a.wp-block-navigation-item__content:hover {
background:#fff;
color: var(--wp--preset--color--custom-fsm-primary);
}
.media-coverage-source {
font-style: italic;
}
.external-link.wp-block-post-title a:after {
  content: ' \F1C5';
  font-family: bootstrap-icons !important;
  font-size: .8em;
}
h1.wp-block-heading {padding-top: 1em}
h1.archive-heading {font-size: 1.2rem}
h2.wp-block-post-title, h3.wp-block-post-title {
  font-size: 1em;
}
.wp-block-post-content { font-size: 1.2rem; line-height: 1.8}
/* Pagination */
.wp-block-query-pagination-numbers .page-numbers {
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  padding: 0 .5em;
}
.wp-block-query-pagination-numbers .page-numbers.current{
  background: var(--wp--preset--color--custom-fsm-primary);
  border-color: var(--wp--preset--color--custom-fsm-primary);
  color: #fff;
}
.wp-block-buttons > .wp-block-button {
  font-size: .8em;
}
/* Simple Archives */
.sa-categories,
.sa-dates,
.sa-tags {
  display:block;
  float:left;
  clear:left;
  width:100%
}
.sa-dates h4 {
  line-height:1;
  clear:both;
  float:left;
  margin-right:10px
}
.sa-categories ul,
.sa-dates ul,
.sa-tags ul {
  float:left;
  width:85%;
  margin-bottom:20px;
  margin-left:15px;
  list-style:none
}
.sa-categories li,
.sa-dates li,
.sa-tags li {
  float:left
}
.sa-categories li a,
.sa-dates li a,
.sa-tags li a {
  display:block;
  margin:5px;
  padding:10px;
  background:#efefef;
  text-align:center
}
.sa-categories ul,
.sa-tags ul {
  margin-left:0;
  width:100%
}
.sa-categories li a,
.sa-tags li a {
  width:auto
}
#sidebar h2 {
	color: #737373;
	font-size: 1.25rem;
}
/* FSM Simple Tabs */
.tab-container .nav-pills .nav-link {
  color:#51406D;
  background:#e4e0ee;
  font-size:1em;
  margin:0 0.4em;
  transition:all .2s ease;
  border-radius:unset
}
.tab-container .nav-pills .nav-link.active,
.tab-container .nav-pills .nav-link:hover {
  color:#fff;
  background:#4e2a84;
  border-radius:0
}
.tab-container .nav-pills .show>.nav-link {
  color:#fff;
  background:#4e2a84;
  border-radius:0
}
.tab-container .tab-content {
  border-top:3px solid #4e2a84;
  padding:1em
}
@media (min-width:540px) {
	.is-layout-flow > .wp-block-image.alignright {
		float:right !important;
		display: table;
		margin-bottom: 1em;
		margin-left: 1em;
		padding-top: 0;
	}
}
@media (min-width:600px) {
	header .top-nav {
	  position: initial;
	  top: unset;
	  right: unset;
	  padding: unset;
	  margin-top: 1em;
	}
}
@media (min-width:768px) {
	footer ul#menu-footer-nu-links li:is(:last-of-type) {
		margin-right: 0;
	}
}
@media (min-width:782px) {
	#sidebar {
		border-left: 1px solid #f0f0f0;
		padding-left: 1em;
	}
}
@media (min-width:1200px) {
 .h1, h1 {
    font-size: 2.185rem;
  }
}
