/* TC MATCH */
/* Used in conjunction with general-lp.css and phased-campaign-lp.css */
/* 2025: .banner-with-background.tc-match-postcard-banner */
/* 2026: .banner-with-background.tc-match-gradient-banner */
/* 2026: .responsive-banner-image (new image for mobile, using Alternative Image field */
:root {
    --bg-grey: #333;
    --tc-blue: #005DA6;
    --tc-blue-darker: #32528C;
    --tc-blue-light: #F2F7FB;
    --tc-blue-bright: #6BDAFC;
    --white-hover: #ccc;
}

/* TC Blue Specific */
.tc-blue-bg {
    background: var(--tc-blue-light);
}

.text-blue {
    color: var(--tc-blue);
}

/*************************/
/*   //  General //  */
/************************/
.tc-match section:not(#banner > .banner-bg > .container > .responsive-banner-image) .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: column;
    max-width: 935px;
}

.tc-match .content-item-button {
    margin: 30px 0 20px;
}

.banner-content-container .banner-title .bold {
    font-weight: 700;
}
/*************************/
/*   //  Typography //  */
/************************/
.italic {
    font-family: "PT Serif", serif;
}
.cedarville-cursive {
  font-family: "Cedarville Cursive", cursive;
  font-weight: 400;
  font-style: normal;
}
.caveat {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.image-credit {
    color: var(--text-grey);
    font-size: .625rem;
}
.tc-match h2,
.tc-match .h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.35;
    margin: 0 0 20px;
    text-transform: initial;
}
.tc-match .h2 .br {
    display: inline;
    max-width: 800px;
}

.tc-match .h2:has(.br){
    margin: 0 auto 40px;
}

.tc-match .container:not(.footer-container):not(.newsletter-container) p {
    font-size: .9375rem;
    max-width: 850px;
}

@media screen and (min-width:768px){
    .tc-match h2,
    .tc-match .h2 {
        font-size: 1.8125rem;
    }
}

@media screen and (min-width:951px){
    .tc-match .h2 .br {
        display: inline-block;
    }
}
@media screen and (min-width:1024px){
    .tc-match h2,
    .tc-match .h2 {
        font-size: 2rem;
    }
}
.tc-match .container .content-item-description p {
    font-size: .9375rem;
    max-width: 850px;
}
.tc-match .container p {
    font-size: inherit;
    max-width: inherit;
}

/*************************/
/*  //  Header  //  */
/*************************/
header .crc-logo + .partner-logo {
    max-width: 90px;
}

header .crc-logo:has(+ .partner-logo) {
    position: relative;
}

header .crc-logo:has(+ .partner-logo)::after {
    content:"";
    background:var(--grey-black);
    display: inline-block;
    height: 40px;
    position: absolute;
    right: -10px;
    width: 1px;
}

@media screen and (min-width:768px){
    .header.mobile-only-btn .language-switch-container {
        margin-right: 0;
    }
}

/*************************/
/*  //  Hero Banner  //  */
/*************************/
@media screen and (max-width:767px){
    .tc-match #banner {
        flex-direction: column;
        margin: 0 auto;
    }
}

.tc-match #banner {
    background-color: var(--white);
    padding-bottom: 1px;
}

.tc-match #banner:has(.banner-bg .container > .banner-image.responsive-banner-image) {
    margin-bottom: 0;
    padding-bottom: 0;
}

.tc-match #banner {
    background: var(--tc-blue-light);
}

.tc-match .banner {
    min-height: inherit;
    position: relative;
}

.banner-with-background.tc-match-postcard-banner .banner-content-container::before {
    content: none;
}

.tc-match #banner .banner-with-background.tc-match-gradient-banner {
    top: 0;
    width: 100%;
}

.tc-match #banner .banner-image.responsive-banner-image + .banner-with-background.tc-match-gradient-banner .banner-content-container {
    display: block;
    min-height: 340px;
    position: relative;
    width: 100%;
    z-index: 4;
}

.tc-match #banner .banner-with-background.tc-match-gradient-banner .container {
    max-width: 1080px;
    padding: 0;
}

#banner:has(.banner-bg .container > .banner-image.responsive-banner-image) > .banner-bg > .container {
    display: flex;
}

@media screen and (min-width: 768px){
    .tc-match #banner .banner-with-background.tc-match-gradient-banner {
        position: relative;
    }
}

@media screen and (min-width: 951px){
    .tc-match #banner {
        background-color: var(--white);
        margin-bottom: 80px;
        padding-bottom: 1px;
    }
    .tc-match #banner .banner-bg:has(>.container > .banner-with-background.tc-match-postcard-banner) {
        background-image: url(https://cdndev.redcross.ca/devmedia/crc/azure/campaign/tc-match/tc-match2025-bluebg.jpg);
        background-position: inherit;
        background-repeat: repeat;
        background-size: contain;
        display: block;
        margin: 0 auto;
        min-height: 515px;
        padding: 0 !important;
    }
}

@media screen and (min-width:1024px){
    .tc-match #banner {
        padding-bottom: 0;
    }
}

@media screen and (max-width:950px){
    .tc-match #banner .banner-bg:has(>.container > .banner-with-background.tc-match-postcard-banner):before {
        background-image: url(https://cdndev.redcross.ca/devmedia/crc/azure/campaign/tc-match/tc-match2025-bluebg.jpg);
        background-position: inherit;
        background-repeat: repeat;
        background-size: contain;
        content: "";
        display: block;
        margin: 0 auto;
        max-height: 270px;
        min-height: 260px;
        padding: 0 !important;
    }
    .tc-match #banner .container:has(>.banner-with-background.tc-match-postcard-banner) {
        margin-top: -248px;
        /* height of banner-bg::before */
        position: relative;
    }
}
@media screen and (max-width:767px){
    .tc-match #banner .banner-bg:has(>.container > .banner-with-background.tc-match-postcard-banner):before {
        max-height: 248px;
        min-height: 248px;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container {
        padding-bottom: 0;
    }
}
@media screen and (min-width:768px) and (max-width:950px){
    .tc-match #banner .banner-bg:has(>.container > .banner-with-background.tc-match-postcard-banner):before {
        max-height: 280px;
        min-height: 280px;
    }
    .tc-match #banner .container:has(>.banner-with-background.tc-match-postcard-banner) {
        margin-top: -280px;
        /* height of banner-bg::before */
        position: relative;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container {
        top: 98px;
    }
}

.tc-match #banner .banner-image.responsive-banner-image {
    height: 340px; 
    margin: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.tc-match #banner .banner-image.responsive-banner-image img {
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

@media screen and (min-width:768px) {
    .tc-match #banner .banner-image.responsive-banner-image {
        height: 100%;
        left: 0;
        margin: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1;
    }
    .tc-match #banner .banner-image.responsive-banner-image img {
        max-width: none;
        object-position: 67% 0%;
    }
}

@media screen and (min-width:1024px) {
    .tc-match #banner .banner-image.responsive-banner-image img {
        object-position: 92% 0%;
    }
}

.tc-match #banner .banner-with-background.tc-match-postcard-banner .banner-background,
.tc-match #banner .banner-with-background.tc-match-postcard-banner .banner-image {
    margin: 0;
    max-width: 100%;
    position: relative;
}

.tc-match #banner .banner-with-background.tc-match-postcard-banner .basic-image-container.banner-image img {
    object-fit: contain;
    object-position: center;
    max-width: 300px;
}
@media screen and (min-width: 375px){
    .tc-match #banner .banner-with-background.tc-match-postcard-banner .basic-image-container.banner-image img {
        max-width: 400px;
    }
}
@media screen and (min-width:768px){
    .tc-match #banner .banner-with-background.tc-match-postcard-banner .basic-image-container.banner-image img {
        max-width: 393px;
    }
}
@media screen and (min-width: 951px){
    .tc-match #banner .banner-with-background.tc-match-postcard-banner .basic-image-container.banner-image img {
        max-width: 550px;
    }
}
/* override */
.tc-match .banner-with-background.tc-match-postcard-banner .banner-background {
    background: inherit;
    mix-blend-mode: unset;
}

.tc-match .banner-with-background .banner-background,
.tc-match .banner-with-background .banner-background::after {
    background: transparent;
}

.tc-match #banner .banner-image.responsive-banner-image::after {
    background: linear-gradient(rgba(225,225,225,0), rgba(0, 93, 166,.9)100%);
    bottom: unset;
    content: "";
    display: block;
    height: 340px;
    mix-blend-mode: unset;
    position: absolute;
    top: 0;
    width: 100%;
}

.tc-match .banner-with-background.tc-match-postcard-banner .banner-image .image-credit {
    bottom: -4px;
    color: var(--text-grey);
    display: inline-block;
    left: 0;
    position: absolute;
    text-align: center;
    text-shadow: none;
    top: inherit;
    width: 100%;
}

.tc-match #banner .banner-image.responsive-banner-image .image-credit {
    bottom: 86px;
    color: var(--white);
    display: inline-block;
    margin: 0 auto;
    max-width: 935px;
    padding: 0 30px;
    position: relative;
    text-align: center;
    top: unset;
    width: 100%;
    z-index: 2;
}

.tc-match #banner .banner-image.responsive-banner-image .image-credit.desktop-only {
    display: none;
}

@media screen and (min-width:768px){
    .tc-match #banner .banner-image.responsive-banner-image::after {
        background: linear-gradient(rgba(225,225,225,0), rgba(0, 93, 166,.9)80%);
        bottom: 0;
        height: 70%;
        top: unset;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-image .image-credit {
        bottom: 80px;
        color: var(--white);
        font-size: 8px;
        left: inherit;
        padding-right: 0;
        right: 88px;
        text-align: right;
        text-shadow: var(--text-shadow);
        transform: rotate(2deg);
    }
    .tc-match #banner .banner-image.responsive-banner-image .image-credit {
        bottom: 5px;
        color: var(--black);
        padding-right: 350px;
        text-align: left;
    }
    .tc-match #banner .banner-image.responsive-banner-image .image-credit.desktop-only {
        display: inline-block;
    }
    .tc-match #banner .banner-image.responsive-banner-image .image-credit.mobile-only {
        display: none;
    }
}

@media screen and (min-width: 951px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-image .image-credit {
        bottom: 119px;
        right: 119px;
    }
}

@media screen and (min-width:1024px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-image .image-credit {
        bottom: 70px;
        color: var(--black);
        left: 0;
        text-align: left;
        text-shadow: none;
        transform: none;
        right: unset;
        top: inherit;
    }
}

.tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container {
    align-items: center;
    display: flex;
    justify-content: center;
}

@media screen and (min-width:768px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container {
        top: 48px;
        height: auto;
        left: 0;
        margin: 0;
        max-width: calc(100% - 360px);
        padding: 0;
        position: relative;
        width: 100%;
    }
    .tc-match #banner .banner-image.responsive-banner-image + .banner-with-background.tc-match-gradient-banner .banner-content-container {
        margin-right: 0;
        padding: 0;
        position: relative;
    }
}
@media screen and (min-width: 951px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container {
        top: 182px;
    }
}
@media screen and (min-width:768px) and (max-width:950px){
    .tc-match #banner:has( > .banner-bg >.container > .banner-with-background.tc-match-postcard-banner) {
        margin-bottom: 240px;
    }
    .tc-match #banner .banner-bg:has(>.container > .banner-with-background.tc-match-postcard-banner):before {
        max-height: 320px;
        min-height: 320px;
    }
    .tc-match #banner .container:has(>.banner-with-background.tc-match-postcard-banner) {
        margin-top: -320px;
        /* height of banner-bg::before */
        position: relative;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container {
        top: 158px;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-image .image-credit {
        bottom: 86px;
    }
}

.tc-match .banner-with-background.tc-match-postcard-banner .banner-title {
    font-family: "Caveat", cursive;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 20px;
    text-shadow: none;
    transform: rotate(-3.52deg);
}

.tc-match #banner .banner-with-background.tc-match-gradient-banner .banner-title { 
    bottom: 70px;
    font-size: 1.5rem;
    left: 0;
    line-height: 1.35;
    margin-bottom: 0;
    padding: 20px;
    position: absolute;
    text-shadow: none;
}

.tc-match #banner .banner-with-background.tc-match-gradient-banner .banner-title .text-italic {
    font-weight: 400;
}

@media screen and (min-width: 375px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-title {
        font-size: 2.5625rem;
    }
}

@media screen and (min-width:768px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-title {
        font-size: 2.5rem;
        left: 0;
        margin: 20px 20px 0 0;
        position: absolute;
        top: -150px;
    }
    .tc-match #banner .banner-with-background.tc-match-gradient-banner .banner-title {
        bottom: 20px;
        font-size: 1.625rem;
        left: 10px;
    }
}

@media screen and (min-width: 951px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-title {
        left: 0;
        top: -120px;
    }
}

@media screen and (min-width:1024px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-title {
        font-size: 3.5rem;
        left: -20px;
        top: -160px;
    }
    html[lang|="fr"] .tc-match .banner-with-background.tc-match-postcard-banner .banner-title {
        font-size: 3.5rem;
    }
    .tc-match #banner .banner-with-background.tc-match-gradient-banner .banner-title {
        font-size: 2rem;
    }
}

@media screen and (max-width:767px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container .icon-match {
        right: 14px;
        position: absolute;
        top: 85px;
        width: 30%;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container .icon-match img { 
        transform: rotate(40deg);
    }
}

@media screen and (max-width:374px){
    .tc-match #banner .banner-bg:has(>.container > .banner-with-background.tc-match-postcard-banner):before {
        min-height: 179px;
        max-height: 180px;
    }
    .tc-match #banner .container:has(>.banner-with-background.tc-match-postcard-banner) {
        margin-top: -180px;
        /* height of banner-bg::before */
        position: relative;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-title {
        margin: 20px 0 30px;
    }
}
@media screen and (min-width:768px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container .icon-match {
        left: auto;
        right: 20px;
        position: absolute;
        top: -10px;
        width: 120px;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container .icon-match img { 
        transform: rotate(32deg);
    }
}
@media screen and (min-width: 951px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container .icon-match {
        left: auto;
        right: 20px;
        position: absolute;
        top: -10px;
        width: 170px;
    }
}
@media screen and (min-width:1024px){
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container .icon-match {
        left: -40px;
        right: auto;
        top: 85px;
    }
    .tc-match .banner-with-background.tc-match-postcard-banner .banner-content-container .icon-match img { 
        transform: rotate(-10deg);
    }
}
/* Banner Fundraise Up Form - do not touch */
.tc-match #banner .banner-image.responsive-banner-image + .banner-with-background.tc-match-gradient-banner .banner-form-container {
    margin-top: -51px;
}

@media screen and (max-width:767px){
    .banner-with-background.tc-match-postcard-banner .banner-form-container {
        background: var(--white);
        box-shadow: var(--form-box-shadow);
        max-width: 330px;
    }
}

@media screen and (min-width:768px){
    .banner-with-background.tc-match-postcard-banner .banner-form-container {
        margin: 0;
        position: absolute;
        right: 0;
        top: 0;
    }
}

@media screen and (min-width:768px) and (max-width:1024px){
    .banner-with-background.tc-match-postcard-banner .banner-form-container {
        box-shadow: var(--form-box-shadow);
        max-width: 330px;
    }
}

@media screen and (min-width:768px){
    .tc-match #banner .banner-image.responsive-banner-image + .banner-with-background.tc-match-gradient-banner .banner-form-container {
        margin-top: 0;
    }
}

/*****************************/
/*   //////  INTRO  //////   */
/*****************************/
#intro h2 {
	margin-bottom: 2rem;
}

/*****************************/
/*   /////  Mid CTA  /////   */
/*****************************/
.midcta-section {
    text-align: center;
}

.midcta-section .h2 {
    margin-bottom: 40px;
}

@media screen and (min-width:768px){
    .midcta-section .h2 {
        font-size: 1.8125rem;
    }
}

.midcta-section:has(.content-icon) .container {
    padding-bottom: 230px;
    padding-top: 100px;
    position: relative;
}

.midcta-section .content-icon {
    left: calc(50% - 93px);
    position: absolute;
    top: -100px;
    width: 186px;
}

#banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #midcta {
    background-color: var(--white);
    padding-top: 120px;
}

#banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #midcta > .container {
    padding-bottom: 230px;
    padding-top: 100px;
    position: relative;
}

#midCTA .btn-container {
	margin-bottom: 10px;
}

/*********************************/
/*   ///////  CAROUSEL  //////   */
/*********************************/
#maincontent h2 {
    margin-bottom: 30px;
    text-align: center;
}
#maincontent > .container {
    padding: 0 40px;
}
.carousel {
    padding-bottom: 30px;
}
.carousel-slide-text h3 {
    color: var(--tc-blue);
}
.carousel-dot-active {
    background: var(--tc-blue);
}
.carousel-previous {
    background: var(--tc-blue-light);
    left: 0;
}
.carousel-next {
    background: var(--tc-blue-light);
    right: 0;
}
@media (min-width: 768px) {
    #maincontent h2 {
        padding-top: 50px;
    }
    .carousel {
        height: 300px;
        padding-bottom: 0;
    }
}
@media (min-width: 900px) {
    .carousel {
        height: 360px;
    }
}
@media (min-width: 1024px) {
    .carousel {
        height: 420px;
    }
    .carousel-previous {
        left: -50px;
    }
    .carousel-next {
        right: -50px;
    }
}

/**********************/
/* ///// REVEAL ///// */
/**********************/
#subcontent {
    text-align: center;
}
.reveal-items-container {
    align-items: center;
    display: grid;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}
.reveal-item {
    background-color: transparent;
    height: 250px;
    width: 250px;
}
.reveal-item-content {
    height: 100%;
    position: relative;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform .8s;
    width: 100%;
}
.reveal-item.revealed .reveal-item-content {
    transform: rotateX(180deg);
}
.reveal-item:focus .reveal-item-content .reveal-item-front::before,
.reveal-item:hover:not(:focus) .reveal-item-content .reveal-item-front::before {
    border: 2px solid var(--tc-blue-bright);
    box-shadow: 0 0 5px 0 var(--box-shadow);
    height: 105%;
    width: 105%;
}
.reveal-item:focus .reveal-item-content .reveal-item-front::after,
.reveal-item:hover:not(:focus) .reveal-item-content .reveal-item-front::after {
    height: 100%;
    width: 100%;
    animation: pulse 1s infinite;
}
.reveal-item:focus .reveal-item-content .reveal-item-back::after {
    border: 2px solid var(--tc-blue-bright);
}
.reveal-item:focus .reveal-item-front p span,
.reveal-item:hover:not(:focus) .reveal-item-front p span {
    text-decoration: underline;
}
.reveal-item-front,
.reveal-item-back {
    align-items: center;
    backface-visibility: hidden;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
    position: absolute;
    transition: all 0.25s ease-in-out;
    width: 100%;
}
.reveal-item-front::after, 
.reveal-item-back::after,
.reveal-item-front::before, 
.reveal-item-back::before {
    background-color: var(--tc-blue);
    border-radius: 50%;
    content: '';
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.25s ease-in-out;
    transition-property: height, width, box-shadow;
    width: 100%;
    z-index: -1;
}
.reveal-item-front {
    cursor: pointer;
}
.reveal-item-front p {
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}
.reveal-item-front p::after {
    content: '\1FA75';
    text-decoration: none !important;
    vertical-align: text-bottom;
}
.reveal-item-back {
    transform: rotateX(180deg);
}
.reveal-item-back .reveal-item-blockquote {
    font-family: 'PT Serif';
    font-size: 1.125rem;
}
.smaller-text .reveal-item-back .reveal-item-blockquote {
    font-size: 1rem;
}
.reveal-item-back .reveal-item-blockquote::before {
    content: '\201C';
}
.reveal-item-back .reveal-item-blockquote::after {
    content: '\201D';
}
html[lang|="fr"] .reveal-item-back .reveal-item-blockquote::before {
    content: '\AB';
    margin-right: 5px;
}
html[lang|="fr"] .reveal-item-back .reveal-item-blockquote::after {
    content: '\BB';
    margin-left: 5px;
}
.reveal-item-back .reveal-item-caption {
    font-size: .825rem !important; 
    margin: 0;
}
.smaller-text .reveal-item-back .reveal-item-caption {
    font-size: .725rem !important;
}
@media (min-width: 768px) {
    #subcontent {
        margin-top: 20px;
    }
    .reveal-items-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-top: 40px;
        row-gap: 0;
    }
    .break {
        display: block;
    }
}
@keyframes pulse {
    0% {
        opacity: .5;
    }
    100% {
        height: 115%;
        width: 115%;
        opacity: 0;
    }
}

/**********************************/
/* // SubBody CTA / Image Trio // */
/**********************************/
.subBody-items-container {
    margin: 50px auto 0;
    max-width: 700px;
}
.subBody-items-container .content-item-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.subBody-items-container .content-item-container:after {
    background-image: url(https://cdn.redcross.ca/prodmedia/crc/azure/campaign/tc-match/2025/tc-match_section-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    display: inline-block;
    content: "";
    display: inline-block;
    height: 60px;
    margin: 18px 0;
    width: 11px;
}
.subBody-items-container .content-item-container:last-of-type:after {
    display: none;
}
.subBody-items-container .content-item-image {
    font-size: 0;
    margin: 0 0 20px;
    max-width: 170px;
}
.subBody-items-container .content-item-image img {
    border-radius: 50%;
    font-size: 0;
    margin: 0;
}
.subBody-items-container .content-item-title {
    color: var(--tc-blue);
    font-size: .875rem;
    font-weight: 800;
    text-transform: uppercase;
}
.subBody-items-container .content-item-description p {
    font-size: .875rem;
}
.subBody-items-container .content-item-description p.image-credit {
    font-size: .625rem;
}
@media screen and (min-width:768px){
    .subBody-items-container .content-item-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin-bottom: 80px;
    }
    .subBody-items-container .content-item-container:last-of-type {
        margin-bottom: 0;
    }
    .subBody-items-container .content-item-container:after {
        bottom: -62px;
        left: calc(170px / 2 - 5px);
        margin: 0;
        position: absolute;
    }
    .subBody-items-container .content-item-title-and-description {
        padding-left: 30px;
        text-align: left;
    }
}

/*************************/
/*    // #Bottom //      /*
/* TC Match with icons   */
/*************************/
#banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #bottom {
    margin-top: -230px;
}

#bottom .basic-image-container {
    font-size: 0;
    position: relative;
}

#bottom .container .bottom-banner-container {
    position: relative;
}

#bottom .image-credit {
    bottom: 8px;
    display: inline-block;
    left: 8px;
    position: absolute;
    text-align: left;
}

@media screen and (min-width: 550px){
    #bottom .image-credit {
        bottom: unset;
        left: unset;
        right: 11px;
        transform: translateX(50%) rotate(90deg);
        top: 102px;
    }
}

@media screen and (min-width: 1024px){
    #bottom .image-credit {
        top: 142px;
    }
}

#bottom .bottom-banner-container .content-item-title {
    background: var(--tc-blue);
    color: var(--white);
    bottom: 0;
    font-size: 1.625rem;
    line-height: 1.31;
    margin-bottom: 40px;
    padding: 18px;
    width: 100%;
}

#banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #bottom .container .bottom-banner-container {
    margin: 0 -40px;
}

#banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #bottom .bottom-banner-container .content-item-title {
    font-size: 1.250rem;
    padding: 20px 30px;
}

@media screen and (min-width:768px){
    #bottom .content-item-description {
        margin-top: 40px;
    }
    #bottom .bottom-banner-container .content-item-title {
        background: rgba(0, 93, 166, 0.84);
        bottom: 0;
        left: 0;
        font-size: 2rem;
        margin-bottom: 0;
        padding: 12px 18px;
        position: absolute;
    }
    #banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #bottom .container .bottom-banner-container {
        margin: 0 auto;
    }
    #banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #bottom .bottom-banner-container .content-item-title {
        font-size: 1.625rem;
        padding: 22px 18px;
    }
}

@media screen and (min-width:1024px){
    #banner:has(.banner-bg .container > .banner-image.responsive-banner-image) ~ #bottom .bottom-banner-container .content-item-title {
        font-size: 2rem;
    }
}

.tc-match .signup .bottom-cta-privacy p {
    font-size: .75rem;
}

/*************************/
/*    //    Icons   //   */
/*************************/
.bottom-items-icon-container {
    display: flex;
    flex-direction: column;
    margin: 40px 0 0;
}
.bottom-items-icon-container .content-icon-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    margin: 0 0 50px;
    text-align: center;
    width: 100%;
}
.bottom-items-icon-container .content-icon-container:last-of-type {
    margin-bottom: 0;
}
.bottom-items-icon-container .content-icon-container .content-icon {
    margin-bottom: 10px;
    max-width: 66px;
}
.bottom-items-icon-container .content-icon-container .content-icon-title {
    font-size: .875rem;
}
@media screen and (min-width:768px){
    .bottom-items-icon-container {
        flex-direction: row;
    }
    .bottom-items-icon-container .content-icon-container {
        align-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0;
        width: 25%;
    }
}

/*************************/
/*   //   QUOTE     //   */
/*************************/
#quote blockquote p {
    font-family: 'PT Serif';
    color: var(--tc-blue);
    font-size: 1.125rem;
    line-height: 1.5;
}

#quote blockquote p:first-of-type::before {
    content: '\201C';
}

#quote blockquote p:last-of-type::after {
    content: '\201D';
}

html[lang|="fr"] #quote blockquote p:first-of-type::before {
    content: '\AB';
    margin-right: 5px;
}

html[lang|="fr"] #quote blockquote p:last-of-type::after {
    content: '\BB';
    margin-left: 5px;
}

#quote blockquote cite {
    font-style: normal;
    text-transform: uppercase;
    margin-top: 20px;
}

#quote blockquote cite span {
    color: var(--tc-blue);
    font-weight: 700;
}

@media (min-width: 768px) {
    #quote blockquote p {
        font-size: 1.6rem;
    }
    #quote blockquote cite {
        font-size: 1.250rem;
    }
}

/*************************/
/*     //  FAQ   //      */
/*************************/
#faq {
    padding: 0 40px;
}

#faq .container {
    margin: 0 auto 40px;
    max-width: 951px;
    padding: 0;
}

.tc-match #faq.faq-grey-bg {
    padding: 0;
}

.tc-match #faq.faq-grey-bg .faq-wrapper {
    background-color: var(--light-white);
    padding: 30px 30px 10px;
}

.tc-match #faq.faq-grey-bg .container {
    background: var(--white);
    margin: 0 auto 40px;
    padding: 0 30px 0;
}

.tc-match #faq.faq-grey-bg .accordion-faq {
	max-width: 951px;
}

.tc-match #faq.faq-grey-bg h2 {
	font-weight: 700;
	margin-bottom: 20px;
    text-transform: initial;
}

.tc-match #faq.faq-grey-bg p {
    padding-right: 30px;
}

.tc-match #faq.faq-grey-bg .accordion-faq .accordionTitle,
.tc-match #faq.faq-grey-bg .accordion-faq .accordion__Heading {
	font-size: .9375rem;
    padding: 1rem 40px 1rem 4px;
}

.tc-match #faq.faq-grey-bg .accordion-faq .accordionTitle:before,
.tc-match #faq.faq-grey-bg .accordion-faq .accordion__Heading:before {
    margin-right: -34px
}

.accordionTitle,
.accordion__Heading {
    transition: color 240ms ease-in-out 10ms;
}

.accordion-faq dd:last-of-type {
    border-bottom: none;
}

.accordion-faq .accordionTitle:before,
.accordion-faq .accordion__Heading:before,
.accordion-faq .accordionTitle:hover,
.accordion-faq .accordion__Heading:hover,
.accordion-faq .accordionTitle:focus,
.accordion-faq .accordion__Heading:focus {
    color: var(--primary-red);
}

@media (min-width: 1024px) {
    #faq h2 {
        font-size: 1.8125rem;
    }
}

/*************************/
/*  //  Newsletter  //   */
/*************************/
.container.newsletter-container {
    max-width: 875px !important;
}

/* TC MATCH TEST 2025 ~ .tc-match-test */
/* Banner Form Fixed on right side 1024px + */
@media screen and (min-width:1024px){
    /* TYPOGRAPHY */
    .tc-match.tc-match-test .h2 .br {
        display: inline;
    }
    /* HR BREAKS */
    .tc-match.tc-match-test #bottom:before, 
    .tc-match.tc-match-test #quote:before,
    .tc-match.tc-match-test #faq:before {
        content: '';
        display: block;
        height: 1px;
        margin: 0 auto;
        max-width: 100%;
        width: calc(100% - 60px);
        margin: 20px auto 30px;
    }
    .tc-match.tc-match-test #bottom:before {
        margin-top: 10px;
    }
    /* SECTION LEFT OF FORM */
    .tc-match.tc-match-test section {
        margin: 0;
        text-align: left;
        width: calc(100% - 391px);
    }
    /* SECTIONS */
    .tc-match.tc-match-test section .container {
        max-width: 634px;
        padding-left: 40px;
    }
    /* HEADER */
    .tc-match.tc-match-test header {
        box-shadow: none;
        height: 75px;
        padding-right: calc(50% - 130px);
        position: static;
    }
    .tc-match.tc-match-test .header {
        padding-right: calc(50% - 130px);
    }
    .tc-match.tc-match-test .header-inner.container {
        flex-wrap: unset;
        flex-direction: row;
        height: 75px;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    /* BANNER */
    .tc-match.tc-match-test #banner {
        margin-bottom: 263px;
        padding-bottom: 0;
        width: auto;
    }
    .tc-match.tc-match-test #banner .banner-bg:has(>.container > .banner-with-background.tc-match-postcard-banner) {
        min-height: 316px;
        max-height: 355px;
    }
    .tc-match.tc-match-test #banner .basic-image-container.banner-image {
        margin-top: 30px;
    }
    .tc-match.tc-match-test #banner .basic-image-container.banner-image img {
        margin: 0;
        max-width: 530px;
    }
    .tc-match.tc-match-test .banner-with-background.tc-match-postcard-banner .banner-image .image-credit {
        bottom: 113px;
        right: 122px;
    }
    .tc-match.tc-match-test .tc-match .banner {
        height: 355px;
        min-height: inherit;
        position: relative;
    }
    .tc-match.tc-match-test .banner-content-container {
        left: 0;
        max-width: 668px;
        position: absolute;
        top: 100px;
        width: calc(100% - 391px);
    }
    .tc-match.tc-match-test .banner-with-background.tc-match-postcard-banner .banner-title {
        font-size: 3.5rem;
        left: -20px;
        top: -120px;
    }
    .tc-match.tc-match-test .banner-content-container .icon-match {
        left: -40px;
        top: 145px;
        width: 145px;
    }
    /* INTRO */
    .tc-match.tc-match-test #intro .container {
        padding: 0 30px;
    }
    /* CAROUSEL */
    .tc-match.tc-match-test #maincontent .container {
        margin-bottom: 0;
        max-width: 850px;
        padding-bottom: 30px;
        padding-left: 40px;
    }
    .tc-match.tc-match-test #main-ctas .flex-slide .content-item-description .tilt {
        width: calc(100% - 40px);
    }
    .tc-match.tc-match-test #maincontent #main-ctas {
        width: 100%;
    }
    .tc-match.tc-match-test #main-ctas .flex-slide .content-item-description p {
        font-size: 1.25rem;
    }
    .tc-match.tc-match-test #main-ctas .flex-container > div + div .content-item-description p {
        font-size: 1.375rem;
    }
    /* IMAGE TRIO */
    .tc-match.tc-match-test .subBody-items-container {
        margin-top: 30px;
    }
    .tc-match.tc-match-test .subBody-items-container .content-item-image {
        max-width: 145px
    }
    .tc-match.tc-match-test .subBody-items-container .content-item-container {
        margin-bottom: 40px;
    }
    .tc-match.tc-match-test .subBody-items-container .content-item-container:after {
        bottom: -42px;
        left: calc(145px / 2 - 5px);
    }
    /* BOTTOM BANNER */
    .tc-match.tc-match-test #bottom .container {
        padding-bottom: 20px;
    }
    .tc-match.tc-match-test #bottom .bottom-banner-container .content-item-title {
        background: var(--tc-blue);
        bottom: 0;
        font-size: 1.75rem;
        padding: 16px;
        position: relative;
        width: 100%;
    }
    .tc-match.tc-match-test #bottom .image-credit {
        top: 110px;
    }
    html[lang|="fr"] .tc-match.tc-match-test #bottom .image-credit {
        top: 107px;
    }
    .tc-match.tc-match-test #bottom .content-item-description {
        margin: 20px 0 0;
    }
    .tc-match.tc-match-test #bottom .content-item-description p {
        font-size: .875rem;
    }
     /* BOTTOM ICONS */
    .tc-match.tc-match-test .bottom-items-icon-container {
        flex-direction: column;
        max-width: 670px;
    }
    .tc-match.tc-match-test .bottom-items-icon-container .content-icon-container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 20px 0 0;
        margin: 0 0 20px;
        text-align: left;
        width: 100%;
    }
    .tc-match.tc-match-test .bottom-items-icon-container .content-icon-container:last-of-type {
        margin-bottom: 0;
    }
    .tc-match.tc-match-test .bottom-items-icon-container .content-icon-container .content-icon {
        margin-bottom: 0;
    }
    .tc-match.tc-match-test .bottom-items-icon-container .content-icon-container .content-icon-title {
        align-self: center;
        font-size: .9375rem;
        padding-left: 30px
    }
    /* QUOTE */
    .tc-match.tc-match-test #quote .container {
        padding-bottom: 20px;
        padding-left: 40px;
    }
    .tc-match.tc-match-test .blockquote {
        text-align: center;
    }
    .tc-match.tc-match-test .blockquote blockquote {
        font-size: 1.5rem;
        margin: 30px 0 20px 0;
    }
    .tc-match.tc-match-test .blockquote cite {
        font-size: 1.125rem;
    }
    /* FAQ */
    .tc-match.tc-match-test #faq.faq-grey-bg .container {
        margin: 0 auto;
        padding-bottom: 40px;
        padding-left: 40px;
    }
    /* NEWSLETTER */
    .tc-match.tc-match-test section.signup {
        margin: 0 40px;
        text-align: left;
        width: auto;
    }
    .tc-match.tc-match-test .signup .container.newsletter-container {
        margin: 0 auto 40px;
        max-width: 945px;
    }
    /* FORM RIGHT */
    .tc-match.tc-match-test .banner-with-background.tc-match-postcard-banner .banner-form-container {
        background: var(--white);
        box-shadow: var(--form-box-shadow);
        left: 50%;
        max-width: 330px;
        position: fixed;
        top: 0;
        transform: translate(130px, 0);
        z-index: 60;
    }
    .tc-match.tc-match-test .banner-form-title {
        padding: 17px 25px;
    }
}
@media screen and (min-width:1280px){
    .tc-match.tc-match-test .header {
        padding-left: 10%;
        padding-right: calc(50% - 235px);
    }
    .tc-match.tc-match-test .banner-with-background.tc-match-postcard-banner .banner-form-container {
        left: 50%;
        top: 0;
        transform: translate(235px, 0);
    }
    /* HR BREAKS */
    .tc-match.tc-match-test #bottom:before, 
    .tc-match.tc-match-test #quote:before {
        max-width: 680px;
    }
    .tc-match.tc-match-test section {
        width: calc(100% - 300px);
    }
    .tc-match.tc-match-test section .container {
        max-width: 740px;
        padding-left: 30px;
    }
    .tc-match.tc-match-test #maincontent .container {
        max-width: 630px;
        padding-left: 0;
        padding-right: 0;
    }
    .tc-match.tc-match-test #maincontent .carousel-direction.carousel-direction-previous {
        left: -35px;
    }
    .tc-match.tc-match-test #maincontent .carousel-direction.carousel-direction-next {
        right: -35px;
    }
    .tc-match.tc-match-test #faq:before {
        max-width: 740px;
    }
    .tc-match.tc-match-test #faq.faq-grey-bg {
        margin-left: -40px;
    }
    .tc-match.tc-match-test #faq.faq-grey-bg .container {
        max-width: 810px;
        padding-left: 30px;
    }
    .tc-match.tc-match-test .signup .container.newsletter-container {
        max-width: 1130px;
    }
}

/* TC MATCH TEST 2026 ~ .tc-test26 */
/* Banner Form inside Banner - hide all other sections except: Intro, FAQ, and Footer sections */
/* DESKTOP */
@media screen and (min-width: 1024px) {
    .tc-match.tc-test26 #maincontent,
    .tc-match.tc-test26 #midcta
    .tc-match.tc-test26 #bottom {
        display: none;
    }
}

/* OFF STATE */
.banner-with-background.tc-match-postcard-banner .banner-title .off {
	display: block;
	font-size: 1.25rem;
    transform: rotate(4deg);
    line-height: 1.25;
    margin-top: 36px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .banner-with-background.tc-match-postcard-banner .banner-title .off {
		font-size: 1.125rem;
	    transform: rotate(4deg);
	    display: block;
	    text-align: left;
	    line-height: 1.25;
	    margin-top: 20px;
	    width: calc(100% + -10px);
	    left: 0;
	    margin-left: 20px;
	}
}

@media screen and (min-width: 951px) {
    .banner-with-background.tc-match-postcard-banner .banner-title .off {
		font-size: 1.625rem;
	    margin-top: 40px;
	}
}

@media screen and (max-width: 374px) {
    .banner-with-background.tc-match-postcard-banner .banner-title .off {
		font-size: 1.125rem;
		margin-top: 25px;
	}
}
