.merriweather-regular {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.merriweather-bold {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

:root {
    --body-bg-color: #f8f9fa; /*hsl(210, 17%, 98%); /* #f8f9fa */
    --body-link-color: #a21d21;
    --color-primary: #a21d21;
    --mainnav-link-color: #a21d21;
    --body-link-hover-color: #300205;
    --btn-active-bg: #300205;
    --btn-active-border-color: #300205;
    --mainnav-link-active-color: var(--body-link-hover-color);
    --mainnav-link-hover-color: var(--body-link-hover-color);
    --body-font-family: "Merriweather", serif;
    --heading-font-family: "Merriweather", serif;
    --heading-font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
}

.t4-header {
    background-color: var(--body-bg-color);
}

a {
    text-decoration: 1px underline dashed;
}

a:hover, a:focus {
    text-decoration: underline;
}

.nav-item.active a {
    font-weight: bold;
    text-decoration: 2px underline;
}

.com-content-category-blog__children > h3 {
    display: none;
}

.blog-featured h2.item-title,
.com-content-category-blog__items .page-header h2 {
    font-size: var(--h1-font-size) !important;
}

/* Header */
.navbar-brand.logo-control img.logo-img {
    max-height: fit-content;
}

#t4-header header,
#t4-topbar {
    background-color: #B3303A;
    color: #E5E1D5;
}

#t4-topbar a,
#t4-header .fa.fa-bars.toggle-bars {
    color: #E5E1D5;
}

#t4-topbar .topbar-r {
    text-align: right;
}

#t4-header .header-wrap {
    align-items: end !important;
}

.t4-header-r {
    justify-content: space-between;
    flex-grow: 1;
    align-items: end !important;
}

.t4-header-r a {
    color: #E5E1D5;
    text-decoration: none;
    font-size: 72px;
}

/* Menu */
.t4-nav-height-sm .t4-megamenu .navbar-nav>li>a, 
.t4-nav-height-sm .t4-megamenu .navbar-nav>li>.nav-link {
    text-transform: uppercase;
}

/* Cards */
.card {
    position: relative;
    transition: box-shadow .2s ease-in-out;
}

.card .card-title a:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
}

.card:hover,
.card:has(a:focus) {
    /* box-shadow: 0px 0px 20px #212121 !important; */
    /* animation: drop-shadow-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both; */
    animation-name: drop-shadow-center;
    animation-duration: 4s;

}

/* Buttons */
.btn:first-child:active,
.btn:focus {
    background-color: var(--btn-active-bg);
    border-color: var(--btn-active-border-color);
}


.login-wrap .other-links {
    display: none;
}

/* Footnav */
#t4-footnav,
#t4-footnav a {
    color: #E5E1D5;
}


/* Animations */
@keyframes drop-shadow-center {
  0% {
    transform: translateZ(0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    transform: translateZ(50px);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
  }
}
