/*
Theme Name: Academica
Theme URI: https://www.wpzoom.com/themes/academica/
Description: Academica is a lightweight, accessible, and privacy-friendly WordPress theme designed for schools, universities, and educational institutions. With a clean three-column layout and modern design, it’s perfect for presenting academic programs, events, and news. The theme is fully customizable, GDPR-compliant, and optimized for fast performance. It loads no fonts from Google or other outside services: choose system fonts or the bundled Inter and Atkinson Hyperlegible Next fonts. Looking for more features? Upgrade to Academica PRO 3.0 to unlock advanced customization options, Elementor integration, additional layouts, and premium support - ideal for creating a professional education website - https://www.wpzoom.com/themes/academica-pro-3/
Tags: education, blog, news, two-columns, three-columns, left-sidebar, right-sidebar, accessibility-ready, block-patterns, wide-blocks, custom-logo, custom-header, custom-menu, custom-background, custom-colors, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready, rtl-language-support
Version: 3.0.2
Requires at least: 6.6
Requires PHP: 7.4
Tested up to: 7.2
Author: WPZOOM
Author URI: https://www.wpzoom.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: academica
Domain Path: /languages/

Academica WordPress Theme, Copyright (C) 2013-2026 WPZOOM BV.
Academica is distributed under the terms of the GNU GPL v2 or later.

*/

/* =General
-------------------------------------------------------------- */


:root {
    --wp--preset--spacing--x-small: 20px;
}


:root {
	--ask-accent: #1b4f8f;
	--ask-accent-dark: #133a6b;
	--ask-header: #1b4f8f;
	--ask-header-text: #fff;
	--ask-text: #0b0c0c;
}

html {
	font-size: 100%;
	line-height: 1;
	overflow-y: scroll;
	text-align: left;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    margin: 0;
}

body {
	color: var(--ask-text, #0b0c0c);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background-color: #fff;
}

/* Fluid page container: 1170px max, 20px gutters on small screens */
#wrap,
.inner-wrap {
	width: min(1170px, calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}


abbr[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

b,
strong {
	font-weight: bold;
}

blockquote {
	margin: 20px 0;
	padding-left: 20px;
	border-left: 4px solid #b1b4b6;
}

s,
del,
strike {
	text-decoration: line-through;
}

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

ins,
mark {
	background: #ff0;
	color: #000;
	text-decoration: none;
}

code,
kbd,
pre,
samp {
	font-family: monospace, serif;
	font-size: 1em;
}

pre {
	border-left: 4px solid #b1b4b6;
	background-color: #f3f2f1;
	padding: 15px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

dl {
	margin: 0 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 10px;
}

hr {
	border: 0;
	border-top: 1px solid #b1b4b6;
	clear: both;
	display: block;
	height: 1px;
	margin: 0 0 20px;
	padding: 0;
}

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

img {
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

figure { margin: 0 }

embed,
iframe,
object,
video {
	max-width: 100%;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

legend {
	border: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	box-sizing: border-box;
 	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: border-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/* =Form fields: one style for every form (comments, WPZOOM Forms, search, plugins)
   Grey 2px border (#6f777b, 4.7:1 on white: meets the 3:1 needed for field borders).
   On focus the border turns near-black, plus the dotted focus outline.
-------------------------------------------------------------- */

:root {
	--ask-field-border: #6f777b;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
textarea,
select,
/* WPZOOM Forms adds its own light border; keep the theme's. */
.entry-content .wp-block-wpzoom-forms-form input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"], [type="hidden"]),
.entry-content .wp-block-wpzoom-forms-form textarea,
.entry-content .wp-block-wpzoom-forms-form select {
	box-sizing: border-box;
	max-width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 2px solid var(--ask-field-border);
	border-radius: 0;
	background-color: #fff;
	color: var(--ask-text, #0b0c0c);
	font-family: inherit;
	font-size: 19px;
	line-height: 1.4;
	vertical-align: bottom;
}

input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"]):focus,
textarea:focus,
select:focus,
.entry-content .wp-block-wpzoom-forms-form input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"]):focus,
.entry-content .wp-block-wpzoom-forms-form textarea:focus,
.entry-content .wp-block-wpzoom-forms-form select:focus {
	border-color: var(--ask-text, #0b0c0c);
}

textarea {
	min-height: 160px;
	resize: vertical;
}

/* Space between one field and the next label */
.entry-content .wp-block-wpzoom-forms-form input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"], [type="hidden"]),
.entry-content .wp-block-wpzoom-forms-form textarea,
.entry-content .wp-block-wpzoom-forms-form select {
	margin-bottom: 24px;
}

/* Labels of form fields */
#commentform label,
.entry-content .wp-block-wpzoom-forms-form label,
.entry-content .wp-block-search__label,
.wp-block-search__label,
.ask-staff-search label {
	display: block;
	margin: 0 0 6px;
	color: var(--ask-text, #0b0c0c);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

/* Checkbox and radio labels sit beside the box, in normal text. */
#commentform .comment-form-cookies-consent label,
.entry-content .wp-block-wpzoom-forms-form input[type="checkbox"] + label,
.entry-content .wp-block-wpzoom-forms-form input[type="radio"] + label {
	display: inline;
	margin: 0 0 0 8px;
	font-size: 16px;
	font-weight: 400;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: var(--ask-accent, #1b4f8f);
	border: none;
	color: #fff;
	font-size: var(--ask-button-size);
	font-weight: 600;
	padding: 11px 15px;
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: var(--ask-accent-dark, #133a6b);
}

textarea {
	overflow: auto;
	vertical-align: top;
}


table {
	border-bottom: 1px solid #b1b4b6;
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 1.6;
	margin: 0 0 24px;
	width: 100%;
}

caption {
	margin: 10px 0;
	color: #505a5f;
	font-size: 16px;
	text-align: left;
}

th {
	border-bottom: 2px solid #0b0c0c;
	padding: 5px 0;
}

td {

	padding: 5px 0;
}


/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    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: #fff;
    border-radius: 0;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip-path: none;
    color: #0b0c0c;
    display: block;
    font-size: 16px;
    
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Skip link styling */
.skip-link {
    left: -9999px;
    position: absolute;
    top: -9999px;
}

.skip-link:focus {
    clip: auto !important;
    background-color: var(--ask-accent, #1b4f8f);
    color: #fff;
    left: 6px;
    top: 7px;
    text-decoration: none;
    z-index: 999999;
}

a {
	color: var(--ask-accent, #1b4f8f);
	text-decoration: underline;
	text-decoration-skip-ink: auto;
	text-underline-offset: .15em;
}

a:hover {
	color: var(--ask-accent-dark, #133a6b);
	text-decoration-thickness: 3px;
}

/* Links that don't need underlines (have other visual cues) */
#main-nav a,
.navbar-nav a,
#site-title a,
.site-logo a,
#logo a,
.widget-title a,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.skip-link,
button,
input[type="button"],
input[type="submit"] {
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	margin: 0;
	padding: 0;
}
h1 {
	font-size: 40px;
 	line-height: 1.2;
	margin-bottom: 30px;
}
h2 {
	font-size: 24px;
	line-height: 1.25;
	margin-bottom: 25px;
}
h3,
h2.widget-title {
	font-size: 22px;
	line-height: 1.273;
	margin-bottom: 20px;
}
h4 {
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 15px;
}
h5 {
	font-size: 18px;
	line-height: 1.333;
	margin-bottom: 10px;
}
h6 {
	font-size: 16px;
	line-height: 1.375;
	margin-bottom: 5px;
}

ul, ol {
	margin: 0 0 14px 36px;
	padding: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
	margin-bottom: 0;
}

ul > li {
	list-style-type: square;
}

ol > li {
	list-style-type: decimal;
}

address,
p {
	margin: 0 0 15px;
}


/* =Reusable Classes
-------------------------------------------------------------- */

.clearfix:before,
.clearfix:after,
.comment-meta:before,
.comment-meta:after {
	content: "";
	display: table;
	line-height: 0;
}

.clearfix:after,
.comment-meta:after {
	clear: both;
}

/* Assistive text for screen readers - compatible with older code */
.assistive-text,
.searchform label {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
}

.alignleft {
	float: left;
}

img.alignleft,
.wp-caption.alignleft {
	margin: 3px 15px 10px 0;
}

.alignright {
	float: right;
}

img.alignright,
.wp-caption.alignright {
	margin: 3px 0 10px 15px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.aligncenter,
.wp-caption.aligncenter {
	margin: 3px auto 10px;
}


/* =Header
-------------------------------------------------------------- */

#header {
 	margin: 0 0 30px;
 	background-color: var(--ask-header, #1b4f8f);
 	background-size: cover;
 	background-repeat: no-repeat;
 	background-position: center center;
}


.header_overlay {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    background-repeat: repeat-x;
}

#logo {
   	line-height: 1.2;
 	padding: 30px 0 0;
}

#site-title {
	font-size: 40px;
	font-weight: 600;
	margin: 0;
	color: var(--ask-header-text, #fff);
}

#site-title a {
	color: var(--ask-header-text, #fff);
}

#site-description {
	color: var(--ask-header-text, #fff);
	opacity: .7;
	font-size: 16px;
	margin: 10px 0 0;
	font-weight: 500;
}

#logo .site-logo {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
}

#logo .custom-logo-link {
	display: block;
}

#logo .custom-logo {
	display: block;
	max-width: 100%;
	height: auto;
}

#logo.has-logo-and-title #site-title {
	display: inline-block;
	vertical-align: middle;
	margin-left: 16px;
}

.logo-left { text-align: left; }
.logo-center { text-align: center; }
.logo-right { text-align: right; }


/* Main menu (no JavaScript libraries; see js/navigation.js)
-------------------------------------------------------------- */

#main-nav {
	position: relative;
	z-index: 300;
	margin: 30px 0 0;
	padding: 0;
	border-top: 2px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.1);
}

#main-nav > .inner-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 24px;
}

.main-navbar {
	flex: 1 1 auto;
	margin: 0;
}

.primary-menu,
.primary-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
}

.primary-menu li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu > li {
	display: flex;
	align-items: center;
	margin-right: 22px;
}

#header .primary-menu a {
	display: block;
	padding: 20px 8px 16px;
	border-bottom: 4px solid transparent;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

#header .primary-menu > li > a {
	margin-left: -8px;
}

#header .primary-menu a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .25em;
}

#header .primary-menu > .current-menu-item > a,
#header .primary-menu > .current_page_item > a,
#header .primary-menu > .current-menu-ancestor > a,
#header .primary-menu > .current-page-ancestor > a {
	border-bottom-color: #fff;
	font-weight: 700;
}

/* Menu links: keep the focus outline inside the bar */
#header .primary-menu a:focus-visible {
	outline-offset: -4px;
}

/* Submenu toggle (added by navigation.js) */
.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0 0 0 -2px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.submenu-toggle::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.submenu-toggle[aria-expanded="true"]::before {
	margin-top: 4px;
	transform: rotate(-135deg);
}

/* Dropdowns */
.primary-menu ul {
	display: none;
	position: absolute;
	top: 100%;
	left: -6px;
	z-index: 99;
	min-width: 230px;
	background-color: var(--ask-header, #1b4f8f);
	/* Same 10% darkening as the menu bar, over the header colour */
	background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.primary-menu ul ul {
	top: -1px;
	left: 100%;
}

.primary-menu li.is-open > ul {
	display: block;
}

.primary-menu ul li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#header .primary-menu ul a {
	flex: 1 1 auto;
	margin: 0;
	padding: 10px 15px;
	border-bottom: 0;
	font-size: 16px;
}

.primary-menu ul .submenu-toggle {
	margin-right: 6px;
}

.primary-menu ul .submenu-toggle::before {
	transform: rotate(-45deg);
	margin: 0 0 0 -3px;
}

/* Desktop: menu and search share one row; the search box shrinks first */
@media (min-width: 980px) {
	#main-nav > .inner-wrap {
		flex-wrap: nowrap;
	}

	.main-navbar {
		flex: 0 1 auto;
		min-width: 0;
	}
}

/* Without JavaScript, dropdowns open on hover and keyboard focus */
@media (min-width: 980px) {
	html:not(.js) .primary-menu li:hover > ul,
	html:not(.js) .primary-menu li:focus-within > ul,
	.js .primary-menu li:hover:not(.is-hover-dismissed) > ul {
		display: block;
	}
}

/* "Menu" button (small screens) */
.menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	height: 44px;
	margin: 0;
	padding: 0 14px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
}

#header .menu-toggle:hover,
#header .menu-toggle:focus,
#header .submenu-toggle:hover,
#header .submenu-toggle:focus {
	background: transparent;
	color: #fff;
}

#header .menu-toggle:hover .menu-toggle__label,
#header .menu-toggle[aria-expanded="true"] .menu-toggle__label {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: .25em;
}

@media screen and (max-width: 979px) {
	#main-nav > .inner-wrap {
		padding: 10px 0;
		gap: 10px 16px;
	}

	.js .menu-toggle {
		display: inline-flex;
		order: 1;
	}

	#search {
		order: 2;
		flex: 1 1 200px;
		justify-content: flex-end;
	}

	.main-navbar {
		order: 3;
		flex: 1 1 100%;
	}

	.js .main-navbar {
		display: none;
	}

	.js .main-navbar.is-open {
		display: block;
	}

	.primary-menu {
		display: block;
		border-top: 1px solid rgba(255, 255, 255, 0.25);
	}

	.primary-menu > li,
	.primary-menu ul li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		margin: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}

	#header .primary-menu a,
	#header .primary-menu > li > a,
	#header .primary-menu ul a {
		flex: 1 1 auto;
		min-height: 44px;
		margin: 0;
		padding: 11px 0;
		border-bottom: 0;
		box-sizing: border-box;
	}

	#header .primary-menu > .current-menu-item > a,
	#header .primary-menu > .current_page_item > a {
		border-left: 4px solid #fff;
		padding-left: 10px;
	}

	.submenu-toggle {
		width: 44px;
		height: 44px;
	}

	.primary-menu ul,
	.primary-menu ul ul {
		position: static;
		flex: 1 1 100%;
		min-width: 0;
		padding-left: 16px;
		border-top: 1px solid rgba(255, 255, 255, 0.15);
		background: transparent;
	}

	.primary-menu ul li:last-child {
		border-bottom: 0;
	}

	.primary-menu ul .submenu-toggle::before {
		transform: rotate(45deg);
		margin: -4px 0 0;
	}
}

/* Search form in header: white field, solid dark button */
#search {
	display: flex;
	flex: 1 1 170px; /* fills the space left by the menu, 170px to 280px */
	min-width: 170px;
	max-width: 280px;
	margin: 0;
	padding: 0;
	background: none;
}

#search[hidden] {
	display: none;
}

#search .searchform {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 320px;
}

#search input[type="search"] {
	box-sizing: border-box;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	max-width: none;
	min-height: 0; /* the global 44px field height doesn't apply in the header bar */
	height: 40px;
	margin: 0;
	padding: 6px 10px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #0b0c0c;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

#search input[type="search"]::placeholder {
	color: #505a5f;
	opacity: 1;
}

#search button {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #0b0c0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") 50% 50% / 20px 20px no-repeat;
	text-indent: -9999px;
	overflow: hidden;
	cursor: pointer;
}

/* Hover and keyboard focus: a different background colour (keyboard focus also
   gets the dotted focus outline). */
#search button:hover,
#search button:focus-visible {
	background-color: var(--ask-accent-dark, #133a6b);
}

@media screen and (max-width: 979px) {
	#search {
		flex: 1 1 0;
		min-width: 0;
		max-width: none;
	}

	#search .searchform {
		max-width: none;
	}

	#search input[type="search"] {
		flex: 1 1 0;
		width: auto;
	}

	#search input[type="search"],
	#search button {
		height: 44px;
	}

	#search button {
		width: 44px;
	}
}


/* =Content
-------------------------------------------------------------- */

#content {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 40px;
	margin-bottom: 50px;
	line-height: 1.6;
}

/* The old clearfix pseudo-elements would become flex items here */
#content::before,
#content::after {
	content: none;
	display: none;
}

/* Title row always spans the full width */
#content > .column-title {
	flex: 0 0 100%;
	width: 100%;
	margin: 0;
}

/* Sidebars: fixed-ish width; hidden when they have no widgets */
#content > .column-narrow {
	flex: 0 0 clamp(200px, 22%, 250px);
	width: auto;
	min-width: 0; /* never grow past its width because of wide content (e.g. a search block) */
	margin: 0;
}

#content > .column-narrow:not(:has(*)) {
	display: none;
}

/* Content takes whatever space is left */
#content > .column-content {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	margin: 0;
	overflow-wrap: break-word;
}

/* Medium screens with both sidebars: the right sidebar moves below, so the text stays readable. */
@media screen and (min-width: 769px) and (max-width: 1100px) {
	#content:has(> .column-narrow:not(.column-last):not(:empty)) > .column-narrow.column-last {
		flex: 1 1 100%;
		margin-top: 40px;
		margin-left: calc(clamp(200px, 22%, 250px) + 40px);
	}
}

@media screen and (max-width: 768px) {
	#content {
		flex-direction: column;
		flex-wrap: nowrap; /* a wrapping column would size to its widest content */
		align-items: stretch;
		gap: 40px 0;
	}

	#content > .column-title {
		order: 0;
		margin-bottom: -40px;
	}

	#content > .column-content {
		order: 1;
		flex: 0 0 auto;
	}

	#content > .column-narrow {
		order: 2;
		flex: 0 0 auto;
	}

	#content > .column-narrow.column-last {
		order: 3;
	}

	.posts .post h2,
	.posts .page h2 {
		font-size: 30px;
		line-height: 1.3;
	}
}


.title-header {
	color: #0b0c0c;
	font-weight: 700;
	font-size: clamp(30px, 1.6rem + 1.6vw, 44px);
	line-height: 1.1;
 	word-wrap: break-word;
 	margin: 0 0 15px;
}

.search .title-header,
.archive .title-header {
	margin-bottom: 30px;
}

/* Breadcrumbs: Home › Section › Current page */
.breadcrumbs {
	margin: 0 0 30px;
	font-size: 16px;
	line-height: 1.4;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs__item {
	display: flex;
	align-items: center;
	margin: 0;
	color: var(--ask-text, #0b0c0c);
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "";
	width: 7px;
	height: 7px;
	margin: 0 12px 0 8px;
	border-top: 1px solid #505a5f;
	border-right: 1px solid #505a5f;
	transform: rotate(45deg);
}

.breadcrumbs a,
.breadcrumbs a:visited {
	color: var(--ask-text, #0b0c0c) !important; /* plain text colour, also inside plugin templates */
	text-decoration: underline;
	text-underline-offset: .15em;
}

.breadcrumbs a:hover {
	text-decoration-thickness: 3px;
}


.posts .post,
.posts .page {
	border-bottom: 1px solid #d8dadb;
	margin-bottom: 35px;
	padding-bottom: 35px;
}

.home.page .posts .page {
	border-color: #d8dadb;
	font-size: inherit;
	margin-bottom: 20px;
	padding-bottom: 0;
}

.posts .post h2,
.posts .page h2 {
	font-size: 36px;
	line-height: 1.2;
	margin: 0 0 15px;
}

.posts .post div.thumb {
	margin: 0 0 20px;
}

.posts .format-aside .entry-content a:hover {
	text-decoration: none;
}

.posts .sticky {
	border-bottom: 0;
 	background-color: #f1f1f1;
 	margin-bottom: 20px;
	padding: 20px;
}

.entry-content a {
    text-decoration: underline;
}

.entry-content a:hover {
    text-decoration: none;
}

.wp-block-read-more:where(:not([style*=text-decoration])) {
    text-decoration: none !important;
}

.wp-block-post-title :where(a) {
    text-decoration: none !important;
}

.wp-block-query .is-layout-grid li {
    list-style-type: none;
}

ul.is-layout-grid {
    margin-left: 0;
}

.wp-block-buttons .wp-block-button__link {
    text-decoration: none !important;
}

/* Low specificity (:where) so the content heading spacing (.entry-content h2/h3) wins. */
:where(div.single) h2,
:where(div.single) h3,
:where(div.single) h4,
:where(div.single) h5,
:where(div.single) h6 {
	margin: 15px 0 15px;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 25px 0 10px;
}

.column-content table {
	font-size: 16px;
}

div.single h3 {
	font-size: 20px;
}
div.single h4 {
	font-size: 18px;
}
div.single h5 {
	font-size: 16px;
}
div.single h6 {
	font-size: 16px;
}

/* Galleries */

.single .gallery a:hover {
    opacity: 0.6;
    transition: opacity 0.25s ease-in-out;
}

.gallery-item {
    display: inline-block;
    max-width: 33.33%;
    padding: 0 1.1400652% 2.2801304%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-icon img {
    margin: 0 auto;
}

.wp-caption-text,
.gallery-caption {
    color: #505a5f;
    margin: 0;
    padding: 15px 0;
    text-align: left;
    display: block;
    font-size: 16px;
    line-height: 1.4;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}


.column-content img,
.single-attachment #content img {
	box-sizing: border-box;
	border: none;
}

.column-content img.wp-smiley {
	border: none;
}

.wp-caption {
	max-width: 100%;
}

.entry-meta,
.entry-caption,
.wp-caption-text {
	color: #505a5f;
 	margin: 0 0 20px;
}

.entry-meta {
 	border-bottom: 1px solid #d8dadb;
	padding: 0 0 20px;
	margin: 0 0 30px;
}

/* Tags under the post: no divider, the post navigation below draws one */
.entry-meta.entry-meta--tags {
	border-bottom: 0;
	padding-bottom: 0;
}

.attachment .entry-attachment {
	text-align: center;
}

.attachment .entry-meta {
	margin: 15px 0;
}

.sep {
	color: #767676;
}

.sticky .sep,
.search-results .page .sep {
	display: none;
}

p.pages {
	clear: both;
}

#wrap a.highlight,
#wrap h2.heading a,
#wrap .entry-meta a {
	color: #505a5f;
}

#wrap a.highlight:hover,
#wrap h2.heading a:hover,
#wrap .entry-meta a:hover {
	color: #0b0c0c;
}


/* =Comments
   Each comment: avatar, name and date in a row; text and Reply aligned with the name.
-------------------------------------------------------------- */

.commentlist {
	margin: 0 0 40px;
	padding: 0;
	border-top: 1px solid #b1b4b6;
	list-style: none;
}

.commentlist .comment,
.commentlist .pingback,
.commentlist .trackback {
	margin: 0;
	padding: 0;
	list-style: none;
}

.commentlist .comment-body {
	padding: 24px 0;
	border-bottom: 1px solid #d8dadb;
	font-size: 19px;
	line-height: 1.5;
}

/* Name, date and avatar */
.commentlist .comment-meta {
	position: relative;
	min-height: 48px;
	padding-left: 64px;
}

.commentlist .comment-meta::before,
.commentlist .comment-meta::after {
	display: none;
}

.commentlist img.avatar {
	position: absolute;
	top: 0;
	left: 0;
	width: 48px;
	height: 48px;
	margin: 0;
	border-radius: 0;
}

.commentlist .comment-author {
	font-size: 19px;
	line-height: 1.3;
}

.commentlist .comment-author .fn {
	color: var(--ask-text, #0b0c0c);
	font-weight: 700;
}

.commentlist .comment-author .fn a {
	padding: 0;
	color: inherit;
}

.commentlist .says {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.commentlist .comment-metadata {
	margin-top: 2px;
	color: #505a5f;
	font-size: 16px;
}

.commentlist .comment-metadata a {
	padding: 0;
	color: #505a5f;
	text-decoration: none;
}

.commentlist .comment-metadata a:hover {
	color: var(--ask-text, #0b0c0c);
	text-decoration: underline;
}

.commentlist .comment-metadata .edit-link::before {
	content: "\00b7";
	margin: 0 8px;
}

/* "Your comment is awaiting moderation" */
.commentlist .comment-awaiting-moderation {
	display: block;
	margin: 12px 0 0;
	padding: 8px 12px;
	border-left: 4px solid #505a5f;
	background: #f3f2f1;
	color: var(--ask-text, #0b0c0c);
	font-size: 16px;
	font-style: normal;
}

/* Comment text and Reply line up with the name */
.commentlist .comment-content,
.commentlist .reply {
	margin-left: 64px;
}

.commentlist .comment-content {
	margin-top: 14px;
	overflow-wrap: break-word;
}

.commentlist .comment-content > :last-child {
	margin-bottom: 0;
}

.commentlist .reply {
	margin-top: 12px;
}

#wrap .commentlist .comment-reply-link {
	display: inline-block;
	min-height: 32px;
	padding: 2px 0;
	line-height: 28px;
	white-space: nowrap;
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: .15em;
}

#wrap .commentlist .comment-reply-link::before {
	content: "\21A9\00a0"; /* arrow + no-break space: one underline with the word */
}

/* Replies: indented, on a grey rail */
.commentlist .children {
	margin: 0 0 0 64px;
	padding: 0 0 0 20px;
	border-left: 3px solid #d8dadb;
	list-style: none;
}

/* Post author's own comments: a light highlight */
.commentlist .bypostauthor > .comment-body {
	border-left: 4px solid var(--ask-accent, #1b4f8f);
	padding-left: 16px;
	margin-left: -20px;
}

.commentlist blockquote {
	font-size: inherit;
}

@media screen and (max-width: 600px) {
	.commentlist .comment-content,
	.commentlist .reply {
		margin-left: 0;
	}

	.commentlist .children {
		margin-left: 12px;
		padding-left: 14px;
	}

	.commentlist .bypostauthor > .comment-body {
		margin-left: -14px;
		padding-left: 10px;
	}
}

#commentform {
	clear: left;
 	margin-top: 15px;
}

.depth-4 #commentform label {
	margin: 0;
}

#commentform textarea {
	width: 100%;
}

#commentform #submit {
 	border: none;
	color: #fff;
	cursor: pointer;
}

#wrap .navigation a {
 	display: inline-block;
	font-weight: normal;
	font-size: 18px;
}

/* "Reply to Name" heading: "Cancel reply" goes on its own line below it. */
#respond .comment-reply-title small {
	display: block;
	margin-top: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

#wrap #cancel-comment-reply-link {
	display: inline-block;
	padding: 2px 0;
	text-decoration: underline;
	text-underline-offset: .15em;
}

#wrap .navigation a:hover,
#wrap a.comment-reply-link:hover,
#wrap #cancel-comment-reply-link:hover {
	text-decoration: underline;
	text-decoration-thickness: 3px;
}

.navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 30px;
	margin: 10px 0;
	font-size: 18px;
}

.navigation > span {
	max-width: 49%;
}

.navigation .nav-next {
	margin-left: auto;
	text-align: right;
}

@media screen and (max-width: 600px) {
	.navigation > span {
		max-width: none;
	}
}

.navigation p {
	font-size: 16px;
	text-align: center;
}

.infinite-scroll .navigation {
	display: none;
}


/* =Footer
-------------------------------------------------------------- */

#footer,
.site-footer {
	margin-top: 60px;
	padding: 0;
	border: 0;
	/* Darker band on top: drawn over the footer colour, so it follows custom colours */
	border-top: 5px solid rgba(0, 0, 0, 0.2);
	background: var(--ask-footer, var(--ask-header, #1b4f8f));
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
}

.site-footer a,
.site-footer a:visited {
	color: #fff;
}

.site-footer a:hover {
	color: #fff;
	text-decoration-thickness: 3px;
}

/* Columns: brand (wider), quick links, then one column per footer widget */
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding: 50px 0 45px;
}

.site-footer__col {
	flex: 1 1 170px;
	min-width: 0;
}

/* Column 1 is wider */
.site-footer__col.site-footer__brand {
	flex: 2 1 280px;
}

/* Several widgets in one column stack with space between them */
.site-footer__col > .widget + .widget {
	margin-top: 24px;
}

.site-footer__name {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.site-footer__name a {
	text-decoration: none;
}

.site-footer__name a:hover {
	text-decoration: underline;
}

.site-footer__tagline {
	max-width: 26em;
	margin: 0;
	font-size: 17px;
}

#footer .site-footer__heading,
.site-footer .widget h3.heading,
.site-footer .widget-title {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.site-footer__list,
.site-footer .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__list li,
.site-footer .widget ul:not(.wp-block-social-links) li {
	position: relative;
	margin: 0 0 8px;
	padding: 0 0 0 16px;
	border: 0;
	list-style: none;
}

.site-footer__list li::before,
.site-footer .widget ul:not(.wp-block-social-links) li::before {
	content: "\203A";
	position: absolute;
	left: 0;
	top: -1px;
	font-weight: 700;
}

.site-footer__list li ul {
	display: none;
}



.site-footer__col .widget {
	margin: 0;
	color: #fff;
	font-size: 16px;
}

.site-footer__bottom {
	border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 30px;
	padding: 18px 0 22px;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 24px;
}

.site-footer__menu-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu-list li {
	margin: 0;
	padding: 0;
	font-size: 15px;
	list-style: none;
}

.site-footer__bottom .copy__item {
	display: inline-block;
	margin-right: 18px;
}

.site-footer__bottom .copy__item:last-child {
	margin-right: 0;
}

#footer .site-footer__bottom p.copy,
#footer .site-footer__bottom p.site-footer__credit {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 15px;
	text-align: left;
}

#footer p.copy,
.site-footer__bottom p.copy {
	margin: 0;
	padding: 18px 0 22px;
	color: #fff;
	font-size: 15px;
	text-align: left;
}

@media screen and (max-width: 600px) {
	.site-footer__inner {
		gap: 30px;
	}

	.site-footer__col.site-footer__brand {
		flex-basis: 100%;
	}
}

/* Block widgets in the footer */
.site-footer .widget h2,
.site-footer .widget h3,
.site-footer .widget .wp-block-heading {
	margin: 0 0 12px;
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.site-footer .widget p {
	margin: 0 0 10px;
	color: #fff;
}

/* =Widgets
-------------------------------------------------------------- */

.widget {
	margin: 0 0 20px;
	word-wrap: break-word;
}

.widget h3.heading {
	font-size: 22px;
	line-height: 1.2;
	border-bottom: 1px solid #d8dadb;
	padding: 0 0 15px;
	margin: 0 0 20px;
}
.widget ul {
	margin-left: 0;
}

.widget ul li {
	list-style-type: none;
}

.widget ul.gallery li {
	display: inline;
	float: left;
	margin-bottom: 15px;
	margin-right: 10px;
	width: 75px;
}
.widget ul.gallery li.last {
	margin-right: 0;
}
.widget_pages > ul,
.widget ul.menu {
	margin: 0 0 15px;
}

.widget_pages > ul ul,
.widget ul.menu ul {
	border-left: solid 1px #d8dadb;
	margin: 20px 0 0 20px;
	padding-left: 15px;
}

.widget_pages > ul li,
.widget ul.menu li {
	border-bottom: solid 1px #d8dadb;
	font-size: 16px;
 	list-style-type: none;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.widget_pages > ul ul li,
.widget ul.menu ul li {
	border: none;
	font-size: 16px;
	font-weight: normal;
}

#content .widget_pages > ul li.current_page_item > a,
#content .widget ul.menu li.current-menu-item > a {
	color: var(--ask-text, #0b0c0c);
	font-weight: bold;
}

#content .widget_pages > ul li.current_page_item > a:hover,
#content .widget ul.menu li.current-menu-item > a:hover {
	color: var(--ask-accent, #1b4f8f);
}

/* Page/menu list widgets: clean nav-style links */
.widget_pages > ul > li,
.widget ul.menu > li {
	margin: 0;
	padding: 0;
}

.widget_pages > ul li a,
.widget ul.menu li a {
	display: block;
	padding: 10px 0;
	line-height: 1.4;
	text-decoration: none;
}

.widget_pages > ul li a:hover,
.widget_pages > ul li a:focus,
.widget ul.menu li a:hover,
.widget ul.menu li a:focus {
	text-decoration: underline;
}

#content .widget_pages > ul li.current_page_item > a,
#content .widget ul.menu li.current-menu-item > a {
	color: #0b0c0c;
	border-left: 5px solid var(--ask-accent, #1b4f8f);
	padding-left: 12px;
	text-decoration: none;
}

.widget_calendar tfoot td {
	border-bottom: 1px solid #d1d1d1;
	border-top: 1px solid #d1d1d1;
}

.widget_calendar #next a {
	float: right;
}

.widget_rss ul {
	margin: 0;
}

.widget_rss li {
	margin-bottom: 15px;
	list-style-type: none;
}

.widget_rss li a,
.widget_rss .rss-date {
	display: block;
	font-weight: bold;
}

.widget_rss cite,
.widget_rss .rss-date {
	color: #505a5f;
	font-style: normal;
	font-weight: normal;
}

.widget_rss .rssSummary {
	display: block;
	margin: 3px 0;
}

.searchform input {
	display: inline;
	max-width: 180px;
    margin-left: 7px;
	text-align: left;
}

/* =Empty states (no posts / no results)
-------------------------------------------------------------- */

.no-results {
	max-width: 40em;
	margin: 0 0 40px;
	padding: 0;
	color: #0b0c0c;
}

#column-content .no-results__title,
.no-results__title {
	margin: 0 0 20px;
	color: #0b0c0c;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
}

.no-results--welcome .no-results__title {
	font-size: 48px;
}

.no-results__eyebrow {
	margin: 0 0 5px;
	color: #505a5f;
	font-size: 19px;
}

.no-results__text {
	margin: 0 0 30px;
	color: #0b0c0c;
	font-size: 19px;
	line-height: 1.5;
}

.no-results__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px 20px;
	margin: 0 0 30px;
}

.no-results__note {
	margin: 0;
	padding: 15px 20px;
	border-left: 10px solid #b1b4b6;
	color: #0b0c0c;
	font-size: 16px;
}

/* Flat, square buttons */
.academica-button,
.academica-button:visited {
	display: inline-block;
	padding: 10px 18px;
	border: 2px solid var(--ask-accent, #1b4f8f);
	border-radius: 0;
	background: var(--ask-accent, #1b4f8f);
	color: #fff;
	font-size: var(--ask-button-size);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.academica-button:hover {
	background: var(--ask-accent-dark, #133a6b);
	border-color: var(--ask-accent-dark, #133a6b);
	color: #fff;
	text-decoration: none;
}

.academica-button--ghost,
.academica-button--ghost:visited {
	background: #f3f2f1;
	border-color: #f3f2f1;
	color: #0b0c0c;
}

.academica-button--ghost:hover {
	background: #dbdad9;
	border-color: #dbdad9;
	color: #0b0c0c;
}

/* Search form inside content (not the header) */
#content .searchform {
	display: flex;
	max-width: 480px;
	gap: 0;
}

#content .searchform input[type="search"] {
	flex: 1 1 auto;
	box-sizing: border-box;
	min-width: 0;
	max-width: none;
	height: 44px;
	border-right: 0;
	-webkit-appearance: none;
	appearance: none;
}

#content .searchform button {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	color: #fff;
	font-size: var(--ask-button-size);
	font-weight: 600;
}

@media screen and (max-width: 600px) {
	#column-content .no-results__title,
	.no-results__title,
	.no-results--welcome .no-results__title {
		font-size: 32px;
	}
}

/* =Accessible focus states (keyboard)
-------------------------------------------------------------- */

/*
 * One focus style everywhere (keyboard only, via :focus-visible): a 2px dotted
 * outline, 2px away from the element. Links use their own text colour, so the
 * outline matches them on any background. Buttons and form fields use
 * --ask-focus-ring: near-black on light areas, white on dark ones.
 */
:root {
	--ask-focus-ring: #0b0c0c;
	/* Button text: 19px on wide screens, down to 17px on phones. */
	--ask-button-size: clamp(17px, 15.7px + 0.33vw, 19px);
}

/* Header: follows the header text colour, so it stays visible on any header background. */
#header {
	--ask-focus-ring: var(--ask-header-text, #fff);
}

.site-footer {
	--ask-focus-ring: #fff;
}

:focus-visible {
	outline: 2px dotted var(--ask-focus-ring);
	outline-offset: 2px;
}

a:focus-visible {
	outline-color: currentColor;
}

/* Header and footer links (including the logo, whose link colour is the accent):
   always the ring colour, never the link colour. */
#header a:focus-visible,
.site-footer a:focus-visible {
	outline-color: var(--ask-focus-ring);
}

/* Links styled as buttons or with a coloured/image background (their text colour
   is white or the button's), so use the ring colour. */
a.wp-block-button__link:focus-visible,
a.wp-element-button:focus-visible,
a.academica-button:focus-visible,
a.post-feature__link:focus-visible,
a.social-sharing-icon:focus-visible,
.social-icons a:focus-visible {
	outline-color: var(--ask-focus-ring);
}

.skip-link:focus,
.screen-reader-text:focus {
	border-radius: 0;
	background: #fff;
	color: #0b0c0c;
	box-shadow: none;
	outline: 3px solid #0b0c0c;
}

/* =Featured Posts Gallery Widget
-------------------------------------------------------------- */

.academica-featured-posts-gallery ul {
	margin: 0;
}

.academica-featured-posts-gallery .posts li {
	list-style-type: none;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #d8dadb;
}

.widget_author_grid li,
.academica-featured-posts-gallery {
	display: block;
 	margin: 0 8px 15px 0;
}

.academica-featured-posts-gallery .post div.thumb {
	margin: 0 15px 0 0;
	float: left;
}

.academica-featured-posts-gallery .post h3 {
	margin: 0 0 10px;
	font-size: 18px;
}


/* =Wide and full alignment
   Next to a sidebar, wide and full blocks fill the content column (they can't spill
   over the sidebar). Without sidebars (full-width template, Modern article view):
   wide grows to the site width (1170px) and full reaches the edges of the screen.
-------------------------------------------------------------- */

.entry-content > .alignwide,
.entry-content > .alignfull {
	clear: both;
	width: auto;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

#content:not(:has(> .column-narrow *)) .entry-content > .alignwide {
	width: min(1170px, 100vw - 40px);
	margin-right: calc(50% - min(585px, 50vw - 20px));
	margin-left: calc(50% - min(585px, 50vw - 20px));
}

#content:not(:has(> .column-narrow *)) .entry-content > .alignfull {
	width: auto;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

/* 100vw includes the scrollbar: don't let full-width blocks cause sideways scrolling.
   On the body (which spans the window), not #wrap, which is a narrower centred container. */
body {
	overflow-x: clip;
}

/* Footer at the bottom of the window on short pages: the page is a column at least
   as tall as the window (minus the admin bar), and the main area grows to fill it. */
body {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}

body > #wrap {
	flex: 1 0 auto;
}

body > #header,
body > #footer {
	flex-shrink: 0;
}

.wp-block-pullquote {
	border-left: 4px solid var(--ask-accent, #1b4f8f);
	padding-left: 1em;
	margin: 1.5em 0;
}

/* Block Editor Color Classes */
.has-primary-blue-color {
	color: var(--ask-accent, #1b4f8f);
}

.has-primary-blue-background-color {
	background-color: var(--ask-accent, #1b4f8f);
}

.has-header-color {
	color: var(--ask-header, #1b4f8f);
}

.has-header-background-color {
	background-color: var(--ask-header, #1b4f8f);
}

.has-dark-gray-color {
	color: var(--ask-text, #0b0c0c);
}

.has-dark-gray-background-color {
	background-color: var(--ask-text, #0b0c0c);
}

.has-light-gray-color {
	color: #505a5f;
}

.has-light-gray-background-color {
	background-color: #505a5f;
}

.has-light-panel-color {
	color: #f3f2f1;
}

.has-light-panel-background-color {
	background-color: #f3f2f1;
}

/* Continue Reading: an outline button (fills with the accent colour on hover) */
a.read-more,
a.more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-top: 10px;
	padding: 8px 18px;
	box-sizing: border-box;
	border: 2px solid var(--ask-accent, #1b4f8f);
	border-radius: 0;
	background: transparent;
	color: var(--ask-accent, #1b4f8f);
	font-size: var(--ask-button-size, 19px);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

a.read-more:hover,
a.more-link:hover {
	background: var(--ask-accent, #1b4f8f);
	color: #fff;
	text-decoration: none;
}

a.read-more:active,
a.more-link:active {
	transform: translateY(1px);
}

a.read-more:focus-visible,
a.more-link:focus-visible {
	outline-color: var(--ask-focus-ring, #0b0c0c);
}

.read-more-link {
	color: inherit;
	font-weight: inherit;
	text-decoration: none;
}

/* =Accessibility Enhancements
-------------------------------------------------------------- */

/* Touch target sizing for mobile (WCAG 2.5.5)
   Ensure interactive elements have minimum 44x44px touch targets */

/* Entry meta links - improve touch targets */
.entry-meta a {
	display: inline-block;
	padding: 4px 0;
	min-height: 44px;
	line-height: 1.5;
}

/* Widget links - improve touch targets */
.widget ul li a {
	display: inline-block;
	padding: 6px 0;
}

.widget_pages > ul li,
.widget ul.menu li {
	padding-top: 12px;
	padding-bottom: 12px;
}


/* Pagination links - improve touch targets */
.navigation a,
.nav-links a {
	display: inline-block;
	padding: 8px 12px;
	min-height: 44px;
	min-width: 44px;
	text-align: center;
}

/* Author vcard links */
.author.vcard a {
	display: inline-block;
	padding: 4px 0;
}

/* Ensure adequate spacing between adjacent links */
.entry-meta .by-author,
.entry-meta .category,
.entry-meta .datetime {
	margin-right: 8px;
}

body .wp-lightbox-overlay {
	z-index: 99990;
}


/* =Readable content
-------------------------------------------------------------- */

.entry-content {
	font-size: 19px;
	line-height: 1.5;
	color: var(--ask-text, #0b0c0c);
}

/* Site title and tagline hidden in the Customizer: visually hidden, still read by screen readers */
.academica-hide-header-text #site-title,
.academica-hide-header-text #site-description {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol {
	max-width: 40em;
}

.entry-content h2 {
	margin: 40px 0 15px;
	color: #0b0c0c;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.2;
}

.entry-content h3 {
	margin: 30px 0 10px;
	color: #0b0c0c;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
}

/* =Modern blog: card grid
-------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 30px;
	margin: 10px 0 40px;
}

/* A thin divider under each card separates the rows of the grid. */
.posts .post-grid > .post-card,
.post-grid > .post-card.post-card {
	padding-bottom: 40px;
	border-bottom: 1px solid #d8dadb;
}

.posts .post-card,
.post-card {
	margin: 0;
	padding: 0;
	border: 0;
}

.academica-grid-view .column-title {
	border-bottom: 0;
}

.post-card__image {
	display: block;
	margin: 0 0 15px;
	background: #f3f2f1;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.post-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.post-card__cat {
	margin: 0 0 6px;
	color: #505a5f;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

#content .post-card__title,
.post-card__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.post-card__title a {
	color: var(--ask-accent, #1b4f8f);
	text-decoration: none;
}

#content .post-card__title a:hover {
	color: var(--ask-accent-dark, #133a6b);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .15em;
}

.post-card__date {
	margin: 0 0 10px;
	color: #0b0c0c;
	font-size: 16px;
	font-weight: 700;
}

.post-card__excerpt {
	margin: 0;
	color: #0b0c0c;
	font-size: 17px;
	line-height: 1.5;
}

.academica-grid-view .column-title .title-header {
	margin-bottom: 30px;
}

@media screen and (max-width: 979px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.post-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

/* =Modern blog: centred article
-------------------------------------------------------------- */

body.academica-article-view:not(.academica-article-sidebars) #content .column-content.single,
.academica-article-view:not(.academica-article-sidebars) .column-content.single {
	display: block;
	float: none;
	width: auto;
	max-width: 720px;
	margin: 0 auto;
}

.academica-article-view .column-title {
	float: none;
	width: auto;
}

.article-meta {
	margin: 10px 0 10px;
	color: #505a5f;
	font-size: 16px;
}

.article-meta a {
	color: #505a5f;
}

.article-meta__sep {
	margin: 0 6px;
}

.academica-article-view .title-header {
	margin-bottom: 25px;
}

.article-image {
	margin: 10px 0 30px;
}

/* The lead image is a little wider than the text column (up to 1000px, centred). */
.academica-article-view:not(.academica-article-sidebars) .article-image {
	width: min(1000px, 100vw - 40px);
	margin-right: calc(50% - min(500px, 50vw - 20px));
	margin-left: calc(50% - min(500px, 50vw - 20px));
}

.article-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

/* Lead image of a Modern article: a wide banner whatever the shape of the upload
   (21:9 on wide screens, 16:9 on tablets and phones). */
.academica-article-view .article-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

@media screen and (min-width: 769px) {
	.academica-article-view .article-image img {
		aspect-ratio: 21 / 9;
	}
}

.article-image figcaption {
	margin-top: 8px;
	color: #505a5f;
	font-size: 15px;
}

.academica-article-view .entry-content > p:first-child {
	font-size: 24px;
	line-height: 1.4;
}

.academica-article-view .entry-content > p,
.academica-article-view .entry-content > ul,
.academica-article-view .entry-content > ol {
	max-width: none;
}

.academica-article-view .navigation {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #b1b4b6;
	font-size: 17px;
}

/* =Modern blog: featured story (image with title overlay)
-------------------------------------------------------------- */

.post-feature {
	margin: 10px 0 50px;
}

.post-feature__link,
.post-feature__link:visited {
	position: relative;
	display: block;
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background: #0b0c0c;
	color: #fff;
	text-decoration: none;
}

.post-feature__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.post-feature__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	padding: 120px 40px 35px;
	/* Bottom fade keeps the white title readable on any photo. */
	background: linear-gradient(to bottom, rgba(11, 12, 12, 0) 0%, rgba(11, 12, 12, .55) 45%, rgba(11, 12, 12, .85) 100%);
}

.post-feature__cat {
	display: inline-block;
	margin: 0 0 12px;
	padding: 4px 10px;
	background: #0b0c0c;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.post-feature__title {
	display: block;
	max-width: 22em;
	color: #fff;
	font-size: clamp(26px, 1.2rem + 2vw, 44px);
	font-weight: 700;
	line-height: 1.15;
}

.post-feature__link:hover .post-feature__title {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: .12em;
}

@media screen and (max-width: 600px) {
	.post-feature__link {
		aspect-ratio: 4 / 3;
	}

	.post-feature__body {
		padding: 60px 20px 20px;
	}
}

/* =Sidebar navigation (Pages / Navigation Menu widgets in sidebars)
-------------------------------------------------------------- */

#content .column-narrow .widget_pages,
#content .column-narrow .widget_nav_menu,
#content .column-narrow .academica-page-nav {
	margin: 0 0 40px;
	padding: 20px 20px 22px;
	background: #f3f2f1;
}

#content .column-narrow .widget_pages h3.heading,
#content .column-narrow .widget_nav_menu h3.heading,
#content .column-narrow .widget_pages .widget-title,
#content .column-narrow .widget_nav_menu .widget-title,
#content .column-narrow .academica-page-nav h3.heading,
#content .column-narrow .academica-page-nav .widget-title {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	color: var(--ask-text, #0b0c0c);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

/* The list sits on a thin grey rail; the current page lights up its part. */
#content .column-narrow .widget_pages ul,
#content .column-narrow .widget_nav_menu ul,
#content .column-narrow .academica-page-nav ul {
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 2px solid #cbc8c4;
	list-style: none;
}

#content .column-narrow .widget_pages ul ul,
#content .column-narrow .widget_nav_menu ul ul,
#content .column-narrow .academica-page-nav ul ul {
	border-left: 0;
}

#content .column-narrow .widget_pages li,
#content .column-narrow .widget_nav_menu li,
#content .column-narrow .academica-page-nav li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 17px;
}

/* Thin separators between links, starting after the rail */
#content .column-narrow .widget_pages li + li,
#content .column-narrow .widget_nav_menu li + li,
#content .column-narrow .widget_pages ul ul li,
#content .column-narrow .widget_nav_menu ul ul li,
#content .column-narrow .academica-page-nav li + li,
#content .column-narrow .academica-page-nav ul ul li {
	border-top: 1px solid #dcdad7;
}

#content .column-narrow .widget_pages li a,
#content .column-narrow .widget_nav_menu li a,
#content .column-narrow .academica-page-nav li a {
	display: block;
	margin-left: -2px;
	padding: 10px 0 10px 16px;
	border-left: 2px solid transparent;
	color: var(--ask-text, #0b0c0c);
	line-height: 1.4;
	text-decoration: none;
}

#content .column-narrow .widget_pages li a:hover,
#content .column-narrow .widget_nav_menu li a:hover,
#content .column-narrow .academica-page-nav li a:hover {
	border-left-color: #6f777b;
	color: var(--ask-accent, #1b4f8f);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .15em;
}

#content .column-narrow .widget_pages li a:focus-visible,
#content .column-narrow .widget_nav_menu li a:focus-visible,
#content .column-narrow .academica-page-nav li a:focus-visible {
	outline-offset: -2px;
}

/* Sub-pages: indented, slightly smaller */
#content .column-narrow .widget_pages li li a,
#content .column-narrow .widget_nav_menu li li a,
#content .column-narrow .academica-page-nav li li a {
	padding-left: 32px;
	font-size: 16px;
}

/* Current page: accent segment on the rail, accent bold text */
#content .column-narrow .widget_pages li.current_page_item > a,
#content .column-narrow .widget_nav_menu li.current-menu-item > a,
#content .column-narrow .academica-page-nav li.current-menu-item > a {
	padding-left: 16px;
	border-left: 2px solid var(--ask-accent, #1b4f8f);
	background: none;
	color: var(--ask-accent, #1b4f8f);
	font-weight: 700;
	text-decoration: none;
}

#content .column-narrow .widget_pages li li.current_page_item > a,
#content .column-narrow .widget_nav_menu li li.current-menu-item > a,
#content .column-narrow .academica-page-nav li li.current-menu-item > a {
	padding-left: 32px;
}

/* =Form controls: larger checkboxes and radios (WCAG 2.2 target size)
-------------------------------------------------------------- */

input[type="checkbox"],
input[type="radio"] {
	width: 20px;
	height: 20px;
	margin: 0 8px 0 0;
	vertical-align: -4px;
	accent-color: var(--ask-accent, #1b4f8f);
	cursor: pointer;
}

.comment-form-cookies-consent,
#commentform .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.comment-form-cookies-consent input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 0;
}

#commentform .comment-form-cookies-consent label {
	margin: 0;
	padding-top: 1px;
	cursor: pointer;
}

/* =Checkboxes and radio buttons
   24px box with the same 2px grey border as text fields; dark tick or dot when chosen.
-------------------------------------------------------------- */

#commentform input[type="checkbox"],
.entry-content input[type="checkbox"],
.entry-content input[type="radio"],
.widget input[type="checkbox"],
.widget input[type="radio"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-grid;
	place-content: center;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 2px solid var(--ask-field-border, #6f777b);
	border-radius: 0;
	background: #fff;
	color: var(--ask-text, #0b0c0c);
	vertical-align: middle;
	cursor: pointer;
}

.entry-content input[type="radio"],
.widget input[type="radio"] {
	border-radius: 50%;
}

/* Tick */
#commentform input[type="checkbox"]::before,
.entry-content input[type="checkbox"]::before,
.widget input[type="checkbox"]::before {
	content: "";
	width: 12px;
	height: 6px;
	margin-top: -3px;
	border-bottom: 3px solid currentColor;
	border-left: 3px solid currentColor;
	transform: rotate(-45deg) scale(0);
}

/* Dot */
.entry-content input[type="radio"]::before,
.widget input[type="radio"]::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	transform: scale(0);
}

#commentform input[type="checkbox"]:checked,
.entry-content input[type="checkbox"]:checked,
.entry-content input[type="radio"]:checked,
.widget input[type="checkbox"]:checked,
.widget input[type="radio"]:checked {
	border-color: var(--ask-text, #0b0c0c);
}

#commentform input[type="checkbox"]:checked::before,
.entry-content input[type="checkbox"]:checked::before,
.widget input[type="checkbox"]:checked::before {
	transform: rotate(-45deg) scale(1);
}

.entry-content input[type="radio"]:checked::before,
.widget input[type="radio"]:checked::before {
	transform: scale(1);
}

#commentform input[type="checkbox"]:hover,
.entry-content input[type="checkbox"]:hover,
.entry-content input[type="radio"]:hover,
.widget input[type="checkbox"]:hover,
.widget input[type="radio"]:hover {
	border-color: var(--ask-text, #0b0c0c);
}

.entry-content input[type="checkbox"]:disabled,
.entry-content input[type="radio"]:disabled {
	border-color: #b1b4b6;
	background: #f3f2f1;
	cursor: not-allowed;
}

/* =Core blocks: match the flat, accessible style
-------------------------------------------------------------- */

/* Separator: full-width hairline with room around it */
.entry-content .wp-block-separator,
.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots),
.entry-content hr {
	clear: both;
	width: 100%;
	max-width: none;
	height: 0;
	margin: 50px 0 30px;
	border: 0;
	border-top: 1px solid #b1b4b6;
	background: none;
	opacity: 1;
}

.entry-content .wp-block-separator.is-style-wide {
	border-top-width: 2px;
}

/* Buttons */
.entry-content .wp-block-button__link,
.entry-content .wp-element-button,
.wp-block-search__button,
.entry-content input[type="submit"].wp-block-wpzoom-forms-submit-field {
	display: inline-block;
	min-height: 44px;
	padding: 10px 18px;
	border: 2px solid var(--ask-accent, #1b4f8f);
	border-radius: 0;
	background: var(--ask-accent, #1b4f8f);
	color: #fff;
	font-size: var(--ask-button-size);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.entry-content .wp-block-button__link:hover,
.wp-block-search__button:hover,
.entry-content input[type="submit"].wp-block-wpzoom-forms-submit-field:hover {
	border-color: var(--ask-accent-dark, #133a6b);
	background: var(--ask-accent-dark, #133a6b);
	color: #fff;
}

.entry-content .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ask-accent, #1b4f8f);
}

.entry-content .is-style-outline .wp-block-button__link:hover {
	background: var(--ask-accent, #1b4f8f);
	color: #fff;
}

/* Search block */

.wp-block-search__inside-wrapper {
	max-width: 520px;
}

.wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	border-right: 0;
}

.wp-block-search__button {
	height: 44px;
	margin-left: 0;
	padding: 0 18px;
}

/* Captions */
.entry-content figcaption,
.entry-content .wp-element-caption,
.wp-caption-text {
	margin: 8px 0 0;
	color: #505a5f;
	font-size: 16px;
	line-height: 1.4;
	text-align: left;
}

/* Tables */
.entry-content .wp-block-table table,
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 17px;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td,
.entry-content table th,
.entry-content table td {
	padding: 10px 20px 10px 0;
	border: 0;
	border-bottom: 1px solid #b1b4b6;
	text-align: left;
	vertical-align: top;
}

.entry-content .wp-block-table thead,
.entry-content .wp-block-table thead th {
	border-bottom: 2px solid #0b0c0c;
}

.entry-content .wp-block-table th,
.entry-content table th {
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

/* Quotes */
.entry-content .wp-block-quote,
.entry-content blockquote {
	margin: 30px 0;
	padding: 5px 0 5px 20px;
	border-left: 5px solid #b1b4b6;
	font-style: normal;
}

.entry-content .wp-block-quote p {
	font-size: 22px;
	line-height: 1.4;
}

.entry-content .wp-block-quote cite,
.entry-content .wp-block-pullquote cite {
	display: block;
	margin-top: 10px;
	color: #505a5f;
	font-size: 16px;
	font-style: normal;
	text-transform: none;
}

.entry-content .wp-block-pullquote {
	margin: 40px 0;
	padding: 25px 30px;
	border: 0;
	border-left: 10px solid var(--ask-accent, #1b4f8f);
	background: #f3f2f1;
	text-align: left;
}

.entry-content .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.entry-content .wp-block-pullquote p {
	margin: 0;
	font-size: 28px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.25;
}

/* Details */
.entry-content .wp-block-details {
	margin: 20px 0;
}

.entry-content .wp-block-details summary {
	display: list-item;
	color: var(--ask-accent, #1b4f8f);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: .15em;
}

.entry-content .wp-block-details summary:hover {
	text-decoration-thickness: 3px;
}

.entry-content .wp-block-details[open] > :not(summary) {
	margin-top: 10px;
	padding-left: 20px;
	border-left: 5px solid #b1b4b6;
}

/* Code */
.entry-content .wp-block-code,
.entry-content pre {
	padding: 15px 20px;
	border: 0;
	border-left: 5px solid #b1b4b6;
	border-radius: 0;
	background: #f3f2f1;
	font-size: 16px;
	overflow-x: auto;
}

.entry-content code {
	font-size: .9em;
}

.entry-content pre code {
	font-size: inherit;
}

.entry-content mark {
	padding: 0 2px;
	background: #ffdd00;
	color: #0b0c0c;
}

/* Images */
.entry-content .wp-block-image img {
	border-radius: 0;
}

/* =Form controls: inherit the page font
-------------------------------------------------------------- */

button,
input,
select,
textarea {
	font-family: inherit;
}

/* =Comment form
-------------------------------------------------------------- */

#commentform p {
	display: flow-root; /* replaces the old overflow:hidden clearfix that clipped focus outlines */
	overflow: visible;
	margin: 0 0 20px;
	font-size: 16px;
}

#commentform .comment-notes,
#commentform .logged-in-as {
	color: #505a5f;
	font-size: 16px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
	width: 100%;
	max-width: 480px;
}

#commentform #submit,
#commentform input[type="submit"] {
	padding: 10px 18px;
	border: 2px solid var(--ask-accent, #1b4f8f);
	border-radius: 0;
	background: var(--ask-accent, #1b4f8f);
	color: #fff;
	font-size: var(--ask-button-size);
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

#commentform #submit:hover,
#commentform input[type="submit"]:hover {
	border-color: var(--ask-accent-dark, #133a6b);
	background: var(--ask-accent-dark, #133a6b);
}

#respond .comment-reply-title,
#comments > h2 {
	margin: 50px 0 20px;
	color: var(--ask-text, #0b0c0c);
	font-size: 27px;
	font-weight: 700;
}

/* =Back-to-top button
-------------------------------------------------------------- */

a.academica-back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9990;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid #fff; /* keeps the edge visible over the footer */
	border-radius: 0;
	background-color: var(--ask-btt-bg, var(--ask-accent, #1b4f8f));
	color: var(--ask-btt-icon, #fff);
	text-decoration: none;
}

a.academica-back-to-top.is-visible {
	display: inline-flex;
}

a.academica-back-to-top[hidden] {
	display: none;
}

a.academica-back-to-top:hover {
	background-color: var(--ask-btt-icon, #fff);
	color: var(--ask-btt-bg, var(--ask-accent, #1b4f8f));
}

a.academica-back-to-top:focus-visible {
	outline-color: var(--ask-btt-bg, var(--ask-accent, #1b4f8f));
}

@media print {
	a.academica-back-to-top {
		display: none !important;
	}
}

/* Posts page title (list layout) */
#column-content.posts > .title-header {
	margin: 0 0 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #d8dadb;
}

/* =Previous / next post
-------------------------------------------------------------- */

#wrap .post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 40px;
	margin: 40px 0;
	padding: 24px 0;
	border-top: 1px solid #b1b4b6;
	border-bottom: 1px solid #b1b4b6;
	font-size: 19px;
}

#wrap .post-navigation .nav-previous,
#wrap .post-navigation .nav-next {
	max-width: none;
	margin: 0;
}

#wrap .post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

#wrap .post-navigation a {
	display: block;
	min-height: 0;
	padding: 4px 0;
	text-align: inherit;
	text-decoration: none;
	font-size: inherit;
}

.post-navigation__label {
	display: block;
	margin-bottom: 4px;
	color: var(--ask-text, #0b0c0c);
	font-size: 16px;
	font-weight: 700;
}

.post-navigation__title {
	display: block;
	line-height: 1.4;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .15em;
}

#wrap .post-navigation a:hover .post-navigation__title {
	text-decoration-thickness: 3px;
}

/* The navigation's bottom border already separates the comments. */
.post-navigation + #comments > hr:first-child {
	display: none;
}

@media screen and (max-width: 600px) {
	#wrap .post-navigation {
		grid-template-columns: 1fr;
	}

	#wrap .post-navigation .nav-next {
		grid-column: 1;
		text-align: left;
	}
}

/* =Button states: pressed and disabled
   (hover changes the colour, keyboard focus adds the dotted outline above)
-------------------------------------------------------------- */

.entry-content .wp-block-button__link:active,
.entry-content .wp-element-button:active,
.wp-block-search__button:active,
.academica-button:active,
#commentform input[type="submit"]:active,
.entry-content input[type="submit"]:active,
button:not(.menu-toggle, .submenu-toggle):active {
	transform: translateY(1px);
	filter: brightness(.9);
}

@media (prefers-reduced-motion: reduce) {
	.entry-content .wp-block-button__link:active,
	.entry-content .wp-element-button:active,
	.wp-block-search__button:active,
	.academica-button:active,
	#commentform input[type="submit"]:active,
	.entry-content input[type="submit"]:active,
	button:not(.menu-toggle, .submenu-toggle):active {
		transform: none;
	}
}

/* Disabled (disabled attribute or aria-disabled): muted, no hover change. */
.wp-element-button:disabled,
.wp-element-button[aria-disabled="true"],
button:disabled,
button[aria-disabled="true"],
input[type="submit"]:disabled,
input[type="button"]:disabled,
.wp-block-button__link[aria-disabled="true"],
.academica-button[aria-disabled="true"],
button:disabled:hover,
button[aria-disabled="true"]:hover,
input[type="submit"]:disabled:hover,
input[type="button"]:disabled:hover,
.wp-block-button__link[aria-disabled="true"]:hover,
.academica-button[aria-disabled="true"]:hover {
	/* !important: a disabled button must look disabled whatever its other styles. */
	border-color: #b1b4b6 !important;
	background: #e5e6e7 !important;
	color: #505a5f !important;
	cursor: not-allowed !important;
	transform: none !important;
	filter: none !important;
}

/* =Search results
-------------------------------------------------------------- */

.search-summary {
	margin: 0 0 30px;
}

.search-summary .searchform {
	margin-bottom: 15px;
}

.search-summary__count {
	margin: 0;
	color: var(--ask-text, #0b0c0c);
	font-size: 19px;
}

.search-results-list {
	border-top: 1px solid #b1b4b6;
}

.search-result {
	padding: 24px 0;
	border-bottom: 1px solid #d8dadb;
}

.search-result__type {
	margin: 0 0 6px;
	color: #505a5f;
	font-size: 16px;
}

.search-result__title {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}

.search-result__title a {
	color: var(--ask-accent, #1b4f8f);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .15em;
}

.search-result__title a:hover {
	text-decoration-thickness: 3px;
}

.search-result__excerpt {
	margin: 8px 0 0;
	font-size: 19px;
}

/* =Archive headings
-------------------------------------------------------------- */

.archive-header__label {
	margin: 0 0 4px;
	color: #505a5f;
	font-size: 19px;
}

.archive-header .title-header {
	margin-bottom: 0;
}

.archive-header__description {
	max-width: 40em;
	margin-top: 12px;
	font-size: 19px;
}

.archive-header__description > :last-child {
	margin-bottom: 0;
}

/* Lists of posts: page links get the same space as the previous / next post links */
#wrap .posts-pagination {
	margin-top: 30px;
}

/* =404
-------------------------------------------------------------- */

.error404 .entry-content .searchform {
	margin: 20px 0;
}

.not-found__home a {
	font-weight: 600;
}

/* =Tag cloud: small square chips
-------------------------------------------------------------- */

.tagcloud,
.wp-block-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tagcloud a,
.wp-block-tag-cloud a {
	display: inline-block;
	margin: 0;
	padding: 4px 10px;
	border: 1px solid #b1b4b6;
	background: #f3f2f1;
	color: var(--ask-text, #0b0c0c);
	font-size: 16px !important; /* overrides the per-tag sizes WordPress adds inline */
	line-height: 1.4;
	text-decoration: none;
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover {
	border-color: var(--ask-text, #0b0c0c);
	text-decoration: underline;
}

.site-footer .tagcloud a {
	border-color: rgba(255, 255, 255, .5);
	background: transparent;
	color: #fff;
}

/* Search results reuse post_class(): keep the list-view post styles out. */
.posts .search-result {
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid #d8dadb;
}

.posts .search-result .search-result__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
}

.archive-header {
	margin-bottom: 30px;
}

/* =Footer brand column as a widget area (Appearance > Widgets > Footer: Brand column)
-------------------------------------------------------------- */

.site-footer__brand-widget + .site-footer__brand-widget {
	margin-top: 16px;
}

.site-footer__brand .wp-block-site-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.site-footer__brand .wp-block-site-title a {
	color: inherit;
	text-decoration: none;
}

.site-footer__brand .wp-block-site-title a:hover {
	text-decoration: underline;
}

.site-footer__brand .wp-block-site-tagline {
	max-width: 26em;
	margin: 0;
	font-size: 17px;
}

.site-footer__brand .wp-block-site-logo img {
	max-height: 80px;
	width: auto;
}

.site-footer__brand .wp-block-social-links {
	margin: 4px 0 0;
}

.site-footer__brand p {
	margin: 0 0 10px;
}

/* =Blocks with a background colour (groups, panels, call-to-action bands)
   need clear space on both sides, not only above.
-------------------------------------------------------------- */

.entry-content > .has-background:not(:first-child) {
	margin-top: 40px;
}

.entry-content > .has-background:not(:last-child),
.entry-content > [class*="ask-"]:not(:last-child) {
	margin-bottom: 40px;
}

@media screen and (max-width: 600px) {
	.entry-content > .has-background:not(:first-child) {
		margin-top: 30px;
	}

	.entry-content > .has-background:not(:last-child),
	.entry-content > [class*="ask-"]:not(:last-child) {
		margin-bottom: 30px;
	}
}

/* Page List block in the footer: top-level pages only, like the old Quick links */
.site-footer .wp-block-page-list {
	margin: 0;
	padding: 0;
}

.site-footer .wp-block-page-list ul {
	display: none;
}

.site-footer__brand .wp-block-site-tagline {
	margin-top: 0;
}

/* Page List block in the sidebar navigation: same panel, no extra list styles */
#content .column-narrow .academica-page-nav .wp-block-page-list {
	margin: 0;
	padding-left: 0;
}

#content .column-narrow .academica-page-nav .wp-block-navigation__submenu-icon {
	display: none;
}

/* Site name and tagline paragraphs in footer column 1 (block widgets) */
.site-footer__brand p.site-footer__name {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.site-footer__brand p.site-footer__name a {
	color: inherit;
	text-decoration: none;
}

.site-footer__brand p.site-footer__name a:hover {
	text-decoration: underline;
}

.site-footer__brand p.site-footer__tagline {
	margin: 0;
	font-size: 17px;
}

/* News grid beside the left sidebar: two columns of cards */
@media screen and (min-width: 601px) {
	#content:has(> .column-narrow *) .post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Footer link lists (Page List, Navigation, menu widgets): same tight rhythm as the
   built-in Quick links; the sidebar widgets' extra link padding isn't needed here. */
.site-footer .widget ul li a {
	display: inline;
	padding: 0;
}

/* Footer without widget columns: just the copyright bar, no divider line above it */
.site-footer > .site-footer__bottom:first-child {
	border-top: 0;
}

/* Classic blog list: featured image above the title */
.posts .post-thumbnail {
	display: block;
	margin: 0 0 20px;
	background: #f3f2f1;
}

.posts .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.posts .post-thumbnail:hover img {
	opacity: .9;
}

/* =Compact list blog style: small image on the left, text on the right
-------------------------------------------------------------- */

.academica-compact-list .posts > .post,
.academica-compact-list .posts > .type-post {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	grid-template-areas:
		"image title"
		"image meta"
		"image summary";
	grid-template-rows: auto auto 1fr;
	column-gap: 24px;
	align-items: start;
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid #d8dadb;
}

.academica-compact-list .posts > .post:not(.has-post-thumbnail),
.academica-compact-list .posts > .type-post:not(.has-post-thumbnail) {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "title" "meta" "summary";
}

.academica-compact-list .posts > .post::before,
.academica-compact-list .posts > .post::after {
	display: none; /* the old clearfix would become grid items */
}

.academica-compact-list .posts .post-thumbnail {
	grid-area: image;
	margin: 0;
}

.academica-compact-list .posts .post > h2 {
	grid-area: title;
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.3;
}

.academica-compact-list .posts .post > .entry-meta {
	grid-area: meta;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	font-size: 16px;
}

.academica-compact-list .posts .post > .entry-summary {
	grid-area: summary;
	font-size: 17px;
}

.academica-compact-list .posts .entry-summary p {
	margin: 0;
}

/* The title is the link: no Continue Reading button in this layout. */
.academica-compact-list .posts .read-more-wrap {
	display: none;
}

@media screen and (max-width: 600px) {
	.academica-compact-list .posts > .post,
	.academica-compact-list .posts > .type-post {
		grid-template-columns: 110px minmax(0, 1fr);
		grid-template-areas:
			"image title"
			"image meta"
			"summary summary";
		column-gap: 16px;
	}

	.academica-compact-list .posts .post > h2 {
		font-size: 19px;
	}

	.academica-compact-list .posts .post > .entry-summary {
		margin-top: 8px;
	}
}

/* Compact list: the meta line shows just the date */
.academica-compact-list .posts .post > .entry-meta .sep,
.academica-compact-list .posts .post > .entry-meta > a:not(:first-child) {
	display: none;
}

/* =Pagination: ← Previous   1 [2] 3   Next →  (numbers centred)
-------------------------------------------------------------- */

.pagination {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px 16px;
	margin: 40px 0 0;
	padding-top: 24px;
	border-top: 1px solid #b1b4b6;
}

.pagination__next {
	text-align: right;
}

.pagination__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Previous / Next: the arrow and word share one underline */
.pagination__link,
.pagination .page-numbers {
	display: inline-block;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	box-sizing: border-box;
	color: var(--ask-accent, #1b4f8f);
	font-size: 19px;
	font-weight: 600;
	line-height: 44px;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: .15em;
	white-space: nowrap;
}

.pagination__prev .pagination__link {
	padding-left: 0;
}

.pagination__next .pagination__link {
	padding-right: 0;
}

.pagination__link:hover,
.pagination a.page-numbers:hover {
	text-decoration-thickness: 3px;
}

/* Current page: a filled box */
.pagination .page-numbers.current {
	background: var(--ask-accent, #1b4f8f);
	color: #fff;
	text-decoration: none;
}

.pagination .page-numbers.dots {
	min-width: 0;
	padding: 0 4px;
	color: #505a5f;
	text-decoration: none;
}

@media screen and (max-width: 600px) {
	/* Phones: Previous and Next on one row, page numbers centred below */
	.pagination {
		grid-template-columns: 1fr 1fr;
	}

	.pagination__list {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

/* After the card grid the last cards already end with a divider: no second line. */
.post-grid + .pagination {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
