/* ==========================================================
   LEGAL ONTOLOGIES - NEWSIUM CUSTOM CSS
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root{
    --lo-navy:#16264a;
    --lo-navy-dark:#0d1830;
    --lo-gold:#b8860b;
    --lo-gold-light:#c9a227;
    --lo-text:#2b2b2b;
    --lo-bg:#ffffff;
}

/* ==========================================================
   GLOBAL
   ========================================================== */

body{
    font-family:'Inter',sans-serif;
    color:var(--lo-text);
    background:var(--lo-bg);
}

.page p,
.page li,
.page div{
    font-size:18px;
    line-height:1.8;
}

h1,h2,h3,h4,h5,h6,
.entry-title,
.widget-title,
.entry-title a{
    font-family:'Playfair Display',serif;
    color:var(--lo-navy);
}

a{
    color:var(--lo-navy);
}

a:hover{
    color:var(--lo-gold);
}

/* ==========================================================
   HEADER
   ========================================================== */

#masthead,
.site-header,
header.site-header{
    background:var(--lo-navy);
    border-bottom:3px solid var(--lo-gold);
}

/* Increase branding height */

.header-style1 .main-header .af-flex-container{
    padding:45px 0 !important;
}

/* Full width */

.main-header,
.main-header .container-wrapper,
.main-header .af-container-row,
.main-header .col-3{
    width:100%;
    max-width:100%;
    margin:0;
}

/* Branding */

.site-branding{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    column-gap:40px;
}

/* Site title */

.site-title,
.site-title a,
h1.site-title{
    font-family:'Playfair Display',serif;
    color:#fff !important;
    font-size:42px !important;
    line-height:1.1;
    margin:0;
    white-space:nowrap;
}

/* Tagline */

.site-description{
    color:#dfe3ea;
    font-size:16px;
    margin-top:5px;
}

/* Logo */

.custom-logo,
.site-logo img,
.site-branding img,
a.custom-logo-link img{
    max-height:220px;
    width:auto;
}

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

#site-navigation,
.main-navigation{
    background:var(--lo-navy-dark);
}

.main-navigation a{
    color:#fff !important;
    font-weight:500;
}

.main-navigation a:hover{
    color:var(--lo-gold-light) !important;
}

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

.button,
button,
input[type=submit],
.wp-block-button__link{
    background:var(--lo-navy);
    border-color:var(--lo-navy);
}

.button:hover,
button:hover,
input[type=submit]:hover,
.wp-block-button__link:hover{
    background:var(--lo-gold);
    border-color:var(--lo-gold);
}

/* ==========================================================
   META
   ========================================================== */

.cat-links a,
.entry-meta a{
    color:var(--lo-gold);
}

/* ==========================================================
   BLOCKQUOTE
   ========================================================== */

blockquote{
    border-left:4px solid var(--lo-gold);
    font-family:'Playfair Display',serif;
    color:var(--lo-navy);
}

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

#colophon,
.site-footer{
    background:var(--lo-navy-dark);
    color:#cfcfcf;
}

.site-footer a{
    color:var(--lo-gold-light);
}

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

@media(max-width:768px){

.site-branding{
    display:block;
}

.site-title,
.site-title a,
h1.site-title{
    font-size:30px !important;
    white-space:normal;
}

.site-description{
    font-size:14px;
}

.custom-logo,
.site-logo img,
.site-branding img,
a.custom-logo-link img{
    max-height:140px;
    margin-top:10px;
}

.page p,
.page li,
.page div{
    font-size:17px;
}

}
.main-header{
    border-bottom:1px solid rgba(255,255,255,0.08);
}
/* Make the entire branding/header area black */
.main-header,
.site-header,
header.site-header,
.header-style1 .main-header,
.header-style1 .main-header .af-flex-container,
.header-style1 .main-header .container-wrapper {
    background: #000 !important;
}
.custom-logo,
.site-logo img,
.site-branding img,
a.custom-logo-link img {
    max-height: 120px !important;
    width: auto !important;
}
/* Reduce Newsium header height */
header#masthead .main-header .container-wrapper .af-container-row.af-flex-container{
    padding-top:10px !important;
    padding-bottom:10px !important;
    min-height:auto !important;
}

/* Remove extra spacing around branding */
header#masthead .logo-brand,
header#masthead .site-branding{
    margin:0 !important;
    padding:0 !important;
}

/* Reduce logo margin */
header#masthead .custom-logo{
    margin-top:0 !important;
    margin-bottom:0 !important;
}
/* Reduce top date bar text size */
.top-header,
.top-header .aft-date,
.top-header .date,
.top-header .trending-date,
.top-header span {
    font-size: 16px !important;
    line-height: 1.2 !important;
}
/* Newsium date */
.top-header * {
    font-size: 16px !important;
}
.top-bar-date {
  font-size: 12px !important;
span.top-bar-date {
  font-size: 12px !important;
}

.top-header span.top-bar-date {
  font-size: 12px !important;
}
	/* --- Laws A-Z Index page styling --- */
.lo-az-jump {
  background: var(--lo-navy);
  padding: 12px 20px !important;
  border-radius: 4px;
  text-align: center;
}
.lo-az-jump a {
  color: #f5f5f5 !important;
  font-weight: 600;
  text-decoration: none;
}
.lo-az-jump a:hover {
  color: var(--lo-gold-light) !important;
}

.lo-letter-heading {
  color: var(--lo-navy) !important;
  border-bottom: 2px solid var(--lo-gold);
  padding-bottom: 6px;
  margin-top: 40px !important;
  font-size: 26px !important;
}

.lo-act-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-top: 10px !important;
}
.lo-act-list li {
  padding: 8px 0 8px 20px !important;
  border-bottom: 1px solid #eee;
  position: relative;
}
.lo-act-list li::before {
  content: "§";
  position: absolute;
  left: 0;
  color: var(--lo-gold);
  font-weight: bold;
}
.lo-act-list li a {
  color: var(--lo-navy);
  font-weight: 600;
  text-decoration: none;
}
.lo-act-list li a:hover {
  color: var(--lo-gold);
  text-decoration: underline;
}
.lo-act-list li.lo-act-pending {
  color: #999;
  font-style: italic;
}