/*
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-shadow: 0 0.25rem 0.5rem rgba(var(--ric-black-rgb),0.75);

    --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);
    min-height: 100svh;
    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-translucent-90 {
    background-color: rgba(VAR(--ric-teal-rgb),0.9);
}

.bg-teal-light {
    background-color: VAR(--ric-teal-light);
}
.bg-red {
    background-color: VAR(--ric-red);
}
.bg-red-light, .bg-pink {
    background-color: VAR(--ric-pink);
}
.bg-grey {
    background-color: var(--ric-grey-75);
}
.bg-black {
    background-color: rgba(var(--ric-black-rgb));
}
.bg-black-translucent {
    background-color: rgba(var(--ric-black-rgb),0.8);
}
.bg-black-translucent-50 {
    background-color: rgba(var(--ric-black-rgb),0.5);
}

.bg-white {
    background-color: rgba(var(--ric-white-rgb),1)!important;
}

.bg-white-translucent {
    background-color: rgba(var(--ric-white-rgb),0.8);
}

.bg-white-translucent-90 {
    background-color: rgba(var(--ric-white-rgb),0.9);
}


.bg-vignette {
    background-image: radial-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2125)); background-position: center center; background-size: cover;
}

.bg-gradient-main {
    background-image: linear-gradient(0deg, rgba(31,31,31,0.9) 0%, rgba(31,31,31,0.6) 20%, rgba(31,31,31,0.3) 40%, rgba(31,31,31,0) 100%);
}

.text-black-faded {
    color: rgba(var(--ric-black-rgb), 0.8);
}

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

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

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

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

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

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

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


.ratio-16-9 {
    aspect-ratio: 16/9!important;
}


.ratio-4-3 {
    aspect-ratio: 4/3!important;
}

.mh-5 {
    min-height: 5rem!important;
}

.mh-half {
    min-height: 50svh!important;
}


/* Navigation */


.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,background-color .15s ease-in,border-color .15s ease-in;
} */

#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 .card {
    --bs-card-border-radius: var(--bs-border-radius-xl)!important;
    overflow: hidden;
}

#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 ("splash") 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.avatar.avatar-96.photo {
    min-width: 75px!important;
    max-width: 75px!important;
    width: 75px!important;
    object-fit: cover!important;
    min-height: 75px!important;
    max-height: 75px!important;
    height: 75px!important;
    border-radius: 1rem!important;
    object-position: center center!important;
}
#old_splash img.avatar.avatar-96.photo {
    min-width: 100%!important;
    max-width: 100%!important;
    width: 100%!important;
    object-fit: cover!important;
    min-height: 100%!important;
    max-height: 100%!important;
    height: 100%!important;
    border-radius: 1rem!important;
    object-position: center center!important;
}

#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 */
    }
}



/* "Latest" cards */

#latest .card  {
    z-index: 1;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

#latest .card:hover {
    transform: scale(1.0);

}

#latest .card .card-body {
    transition: background-color 0.2s ease-in!important;
    background-color: rgba(var(--ric-teal-light-rgb),0.85);
    
}

#latest .card:hover .card-body {
    transition: background-color 0.2s ease-in!important;
    background-color: rgba(var(--ric-teal-light-rgb),1);

}

#latest .card img {
    width: 100%;
    transition: transform 0.3s ease-in, filter 0.3s ease-in;
    object-fit: cover;
    filter: saturate(85%);
    transform: scale(1.0);
}

#latest .card:hover img {
    transition: transform 0.3s ease-in, filter 0.3s ease-in;
    filter: saturate(100%);
    transform: scale(1.025);
}

#special-1 .card .card-img img {
    width: 100%;
    transition: transform 0.3s ease-in, filter 0.3s ease-in;
    object-fit: cover;
    filter: saturate(85%);
    transform: scale(1.0);
}

#special-1 .card:hover .card-img img {
    transition: transform 0.3s ease-in, filter 0.3s ease-in;
    filter: saturate(100%);
    transform: scale(1.025);
}


#latest .list-group {
    background-color: var(--ric-red);
}

#latest .list-group a {
    background-color: rgba(var(--ric-pink-rgb),0.85);
    transition: background-color 0.2s ease-in;
}

#latest .list-group a:hover {
    background-color: rgba(var(--ric-pink-rgb),1);
    transition: background-color 0.2s ease-in;
}

#latest .btn {
    background-color: rgba(var(--ric-red-rgb),1);
    transition: background-color 0.2s ease-in;
}

#latest .btn:hover {
    background-color: rgba(var(--ric-pink-rgb),1);
    transition: background-color 0.2s ease-in, color 0.2s ease-in;
    color: var(--ric-black)!important;
}

.btn-teal-hover:hover {
    transition: background-color 0.2s ease-in-out;
    background-color: rgba(var(--ric-teal-light-rgb),1)!important;
}



/* text definitions */

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

.text-shadow-dark {
    text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

.text-shadow-soft {
    text-shadow: rgba(var(--ric-black-rgb),0.33) 3px 3px 0.5rem!important;
}

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

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

.w-60 {
    width: 60% !important;
}
@media screen and (max-width: 768px) {
    .w-60 {
        width: 75% !important;
    }
}

@media screen and (max-width: 575px) {
    .w-60 {
        width: 100% !important;
    }
}

/* front page series */

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

}






/* post structure */


.header-image {
    min-height: 100svh;
    background-position: center center;
    background-size: cover;
    
}

.header-image--short {
    min-height: 70svh;
    background-position: center center;
    background-size: cover;
    
}

#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 .article__bottom--photo-gradient {
    background: linear-gradient(
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.5));
}
 

#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;
    min-width: 100%!important;
    height: 100%;    
}



#article-infobox .rounded-3 {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.clone {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

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

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

img.avatar.avatar-96.photo {
    border-radius: 1rem;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
    height: 100%!important;
}

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

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


#header2025 .text-shadow {
    text-shadow: var(--ric-shadow)!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;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

#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;
}

@media (max-width: 991.98px) {
    #content article p, #content article ul, #content article ol  {
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 400;
        text-align: left;
        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;
}

@media (max-width: 991.98px) {
    #content p.lead  {
        font-size: 1.15rem;
        text-align: left;
    }
}

#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-light);
    border-radius: 0.75rem;
    padding: 0 1rem 0.25rem 1rem;
    margin: 3px 1rem 0 0;
    float: left;
}

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

.footnotes hr {
    border-width: 3px;
    border-style: solid;
    border-color: var(--ric-red);
    border-radius: 1rem;
}

#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 .box {
    box-shadow: var(--bs-box-shadow-sm)!important;
    background-color: rgba(225,225,225,1) !important;
    padding: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-accent);
    color: var(--ric-black);
    border-radius: 1rem;
}

#content article figure.wp-block-pullquote,
#tenyear-pitch figure.wp-block-pullquote {
    display: block;
    border-radius: 2rem;

}

#content article.main-content figure.wp-block-pullquote {
    box-shadow: var(--bs-box-shadow-sm)!important;
    background-color: var(--ric-teal-light);
    padding: 1.75rem;
    margin-bottom: 2rem;
    margin-top: 2.5rem;
    margin-left: 3rem;
    margin-right: 3rem;
}
#content article.main-content-canvas figure.wp-block-pullquote {
    box-shadow: var(--bs-box-shadow-sm)!important;
    background-color: var(--ric-teal-light);
    padding: 1.75rem;
    margin-bottom: 2rem;
    margin-top: 2.5rem;
    margin-left: 3rem;
    margin-right: 3rem;
}
#tenyear-pitch .main-content figure.wp-block-pullquote {
    box-shadow: var(--bs-box-shadow)!important;
    background-color: var(--ric-red);
    color: var(--ric-white);
    margin: 5rem 0;
    padding: 2.5rem;
}

@media screen and (max-width: 1200px) {
    #content article.main-content figure.wp-block-pullquote,
    #tenyear-pitch figure.wp-block-pullquote {
        display: block;
        margin-bottom: 2rem;
        margin-top: 2.5rem;
        padding: 1.75rem;
        
        
    }
    #content article.main-content-canvas figure.wp-block-pullquote {
        display: block;
        margin-bottom: 2rem;
        margin-top: 2.5rem;
        padding: 1.75rem;
    }

    #content article.main-content figure.wp-block-pullquote {
        margin-left: 0rem!important;
        margin-right: 0rem!important;
    }
    
} 




#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.5;
    text-align: center;
    color: var(--ric-grey-75);
    
}

@media (max-width: 991.98px) {
    #content article figure.wp-block-pullquote p {
        margin-bottom: 0;
        max-width: 100%;
        font-size: 1.15rem;
        font-family: var(--font-accent);
        font-weight: 500;
        line-height: 1.5;
        text-align: center;
        color: var(--ric-grey-75);;
        
    }
}

#content article figure.wp-block-pullquote p::after {
    display: none;
}
#content article figure.wp-block-pullquote cite {
    font-size: 0.9rem;
}

#content article.main-content figure.wp-block-pullquote.left,
#tenyear-pitch figure.wp-block-pullquote.left
 {
    float: left;
    width: 55%;
    margin-right: 3rem;
    margin-left: -45%;
}

#tenyear-pitch figure.wp-block-pullquote.left
 {
    margin: 2rem 3rem 2rem -45%;
    width: 66%;
    
}

#content article.main-content-canvas figure.wp-block-pullquote.left
 {
    float: left;
    width: 33%;
    margin-right: 3rem;
    margin-left: 0%;
}

@media screen and (max-width: 1200px) {
    #content article.main-content figure.wp-block-pullquote.left,
    #tenyear-pitch figure.wp-block-pullquote.left {
        float: none!important;
        margin: 2rem auto;
        width: 80%;
        
    }    
    #tenyear-pitch figure.wp-block-pullquote.left {
        width: 100%;
    }
    #content article.main-content-canvas figure.wp-block-pullquote.left {
        float: none!important;
        margin: 2rem auto;
        width: 80%;
        
    }   
    #content article.main-content figure.wp-block-pullquote.left {
        width: 100%!important;
    }
}

#content article.main-content figure.wp-block-pullquote.right,
#tenyear-pitch figure.wp-block-pullquote.right {
    float: right;
    width: 55%;
    margin-left: 3rem;
    margin-right: -45%;
}
#content article.main-content-canvas figure.wp-block-pullquote.right {
    float: right;
    width: 33%;
    margin-left: 3rem;
    margin-right: 0%;
}

#tenyear-pitch figure.wp-block-pullquote.right {
    margin: 2rem -45% 2rem 3rem;
    width: 66%;
}

@media screen and (max-width: 1200px) {
    #content article.main-content figure.wp-block-pullquote.right,
    #tenyear-pitch figure.wp-block-pullquote.right {
        float: none;
        margin: 2rem auto;
        width: 80%;
    }    
    #tenyear-pitch figure.wp-block-pullquote.right {
        width: 100%;
    }
    #content article.main-content-canvas figure.wp-block-pullquote.right {
        float: none;
        margin: 2rem auto;
        width: 80%;
    }  
    #content article.main-content figure.wp-block-pullquote.right {
        width: 100%!important;
    }
}


/* .big article images */


#content article figure.wp-block-image.big {
    float: none;
    margin: 0 -15rem 2rem -15rem;
    
    border-radius: 0!important;
    
    
}

#content article figure.wp-block-image.big img {
    
    object-fit: cover;
    overflow: hidden;
    /* border-top-left-radius: 1.99rem!important;
    border-top-right-radius: 1.99rem!important; */
    width: 100%!important;
    object-position: center center;
}
#content article figure.wp-block-image.big figcaption.wp-element-caption {
    padding: 0.5rem 1rem 0.75rem 1rem;
    color: var(--ric-grey-75);
    
}

@media screen and (max-width: 1200px) {
 
    #content article figure.wp-block-image.big {
        float: none;
        margin: 0 -6rem 2rem -6rem;
        border-radius: 2rem!important;
        
    }
    
    #content article figure.wp-block-image.big img {
        
        object-fit: cover;
        overflow: hidden;

    }
    #content article figure.wp-block-image.big figcaption.wp-element-caption {
        padding: 0.5rem 2rem 0.75rem 2rem;
    }

}

@media screen and (max-width: 991.98px) {
    #content article figure.wp-block-image.big figcaption.wp-element-caption {
        padding: 0.5rem 2rem 0.75rem 2rem;
    }

}


/* .wide article images */

#content article figure.wp-block-image.wide {
    float: none;
    left: 0;
    width: 99.9vw;

    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
}



#content article figure.wp-block-image.wide img {
    
    object-fit: cover;
    overflow: hidden;
    width: 100%!important;
    object-position: center center;
}
#content article figure.wp-block-image.wide figcaption.wp-element-caption {
    padding: 0.5rem 2rem 0.75rem 2rem;
    color: var(--ric-grey-75);
    border-bottom: dotted 2px var(--ric-teal);
}

@media screen and (max-width: 1200px) {
 
    #content article figure.wp-block-image.wide {
        float: none;
        
        border-radius: 2rem!important;
        
    }
    
    #content article figure.wp-block-image.wide img {
        
        object-fit: cover;
        overflow: hidden;

    }
    #content article figcaption.wp-element-caption {
        font-size: 0.9rem!important;
        color: var(--ric-grey-75)!important;
        padding: 0.5rem 2rem 0.75rem 2rem;
        
    }

}


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



    /* add tombstone final paragraph at end of article */
#content article .main-content 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;
}

#content article p.tombstone::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:hover {
    background-color: var(--ric-red)!important;
    transition: all 0.3s ease;
}

.article-column .tags a {
    text-decoration: none;
    color: var(--ric-black)!important;
    transition: all 0.3s ease;
}

.article-column .tags:hover a {
    color: var(--ric-white)!important;
    text-decoration: none;
    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;
}



.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;
}




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

.charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li {
    border: 0;
}




.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-light) !important;
        padding: 2rem;
        margin-bottom: 1.5rem;
        font-family: var(--font-accent);
        font-size: 1rem;
        line-height: 1.7;
        color: var(--ric-black);
        border-radius: 1rem;
    }

    /* .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-black);
        
    }

    #content article .reading.body .highlight {
        border-color: var(--ric-teal);
        border-style: solid;
        border-width: 0rem 0.3rem 0.3rem 0rem;
        border-radius: 25px;
        box-shadow: var(--bs-box-shadow-sm)!important;
        background-color: var(--ric-teal-light);
    }

    #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%;
}


.img-full-height img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* 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%;
    }
}



/* 10 year anniversary donation */

/* #tenyear .one-time-donation label,
#tenyear .monthly-donation label {
    display: none;
} */

#tenyear .charitable-campaign-field-inner {
    width: 100%!important;
}

#tenyear .charitable-fieldset {
    padding: 0!important;
    margin: 0;
    border: 0;
}

#tenyear #charitable-donor-fields {
    padding: 0;
    margin: 0;
}

#tenyear #charitable-user-fields {
    padding: 0;
}

#tenyear .charitable-donor-details {
    padding: 0;
    margin: 0;
}
#tenyear .charitable-form-header {
    padding: 0;
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
    margin: 2rem 0;
}


#tenyear .progress {
    background-color: var(--ric-teal-light);
}

#tenyear .progress .progress-bar {
    width: 50%;
    height: 100%!important;
    background-color: var(--ric-red);
}

#tenyear .campaign-percent-raised,
#tenyear .campaign-goal  {
    
    color: var(--ric-black)!important;
    }
#tenyear .campaign-percent-raised span,
#tenyear .campaign-goal span {

    background-color: var(--ric-pink)!important;
    border-radius: 0.5rem;
    padding: 0rem 0.25rem;
}

#tenyear .charitable-donation-total .total-amount::after {
    content: ' monthly';
}

#tenyear .charitable-submit-field {
    display: flex;
    justify-content: center;
}

#tenyear .charitable-submit-field button {
    background-color: var(--ric-red)!important;
    border-radius: 0.5rem;
}

#tenyear .minimum-donation-amount-text {
    display: none;
}

#tenyear-pitch figure.wp-block-pullquote a {
    background-color: var(--ric-pink);
    border-radius: .5rem;
    color: var(--ric-black);
    padding: 0 0.25rem;
    text-decoration: none;
    transition: 0.25s;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

#tenyear-pitch figure.wp-block-pullquote a:hover {
    background-color: var(--ric-white);
    transition: 0.25s;
}

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

#tenyear .recurring-donation-amounts li.suggested-donation-amount label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

#tenyear .recurring-donation-amounts li.suggested-donation-amount label span.amount {
    min-height: 100%;
    padding-top: 0.66rem;
}


#tenyear .charitable-donation-form.charitable-template-standard .donation-amounts li span.description {
    text-align: center;
}


#tenyear .charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li input[type=text] {
    width: 100%!important;
}


.page-content-10year strong {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* regular donations */

#donation .charitable-campaign-wrap .charitable-fieldset {
    border-radius: 1rem;
    border-width: 0;
    font-family: var(--font-body)!important;
    background-color: rgba(var(--ric-teal-rgb),1)!important;
    padding: 3rem!important;
    box-shadow: var(--bs-box-shadow)!important;
}

#donation .charitable-fieldset.odd {
    min-height: 50svh!important;
}

#donation .minimum-donation-amount-text {
    text-align: center;
}

#donation .charitable-campaign-field.charitable-campaign-field-donation-form {
    margin-top: 0rem!important;
    margin-bottom: 0rem!important;
    padding-bottom: 0rem!important;
}

#donation .recurring-donation-option > label,
#donation .custom-donation-amount,
#donation .donation-amount.suggested-donation-amount,
#donation .donation-amount.custom-donation-amount {
    background-color: rgb(var(--bs-body-bg-rgb))!important;
    border-radius: 1rem!important;
    border-width: 0;
    border-color: transparent;
    border-style: solid;
    box-shadow: var(--bs-box-shadow)!important;
}

#donation .donation-amount label {
    padding-bottom: 0.25rem;
}

#donation .recurring-donation-option.selected>label {
    font-weight: normal!important;
}

#donation .charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount li label {
    padding-bottom: 0.25rem!important;
    margin-bottom: 0;
}

#donation span.description {
    display: block;
    text-align: center;
    margin-top: 0!important;
}

#donation .custom-donation-input {
    min-width: 100%;
    padding-bottom: 0.375rem!important;
}


#donation .charitable-donation-form.charitable-template-standard .donation-amounts.donation-suggested-amount {
    padding-top: 0;
}


#donation .donation-amount.custom-donation-amount.selected,
#donation .donation-amount.selected > label,
#donation .donation-amount.suggested-donation-amount.selected,
#donation .recurring-donation-option.selected > label {
    background-color: var(--ric-pink)!important;
    border-color: transparent!important;
    border-radius: 1rem!important;
    color: rgba(var(--ric-black-rgb),1)!important;
}

#donation .charitable-donation-form.charitable-template-standard .charitable-fieldset .charitable-form-header {
    font-size: 2rem;
    font-weight: 300;
    color: rgba(var(--ric-black-rgb));
    padding-bottom: 0.5rem!important;
}


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

#donation .charitable-donation-form.charitable-template-standard #charitable-gateway-fields #charitable_stripe_card_field {
    font-family: var(--font-body)!important;
}

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

#donation .charitable-donation-total {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
}

#donation span.total-amount {
    border-radius: 0.75rem;
    padding: 0.125rem 0.375rem;
    color: rgba(var(--ric-white-rgb),1);
    font-weight: 400;
    font-size: 2.5rem;
    text-shadow: rgba(var(--ric-black-rgb),0.33) 3px 3px 0.5rem!important;
    display: block;
}

#donation span.total-amount::after {
    content: ' /mo.';
    font-size: 0.9rem;
    opacity: 0.67;
    color: rgb(var(--ric-black-rgb));
    text-shadow: none;
}

#donation nav.charitable-campaign-nav.charitable-tab-style-boxed.charitable-tab-size-medium {
    display:none;
}

#donation .charitable-form-field.charitable-submit-field {
    display: flex;
    justify-content: center;
}

#donation .charitable-form-field.charitable-submit-field button {
    border-radius: 0.75rem;
    font-size: 1.75rem;
    background-color: rgba(var(--ric-red-rgb),1);
    color: rgba(var(--ric-white-rgb),1);
    box-shadow: var(--bs-box-shadow)!important;
    transition-duration: 0.25s;
}
#donation .charitable-form-field.charitable-submit-field button:hover {
    background-color: rgba(var(--ric-pink-rgb),1);
    color: rgba(var(--ric-black-rgb),1);
    transition-duration: 0.25s;
}


@media (min-width: 0px) {
    #donation ul.donation-amounts {
        display:block;      
    }
    #donation ul.donation-amounts.has-suggested-amounts {
        display:block;
    }
    #donation ul.donation-amounts.donation-suggested-amount {
        display:block;
    }

    
 }

 
 @media (min-width: 601px) {
    #donation ul.donation-amounts {
        display:grid;
    }
    #donation ul.donation-amounts.has-suggested-amounts {
        display:grid;
    }

 }


#donation .charitable-change-user-details {
    display: flex;
    justify-content: center;
}
#donation .charitable-donor-details {
    padding: 0;
    margin: 0;
}

#donation .charitable-change-user-details a {
    background-color: rgba(var(--ric-pink-rgb),1);
    color: rgba(var(--ric-black-rgb),1);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 1rem;
    margin: 1rem 0 0 0;
    box-shadow: var(--bs-box-shadow)!important;
    transition-duration: 0.25s;
}
#donation .charitable-change-user-details a:hover {
    background-color: rgba(var(--ric-red-rgb),1);
    color: rgba(var(--ric-white-rgb),1);
    transition-duration: 0.25s;
}


/* sab top */

    #sab {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
        padding: 1rem 0 0 0;
        margin: 0!important;
    }

    img.sab-custom-avatar {
        max-width: 8rem!important;
        min-width: 6rem!important;
        min-height: 6rem!important;
        max-height: 8rem!important;
        aspect-ratio: 1/1!important;
        object-position: center center;
        object-fit: cover;
    }

    #sab .saboxplugin-desc,
    #sab .sabox-job-title,
    #sab .clearfix,
    #sab h2.sabox-guest-authors,
    #sab .sab-edit-settings,
    #sab .sab-profile-edit,
    #sab .saboxplugin-gravatar,
    #sab .saboxplugin-gravatar img  {
        display: none;
    }

    #sab .sabox-authors {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0!important;
        margin: 0!important;
    }

    #sab .saboxplugin-wrap {
        border: 0;
        border-bottom: 1px solid var(--ric-red);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0.75rem 0!important;
        margin: 0!important;
    }

    #sab .saboxplugin-wrap:last-of-type {
        border-bottom: 0;
    }

    #sab .saboxplugin-tab.saboxplugin-tab-about {
        display: flex;
        flex-direction: column;
        padding: 0!important;
        margin: 0!important;
        align-items: center;
    }

    #sab .saboxplugin-wrap .saboxplugin-authorname {
        margin: 0;
        padding: 0;
    }



    /* sab top images */

    #sab .saboxplugin-authorname {
        
        padding: 0!important;
        margin: 0!important;
        text-align: center;
        
    }

    #sab .vcard.author {
        padding: 0!important;
        margin: 0!important;
        color: var(--ric-white);
        text-shadow: var(--ric-grey-75) 3px 3px 5px!important;
        font-size: 1.125rem;
    }

    


/* sab fp */

#sab-fp  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
    padding: 0;
    margin: 0!important;
}

    

#sab-fp .saboxplugin-desc,
#sab-fp .sabox-job-title,
#sab-fp .clearfix,
#sab-fp h2.sabox-guest-authors,
#sab-fp .sab-edit-settings,
#sab-fp .sab-profile-edit,
#sab-fp .saboxplugin-gravatar,
#sab-fp .saboxplugin-gravatar img  {
    display: none;
}

#sab-fp .sabox-authors {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0!important;
    margin: 0!important;
}

#sab-fp .saboxplugin-wrap {
    display: flex;
    justify-content: left;
    border: 0;
    padding: 0!important;
    margin: 0!important;
}

#sab-fp .saboxplugin-wrap:last-of-type {
    border-bottom: 0;
}

@media screen and (max-width: 480px) {
    #sab-fp .saboxplugin-wrap {
        text-align: left!important;
    }
}

#sab-fp .saboxplugin-tab.saboxplugin-tab-about {
    display: flex;
    flex-direction: column;
    padding: 0!important;
    margin: 0!important;
}

#sab-fp .saboxplugin-wrap .saboxplugin-authorname {
    margin: 0;
    padding: 0;
}

#sab-fp p {
    margin: 0!important;
    padding: 0!important;
}

#sab-fp .sabox-plus-item {
    margin: 0;
    padding: 0;
}

#sab-fp .sabox-plus-item a {
    color: var(--bs-secondary-color) !important;
    font-size: 0.875rem;
}

/* sab fp top images */

#sab-fp .saboxplugin-authorname {
    
    padding: 0!important;
    margin: 0!important;
    
}

#sab-fp .vcard.author {
    padding: 0!important;
    margin: 0!important;
}

#sab-fp img.sab-custom-avatar {
    max-width: 10rem!important;
    max-height: 20rem!important;
    aspect-ratio: 1/1!important;
    object-position: center center;
    object-fit: cover;
}


.dek {
    font-size: 1.5rem;
}


/* archives */

 /* pagination on archives */

 .archive-pagination .nav-links {
    width: 100%;
 }

 .archive-pagination {
    border-radius: 1.25rem;
    font-size: 1.25rem;

 }

 @media screen and (max-width: 579px) {
    .archive-pagination .navigation.pagination {
        font-size: 1rem;
        line-height: 2;
    }
    
 }

 .archive-pagination .page-numbers {
    background-color: var(--ric-white);
    color: var(--ric-black);
    border-radius: 1rem;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
    box-shadow: var(--bs-box-shadow) !important;
    transition: background-color 0.25s;
    z-index: 1!important;
 }

.archive-pagination .page-numbers.dots {
    background-color: transparent;
    box-shadow: none!important;
    z-index: -1!important;
}

 .archive-pagination a.page-numbers:hover {
    background-color: var(--ric-pink);
    transition: background-color 0.25s;
    
 }
 .archive-pagination .current {
    background-color: var(--ric-pink);
 }

 .archive-pagination .navigation.pagination {
    margin-top: 0.125rem;
 }

 /* search on archives in pagination bar */
 .archive-pagination .search {
    border: 0;
 }
 .archive-pagination .search input.form-control   {
    border: 0;
    border-radius: 0.5rem;
    background-color: rgba(var(--ric-white-rgb),1);
 }



.archive-donor {
background-color: rgba(var(--ric-red-rgb),1)!important;
color: rgba(var(--ric-white-rgb),1);
transition-duration: 0.25s;
}

.archive-donor:hover, .archive-donor:focus  {
background-color: rgba(var(--ric-white-rgb),1)!important;
color: rgba(var(--ric-red-rgb),1);
transition-duration: 0.25s;
}







#archive .card  {
    z-index: 1;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}


#archive .card img {
    width: 100%;
    min-height: 100%;
    transition: transform 0.3s ease-in-out;
    object-fit: cover;
    filter: saturate(85%);
    transform: scale(1.0);
}

#archive .card:hover img {
    transition: transform 0.3s ease-in-out;
    filter: saturate(100%);
    transform: scale(1.025);
}



/* Our Story */

.bg-img-cover {
    background-size: cover;
}

.bg-img-center {
    background-position: center center;
}



#newsletters .card {
    transition: 0.25s;
}


#newsletters .card:hover, #newsletters .card:focus {
    transition: 0.25s;
    animation-timing-function: ease-in-out;
    background-color: #fff!important;
}


.newsletter-archive-header {
    min-height: 50svh!important;
    background-image: url('img/newsletter-left.jpg'), url('img/newsletter-right.jpg'), url('img/blackgrain.png');
    background-repeat: no-repeat, no-repeat, repeat;
    background-position: bottom left, bottom right, center;
    background-size: clamp(5rem, 1.154rem + 38.462vw, 30rem), clamp(7.5rem, 1.538rem + 51.282vw, 40rem), 100%;
}