/*!
Theme Name: BritBox Articles
Theme URI: http://britbox.com
GitHub Theme URI: britbox-tsk/britbox-articles
Primary Branch: main
Author: BritBox
Author URI: http://britbox.com
Description: Custom theme: BritBox Articles
Version: 1.8.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: britbox-custom
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

BritBox Custom is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/* BritBox brand tokens
--------------------------------------------- */
:root {
	--color-bg: #00182B; /* Windsor Shadow */
	--color-text: #F8F4EB; /* Earl Grey Mist */
	--color-primary: #A6E2F5; /* Brighton Breeze */
	--color-accent: #28CFFB; /* Jubilee Aqua */
	--color-link: #A6E2F5; /* Brighton Breeze */
	--color-link-hover: #28CFFB; /* Jubilee Aqua */
	--color-link-visited: #74B0C3;
	--color-cta: #E3294E; /* Crown Ruby */
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-editorial: 'orbital', Georgia, serif;
	--font-headline: 'mundial', 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-headline-weight: 600; /* Demi Bold */
	--border-subtle: rgba(248, 244, 235, 0.14);
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-headline);
	font-weight: var(--font-headline-weight);
	line-height: 1.15;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color-bg);
}

hr {
	background-color: var(--color-primary);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

li::marker {
  color: var(--color-primary);
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-accent);
}

a:visited {
	color: var(--color-primary);
}

a:hover,
a:focus,
a:active {
	color: var(--color-link-hover);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: var(--color-cta);
	border-radius: 3px;
	background: var(--color-cta);
	color: var(--color-text);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-bg);
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: var(--color-primary);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--color-text);
	background: transparent;
	border: 1px solid var(--color-primary);
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--color-text);
	border-color: var(--color-accent);
}

select {
	border: 1px solid var(--color-primary);
	background: transparent;
	color: var(--color-text);
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.primary-menu-panel {
	display: none;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.main-navigation.toggled .primary-menu-panel {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--color-bg);
	border-top: 1px solid var(--border-subtle);
	padding: 1em 1.5em 1.5em;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
	z-index: 50;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.primary-menu-panel {
		display: flex;
		align-items: center;
		flex: 1;
		gap: 2em;
		position: static;
		background: none;
		border: none;
		box-shadow: none;
		padding: 0;
	}

	.primary-menu-panel > ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	max-width: 1100px;
	margin: 0 auto 1.5em;
	padding-left: 1.5em;
	padding-right: 1.5em;
}

.site-main .post-navigation {
	margin-top: 4rem;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# BritBox content hub
--------------------------------------------------------------*/

/* Site header
--------------------------------------------- */
.site-header {
	border-bottom: 1px solid var(--border-subtle);
	position: sticky;
	top: 0;
	background: var(--color-bg);
	z-index: 10;
}

.site-header-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.25em 1.5em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2em;
}

@media screen and (min-width: 37.5em) {
	.site-header-inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
	}

	.site-branding {
		grid-column: 1;
		justify-self: start;
	}

	.main-navigation {
		grid-column: 2;
		justify-self: center;
	}
}

.site-logo-link {
	display: inline-flex;
}

.site-logo {
	height: 28px;
	width: auto;
	display: block;
}

.primary-menu-panel > ul {
	gap: 2em;
	align-items: center;
}

.main-navigation a {
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	color: var(--color-text);
	padding: 0;
}

.main-navigation a:hover {
	color: var(--color-accent);
}

.menu-toggle {
	background: transparent;
	border: 1px solid var(--color-primary);
	color: var(--color-text);
	border-radius: 3px;
}

/* Site footer
--------------------------------------------- */
.site-footer {
	border-top: 1px solid var(--border-subtle);
	margin-top: 3em;
}

.site-footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5em 1.5em;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
	text-align: center;
}

.footer-logo {
	height: 22px;
	width: auto;
	opacity: 0.85;
}

.footer-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5em;
}

.footer-navigation a {
	color: var(--color-text);
	opacity: 0.8;
	text-decoration: none;
	font-size: 0.9rem;
}

.footer-navigation a:hover {
	opacity: 1;
	color: var(--color-accent);
}

.site-footer .site-info {
	font-size: 0.8rem;
	opacity: 0.6;
}

/* Article template
--------------------------------------------- */
.article {
	max-width: 100%;
}

.article-hero {
	max-width: 1100px;
	margin: 0 auto 2.5em;
	padding: 0 1.5em;
}

.article-hero img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
	border-radius: 6px;
}

.article-inner {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 1.5em 3em;
}

.article-category {
	margin-bottom: 1em;
}

.article-category a {
	display: inline-block;
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--color-bg);
	background: var(--color-primary);
	padding: 0.35em 0.85em;
	border-radius: 20px;
	text-decoration: none;
}

.article-title {
	font-size: 2.5rem;
	line-height: 1.15;
	margin: 0 0 0.5em;
}

.article-standfirst {
	font-family: var(--font-editorial);
	font-style: italic;
	font-size: 1.2rem;
	color: var(--color-text);
	opacity: 0.85;
	margin: 0 0 1.5em;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid var(--border-subtle);
	margin-bottom: 2em;
}

.article-author-avatar {
	border-radius: 50%;
}

.article-meta-text {
	font-size: 0.85rem;
	opacity: 0.75;
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

.article-meta-sep {
	opacity: 0.5;
}

/* Share buttons
--------------------------------------------- */
.article-share {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin-bottom: 2em;
}

.article-share-label {
	font-size: 0.85rem;
	font-weight: 700;
	opacity: 0.7;
	margin-right: 0.25em;
}

.article-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	width: 36px;
	height: 36px;
	padding: 0;
	justify-content: center;
	border: 1px solid var(--border-subtle);
	border-radius: 50%;
	background: transparent;
	color: var(--color-text);
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.85rem;
}

.article-share-btn:hover {
	background: transparent;
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.article-share-badge {
	border: none;
	padding: 0;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.article-share-badge img {
	display: block;
	width: 100%;
	height: 100%;
}

.article-share-badge:hover {
	opacity: 0.8;
	transform: translateY(-1px);
}

.article-share-copy {
	width: auto;
	padding: 0 0.9em 0 0.75em;
	border-radius: 20px;
}

.article-share-copy:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #00182B;
}

.article-share-copy.is-copied {
	background: transparent;
	border-color: var(--color-link-hover);
	color: var(--color-link-hover);
}

.article-content {
	font-size: 18px;
	line-height: 1.75;
	max-width: 65ch;
}

.article-content h2,
.article-content h3 {
	margin-top: 1.75em;
}

.article-content blockquote {
	font-family: var(--font-editorial);
	font-style: italic;
	font-size: 1.3rem;
	border-left: 3px solid var(--color-accent);
	padding-left: 1em;
	margin-left: 0;
	opacity: 0.9;
}

.article-content img {
	border-radius: 6px;
}

.article-footer {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid var(--border-subtle);
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.article-tags a {
	display: inline-block;
	font-size: 0.8rem;
	color: var(--color-text);
	opacity: 0.75;
	border: 1px solid var(--border-subtle);
	border-radius: 20px;
	padding: 0.25em 0.85em;
	margin: 0 0.4em 0.4em 0;
	text-decoration: none;
}

.article-tags a:hover {
	opacity: 1;
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.article-back-link {
	color: var(--color-accent);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
}

.article-back-link:hover {
	color: var(--color-link-hover);
}

/* Breadcrumbs
--------------------------------------------- */
.breadcrumbs {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1em 1.5em;
	font-size: 0.8rem;
	opacity: 0.7;
}

.breadcrumbs a {
	color: var(--color-text);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--color-accent);
}

.breadcrumb-sep {
	margin: 0 0.5em;
}

.breadcrumb-current {
	opacity: 0.85;
}

/* Archive / search / 404 page titles
--------------------------------------------- */
.page-header {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1em 1.5em;
}

/* Article header refinements
--------------------------------------------- */
.article-category {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 1em;
}

.article-byline a {
	color: var(--color-text);
	text-decoration: underline;
	text-decoration-color: var(--border-subtle);
}

.article-byline a:hover {
	color: var(--color-accent);
}

.article-author-bio-tooltip {
	position: relative;
	display: inline-flex;
	cursor: help;
	opacity: 0.8;
}

.article-author-bio-tooltip-text {
	display: none;
	position: absolute;
	bottom: 140%;
	left: 50%;
	transform: translateX(-50%);
	width: 220px;
	background: var(--color-bg);
	border: 1px solid var(--border-subtle);
	color: var(--color-text);
	font-size: 0.75rem;
	line-height: 1.4;
	padding: 0.75em;
	border-radius: 6px;
	opacity: 1;
	z-index: 20;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.article-author-bio-tooltip:hover .article-author-bio-tooltip-text,
.article-author-bio-tooltip:focus .article-author-bio-tooltip-text {
	display: block;
}

.article-author-socials {
	display: inline-flex;
	gap: 0.5em;
}

.article-author-socials a {
	color: var(--color-text);
	opacity: 0.75;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 700;
}

.article-author-socials a:hover {
	opacity: 1;
	color: var(--color-accent);
}

/* External links in article content
--------------------------------------------- */
.article-content a.is-external-link::after {
	content: "\2197";
	display: inline-block;
	margin-left: 0.2em;
	font-size: 0.85em;
}

/* Content modules: styled lists, tables
--------------------------------------------- */
.article-content ul,
.article-content ol {
	margin-left: 1.25em;
}

.article-content table {
	border-collapse: collapse;
	font-size: 0.9em;
}

.article-content table th,
.article-content table td {
	border: 1px solid var(--border-subtle);
	padding: 0.6em 0.85em;
	text-align: left;
}

.article-content table th {
	background: rgba(166, 226, 245, 0.12);
	font-family: var(--font-headline);
	font-weight: var(--font-headline-weight);
}

.article-content table tbody tr:nth-child(even) {
	background: rgba(248, 244, 235, 0.04);
}

/* Editorial callout modules (block patterns)
--------------------------------------------- */
.quick-takeaways,
.expert-tip,
.featured-expert,
.in-content-cta {
	max-width: 65ch;
	margin: 2em auto;
	padding: 1.5em;
	border-radius: 8px;
}

.quick-takeaways {
	background: rgba(166, 226, 245, 0.08);
	border: 1px solid var(--border-subtle);
}

.quick-takeaways h4 {
	margin-top: 0;
}

.expert-tip {
	background: rgba(61, 234, 191, 0.08);
	/*border-left: 3px solid var(--color-link-hover);*/
}

.expert-tip-label,
.featured-expert-label {
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	opacity: 0.7;
	margin: 0 0 0.5em;
}

.featured-expert {
	background: rgba(255, 152, 192, 0.08);
	border: 1px solid var(--border-subtle);
}

.featured-expert-photo img {
	border-radius: 50%;
}

.in-content-cta {
	background: var(--color-cta);
	color: var(--color-text);
	text-align: center;
}

.in-content-cta h4 {
	margin-top: 0;
}

.in-content-cta .wp-block-button__link {
	background: var(--color-text);
	color: var(--color-bg);
}

/* Author bio (end of article)
--------------------------------------------- */
.article-author-bio {
	display: flex;
	align-items: flex-start;
	gap: 1.25em;
	margin-top: 3em;
	padding: 1.5em;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
}

.article-author-bio-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.article-author-bio-title {
	font-size: 1.1rem;
	margin: 0 0 0.5em;
}

/* Related stories
--------------------------------------------- */
.related-stories {
	max-width: 1100px;
	margin: 3em auto 0;
	padding: 0 1.5em;
}

.related-stories-title {
	margin-bottom: 1em;
}

.related-stories-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
}

.related-story-card {
	display: block;
	color: var(--color-text);
	text-decoration: none;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-story-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.related-story-thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 0.75em;
}

.related-story-title {
	font-size: 1rem;
	margin: 0;
}

/* Footer 5-column grid
--------------------------------------------- */
.footer-columns {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2em;
	width: 100%;
	text-align: left;
}

.footer-column-title {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.6;
	margin: 0 0 1em;
}

.footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.footer-column a {
	color: var(--color-text);
	opacity: 0.8;
	text-decoration: none;
	font-size: 0.9rem;
}

.footer-column a:hover {
	opacity: 1;
	color: var(--color-accent);
}

.site-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5em;
	flex-wrap: wrap;
	margin-top: 2.5em;
	padding-top: 2em;
	border-top: 1px solid var(--border-subtle);
}

.footer-sitemap-link {
	color: var(--color-text);
	opacity: 0.8;
	font-size: 0.85rem;
	text-decoration: none;
}

.footer-sitemap-link:hover {
	opacity: 1;
	color: var(--color-accent);
}

/* Tap target sizing */
.main-navigation a,
.footer-column a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.menu-toggle {
	min-height: 44px;
	align-items: center;
}

/* Mobile
--------------------------------------------- */
@media screen and (max-width: 37.4375em) {
	.footer-columns {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-column ul {
		align-items: center;
	}

	.article-title {
		font-size: 1.75rem;
	}

	.related-stories-grid {
		grid-template-columns: 1fr;
	}
}

/* Article list page
--------------------------------------------- */
.article-list-header {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2em 1.5em 1em;
}

.article-list-title {
	margin: 0 0 0.5em;
}

.article-list-intro {
	opacity: 0.8;
	max-width: 65ch;
}

.article-list-grid {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1em 1.5em 3em;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2em;
}

.article-list-card {
	display: block;
	color: var(--color-text);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border-radius: 8px;
}

.article-list-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.article-list-card-thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 0.85em;
}

.article-list-card-category {
	display: inline-block;
	text-transform: uppercase;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--color-bg);
	background: var(--color-primary);
	padding: 0.25em 0.7em;
	border-radius: 20px;
	margin-bottom: 0.6em;
}

.article-list-card-title {
	font-size: 1.15rem;
	margin: 0 0 0.5em;
	line-height: 1.3;
}

.article-list-card-meta {
	font-size: 0.8rem;
	opacity: 0.65;
}

.article-list-empty {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1.5em 3em;
	opacity: 0.7;
}

/* Simple page (About, Contact, policies, etc.)
--------------------------------------------- */
.simple-page-header {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2em 1.5em 1em;
}

.simple-page-title {
	margin: 0;
}

.simple-page-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1em 1.5em 4em;
	font-size: 18px;
	line-height: 1.75;
}

.simple-page-content a {
	color: var(--color-accent);
}

.simple-page-content a:hover {
	color: var(--color-link-hover);
}

.simple-page-content h2,
.simple-page-content h3 {
	margin-top: 1.75em;
}

.simple-page-content ul,
.simple-page-content ol {
	margin-left: 1.25em;
}

.html-sitemap-section {
	margin-top: 2.5em;
}

.html-sitemap-section h2 {
	border-bottom: 1px solid rgba(248, 244, 235, 0.15);
	padding-bottom: 0.5em;
}

.html-sitemap-subtitle {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	color: var(--color-primary);
	font-size: 1.1rem;
}

.html-sitemap-list {
	margin-left: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0.5em 1.5em;
}

.html-sitemap-list li {
	padding: 0.4em 0;
	border-bottom: 1px solid rgba(248, 244, 235, 0.08);
}

.html-sitemap-count {
	display: block;
	font-size: 0.8rem;
	opacity: 0.6;
}

/* Article list pagination
--------------------------------------------- */
.article-list-pagination {
	max-width: 1100px;
	margin: 1em auto 3em;
	padding: 0 1.5em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
}

.article-list-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 0.75em;
	border-radius: 4px;
	color: var(--color-text);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
}

.article-list-pagination a.page-numbers:hover {
	background: rgba(166, 226, 245, 0.1);
	color: var(--color-accent);
}

.article-list-pagination .page-numbers.current {
	background: var(--color-primary);
	color: var(--color-bg);
}

.article-list-pagination .page-numbers.dots {
	opacity: 0.5;
}

.article-list-pagination .page-numbers.prev,
.article-list-pagination .page-numbers.next {
	padding: 0 1em;
}

/* Explore dropdown (mega-menu style, matches britbox.com header)
--------------------------------------------- */
.main-navigation .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 0.4em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.15s ease;
}

.main-navigation .menu-item-has-children.focus > a::after,
.main-navigation .menu-item-has-children:hover > a::after {
	transform: rotate(225deg) translateY(2px);
}

.main-navigation ul ul {
	background: var(--color-bg);
	border: 1px solid var(--border-subtle);
	border-radius: 6px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
	padding: 0.5em;
	margin-top: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}

.main-navigation ul ul a {
	width: auto;
	white-space: nowrap;
	padding: 0.5em 0.75em;
	border-radius: 4px;
	font-weight: 400;
}

.main-navigation ul ul a:hover {
	background: rgba(166, 226, 245, 0.08);
}
