/*
Theme Name: Ricochet
Theme URI: https://nicemodernwebsites.com
Author: Ricochet
Author URI: https://nicemodernwebsites.com
Description: Ricochet
Version: 1.0
Tags: bootstrap, news,
*/
:root {
    --null: rgba(0,0,0,0);
    --font-body: sofia-pro-soft, sans-serif;
    --font-accent: sofia-pro-soft, sans-serif;
    --font-header: sofia-pro-soft, sans-serif;
    --font-fixed: monospace;
    --ric-red: rgba(243,84,73,1);
    --ric-red-rgb: 243,84,73;
    --ric-pink: rgba(250,187,182,1);
    --ric-pink-rgb: 250,187,182;
    --ric-teal: rgba(25,217,198,1);
    --ric-teal-rgb: 25,217,198;
    --ric-teal-light: rgba(163,240,232,1);
    --ric-teal-light-rgb: 163,240,232;
    --ric-black: rgba(31,31,31,1);
    --ric-black-rgb: 31,31,31;
    --ric-grey-75: rgba(66,66,66,1);
    --ric-grey-75-rgb: 66,66,66;
    --ric-grey-50: rgba(133,133,133,1);
    --ric-grey-50-rgb: 133,133,133;
    --ric-grey-25: rgba(195,195,195,1);
    --ric-grey-25-rgb: 195,195,195;
    --ric-white: rgba(247,245,246,1);
    --ric-white-rgb: 247,245,246;

    --ric-gradient-black: 0deg, rgba(31,31,31,0.8) 0%, rgba(31,31,31,0.6) 25%, rgba(31,31,31,0.4) 50%, rgba(31,31,31,0) 100%;
    --ric-gradient-black-front-big: 0deg, rgba(31,31,31,0.3) 0%, rgba(31,31,31,0.2) 12%, rgba(31,31,31,0.1) 18%, rgba(31,31,31,0) 24%, rgba(31,31,31,0) 76%, rgba(31,31,31,0.1) 82%, rgba(31,31,31,0.2) 88%, rgba(31,31,31,0.3) 100%;

    --bs-body-color: var(--ric-black);
    --bs-body-bg-rgb: var(--ric-white-rgb);

    --bs-black: var(--ric-black);
    --bs-black-rgb: var(--ric-black-rgb);

    --bs-dark: var(--ric-black);
    --bs-dark-rgb: var(--ric-black-rgb);


    
    /* Typography */
    --bs-font-sans-serif: sofia-pro-soft, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"!important;
    --bs-body-serif: sofia-pro-soft, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"!important;
    --bs-body-font-family: sofia-pro-soft!important;

}

/*
:root {
    border: 1px solid black;
}
*/

html    {
    height: 100svh;
    background-color: #fff;
}

body {
    background-color: var(--ric-white);
    color: var(--ric-black);
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* Opacities not covered by bootstrap */

.bg-opacity-95 {
    --bs-bg-opacity: 0.95;
}

/* font weights */
.fw-100 {
    font-weight: 100;
}
.fw-200 {
    font-weight: 200;
}
.fw-300 {
    font-weight: 300;
}
.fw-400 {
    font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-800 {
    font-weight: 800;
}
.fw-900 {
    font-weight: 900;
}

/* ricochet colours */
.bg-teal {
    background-color: VAR(--ric-teal);
}
.bg-teal-light {
    background-color: VAR(--ric-teal-light);
}
.bg-red {
    background-color: VAR(--ric-red);
}
.bg-red-light {
    background-color: VAR(--ric-pink);
}
.bg-grey {
    background-color: var(--ric-grey-75);
}

.text-grey {
    color: var(--ric-grey-50)!important;
}

.text-red {
    color: var(--ric-red)!important;
}

.no-break {
    white-space: nowrap;
}

/* Navigation */


 /* pagination on archives */

 .archive-pagination {
    padding: 2rem 0;
 }
 .archive-pagination .nav-links {
    width: 100%;
 }

 .archive-pagination nav {
    background-color: var(--ric-red);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    box-shadow: var(--bs-box-shadow-lg) !important;
 }
 .archive-pagination .page-numbers {
    color: var(--ric-white);
    text-decoration: none;
    padding: 0 0.45rem;
 }
 .archive-pagination .page-numbers:first-child {
    color: var(--ric-white);
    text-decoration: none;
    padding: 0 0.45rem 0 0;
 }
 .archive-pagination .page-numbers.prev {
    padding: 0 0.45rem!important;
 }

 .archive-pagination a.page-numbers:hover {
    background-color: var(--ric-white);
    color: var(--ric-red);
    border-radius: 0.25rem;
    
 }
 .archive-pagination .current {
    background-color: var(--ric-white);
    color: var(--ric-red);
    border-radius: 0.25rem;
    padding: 0 0.45rem;
 }

 .archive-pagination .current.page-numbers:first-child {
    background-color: var(--ric-white);
    color: var(--ric-red);
    border-radius: 0.25rem;
    padding: 0 0.45rem;
 }



.ricochet-nav   {
    /* backdrop-filter: blur(4px); */
    --bs-bg-opacity: 0.8;
    max-height: 3rem;
}

.ricochet-nav a {
    text-decoration: none!important;
}

.ricochet-nav-gradient {
    background: rgb(31,31,31);
    background: linear-gradient(0deg, rgba(31,31,31,0) 0%, rgba(31,31,31,0.5) 100%);
}

.ricochet-nav .navbar-brand img{
    max-width: 75px;
}

.ricochet-nav .navbar-toggler {
    border: 0;
}
.ricochet-nav .navbar-toggler:hover {
    border: 0;
    background-color: var(--ric-red);
}

.ricochet-nav .dropdown-menu  {
    font-size: small;
 
}

/* .ricochet-nav .cat-item a {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
} */

#navbar-main   {
    font-family: var(--font-accent);
    font-size: 0.9rem;
}

/* navwalker begin */

   /*PHP Code at https://gist.github.com/cdsaenz/d6d65294d79a0b71b95c55a4bbd47f7d*/
   /*version 2: revised for responsive on mobile, dropdown menu will open on hover for now (avoids js) */

.navbar.navbar-expand-lg .dropdown .dropdown-menu .dropdown-submenu {
    /* dropdown sub menu positioning */
    margin: 0;
    left: 100%;
}

@media (max-width: 1199.99px) {
    .navbar-collapse {
        background-color: rgba(var(--ric-black-rgb),0.9);
        padding: 1rem;
        border-radius: 1rem;
    }
    .menu-item {
        padding-bottom: 0.5rem;
        font-size: 1rem;
    }
}



.dropdown-menu {
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%);
    background-color: var(--ric-black);
    color: var(--ric-white) !important;
}

.dropdown .dropdown-submenu {
    top: 0;
    left: 100%;
    margin-left: 0.125rem;
    color: var(--ric-white) !important;
}

.navbar .dropdown-item {
    padding: 0.5rem 1.8rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    /* Item that could be selected now */
    background: var(--ric-red) !important;
    color: white !important;
    border-radius: 3px;
}

.dropdown-item.active,
.dropdown-item:active {
    /* Selected item (ie page now active) */
    background-color: transparent;
    color: var(--ric-red) !important;
    font-weight: 600;
}

.nav-item a {
    /* ensure No flashing in links */
    transition: none !important;
    color: var(--ric-white);
}

.navbar-nav li:hover>ul.dropdown-menu {
    /* controversial will open on hover */
    display: block;
}

#navbar-main > #menu-main-menu > .menu-item > a {
    color: var(--ric-white);
    text-shadow: var(--ric-black) 1px 1px 4px;
}


@media (min-width: 992px) {
    /* ONLY DESKTOP - Convert toggle to right > in deeper levels */
    .at_depth_1 .dropdown-toggle::after,
    .at_depth_2 .dropdown-toggle::after,
    .at_depth_3 .dropdown-toggle::after {
        display: inline-block;
        margin-left: 1.5em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        left: 0;
        /* rotate right */
        -ms-transform: rotate(-90deg);
        /* IE 9 */
        -webkit-transform: rotate(-90deg);
        /* Chrome, Safari, Opera */
        transform: rotate(-90deg);
    }
}

@media (max-width: 991.98px) {
    /* Smaller devices remove shadow & border from children */
    .offcanvas .dropdown-menu {
        border: none;
        box-shadow: none;
    }
    /* Smaller devices offcanvas, add indent */
    .depth_1 .dropdown-item {
        margin-left: 10px;
    }
    .depth_2 .dropdown-item {
        margin-left: 15px;
    }
    .depth_3 .dropdown-item {
        margin-left: 20px;
    }
}

/* end navwalker */

/* Front Page */

#fp-bar {
    background: var(--ric-black);
    min-height: 3rem;
}


/* front page background */

#fp-splash .filtered-bg {
    position: relative;
    overflow: hidden;
    min-height: 50svh;
}

#fp-splash .filtered-bg--height {
    min-height: 50svh;
}
@media (max-height: 1200px) {
    #fp-splash .filtered-bg--height {
        min-height: 100svh;
    }
}

#fp-splash .filtered-bg-image {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) blur(10px);
    transform: scale(1.1);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#fp-splash .filtered-bg-tint {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blend-light {
    mix-blend-mode: screen;
}

.blend-medium {
    mix-blend-mode: overlay;
}

.blend-dark {
    mix-blend-mode: multiply;
}

.blend-none {
    mix-blend-mode: normal;
}

/* front page card images */

.card-img--further {
    aspect-ratio: 16/9;
    object-fit: cover;
}


.avatar-shader {
    filter: grayscale(100%) contrast(110%)!important;
    border-radius:  1rem;
    overflow:  hidden;
}

.avatar-rounder img {
    border-radius: 1rem!important;
}

#fp-splash a {
    text-decoration: none!important;
}

#fp-splash img.sab-custom-avatar {
    max-width: 100%!important;
    width: 100%!important;
    object-fit: cover;
    height: 100%;
    border-radius: 1rem 0 0 1rem;
    object-position: center center;
}

#fp-splash .card-img {
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    min-height: 100%;
}

#fp-splash .main-article__mobile {
    border-radius: 1.1rem!important;
    overflow: hidden;
    min-height: 550px;
}

#fp-splash .main-article__desktop  {
    border-radius: 1.1rem!important;
    overflow: hidden;
    min-height: clamp(500px, 100%, 100%);
}

#fp-splash .main-article__desktop img.sab-custom-avatar {
    max-width: 100%!important;
    width: 100%!important;
    object-fit: cover;
    height: 100%;
    border-radius: 1rem;
    object-position: center center;
    aspect-ratio: 1/1!important;
}

#fp-splash .main-article__mobile img.sab-custom-avatar {
    max-width: 100%!important;
    width: 100%!important;
    object-fit: cover;
    height: 100%;
    border-radius: 1rem;
    object-position: center center;
    aspect-ratio: 1/1!important;
}


#fp-splash .article__top--gradient {
    background: linear-gradient(
        rgba(0,0,0,0.4),
        rgba(0,0,0,0.2)40%,
        rgba(0,0,0,0.1)65%,
        rgba(0,0,0,0));
}

#fp-splash .article__bottom--gradient {
    background: linear-gradient(
        0deg,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.3)40%,
        rgba(0,0,0,0.1)65%,
        rgba(0,0,0,0)
        );
}


.right-side__card {
    border-radius: 1.1rem!important;
    overflow: hidden;
    min-height: 180px; /* adjust for mobile */
}

@media screen and (max-width: 1200px) {
    .right-side__card {
        border-radius: 1.1rem!important;
        overflow: hidden;
        min-height: 280px; /* adjust for mobile */
    }
}



.text-shadow {
    text-shadow: var(--ric-grey-75) 3px 3px 5px!important;
}

.text-teal  {
    color: var(--ric-teal)!important;
}

/* front page series */

.series {
    position: relative;
    background-size: cover;

}






/* post structure */

#post-header .article--header {
    overflow: hidden;
    min-height: clamp(500px, 100%, 100%);
}

#post-header .article__top--gradient {
    
    background: linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0));
}

#post-header .article__bottom--gradient {
    background: linear-gradient(
        0deg,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.3)40%,
        rgba(0,0,0,0.1)65%,
        rgba(0,0,0,0)
        );
}

#post-header .card-img {
    object-fit: cover;
    object-position: center center;
}

#post-header .card-img--tall {
    min-height: 100svh!important;
}
#post-header .card-img--short {
    min-height: 70svh!important;
}

@media screen and (max-width: 575px) {
    #post-header .card-img--short {
        min-height: 66svh!important;
        max-height: 66svh!important;
    }
}

@media screen and (max-height: 760px) {
    #post-header .card-img--tall {
        min-height: 760px!important;
    }
    #post-header .card-img--short {
        min-height: 560px!important;
    }
}

#article-infobox img.sab-custom-avatar {

    max-width: 100%!important;
    aspect-ratio: 1/1!important;
    object-fit: cover;
    border-radius: 1rem;
    object-position: center center;
    width: 100%!important;
    height: 100%;    
}

.author-photo img.sab-custom-avatar {

    max-width: 100%!important;
    aspect-ratio: 1/1!important;
    object-fit: cover;
    border-radius: 1rem;
    object-position: center center;
    width: 100%!important;
    height: 100%;    
}

.photo-credit   {
    color: var(--ric-grey-25)!important;
}

.photo-credit a {
    color: var(--ric-grey-25)!important;
}



#content article   {
    color: var(--ric-black);
}

#content article h1, #content article h2, #content article h3, #content article h4, #content article h5, #content article h6  {
    font-family: var(--font-header);
    color: var(--ric-red);
    font-weight: 500;
}

#content article h1 {
    font-size: 1.7rem;
}

#content article h2 {
    font-size: 1.5rem;
}

#content article h3 {
    font-size: 1.3rem;
} 

#content article h4 {
    font-size: 1.1rem;
}

#content article h5 {
    font-size: 1.0rem;
    font-weight: 800;
}

#content article h6 {
    font-size: 0.9rem;
    font-weight: 900;
} 

#content article a  {
    
    transition: 0.2s;
}
#content article a:hover {

    transition: 0.2s;
}

#content article p, #content article ul, #content article ol  {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    text-align: justify;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

#content article blockquote {
    padding: 0 2rem;
}

#content p.lead {
    font-family: var(--font-body);
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 300;
    text-align: justify;
}

#content article.main-content > p:first-of-type::first-letter  {
    font-family: var(--font-accent);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--ric-grey-75);
    background-color: var(--ric-teal);
    border-radius: 0.75rem;
    padding: 0 1rem 0.25rem 1rem;
    margin: 3px 1rem 0 0;
    float: left;
}

#content article ul, #content article ol  {
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: left;
}

#content article ul li  {
    list-style-type: square;
}

#content article ol li::marker  {
    color: var(--ric-red);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 105%;
}

#content article ul li::marker {
    color: var(--ric-red);
    font-size: 105%;
}

.wp-block-image .is-style-rounded img, .wp-block-image.is-style-circle-mask img, .wp-block-image.is-style-rounded img {
    border-radius: 1rem;
}

#content article figure.wp-block-pullquote {
    display: block;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    padding: 1.75rem;
    border-color: var(--ric-teal);
    border-style: solid;
    border-width: 0 0.3rem;
    border-radius: 25px;
    margin-left: 2rem;
    margin-right: 2rem;

}
#content article figure.wp-block-pullquote blockquote {
    margin-bottom: 0;
    padding: 0!important;
}

#content article figure.wp-block-pullquote p {
    margin-bottom: 0;
    font-size: 1.35rem;
    font-family: var(--font-accent);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    color: var(--ric-red);
}
#content article figure.wp-block-pullquote p::after {
    display: none;
}
#content article figure.wp-block-pullquote cite {
    font-size: 0.9rem;
}

#content article figure.wp-block-pullquote.left {
    float: left;
    width: 55%;
    margin-right: 1.5 rem;
    margin-left: -45%;
}

@media screen and (max-width: 1200px) {
    #content article figure.wp-block-pullquote.left {
        float: none;
        width: 35%;
        margin: 2rem auto;
        width: 80%;
    }    
}

#content article figure.wp-block-pullquote.right {
    float: right;
    width: 55%;
    margin-left: 1.5rem;
    margin-right: -45%;
}

@media screen and (max-width: 1200px) {
    #content article figure.wp-block-pullquote.right {
        float: none;
        width: 35%;
        margin: 2rem auto;
        width: 80%;
    }    
}

.series-text, .series-text a {
    color: var(--ric-white);
}



    /* add tombstone final paragraph at end of article */
#content article p:last-of-type::after {
    content: '\25A0';
    color: var(--ric-red);
    margin-left: 0.3rem;
    padding: 0rem 0.2rem 0.1rem 0.2rem;
    font-family: var(--font-accent);
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
}

    /* remove tombstone from any image caption */
#content article .image p:last-of-type::after {
    content: '';
}
   /* remove tombstone from any blockquote caption */
#content article blockquote p:last-of-type::after {
    content: '';
}
    /* remove tombstone from a paragraph embedded in a list */
#content article ul li p:last-of-type::after, #content article ol li p:last-of-type::after {
    content: '';
}

    /* youtube embed full-width : http://localhost/ricochet/indigenous/community/ottawa-city-council-approves-rezoning-of-sacred-algonquin-site-near-parliament/ */
#content article iframe {
    width: 100%;
}

    /* center embedded tweets */
#content article .twitter-tweet {
    margin: 0 auto;
}
    /* separate embedded deleted tweets  */
#content article blockquote.twitter-tweet p {
    font-family: var(--font-accent)!important;
    font-size: 1rem!important;
    text-align: left!important;
    padding: 0.5rem 1rem 0 1rem;
}



#content .author-bio   {
    display: block;
    color: var(--ric-grey-50);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0.8rem 0;
}

.article-column .tags {
    background-color: var(--ric-red)!important;
    padding: 0.25rem 0.35rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.article-column .tags a {
    color: var(--ric-white)!important;
    text-decoration: none;
    padding: 0 0.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.article-column .tags:hover {
    background-color: var(--ric-teal)!important;
    padding: 0.25rem 0.35rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.article-column .tags:hover a {
    color: var(--ric-black)!important;
    text-decoration: none;
    padding: 0 0.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}



/* Charitable single.php compatability (March 14 2024) */

.charitable-campaign-wrap {
    font-family: var(--font-body)!important;    
}

.charitable-campaign-wrap .charitable-fieldset {
    border-radius: 1rem;
    border-color: var(--ric-grey-25);
    border-width: 0;
    font-family: var(--font-body)!important;
}

.charitable-campaign-wrap .charitable-form-header {
    font-family: var(--font-header);
    color: var(--ric-red);
}

.charitable-campaign-wrap .charitable-fieldset ul {
    border-bottom: 0;
}

.charitable-form-field input, input.custom-donation-input {
    border: 1px solid var(--ric-grey-25)!important;
    border-radius: 0.5rem!important;
    padding: 0 0.5rem!important;
}

.charitable-form-field input {
    background-color: #fff!important;
    padding: 0.5rem!important;
}

.input.custom-donation-input {
    background-color: var(--ric-white)!important;
}

.charitable-donation-form .recurring-donation .recurring-donation-option.selected > label {
    color: var(--ric-red)!important;
    border-color: #ddd!important;
}

.charitable-campaign-wrap .charitable-fieldset .recurring-donation-option > label {
    border-radius: 1rem;
    border-width: 1px!important;
}

.charitable-campaign-wrap .donation-amount {
    border-radius: 1rem;
}

.charitable-campaign-wrap .donation-amount.selected {
    background-color: var(--ric-red)!important;
    border: 0!important;
}


.donation-amount.custom-donation-amount {
    margin-top: -2px;
}

.donation-amount.suggested-donation-amount,
.donation-amount.custom-donation-amount {
    background-color: #fff!important;
}

article .donation-amounts.selected {
    background-color: var(--ric-red);
    border: 0;
}

article .charitable-form-field.charitable-submit-field button {
    background-color: var(--ric-red)!important;
    border-radius: 0.5rem!important;
    font-family: var(--font-header)!important;
}

    /*  hide the corpse */

.login-prompt {
    display: none;
}


/* Charitable page styles */

article .charitable-campaign-wrap p:last-of-type::after {
    content: '';
}

#charitable_field_address,
#charitable_field_address_2,
#charitable_field_city,
#charitable_field_state,
#charitable_field_postcode,
#charitable_field_country   {
    display: none;
}


/* pre-2024 article compatibility */

#content article .reading.body > p:first-of-type::first-letter  {
    font-family: var(--font-accent);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--ric-grey-75);
    background-color: var(--ric-teal);
    border-radius: 0.75rem;
    padding: 0 1rem 0.25rem 1rem;
    margin: 3px 1rem 0 0;
    float: left;
}

    #content article .reading.body div.image   {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: -0%; /* offset half the overflow of width and max-width */
        background-color: rgb(var(--bs-body-bg-rgb));
    }

    #content article .reading.body div.image p {
        margin: 0;
        padding: 0 0 0.1rem 0;
    }

    #content article .reading.body div.details {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        font-family: var(--font-accent);
        font-weight: 600;
    }

    #content article .reading.body div.details p,
    #content article .reading.body div.details .credit {
        font-family: var(--font-accent);
        font-size: 0.7rem;
        font-weight: 100;
        
    }

    #content article .reading.body div.details a {
        color: var(--ric-grey-50);
    }
    #content article .reading.body div.details div.description {
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* Lost.styler : http://localhost/ricochet/justice/gender/sana-hassainia-explains-her-resignation-from-the-ndp/ */

    #content article .reading.body div.Lost.styler p {
        font-size: 1.6em;
        font-family: var(--font-header) !important;
        color: var(--ric-red);
    }
    #content article .reading.body div.Lost.styler p::first-letter {
        text-transform: capitalize;
    }

    /* British.styler : http://localhost/ricochet/labour/unions/hey-premiers-leave-them-teachers-alone/ */

    #content article .reading.body .British.styler {
        color: var(--ric-red);
        font-weight: 500;
        font-family: var(--font-body);
    }

    #content article .reading.body .British.styler::before {
        content: 'British ';
        font-size: 1.2rem;
    }

    /* div.box */

    #content article .reading.body div.box {
        background-color: var(--ric-teal)!important;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        font-family: var(--font-accent);
        font-size: 0.95rem;
        line-height: 1.7;
        color: var(--ric-black);
    }

    /* .exergue & .highlight */

    #content article .reading.body .highlight,
    #content article .reading.body .exergue    {
        display: block;
        font-size: 1.25rem;
        font-family: var(--font-accent);
        font-weight: 500;
        line-height: 1.35 !important;
        margin-bottom: 1rem;
        margin-top: 0.5rem;
        padding: 1.75rem;
        text-align: center;
        color: var(--ric-red);
        
    }

    #content article .reading.body .highlight {
        border-color: var(--ric-teal);
        border-style: solid;
        border-width: 0 0.3rem;
        border-radius: 25px;
    }

    #content article .reading.body .exergue {
        border-color: var(--ric-red);
        border-style: solid;
        border-width: 0.3rem 0;
    }

    #content article .reading.body .highlight.right,
    #content article .reading.body .exergue.droite {
        float: right;
        width: 35%;
        margin-left: 1rem;
        margin-right: -44%;
    }

    @media screen and (max-width: 1200px) {
        #content article .reading.body .highlight.right,
        #content article .reading.body .exergue.droite {
            float: none;
            width: 35%;
            margin: 2rem auto;
            width: 80%;
    }    
    }


    #content article .reading.body .highlight.left,
    #content article .reading.body .exergue.gauche {
        float: left;
        width: 35%;
        margin-right: 1rem;
        margin-left: -44%;
    }

    @media screen and (max-width: 1200px) {
        #content article .reading.body .highlight.left,
        #content article .reading.body .exergue.gauche {
            float: none;
            width: 35%;
            margin: 2rem auto;
            width: 80%;
    }    
    }

    #content article .reading.body .highlight.center,
    #content article .reading.body .exergue.center,
    #content article .reading.body .highlight.centre,
    #content article .reading.body .exergue.centre {
        margin: 0rem auto 1rem auto;
        width: 80%;
    }

    #content article .reading.body .note  {
        font-family: var(--font-body);
        font-size: 1.05rem;
        font-style: italic;
        text-align: justify;
        line-height: 1.5;
        color: var(--ric-grey-50) !important;
        padding-bottom: 1rem;
    }

    /* remove tombstone from pre-2024 video embed */
    #content article .reading.body div.full.video p:last-of-type::after {
        content: '';
    }
    /* remove tombstone from pre-2024 "Lost styler" */
    #content article .reading.body div.Lost.styler p:last-of-type::after {
        content: '';
    }
        /* remove tombstone from pre-2024 article div containing a p */
    #content article .reading.body div p:last-of-type::after {
            content: '';
    }

        /* image curve */
    #content article .reading.body img.image.full {
        border-radius: 1rem;
    }


/* Page styles */

article.page-content h1, article.page-content h2, article.page-content h3, article.page-content h4, article.page-content h5, article.page-content h6  {
    font-family: var(--font-header);
    color: var(--ric-red)!important;
    font-weight: 500;
}

.page-content .link-underline {
    text-decoration-color: rgba(var(--ric-red-rgb), var(--bs-link-underline-opacity, 1)) !important;
}



article img   {
    width: 100%;
}


/* Footer */

footer {
    background-color: var(--ric-black);
    color: var(--ric-white);
}

footer .h1  {
    font-family: var(--font-header);
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 400;
    width: 75%;
    border-bottom: 0.3rem solid var(--ric-teal);
}

footer li   {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 400;    
}





/* Small (xs) screens only */

@media screen and (max-width: 575px) {
    #content .article-column div.image   {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0%;
        background-color: rgb(var(--bs-body-bg-rgb));
    }    
}

/* Medium-Small (sm) screens only */

@media screen and (min-width: 576px) and (max-width: 767px) {
    #content .article-column div.image   {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0%;
        background-color: rgb(var(--bs-body-bg-rgb));
    }
}

/* Medium-Medium (md) screens only */

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

}

/* Medium-Large (lg) screens only */

@media screen and (min-width: 992px) and (max-width: 1199px) {

}

/* medium-large (lg) and smaller screens */

@media screen and (max-width: 1199px) {
    #content .article-top .frame .top-box, #content .article-top .frame .bottom-box, #content .article-column-bottom .frame .top-box, #content .article-column-bottom .frame .bottom-box {
        position: relative;
        width: 100%;
    }
}