/* ==================================================
   HIVBLOGGER.IE
   Ribbon Red, Deep Navy & Silver Identity
   Apostrophe 2
   ================================================== */


/* ==================================================
   BASE
   ================================================== */

body,
.site,
.site-content {
	background: #FFFFFF;
	color: #252525;
}


/* ==================================================
   SITE TITLE / BRANDING
   ================================================== */

.site-title,
.site-title a {
	color: #E30613 !important;
	font-weight: 600;
	letter-spacing: -.01em;
}

.site-title a:hover,
.site-title a:focus {
	color: #8C1622 !important;
}

.site-description {
	color: #102A43 !important;
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 1.35;
}


/* ==================================================
   HEADINGS
   ================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.entry-title a,
.wp-block-post-title,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 {
	color: #8C1622 !important;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.015em;
}


/* ==================================================
   H2 SECTION DIVIDERS
   Red rule + Navy accent
   ================================================== */

.entry-content h2,
.wp-block-post-content h2 {
	border-bottom: 3px solid #E30613;
	padding-bottom: .35em;
	margin-top: 1.8em;
	margin-bottom: .9em;
	position: relative;
}

.entry-content h2::after,
.wp-block-post-content h2::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: #102A43;
	position: absolute;
	bottom: -3px;
	left: 0;
}


/* ==================================================
   H3
   ================================================== */

.entry-content h3,
.wp-block-post-content h3 {
	color: #E30613 !important;
}


/* ==================================================
   H4
   ================================================== */

.entry-content h4,
.wp-block-post-content h4 {
	color: #102A43 !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .95em;
}


/* ==================================================
   LINKS
   ================================================== */

a {
	color: #C81924;
	text-decoration: none;
	transition: color .2s ease;
}

.entry-content a,
.wp-block-post-content a {
	color: #C81924;
}

.entry-content a:hover,
.entry-content a:focus,
.wp-block-post-content a:hover,
.wp-block-post-content a:focus {
	color: #102A43;
	text-decoration: underline;
}


/* ==================================================
   MAIN NAVIGATION
   ================================================== */

.main-navigation a,
.navigation-main a {
	color: #252525;
	font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a:focus,
.navigation-main a:hover,
.navigation-main a:focus {
	color: #E30613;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.navigation-main .current-menu-item > a {
	color: #8C1622;
}


/* ==================================================
   BUTTONS
   ================================================== */

.wp-block-button__link,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #E30613 !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 4px;
	font-weight: 600;
	letter-spacing: .02em;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #102A43 !important;
	color: #FFFFFF !important;
}


/* ==================================================
   BLOCKQUOTES
   ================================================== */

blockquote,
.wp-block-quote {
	border-left: 5px solid #E30613;
	padding: .8em 1em .8em 1.2em;
	margin-left: 0;
	color: #252525;
	font-style: italic;
	background: #F5F6F7;
}


/* ==================================================
   HORIZONTAL RULES
   ================================================== */

hr,
.wp-block-separator {
	border: none;
	border-top: 2px solid #C8CDD3;
	margin: 2em 0;
}


/* ==================================================
   POST METADATA
   Red + White + Navy
   ================================================== */

.entry-meta {
	background: #E30613 !important;
	color: #FFFFFF !important;
	border-bottom: 4px solid #102A43 !important;
}

.entry-meta,
.entry-meta a,
.entry-meta span,
.entry-meta time,
.entry-meta .posted-on,
.entry-meta .posted-on a,
.entry-meta .byline,
.entry-meta .byline a,
.entry-date,
.entry-date a,
.posted-on,
.posted-on a,
.byline,
.byline a {
	color: #FFFFFF !important;
}

.entry-meta a:hover,
.entry-meta a:focus,
.posted-on a:hover,
.posted-on a:focus,
.entry-date a:hover,
.entry-date a:focus,
.byline a:hover,
.byline a:focus {
	color: #FFFFFF !important;
	text-decoration: none !important;
}


/* ==================================================
   CATEGORY & TAG CHIPS

   Category = Navy / White / Red accent
   Tags     = Silver / Burgundy
   ================================================== */

.cat-links,
.tags-links,
.entry-footer .cat-links,
.entry-footer .tags-links {
	background: transparent !important;
	color: #252525 !important;
	border: 0 !important;
}


/* ---------- CATEGORY ---------- */

.cat-links a,
.entry-footer .cat-links a,
.entry-meta .cat-links a,
span.cat-links a {
	display: inline-block !important;

	background: #102A43 !important;
	background-color: #102A43 !important;
	color: #FFFFFF !important;

	padding: .45em .7em !important;
	margin: .15em .15em .15em 0 !important;

	border: 0 !important;
	border-bottom: 3px solid #E30613 !important;
	border-radius: 0 !important;

	font-weight: 600 !important;
	letter-spacing: .035em !important;
	text-decoration: none !important;
}

.cat-links a:hover,
.cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .cat-links a:focus,
span.cat-links a:hover,
span.cat-links a:focus {
	background: #E30613 !important;
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	text-decoration: none !important;
}


/* ---------- TAGS ---------- */

.tags-links a,
.entry-footer .tags-links a,
.entry-meta .tags-links a,
span.tags-links a {
	display: inline-block !important;

	background: #C8CDD3 !important;
	background-color: #C8CDD3 !important;
	color: #8C1622 !important;

	padding: .45em .7em !important;
	margin: .15em .15em .15em 0 !important;

	border: 0 !important;
	border-radius: 0 !important;

	font-weight: 600 !important;
	letter-spacing: .035em !important;
	text-decoration: none !important;
}

.tags-links a:hover,
.tags-links a:focus,
.entry-footer .tags-links a:hover,
.entry-footer .tags-links a:focus,
span.tags-links a:hover,
span.tags-links a:focus {
	background: #E30613 !important;
	background-color: #E30613 !important;
	color: #FFFFFF !important;
	text-decoration: none !important;
}


/* ---------- Taxonomy icons ---------- */

.cat-links:before,
.tags-links:before {
	color: inherit !important;
}


/* ==================================================
   WIDGETS
   ================================================== */

.widget-title,
.widget h2,
.widget h3 {
	color: #102A43 !important;
	border-bottom: 2px solid #E30613;
	padding-bottom: .3em;
	position: relative;
}

/* Navy accent to echo article section dividers */
.widget-title::after,
.widget h2::after,
.widget h3::after {
	content: "";
	display: block;
	width: 55px;
	height: 2px;
	background: #102A43;
	position: absolute;
	bottom: -2px;
	left: 0;
}

.widget a {
	color: #C81924;
}

.widget a:hover,
.widget a:focus {
	color: #102A43;
}


/* ==================================================
   REMOVE OLD RED SIDEBAR PANELS
   ================================================== */

.widget-area .widget,
#secondary .widget,
.sidebar .widget,
.widget,
.widget_text,
.widget_text .textwidget,
.widget_custom_html,
.widget_custom_html .custom-html-widget {
	background: transparent !important;
}

.widget-area .has-background,
#secondary .has-background,
.sidebar .has-background,
.widget .wp-block-group,
.widget .wp-block-group.has-background,
.widget .wp-block-media-text {
	background: transparent !important;
	background-color: transparent !important;
}

.widget-area,
#secondary,
.sidebar {
	background: #FFFFFF !important;
}


/* ==================================================
   SIDEBAR IMAGES
   ================================================== */

.widget_media_image,
.widget_media_image a,
.widget_media_image img,
.wp-block-image,
.wp-block-image a {
	background: transparent !important;
}


/* ==================================================
   FEATURED IMAGES
   ================================================== */

.post-thumbnail img,
.wp-post-image,
.entry-content img {
	border-radius: 0;
}


/* ==================================================
   RELATED POSTS
   ================================================== */

.related,
.related-posts {
	margin-top: 2.5em;
}

.related h2,
.related h3,
.related-posts h2,
.related-posts h3 {
	color: #102A43 !important;
}

.related a,
.related-posts a {
	color: #C81924 !important;
}

.related a:hover,
.related a:focus,
.related-posts a:hover,
.related-posts a:focus {
	color: #102A43 !important;
}


/* ==================================================
   PULL QUOTES
   ================================================== */

.wp-block-pullquote {
	border-top: 3px solid #E30613;
	border-bottom: 3px solid #E30613;
	background: #F5F6F7;
	padding: 2em 1.2em;
	margin: 2em 0;
}

.wp-block-pullquote blockquote {
	border-left: none;
	background: transparent;
	padding: 0;
	margin: 0;
}

.wp-block-pullquote p {
	color: #8C1622 !important;
	font-size: 1.5em;
	line-height: 1.45;
	font-style: normal;
}

.wp-block-pullquote cite,
.wp-block-pullquote .wp-block-pullquote__citation {
	color: #68727D !important;
	font-size: .9em;
	font-style: normal;
}


/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
	border-top: 4px solid #E30613;
	color: #252525;
}

.site-footer a {
	color: #C81924;
}

.site-footer a:hover,
.site-footer a:focus {
	color: #102A43;
}


/* ==================================================
   TABLES
   ================================================== */

table {
	border-color: #C8CDD3;
}

th {
	background: #102A43;
	color: #FFFFFF;
}

td {
	border-color: #C8CDD3;
}


/* ==================================================
   SELECTION
   ================================================== */

::selection {
	background: #E30613;
	color: #FFFFFF;
}


/* ==================================================
   FEATURED ARTICLE HEADLINES
   ================================================== */

.featured-content .entry-title,
.featured-content .entry-title a,
.featured-post .entry-title,
.featured-post .entry-title a {
	font-size: 1.3rem !important;
	line-height: 1.1 !important;
	font-weight: 600 !important;
}

.featured-content .entry-title,
.featured-post .entry-title {
	margin-top: .25em !important;
	margin-bottom: .25em !important;
}


/* ==================================================
   ACCESSIBILITY
   ================================================== */

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 {
	scroll-margin-top: 2rem;
}


/* ==================================================
   MOBILE
   ================================================== */

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

	.featured-content,
	.featured-post {
		display: none !important;
	}

	.entry-content h1,
	.wp-block-post-content h1 {
		font-size: 2rem;
	}

	.entry-content h2,
	.wp-block-post-content h2 {
		font-size: 1.7rem;
	}

	.entry-content h3,
	.wp-block-post-content h3 {
		font-size: 1.4rem;
	}

	/* Metadata */
	.entry-meta {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		padding: 0 !important;
		background: #E30613 !important;
		border-bottom: 4px solid #102A43 !important;
	}

	.entry-meta > span,
	.entry-meta > a,
	.entry-meta .posted-on,
	.entry-meta .byline {
		padding: .42em .7em !important;
		margin: 0 !important;

		background: transparent !important;
		border: 0 !important;

		color: #FFFFFF !important;
		font-size: .78rem !important;
		line-height: 1.15 !important;
		letter-spacing: .035em;
	}

	.entry-meta .byline {
		border-left: 1px solid rgba(255,255,255,.35) !important;
	}

	/* Related post titles */
	.related .entry-title,
	.related .entry-title a,
	.related-posts .entry-title,
	.related-posts .entry-title a {
		font-size: 1rem !important;
		line-height: 1.25 !important;
		font-weight: 500 !important;
	}

	/* Related metadata */
	.related .entry-meta,
	.related-posts .entry-meta {
		background: transparent !important;
		border: 0 !important;
		color: #888888 !important;
		padding: 0 !important;
		display: block !important;
	}

	.related .entry-meta *,
	.related-posts .entry-meta * {
		color: #888888 !important;
		background: transparent !important;
		border: 0 !important;
		padding: 0 !important;
	}

	.cat-links a,
	.tags-links a {
		font-size: .84rem !important;
		padding: .4em .65em !important;
	}
}


/* ==================================================
   FORCE HIVBLOGGER TAG COLOURS — APOSTROPHE 2
   Silver + Burgundy
   ================================================== */

a[rel="tag"],
.entry-footer a[rel="tag"],
.entry-meta a[rel="tag"],
.tags-links a,
.tag-links a,
.post-tags a,
.entry-tags a {
	background: #C8CDD3 !important;
	background-color: #C8CDD3 !important;
	background-image: none !important;

	color: #8C1622 !important;

	border: none !important;
	border-color: transparent !important;
	box-shadow: none !important;

	text-shadow: none !important;
	text-decoration: none !important;

	display: inline-block !important;
	padding: .45em .7em !important;
	margin: .15em .15em .15em 0 !important;

	font-weight: 600 !important;
	letter-spacing: .035em !important;
}

a[rel="tag"] *,
.tags-links a *,
.tag-links a *,
.post-tags a *,
.entry-tags a * {
	color: #8C1622 !important;
}

a[rel="tag"]:hover,
a[rel="tag"]:focus,
.entry-footer a[rel="tag"]:hover,
.entry-footer a[rel="tag"]:focus,
.tags-links a:hover,
.tags-links a:focus,
.tag-links a:hover,
.tag-links a:focus {
	background: #E30613 !important;
	background-color: #E30613 !important;
	color: #FFFFFF !important;
}

a[rel="tag"]:hover *,
a[rel="tag"]:focus *,
.tags-links a:hover *,
.tags-links a:focus * {
	color: #FFFFFF !important;
}


/* ==================================================
   HOMEPAGE / ARCHIVE DATE LABELS
   ================================================== */

.home .entry-meta,
.blog .entry-meta,
.archive .entry-meta,
.featured-content .entry-meta,
.featured-post .entry-meta,
.hentry .entry-meta,
.home .posted-on,
.blog .posted-on,
.archive .posted-on,
.featured-content .posted-on,
.featured-post .posted-on {
	background: #E30613 !important;
	background-color: #E30613 !important;
	background-image: none !important;

	color: #FFFFFF !important;

	border-bottom: 4px solid #102A43 !important;
}

.home .entry-meta *,
.blog .entry-meta *,
.archive .entry-meta *,
.featured-content .entry-meta *,
.featured-post .entry-meta *,
.home .posted-on *,
.blog .posted-on *,
.archive .posted-on * {
	color: #FFFFFF !important;
	background: transparent !important;
}

.home .entry-meta a:hover,
.home .entry-meta a:focus,
.blog .entry-meta a:hover,
.blog .entry-meta a:focus,
.archive .entry-meta a:hover,
.archive .entry-meta a:focus,
.featured-content .entry-meta a:hover,
.featured-content .entry-meta a:focus {
	color: #FFFFFF !important;
}


/* ==================================================
   REMOVE DOUBLE NAVY DATE HIGHLIGHT
   ================================================== */

.home .entry-meta,
.blog .entry-meta,
.archive .entry-meta,
.featured-content .entry-meta,
.featured-post .entry-meta {
	border-bottom: 4px solid #102A43 !important;
}

.home .entry-meta .posted-on,
.home .entry-meta .entry-date,
.home .entry-meta time,
.home .entry-meta a,
.blog .entry-meta .posted-on,
.blog .entry-meta .entry-date,
.blog .entry-meta time,
.blog .entry-meta a,
.archive .entry-meta .posted-on,
.archive .entry-meta .entry-date,
.archive .entry-meta time,
.archive .entry-meta a,
.featured-content .entry-meta .posted-on,
.featured-content .entry-meta .entry-date,
.featured-content .entry-meta time,
.featured-content .entry-meta a,
.featured-post .entry-meta .posted-on,
.featured-post .entry-meta .entry-date,
.featured-post .entry-meta time,
.featured-post .entry-meta a {
	border-bottom: 0 !important;
	box-shadow: none !important;
}


/* ==================================================
   DESKTOP METADATA CELLS
   ================================================== */

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

	.entry-meta {
		background: #E30613 !important;
		background-color: #E30613 !important;
		border-bottom: 4px solid #102A43 !important;
		color: #FFFFFF !important;
	}

	.entry-meta > span,
	.entry-meta > a,
	.entry-meta .posted-on,
	.entry-meta .byline,
	.entry-meta .entry-date,
	.entry-meta time,
	.entry-meta .author,
	.entry-meta .url {
		background: transparent !important;
		background-color: transparent !important;
		background-image: none !important;

		color: #FFFFFF !important;

		border-bottom: 0 !important;
		box-shadow: none !important;
	}

	.entry-meta a,
	.entry-meta a:visited,
	.entry-meta a:hover,
	.entry-meta a:focus {
		background: transparent !important;
		background-color: transparent !important;
		color: #FFFFFF !important;
		text-decoration: none !important;
	}

	.entry-meta .byline {
		border-left: 1px solid rgba(255,255,255,.35) !important;
	}
}
/* ==================================================
   HIVBLOGGER — APOSTROPHE 2 TAXONOMY
   Categories on first row
   Tags on second row
   Consistent spacing at all widths
   ================================================== */

/* Stack the two lists vertically */
.entry-footer .apostrophe-2-tags {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	row-gap: .6rem !important;

	width: 100% !important;
	margin: .4em 0 .7em 0 !important;
	padding: 0 !important;
}


/* Both category and tag lists occupy their own row */
.entry-footer .apostrophe-2-tags > ul.post-categories,
.entry-footer .apostrophe-2-tags > ul.post-tags {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;

	width: 100% !important;

	/* THIS creates the space between the chips */
	column-gap: .45rem !important;
	row-gap: .35rem !important;

	margin: 0 !important;
	padding: 0 !important;

	float: none !important;
	clear: both !important;

	list-style: none !important;
}


/* Strip Apostrophe's spacing from the LI;
   flex gap above now controls spacing */
.entry-footer .apostrophe-2-tags > ul.post-categories > li,
.entry-footer .apostrophe-2-tags > ul.post-tags > li {
	display: block !important;
	float: none !important;

	margin: 0 !important;
	padding: 0 !important;

	list-style: none !important;
}


/* Category and tag chips */
.entry-footer .apostrophe-2-tags > ul.post-categories > li > a,
.entry-footer .apostrophe-2-tags > ul.post-tags > li > a {
	display: inline-flex !important;
	align-items: center !important;

	width: auto !important;

	margin: 0 !important;
	padding: .45em .7em !important;

	box-sizing: border-box !important;
	line-height: 1 !important;
}