/*  //   Holiday 2025  //  */
:root {
    --contest-bg-image: url('https://cdn.redcross.ca/prodmedia/crc/azure/campaign/holiday/2025/aircanada-scenery.jpg');
    --contest-bg-image-mobile: url('https://cdn.redcross.ca/prodmedia/crc/azure/campaign/holiday/2025/aircanada-scenery-vertical.jpg');
}
/****************************/
/*  Holiday OFF STYLES 2024 */
/****************************/
.holiday .off-old .h2,
.holiday .off-old h2,
.holiday .off-old h1 {
    font-weight: 800;
    text-transform: uppercase;
}
.holiday .off-old .h2 {
    margin-bottom: 2rem;
}
.banner-off .banner-icon {
    display: none;
}
.banner.off-old .banner-content-container {
    align-items: flex-end;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    grid: none;
    position: relative;
}
.holiday #banner:not(#banner > .container .image-container + .banner.holiday.off-old) {
    margin-bottom: 30px;
}
.banner.off-old .banner-content-container {
    align-items: flex-end;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    grid: none;
    position: relative;
}
.banner.holiday.off-old .banner-title {
    text-align: left;
    text-transform: uppercase;
}
.banner.off-old .banner-content-container {
    height: 380px;
    justify-content: flex-end;
    min-height: 359px;
    padding-bottom: 140px;
}
#video.off-old {
    margin-bottom: 0;
}
#video.off-old .h2 {
    margin: 0 0 60px;
}
.holiday #media.video.off-old .container {
    padding: 30px 30px 0;
}
.holiday #media.video.off-old {
    margin: 0;
}
.holiday #media.video.off-old .h2 {
    margin: 30px 0;
}
.holiday #media.video.off-old .video-wrapper {
    margin-left: -30px;
    width: calc(100% + 60px);
}
.final-cta.off-old {
    margin: 0;
}
@media(min-width: 768px) {
    #video.off-old .h2 .text-red {
        display: block;
    }
    .holiday .off-old .h2 .text-red {
        display: block;
    }
    .holiday #banner:has(.banner-background + .holiday.off-old) {
        margin-bottom: 0;
    }
}
@media(min-width: 1024px) {
    .banner-with-background.banner-off .banner-title {
        font-size: 3.125rem;
        padding-right: 0;
    }
    .holiday.banner-with-icon .banner-title {
        max-width: 100%;
    }
}
@media(max-width: 767px) {
    #video.off-old .container {
        padding: 0 30px 30px;
    }
    #video.off-old .video-wrapper {
        margin: 0 -30px;
        width: calc(100% + 60px)
    }
    .holiday .header.off-old .header-button-container .btn {
        margin-bottom: 0;
        width: 100%;
    }
    .banner.holiday.off-old .banner-title {
        bottom: 150px;
        left: 0;
        padding: 0 30px;
        text-align: center;
    }
    .banner-background:has(+ .holiday.off-old) img {
        object-position: 28% 60%;
    }
    .holiday .banner-with-background.off-old .banner-form-container {
        margin-top: -110px;
    }
    .banner.off-old .banner-content-container {
        height: 380px;
        justify-content: flex-end;
        min-height: 359px;
        padding-bottom: 140px;
    }
    .banner-background:has(+ .holiday.off-old) .image-credit {
        bottom: 70px;
    }
}

/****************************/
/*  //   Holiday 2025  //  */
/****************************/
body.holiday {
    color: var(--text-grey);
}

 @media (max-width: 767px) {
    section .container {
        padding: 30px;
    }
}

/*************************/
/*  //   Typography  //  */
/*************************/
.holiday .h2,
.holiday h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}
.holiday blockquote,
.holiday blockquote span {
    font-family: 'PT Serif';
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 22px;
}
cite {
    font-size: .9375rem;
}
p {
    font-size: .9375rem;
    margin-bottom: 1rem;
}
.container:not(.newsletter-container) p {
    margin: 0 auto;
    max-width: 800px;
}
.container p:has(+p) {
    margin: 0 auto 1rem;
}

@media(min-width:768px) {
    h2 .bold {
        display: block;
    }
    html[lang="fr-CA"] h2 .bold {
        display: inline-block;
    }
}

@media (min-width: 1024px) {
    html[lang="fr-CA"] h2 .bold {
        display: block;
    }
}

@media(max-width:767px) {
    .holiday .h2,
    .holiday h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
    .interactive-map .h2,
	.contest .h2 {
		font-size: 1.625rem;
	}
    .holiday blockquote,
    .holiday blockquote span {
        font-size: 1.75rem;
    }
}

/*************************/
/*  //    Header     //  */
/*************************/
.holiday .logo {
    max-width: 145px;
}
.holiday .partner-logo-wrapper .logo {
    /* 2025 Keurig Dr Pepper Canada */
    max-width: 125px;
}
.holiday .logo-wrapper a img.logo {
    max-height: inherit;
}

@media(max-width: 767px) {
	.header .logo-wrapper:has(.partner-logo-wrapper) .crc-logo {
		max-width: 140px;
	}
}

/*************************/
/*  //  Hero Banner  //  */
/*************************/
.holiday #banner:after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.77) 29.82%, rgba(102, 102, 102, 0.00) 77.94%);
    background-blend-mode: multiply;
    height: 70%;
    width: 100%;
}
.holiday #banner {
    background: var(--white);
}
.holiday #banner .banner-background {
    background: inherit;
    height: 100%;
    left: 0;
    margin: 0;
    mix-blend-mode: multiply;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}
.holiday #banner .banner-background::after {
    background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 80%);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.banner.holiday .banner-content-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.banner.holiday .banner-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.072;
    text-align: center;
}
.banner.holiday .title-and-description p {
    font-size: 1.125rem;
    text-shadow: var(--text-shadow);
}
.banner-with-background.holiday .banner-form-container {
    box-shadow: 0 4.762px 19.048px 0 rgba(0, 0, 0, 0.35);
    margin-top: 0;
}

@media(min-width: 768px) {
    .banner-with-background.holiday .banner-form-container {
        filter: drop-shadow(0 0 6.7px rgba(0, 0, 0, 0.11));
    }
    .banner-with-background.holiday {
        min-height: 450px;
    }
    .banner-background img {
        object-position: 50% 0%;
    }
    .banner-background .image-credit {
        left: 30px;
        width: 50%;
    }
    .banner.holiday .banner-title {
        font-size: 2.625rem;
    }
}

@media(min-width: 1024px) {
    .banner.holiday .banner-title {
        font-size: 3.4375rem;
    }
    .banner.holiday .title-and-description p {
        font-size: 1.625rem;
    }
    html[lang="fr-CA"] .banner.holiday .title-and-description p {
        font-size: 1.375rem;
    }
    html[lang="fr-CA"] .banner-with-background .banner-title {
        font-size: 2.75rem;
        padding-right: 0;
    }
}

@media(min-width: 1100px) {
    html[lang="fr-CA"] .banner-with-background .banner-title {
        font-size: 3rem;
        /* override phased-camaign */
    }
}

@media(max-width:767px) {
    .banner-background .image-credit {
        bottom: 0;
    }
    .banner.holiday {
        display: block;
    }
    .banner.holiday .banner-content-container {
        padding-bottom: 50px;
    }
    .banner-with-background.holiday .banner-form-container  {
		margin-top: 30px;
        position: relative;
		z-index: 31;
		/* won't get blocked by back-to-top btn */
	}
    .holiday #banner .banner-background::after {
        background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 100%);
    }
    .holiday #banner .banner-background,
    .holiday.banner-with-background .banner-content-container {
        height: 320px;
    }
    .holiday #banner .banner-background img {
        object-position: 30% 0%;
    }
    .banner.holiday .title-and-description p {
        font-size: 1.3125rem;
    }
    html[lang="fr-CA"] .banner.holiday .title-and-description p {
        font-size: 1.0625rem;
    }
    .banner-with-background.holiday .banner-form-container {
        margin-top: 30px;
        position: relative;
        z-index: 31;
        /* won't get blocked by back to top */
    }
}

/*************************/
/*  //     Intro     //  */
/*************************/
#intro .container {
    padding-bottom: 0;
}
#intro .arrow-down-container p {
    font-size: 1.25rem;
}
.arrow-down-container {
    margin-top: 30px;
}
.arrow-down {
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid var(--primary-red);
    height: 0;
    width: 0;
}
.arrow-down:hover,
.arrow-down:focus {
	border-top: 8px solid var(--secondary-red);
}

@media(min-width:768px) {
    html[lang="fr-CA"] h2 .bold {
        display: inline-block;
    }
}

@media(min-width:1024px) {
    html[lang="fr-CA"] h2 .bold {
        display: block;
    }
}
@media(max-width: 767px) {
    .holiday #intro .content-item-description p.text-uppercase {
        font-size: 1.25rem;
    }
}

/*************************/
/*  //     Video     //  */
/*************************/
#video .container {
    padding: 0;
}
#video.video.blue-bg {
   background: transparent;
}
#video.video.blue-bg .container {
    background: var(--background-blue);
    padding: 0;
}
#video.video.blue-bg .container .description {
    padding: 40px 30px;
}

@media(min-width: 768px) {
    #video {
        margin-bottom: 40px;
    }
}

/*************************/
/*  //      Map      //  */
/*************************/
/* Generic Map styles are in campaign/elements/interactive-map-general.css */
.interactive-map .map-title {
    text-align: center;
}

.info-box .info .title {
    font-size: 1.0625rem;
    margin-bottom: 20px;
}

.info-box .info .stat {
    padding-right: 4px;
}

p:has(.small) {
    margin-top: 5px;
}

@media(min-width:768px) {
    .info-box .info .title {
		font-size: 1.0625rem;
	}
    .map-flex-container svg + div {
        background-color: rgba(255, 255, 255, 0.75);
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        flex-direction: row;
        width: 100%;
        padding: 10px 12px;
    }
    .interactive-map .map-title p .desktop-only {
        display: inline-block;
    }
    .interactive-map .inner-container .map-flex-container {
        margin: 60px 0 0;
        max-width: 949px;
        padding-top: 50px;
        position: relative;
        width: 100%;
    }
    .map-flex-container > div {
        left: 0;
        position: absolute;
        top: 0;
        max-width: 630px;
    }
    .interactive-map .container .map-flex-container svg {
        max-width: 100%;
    }
    #maincontent #carousel-js .container {
        padding: 0;
    }
    #maincontent .carousel-direction.carousel-direction-previous,
    .carousel-direction.carousel-direction-previous {
        left: -40px;
    }
    #maincontent .carousel-direction.carousel-direction-next,
    .carousel-direction.carousel-direction-next {
        right: -40px;
    }
    .carousel-container .flex-container {
        height: 740px;
    }
    #carousel-js .flex-slide.active {
        filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.24));
    }
    #carousel-js .flex-slide.active picture {
        display: block;
        font-size: 0;
    }
    #maincontent .map .inner-container .map-title p {
        margin-left: 0;
    }
    .info-box.info-BC::after {
        left: 80px;
    }
    .info-box.info-Alberta::after {
        left: 110px;
    }
    .info-box.info-Manitoba::after {
        left: 130px;
    }
    .info-box.info-Ukraine::after {
        left: 350px;
    }
    .info-box.info-MiddleEast::after {
        left: 380px;
    }
    .info-box.info-Afghanistan::after {
        left: 430px;
    }
    .info-box.info-Ukraine .info,
    .info-box.info-Afghanistan .info,
    .info-box.info-MiddleEast .info {
		width: calc(100% - 75px);
	}
    .info-box.info-Ukraine .info p,
    .info-box.info-Afghanistan p,
    .info-box.info-MiddleEast p {
        font-size: .875rem;
    }
    .info-box.info-Ukraine .info .stat,
    .info-box.info-Afghanistan .info .stat,
    .info-box.info-MiddleEast .info .stat {
        display: inline-block;
    }
}

@media(min-width:1024px) {
    .interactive-map .inner-container .map-flex-container {
        padding-top: 80px;
    }
    .interactive-map .inner-container .map-flex-container svg {
        padding-left: 80px;
    }
    .info-box.info-BC::after {
        left: 180px;
    }
    .info-box.info-Alberta::after {
        left: 222px;
    }
    .info-box.info-Manitoba::after {
        left: 264px;
    }
    .map-flex-container > div:has(.info-Afghanistan:not(.hide),.info-Ukraine:not(.hide),.info-MiddleEast:not(.hide)) {
        left: unset;
        right: 0;
    }
    .info-box.info-Ukraine::after {
        left: 213px;
    }
    .info-box.info-MiddleEast::after {
        left: 240px;
    }
    .info-box.info-Afghanistan::after {
        left: 310px;
    }
}

@media(min-width: 768px) and (max-width:1023px) {
	.map-flex-container svg:has( g.marker-container.marker-bc.active) + div,
	.map-flex-container svg:has( g.marker-container.marker-afghanistan.active) + div {
		top: -16px;
	}
	.map-flex-container svg:has( g.marker-container.marker-middleeast.active) + div,
	.map-flex-container svg:has( g.marker-container.marker-alberta.active) + div,
	.map-flex-container svg:has( g.marker-container.marker-ukraine.active) + div {
		top: -30px;
	}
}

@media(max-width:767px) {
    #carousel-js .flex-slide.active .image-container {
        position: relative;
    }
    #carousel-js .flex-slide.active .image-container::after {
        background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0) 80%);
        content: "";
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    .interactive-map .inner-container .map-flex-container {
        display: none;
    }
    .carousel-container .carousel-direction.carousel-direction-next {
    	right: -20px;
    }
    .carousel-container .carousel-direction.carousel-direction-previous {
    	left: -20px;
    }
    .carousel-direction svg {
        background-color: #fff7;
    }
    #maincontent > .container {
        padding: 30px 40px;
    }
    .interactive-map .map-title {
        margin-bottom: 30px;
    }
    .interactive-map .map-title p .mobile-only {
        display: inline-block;
    }
    #maincontent #carousel-js .container {
        padding: 0;
    }
    #maincontent .carousel-direction.carousel-direction-previous,
    .carousel-direction.carousel-direction-previous {
        left: -40px;
    }
    #maincontent .carousel-direction.carousel-direction-next,
    .carousel-direction.carousel-direction-next {
        right: -40px;
    }
    .carousel-container .flex-container {
        height: 650px;
    }
    html[lang="fr-CA"] .carousel-container .flex-container {
        height: 700px;
    }
    #carousel-js .flex-slide.active {
        filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.24));
    }
    #carousel-js .flex-slide.active picture {
        display: block;
        font-size: 0;
    }
    .info-box .info .title,
    .info-box .info p {
        font-size: .875rem !important;
    }
}

@media(min-width:375px) and (max-width:767px) {
    .info-box .info .title {
    	font-size: 1rem !important;
    }
}

.map-flex-container:has(div .info-box.info-BC:not(.hide)) svg .marker-container.marker-bc .circle.marker {
    fill: var(--secondary-red);
}

.map-flex-container:has(div .info-box.info-BC:not(.hide)) svg .marker-container.marker-bc .plus {
    stroke: var(--secondary-red);
}

/*************************/
/*  //    Contest    //  */
/*************************/
.contest {
    filter: drop-shadow(0 0 6.7px rgba(0, 0, 0, 0.11));
    margin-bottom: 40px;
}

.contest .contest-logo.logo {
    margin: 0 auto 20px;
    max-width: 400px;
}

@media(max-width: 767px) {
    .contest .contest-logo.logo {
        max-width: 300px;
    }
    html[lang|="en"] .contest .h2 .bold {
        display: block;
    }
}

.contest .h2 {
    margin-bottom: 1rem;
}

.contest:not(.contest-closed) .h2 + p:first-of-type {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.contest-info p {
    font-size: 1.125rem;
    font-weight: 700;
}
.contest-info ol {
    font-size: .9375rem;
    margin: 1rem auto;
    max-width: 720px;
    padding-left: 20px;
    text-align: left;
    width:calc(100% - 60px);
}
.contest-info ol li {
    line-height: 1.5;
}
.contest-info ol li:first-of-type {
    margin-bottom: 1rem;
}

.contest .container {
    padding-bottom: 0;
}

.contest .embedded-form {
    background-image: url("https://cdn.redcross.ca/prodmedia/crc/azure/campaign/holiday/2025/aircanada-scenery-vertical.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    content: "";
    display: block;
    height: 100%;
    position: relative;
    margin-top: 40px;
    margin-left: -40px;
    max-width: 1080px;
    width: calc(100% + 80px);
}

.contest:not(.contest-closed) .embedded-form > div {
    background-color: var(--white);
    padding: 30px;
    margin: 0 auto;
    width: calc(100% - 53px);
    max-width: 800px;
}

@media(min-width: 768px) {
    .contest {
        margin-bottom: 80px;
    }
    .contest .embedded-form {
        background-image: url("https://cdn.redcross.ca/prodmedia/crc/azure/campaign/holiday/2025/aircanada-scenery.jpg");
        background-position: left;
        margin: 40px auto 0;
        width: 100%;
    }
    .contest:not(.contest-closed) .embedded-form > div {
        background-color: var(--white);
        padding: 30px;
        margin: 0 auto;
        max-width: 800px;
        width: calc(100% - 60px);
    }
}

@media(max-width: 767px) {
	.contest:not(.contest-closed) .embedded-form {
		padding-bottom: 20px;
	}
}

/* CONTEST CLOSED */
.contest.contest-closed {
    margin-bottom: 50px;
}

.contest.contest-closed .embedded-form {
    background: linear-gradient(to bottom, rgba(0, 86, 112, .1) 9%, rgba(0, 86, 112, .9) 70%), var(--contest-bg-image-mobile) no-repeat center top / cover;
    color: var(--white);
    margin-bottom: 40px;
    margin-top: 0;
    padding: 60px 40px;
    text-shadow: var(--text-shadow);
}

.contest.contest-closed .embedded-form .copy {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    left: 30px;
    justify-content: center;
    margin: 0 auto;
    position: absolute;
    text-align: center;
    top: 0;
    width: calc(100% - 60px);
    z-index: 10;
}

@media(min-width: 768px){
    .contest.contest-closed .embedded-form {
        background: linear-gradient(to bottom, rgba(0, 86, 112, .1) 9%, rgba(0, 86, 112, .2) 70%), var(--contest-bg-image) no-repeat center center / cover;
        padding: 100px 30px;
    }
    .contest.contest-closed .embedded-form .copy {
        padding: 160px;
    }
}

@media(min-width: 1024px){
    .contest.contest-closed .embedded-form .copy {
        padding-top: 60px;
    }
}

.contest.contest-closed .embedded-form .h2 {
    margin: 0 auto 1.5rem;
    max-width: 570px;
}
.contest.contest-closed .embedded-form p {
    font-size: 1.125rem !important;
}

/**************************/
/*   //// Carousel ////   */
/**************************/

/* Override default carousel styles */
.carousel-slide .carousel-slide-image figure img {
    box-shadow: none;
}

@media (min-width: 768px) {
    .carousel {
        height: 500px;
    }
    html[lang="fr-CA"] .carousel {
		height: 570px;
	}
    .carousel-slides-container {
        gap: 20px;
    }
    .carousel-slide {
        max-width: none;
        width: 170px;
    }
    .carousel-slide-active {
        width: 240px;
    }
    .carousel-slide .carousel-slide-image figure {
        margin-top: 25px;
    }
    .carousel-previous,
    .carousel-next {
        top: 70px;
    }
    .carousel-slide-text h3,
    .carousel-slide-text p {
        font-size: 14px
    }
    .carousel-slide-active .carousel-slide-image figure {
        margin-top: 0;
    }
}

@media (min-width: 900px) {
    .carousel {
        height: 570px;
    }
    html[lang="fr-CA"] .carousel {
		height: 540px;
	}
    .carousel-slide {
        width: 210px;
    }
    .carousel-slide-active {
        width: 280px;
    }
    .carousel-slide .carousel-slide-image figure {
        margin-top: 25px;
    }
    .carousel-slide-active .carousel-slide-image figure {
        margin-top: 0;
    }
    .carousel-slide-text h3,
    .carousel-slide-text p {
        font-size: 1rem;
    }
    html[lang="fr-CA"] .carousel-slide-text h3, 
	html[lang="fr-CA"] .carousel-slide-text p {
		font-size: .875rem;
	}
    .carousel-previous,
    .carousel-next {
        top: 85px
    }
}

@media (min-width: 1024px) {
    .carousel {
        height: 580px;
    }
	html[lang="fr-CA"] .carousel {
		height: 560px;
	}
    .carousel-slide {
        width: 250px;
    }
    .carousel-slide-active {
        width: 300px;
    }
    .carousel-slide .carousel-slide-image figure {
        margin-top: 20px;
    }
    .carousel-slide-active .carousel-slide-image figure {
        margin-top: 0;
    }
    .carousel-previous,
    .carousel-next {
        top: 85px
    }
}

@media (min-width: 1100px) {
    .carousel-slide {
        width: 280px;
    }
    .carousel-slide-active {
        width: 330px;
    }
    .carousel-slide .carousel-slide-image figure {
        margin-top: 20px;
    }
    .carousel-slide-active .carousel-slide-image figure {
        margin-top: 0;
    }
    .carousel-previous,
    .carousel-next {
        top: 105px
    }
}

@media (max-width: 767px) {
    .carousel-slides-container > li {
    	margin-bottom: 30px;
    }
    .carousel-slide .carousel-slide-image figure {
    	margin: 0 auto 70px;
    }
    .carousel-slide .carousel-slide-text h3 {
        font-size: 1rem;
    }
}

/**********************/
/*     Final CTA      */
/**********************/
.final-cta {
    background-image: linear-gradient(to bottom, rgba(229,242,246,1), rgba(255,255,255,0));
    margin-top: 100px;
    position: relative;
}

.final-cta > .container {
   padding-top: 100px;
}

@media(max-width: 767px) {
    .final-cta > .container {
        padding: 130px 40px 60px;
    }
}

.final-cta .image-container {
    left: calc(50% - 104px);
    max-width: 208px;
    position: absolute;
    top: -110px;
}

html[lang=fr] .final-cta .image-container {
    left: calc(50% - 70px);
    max-width: 140px;
}

.final-cta .title-and-description {
    margin: 0 auto;
    max-width: 800px;
}

.final-cta .title-and-description p {
    margin-bottom: 2rem;
}

.final-cta .title-and-description a:not(.btn-primary):hover,
.final-cta .title-and-description a:not(.btn-primary):focus {
    color: var(--tertiary-red);
}

/* Footer */
.holiday footer .container.footer-container {
    max-width: 950px;
    /* ^ Wider than general footer */
}

@media(max-width: 767px) {
    .holiday footer .footer {
        padding-bottom: 110px;
        /* Scroll Top blocking Bluesky icon */
    }
}