/*
Theme Name: Typology Current Legal Problems
Theme URI: https:/ucl.ac.uk/laws
Template: typology
Author: Michael Veale
Author URI: https:/ucl.ac.uk/laws
Description: Adjustments to the Meks Typology theme for Current Legal Problems
Version: 1.7.6.1749739216
Updated: 2025-06-12 14:40:16

*/

@font-face {
    font-family: 'LibertinusKeyboard';
    src: url('fonts/LibertinusKeyboard-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LibertinusMath';
    src: url('fonts/LibertinusMath-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LibertinusMono';
    src: url('fonts/LibertinusMono-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LibertinusSans';
    src: url('fonts/LibertinusSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LibertinusSans';
    src: url('fonts/LibertinusSans-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'LibertinusSans';
    src: url('fonts/LibertinusSans-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'LibertinusSerifDisplay';
    src: url('fonts/LibertinusSerifDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LibertinusSerifInitials';
    src: url('fonts/LibertinusSerifInitials-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'et-book';
    src: url('fonts/et-book-roman-old-style-figures.woff2') format('woff2'),
         url('fonts/et-book-roman-old-style-figures.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'et-book-roman-line-figures';
    src: url('fonts/et-book-roman-line-figures.woff2') format('woff2'),
         url('fonts/et-book-roman-line-figures.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'et-book';
    src: url('fonts/et-book-display-italic-old-style-figures.woff2') format('woff2'),
         url('fonts/et-book-display-italic-old-style-figures.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'et-book';
    src: url('fonts/et-book-bold-line-figures.woff2') format('woff2'),
         url('fonts/et-book-bold-line-figures.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'et-book';
    src: url('fonts/et-book-semi-bold-old-style-figures.woff2') format('woff2'),
         url('fonts/et-book-semi-bold-old-style-figures.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* Example usage */
body {
    font-family: 'et-book', serif;
 line-height: 1.35;
	color: black;
    font-size:2em;
}

code {
    font-family: 'LibertinusMono', monospace;
}

body h2{
	margin-top:1em;
}



body p {font-family: 'et-book' !important;
margin-bottom:0.5em}

p.entry-desc {
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif  !important;
    text-transform: uppercase  !important;  /* Converts text to uppercase */
    letter-spacing: 0.15em  !important;     /* Adjusts spacing between characters */
}

p.editedby {
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif  !important;
    text-transform: uppercase  !important;  /* Converts text to uppercase */
    letter-spacing: 0.15em  !important;     /* Adjusts spacing between characters */
	margin-bottom: 2px;
	margin-top: 0px;
	font-size:1em
}

.entry-meta {
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif  !important;
}

/* Tighten line spacing for the author byline so multi-author lists that wrap
   onto two lines don't get the body's 1.88 leading (which reads as a paragraph
   break between the rows of names). */
.entry-meta .meta-author,
.entry-meta .meta-author .coauthors {
    line-height: 1.25;
}


.typology-section h3 {
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif  !important;
	padding-bottom: 1em;
	margin-top: -1em;
}



.typology-cover h1 {
    font-family: 'et-book';
    text-transform: uppercase  !important;  /* Converts text to uppercase */
    letter-spacing: 0.12em  !important;     /* Adjusts spacing between characters */
font-weight:normal;
}


h1, h2, h3, h4, h5, h6, typology-header, typology-nav, cover-letter, typology-button, wpforms-container-full, wpforms-form, wpforms-page-button, .h1, .h2, .h3, .h4, .h5, .h6, .typology-header, .typology-nav, .cover-letter, .typology-button, .wpforms-container-full, .wpforms-form, .wpforms-page-button {font-family: 'et-book', serif !important;
text-transform:none;
font-weight:normal}

.typology-post{
	padding-bottom:2em;
	margin-bottom:2em
}

.meta-item {font-size:1.5em;
	color: #163c73;
}

.meta-item a {
	color: #163c73;
}

.meta-item span {
	color: #163c73;
}

.typology-logo{
	max-width: 250px !important;
	width: 250px !important;
}

.typology-layout-a p{
	line-height:1.2;
	color: grey;
	
}

.typology-layout-a h2{
	line-height:1;
	font-size:2em;
}

.post-letter{
	font-family:"et-book", serif;
}

.entry-content{
	    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
    letter-spacing: 0.35px;
}

.entry-content p{
	padding-bottom: 0em;
	padding-top:0em;
	margin-bottom: 0.5em;
	margin-top:0em;
}

.entry-content h2 {
	    margin-top: 0.5em; /* Adjust this value as needed */
    margin-bottom: 0.5em; /* Adjust this value as needed */
		font-family:"et-book", serif !important;
}

.entry-content h3 {
	  margin-top: 0.5em; /* Adjust this value as needed */
    margin-bottom: 0em; /* Adjust this value as needed */
	  padding-bottom: 0.5em; /* Adjust this value as needed */
		font-family:"et-book", serif !important;

}

.entry-content h4 {
margin-bottom: 0.5em; /* Adjust this value as needed */
}

body.home .typology-section .hide {
  display: none;
}

.typology-cover .hide-header {
  display: none;
}

a {
  border-bottom: none !important;
}

.lyte-wrapper {
	padding-top:1em;
	padding-bottom:-0em !important;
}

.lyte_disclaimer{
		margin-top:0em;
	  padding-top:0em;
	  font-size:0.9em;
}



/* Footnote Tooltip Styles */
.footnote-tooltip {
    position: absolute;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.97);
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 320px;
    max-height: 50vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: opacity 0.2s ease;
    opacity: 0;
    visibility: hidden;
    font-size: 0.8em;
    line-height: 1.4;
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
}

.footnote-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.footnote-tooltip a {
    color: inherit;
    text-decoration: underline;
}

sup a:focus-visible {
    outline: 2px solid #163c73;
    outline-offset: 2px;
    border-radius: 2px;
}

.articlefootnote{
	font-size: 0.8em;
	opacity:0.7;
	font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
	line-height: 1.4;
}

.footnoteblock,
.footnoteblock li,
.footnoteblock p,
.footnoteblock a {
	font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

.footnoteheader{
	opacity:0.7;
	font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

/* ───────────────────────────── Sidenotes ─────────────────────────────
   Tufte-style margin notes, injected by sidenotes.js on viewports
   ≥1280px. The bottom References block stays in the document for
   no-JS / reader-mode / print fallback but is visually de-emphasised
   when the margins are populated.
*/
.sidenote-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    /* Parent theme's .typology-fake-bg has z-index: 9000, so without this
       the layer renders behind the article's white background. */
    z-index: 9500;
}

.sidenote {
    position: absolute;
    pointer-events: auto;
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 0.62em;
    line-height: 1.3;
    color: rgba(34, 34, 34, 0.7);
    transition: background-color 0.18s ease, color 0.18s ease;
    padding: 4px 6px;
    border-radius: 3px;
    /* Long URLs / DOIs in citations must wrap rather than blow out the column. */
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.sidenote-body a {
    word-break: break-all; /* prefer breaking inside long URLs */
}

.sidenote-number {
    font-weight: 600;
    color: #163c73;
    margin-right: 4px;
    vertical-align: super;
    font-size: 0.78em;
}

.sidenote-body {
    display: inline;
}

.sidenote-body p {
    display: inline;
    margin: 0;
}

.sidenote-body p + p {
    display: block;
    margin-top: 0.5em;
}

.sidenote-body a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(22, 60, 115, 0.5);
}

/* Marker hover bumps the paired sidenote to full strength so the eye
   can find the relevant note without any visual flicker on the note itself. */
.sidenote.sidenote-hover {
    color: #222;
}

sup a.has-sidenote.sidenote-hover {
    background-color: rgba(22, 60, 115, 0.15);
    border-radius: 2px;
}

.sidenote--folded:not(.sidenote--expanded) {
    max-height: 260px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent);
            mask-image: linear-gradient(to bottom, black 75%, transparent);
}

.sidenote-expand {
    display: block;
    margin-top: 8px;
    padding: 2px 8px;
    background: transparent;
    border: 1px solid #bbb;
    border-radius: 3px;
    font: inherit;
    font-size: 0.85em;
    color: #163c73;
    cursor: pointer;
}

.sidenote-expand:hover {
    background: rgba(22, 60, 115, 0.08);
}

.sidenote--flash {
    background-color: rgba(22, 60, 115, 0.18) !important;
}

/* When sidenotes are present, dim the redundant bottom References block. */
.sidenotes-active .footnoteblock,
.sidenotes-active .footnoteheader {
    opacity: 0.45;
    font-size: 0.75em;
}

/* The theme wraps article content in .typology-section { overflow: hidden }
   to clear floats — that would clip our margin layer. Restore visibility
   only when sidenotes are active so we don't disturb other layouts. */
.sidenotes-active .typology-section {
    overflow: visible;
}

/* Sidenote markers stay underline-free so they don't read as ordinary links. */
.sidenotes-active sup a.has-sidenote {
    text-decoration: none;
}

/* Widen the article "paper" on wide viewports so there's room for the
   sidenotes to sit centred between the body text and the paper edge. */
@media (min-width: 1280px) {
    .sidenotes-active .typology-section {
        max-width: 1300px;
    }
}

/* Hide entirely below the breakpoint as a belt-and-braces in case the JS
   teardown lags during a resize. */
@media (max-width: 1279px) {
    .sidenote-layer {
        display: none;
    }
}

.abstract, .citation, .lecture-video-link{
	  box-sizing: border-box; /* Include padding and border in the element's total width and height */
    margin: 20px auto; /* Optional: center the box with top/bottom margin */
	font-size:0.8em;
	font-family:"SF Pro", "Helvetica Neue", Arial, sans-serif;
	max-width: 600px;
	line-height: 1.5; /* Optional: improve line spacing */
}

.citeas{
	font-weight:bold !important;
	padding-right:1em;
}

.abstractword{
	font-weight:bold !important;
	padding-right:1em;
}

.additional-info {
    display: flex;
    justify-content: space-between; /* Distribute space evenly between items */
    align-items: center; /* Align items vertically in the center */
    gap: 10px; /* Optional: Add some space between items */
    padding: 10px; /* Optional: Add some padding for aesthetics */
		max-width: 600px;
	    margin: 20px auto; /* Optional: center the box with top/bottom margin */
	font-size:0.8em;
	font-family:"SF Pro", "Helvetica Neue", Arial, sans-serif;
}

.additional-info span {
    flex: 1; /* Each span takes up equal space */
    text-align: center; /* Center the text within each span */
}

.ppma-author-category-wrap{
	visibility:hidden;
}

.affiliation, .archivecitation{
	font-family:"SF Pro", "Helvetica Neue", Arial, sans-serif;
	font-size:0.8em;
	opacity:0.45

}



h3.wp-block-heading, .single h3{
	font-family: 'et-book' !important;
	padding-top:1.5em;
	padding-bottom:0em;
	margin-bottom:0.2em;
}

h4.wp-block-heading, .single h4{
	font-family: 'et-book' !important;
	padding-top:0.5em;
	padding-bottom:0em;
	margin-top:0em;
	margin-bottom:0.2em;
}


h5.wp-block-heading, .single h5{
	font-family: 'et-book' !important;
	padding-top:0.2em;
	padding-bottom:0em;
	margin-top:0em;
	margin-bottom:0.1em;
}

.clp-page .clp-title {
    padding-bottom: 0em !important;
    margin-bottom: 0em !important;
    font-size: clamp(1.8rem, 8vw, 4em) !important;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.clp-page .clp-editors {
    font-family: 'et-book';
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-weight: normal;
    margin-bottom: 2px;
    font-size: 1.75em;
}

.clp-page .clp-editedby {
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 2px;
    margin-top: 0px;
    font-size: 1em;
}

.clp-page .clp-volume {
    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 1em !important;
    margin-top: 0em !important;
    font-size: 1.5em;
    color: white;
    background-color: #163c73;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    text-align: center;
    padding: 10px 0;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clp-page .clp-editors {
        font-size: 1.5em;
    }
    .clp-page .clp-volume {
        font-size: 1.25em;
    }
		.clp-page .clp-editedby{
				font-size: 1em !important;
	}
    /* Keep article author name from exceeding the h1 on mobile */
    .single-article .entry-header .meta-author .fn {
        font-size: 0.85em !important;
    }
}

@media (max-width: 480px) {
    .clp-page .clp-title {
        letter-spacing: 0.02em !important;
    }
    .clp-page .clp-editors {
        font-size: 1.25em;
    }
    .clp-page .clp-volume {
        font-size: 1em;
			  margin-top: 0.5em !important;

    }
	.clp-page .clp-editedby{
				font-size: 0.8em !important;
	}
}

.menu-item a, .typology-sidebar{
	    font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif  !important;
	text-transform:uppercase;
	letter-spacing: 0.1em  !important;     /* Adjusts spacing between characters */

}

sup a{
	 font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif  !important;
	font-weight:bold;
	text-decoration:none;
	opacity:0.8;
	font-size:0.9em;
}

.recent-volumes {
	margin-top: 1em;
	margin-bottom: 0;
}

.recent-volumes .mostrecent {
	margin-bottom: 0.5em !important;
}

body.home .section-head {
	margin-bottom: 2rem !important;
}
body.home .section-title {
	padding-bottom: 1.5rem !important;
}

.typology-section .recentvolumes{
	text-align: center;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0 !important;
	margin-bottom: 2.25em !important;
	display: block;
	width: 100%;
}

.typology-section .recentvolumes:last-child {
	margin-bottom: 0 !important;
}

.typology-section .recentvolumes br {
	display: none !important;
}

.typology-section .recentvolumes .volumelink,
.typology-section .recentvolumes .editorssmall {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4;
}

.typology-section .recentvolumes .editorssmall {
	margin-top: 0.25em !important;
}

.mostrecent-container {
  max-width: 600px;  /* Sets a maximum width for all containers */
  width: 100%;       /* Ensures it takes full width up to the max-width */
  margin: 0 auto;    /* Centers each container horizontally */
  box-sizing: border-box; /* Includes padding and border in the element's total width */
}

.volume {
  font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 1em !important;
  margin-top: 0em !important;
  font-size: 1.5em;
  color: white;
  background-color: #163c73;
  border-top: 5px solid rgba(255, 255, 255, 0.4);
  border-bottom: 5px solid rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 10px 10px;
  margin: 20px 0;
}

.mostrecent {
  font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 1em !important;
  margin-top: 0em !important;
  font-size: 1.5em;
  color: white;
  background-color: #163c73;
  border-top: 5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 5px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 10px 10px;
  margin: 20px 0;
}

.typology-section{
	overflow: hidden;
}

.editorssmall{
	  font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
    letter-spacing: 0.05em !important;
	text-transform:uppercase;
	font-size:0.8em;
	margin-top:0em !important;
	margin-bottom:0.5em;
	opacity:0.5;
}

.editorsnames{
    font-family: 'et-book';
	font-size:1.1em;
	font-weight:bold;
}

.volumelink{
	font-family: 'SF Pro Display', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif !important;
    letter-spacing: 0.05em !important;
	text-transform:uppercase;
	font-size:0.8em;
	margin-top:0em !important;
	font-weight:bold;
}

.section-content-c{
	padding-top:0em;
}

.typology-layout-c.typology-post {
	padding: 0 5px;
	margin: 0 0 8rem;
}

/* Default: 3 columns */
.col-lg-6 {
  max-width: 33.33%;
}

/* On screens 899px wide or less: 2 columns */
@media (max-width: 899px) {
  .col-lg-6 {
    max-width: 50%;
  }
}

.single-article article.typology-post h1 {
    font-size: 2.2em;        /* tune this — the theme default is probably ~2.5–3em */
    padding-top: 0.5em;      /* vertical space before the header */
    font-weight: 600;
}

.single-article article.typology-post h2 {
    font-size: 1.8em;        /* tune this — the theme default is probably ~2.5–3em */
    padding-top: 0.2em;      /* vertical space before the header */
}

/* Footer (ISBN/colophon) alignment.
   The footer sits beneath the "paper" (.typology-section: max-width 1170px,
   width 95%, centred). By default the footer container is wider (1270px) and
   its widget sits in a narrow centred column, so the ISBN block doesn't line up
   with — or span — the paper. Match the footer to the paper's width and let the
   widget span it fully, on every page. */
.typology-footer .container {
    max-width: 1170px;
    width: 95%;
}
.typology-footer .container > .typology-footer-sidebar {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}