

/* page stuff */

body {
    background-color: #fafafa;
    font-family: "Inter", "Hind", san-serif;
    letter-spacing: -.01em;
    font-size: 17px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6em;
}

strong { font-weight: 600; }
a { color: #4f6e2f; }

main.container {
    margin-top: -8px;
}

.callout-box {
	font-family: "Yrsa", serif;
	border: 1px solid #e89d62;
	border-radius: 10px;
	color: #894800;
	padding: 1.5em;
	float: right;
	font-size: 1.4em;
	line-height: 1.2em;
	font-weight: 400;
	max-width: 35%;
	margin: 2em;
	text-align: center;
}
.region-header .donate-button {
    width: auto;
    padding: 7px 20px 5px;
}

.region-header .donate-button a {
    color: #fff;
    letter-spacing: 0em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}



#hero .hero_content a.button, #hero .hero_content a {
    color: rgb(255, 255, 255);
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-color: rgb(141, 185, 69);
    padding: 12px 30px;
    font-size: .8em;
}



.viewsreference--view-title, .field--name-field-ept-title > p {
    margin: 0px 0px 30px 0px;
    padding: 0;
    font-weight: 600;
    font-family: "Yrsa", serif;
    letter-spacing: -.01em;
    line-height: 1.2em;
    font-size: 2em;
    color: #000000;
}

.viewsreference--view-title, .field--name-field-ept-title > p {
    text-align: inherit;
}

#block-afd10-searchform .form-control, #block-afd10-search-form .form-control, #block-afd10-searchform-3 .form-control, #block-afd10-searchform-2 .form-control {
    max-width: 800px;
}

h2 {
	font-family: "Yrsa", serif;
    font-size: 2em;
    line-height: 1em;
    letter-spacing: -.01em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

.field--name-body > h2, .field--name-body > .h2 {
    color: #000;
    font-weight: 600;
}

hr {
margin: 40px 0 20px 0;
}

@media (min-width: 1200px) {
    h3, .h3 {
        font-size: 1.25rem;
        font-weight: 600;
    }
    h4, .h4 {
        font-size: 1.1rem;
    }
}



article.node--view-mode-card h2, article.node--view-mode-card .h2 {
    font-family: "Yrsa", serif;
    font-size: 22px;
    letter-spacing: -.01em;
    font-weight: 600;
    margin-bottom: 10px;
}

article.node--view-mode-card .field--type-text-long, article.node--view-mode-card .node__content > .field {
    font-size: 16px;
    line-height: 1.4em;
    margin-top: 20px;
}

.node__content .has-image {
	padding: .25em .5em;
}
	
#search_data_catalog p. .bg-white .field--name-field-ept-title > p {
	text-align: center !important;
}

.view-news-events h2 {
	font-family: "Hind", san-serif;
    font-size: 20px;
    font-weight: 700;
}

.view-news-events .views-row .views-field-type span.type {
    background-color: #4f6e2f;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    padding: 3px 5px;
    font-size: 11px;
    letter-spacing: .05em;
    margin-right: 5px;
}

.view-news-events .more-link > a {
    border-color: #8db946;
    color: #4c4946;
    padding: 12px 20px;
    font-size: .9em;
}

.view-news-events .views-row {
    font-size: 16px;
    line-height: 1.4em;
    padding-bottom: 20px;
}


@media (min-width: 768px) {
    header > .navbar .region-nav-main > .block-superfish {
        display: block;
        z-index: 400;
    }
}



.btn {
    display: inline-block;
    padding: 12px 20px 7px;
    font-size: 16px;
    padding: 6px 20px;
    border-radius: 0px;
    margin: 5px;
    text-transform: uppercase;
    text-decoration: none;
    width: auto;
    font-weight: 700;
    line-height: 1.1em;
    padding: 12px 20px 10px;
}

.btn:hover {
	border: 1px solid #374b1d;
	background-color: #e0dfdf;
}

.btn-default {
    color: #4C4946;
    background-color: #B4CF78;
}

.button.solid-white, a.button.solid-white, .more-link > a.solid-white, .field--name-field-link > a.solid-white, .green-button > a.solid-white {
    background-color: #fff;
    border-color: #374b1d;
    display: inline-block;
    padding: 12px 17px;
    margin: 5px;
    text-transform: uppercase;
    text-decoration: none;
    width: auto;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1em;
    color: #4c4946;
}

.btn-default, .green-button > a {
    font-size: .9em;
}




/* article stuff */

article.node--view-mode-wide-card img { width: 100%; }

article.node--view-mode-card-flag,
article.node--view-mode-card {
    /* homepage cards */
    border: 1px solid #e1e1e1; /* Outer black border */
    box-shadow: inset 0 0 0 0 #cecece; /* Inner gray border */
    border-radius: 1em;
    transition: box-shadow 0.5s ease-in-out;
    padding: 2em;
    height: 100%;
    position: relative;
    overflow: hidden;
}
article.node--view-mode-card-flag:hover,
article.node--view-mode-card:hover {
    border: 1px solid #9ac14a; /* Outer black border */
    outline: 2px solid #9ac14a;
}
article.node--view-mode-card-flag:after,
article.node--view-mode-card:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  pointer-events: none;
  /*background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255, 1) 90%);*/
  width: 100%;
  height: 100px;

}

article.node--view-mode-card-flag a.card-read-more, 
article.node--view-mode-card a.card-read-more {
    line-height: 0; 
    font-size: 0;
    height: 0;
    width: 0;
    color: transparent;
    display: block;
}
article.node--view-mode-card-flag .card-read-more-symbol,
article.node--view-mode-card .card-read-more-symbol {
    position: absolute;
    line-height:1em;
    right: 1em;
    bottom: 1em;
    z-index: 2;
}
article.node--view-mode-card-flag a.card-read-more::before,
article.node--view-mode-card a.card-read-more::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index:999;
}


article.node--view-mode-card-flag {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

article.node--view-mode-card-flag .field--name-field-image {
    display: flex;
    overflow: hidden;
    bottom: 0;
    width: 31%;
    padding: 1em 1em 1em 0;
    top: 0;
    position: absolute;
}

article.node--view-mode-card-flag .field--name-field-image img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

article.node--view-mode-card-flag div.field:not(.field--name-field-image) {
}

article.node--view-mode-card-flag .node__content.has-image {
    margin-left: 33%;
    padding-left: 1em;
}

article.node--view-mode-card-flag .field--name-title h2 a,
article.node--view-mode-card .field--name-title h2 a {
    color: #000000;
    text-decoration: none;
}



/* card stuff */


.layout--twocol .layout__region--first { padding-right: 12px; }
.layout--twocol .layout__region--second { padding-left: 12px; }

@media screen and (min-width: 40em) {
    .layout--twocol > .layout__region--first, .layout--twocol > .layout__region--second {
        display: flex;
    }
}
 
.paragraph--type--card {
    border: 1px solid #e1e1e1; /* Outer black border */
    box-shadow: inset 0 0 0 0 #cecece; /* Inner gray border */  
    padding: 1em;
    margin-bottom: 1em;
    position: relative;
    background-color: #ffffff;
    margin-bottom: 2em;
    position: relative;
    background-color: rgb(255, 255, 255);
    border-image: initial;
}
}


.paragraph--type--card.media-top .field--name-field-image,
.paragraph--type--card.media-top .field--name-field-title,
.paragraph--type--card.media-top .field--name-field-description,
.paragraph--type--card.media-top .field--name-field-button {
    flex-basis: 100%;
    margin-bottom: 1em;
}
.paragraph--type--card.media-top .field--name-field-image img {
    width: 100%;
}


.paragraph--type--card.media-left .field--name-field-image,
.paragraph--type--card.media-right .field--name-field-image {
    display: flex;
    overflow: hidden;
    bottom: 0;
    width: 50%;
    padding: 1em;
    top: 0;
    position: absolute;
}

.paragraph--type--card.media-left .field--name-field-image img,
.paragraph--type--card.media-right .field--name-field-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.paragraph--type--card.media-left .field--name-field-title,
.paragraph--type--card.media-left .field--name-field-description,
.paragraph--type--card.media-left .field--name-field-button {
    margin-left: 50%;
    padding-left: 1em;
}

.paragraph--type--card.media-left .field--name-field-image {
    left: 0;
}

.paragraph--type--card.media-right .field--name-field-image {
    right: 0;
}

.paragraph--type--card.media-right .field--name-field-title,
.paragraph--type--card.media-right .field--name-field-description,
.paragraph--type--card.media-right .field--name-field-button {
    margin-right: 50%;
    padding-right: 1em;
}


article.node--view-mode-card .node__content.has-image .field--name-title h2,
.paragraph--type--card .field--name-field-title h2 {
    margin: 0.5em 0;
}

.paragraph--type--card.media-right .field--name-field-image {
    width: 50%;
    order: +1;
}



/* webform styles */
form .webform-section {
    border: 1px solid #979797;
    box-shadow: inset 0 0 0 0.5px #cecece;
    padding: 1em;
}

.paragraph--type--card.media-right .field--name-field-image img, .paragraph--type--card.media-left .field--name-field-image img {
    border-radius: 8px;
}

/* layout hacks for grids that contain cards (research highlights page) */



@media screen and (min-width: 40em) {
    .views-view-grid {
        display: flex;
        flex-wrap: wrap;        
    }
    .views-view-grid .views-row {
        display: flex;
        margin-bottom: 1em;
    }
    .views-view-grid .col-1, .views-view-grid .col-2 {
        display: flex;
        flex: 0 1 50%;

    }
    .views-view-grid .col-1 {
        padding-right: 12px;
    }
    .views-view-grid .col-2 {
        padding-left: 12px;
    }
}




/* fix body content fields to be full width always */

.region-content .field--name-field-image {
    padding-bottom: 1em;
}

.region-content .field--name-field-image img {
    width: 100%;
}


footer nav.block-menu > ul > li {
    background: none;
    border: 0;
}


/* social media footer */

footer .social-icons {
    display: inline-flex;
}
footer .social-icons .icon {
  width: 24px;
  height: 24px;
  fill: currentColor; /* inherits text color */
  vertical-align: middle;
  transition: fill 0.2s ease;
}

footer .social-icons a { 
  margin: 0 8px;
  color: #ffffff;
  text-decoration: none;
}

footer .social-icons a:hover .icon {
  fill: #0077b5; /* example hover color */
}



/* ------------------------------------------------------------------------------------------------
   masonry fixes
*/


/* Make sure the container isn’t flex/grid and can host absolutely positioned children */
.masonry-grid .view-content {
  position: relative;
  display: block !important; /* overrides any flex from theme */
}

/* Responsive column widths */
.masonry-item { width: calc(33.333% - 16px); margin-bottom: 16px; }

/* Gutters: left “padding” via margin; Masonry positions left/top */
.masonry-item { margin-left: 8px; margin-right: 8px; }

/* Breakpoints */
@media (max-width: 1024px) {
  .masonry-item { width: calc(50% - 16px); }
}
@media (max-width: 640px) {
  .masonry-item { width: 100%; margin-left: 0; margin-right: 0; }
}

/* Optional: avoid column jump on captions, etc. */
.masonry-item img { display: block; width: 100%; height: auto; }


.view-content .masonry-layout .glb-wrap .glb-title,
.view-content .masonry-layout .glb-wrap .glb-desc { 
    display: none; 
}



  /* Layout: give the SVG real height and avoid clipping */
  .footer-forest { position: relative; }
  .forest-sway   { display:block; width:100%; aspect-ratio:1440 / 462; overflow:visible; }
  /* Respect reduced motion users */
  @media (prefers-reduced-motion: reduce) {
    .footer-forest .forest-sway { animation: none !important; }
  }






/* add subtle zoom to cards */
/* .paragraph--type--card .field--name-field-image {
    overflow: hidden;
}
.paragraph--type--card .field--name-field-image img {
    transition: transform 2s, filter 1.5s ease-in-out;
    transform-origin: center center;
    overflow: hidden;
}

.paragraph--type--card:hover .field--name-field-image img,
.paragraph--type--card:focus-within .field--name-field-image img {  
    filter: brightness(130%);
    transform: scale(1.1);
} */

/* 
.paragraph--type--card.media-top .field--name-field-image .field__item { 
  overflow: hidden; line-height: 0;
}
.paragraph--type--card.media-top .field--name-field-image .field__item > img.img-fluid {
  display: block; width: 100%; height: auto; vertical-align: top;
  transition: transform .35s ease; transform-origin: 50% 50%;
}
.paragraph--type--card.media-top:hover .field--name-field-image img { transform: scale(1.075); } */

/* ========= Shared card roots (both selectors) ========= */
.paragraph.paragraph--type--card,
article.node--type-research-findings.node--view-mode-card{
  /* Tunables */
  --card-pad: 1em;
  --media-ratio: 4 / 3;                      /* adjust if your image style differs */
  --media-ratio-wide: 16 / 9;                      /* adjust if your image style differs */
  --zoom-scale: 1.075;
  --zoom-duration: .6s;
  --zoom-ease: cubic-bezier(.22,.61,.36,1);
  --brightness-hover: 1.2;

  padding: var(--card-pad);
  border-radius: 12px;
  overflow: hidden;                          /* respect rounded corners */
}

/* ========= Full-bleed image wrapper (no layout shift) ========= */
.paragraph.paragraph--type--card.media-top .field--name-field-image.field__item,
article.node--type-research-findings.node--view-mode-card .field--name-field-image.field__item{
  position: relative;
  overflow: hidden;
  line-height: 0;
  width: calc(100% + var(--card-pad) * 2);
  margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) 0; /* pull to top & sides */
  aspect-ratio: var(--media-ratio);          /* locks height so title/summary never moves */
}

/* ========= Fill the frame (supports <img> and <a><img>) ========= */
.paragraph.paragraph--type--card.media-top .field--name-field-image.field__item > img,
.paragraph.paragraph--type--card.media-top .field--name-field-image.field__item > a > img,
article.node--type-research-findings.node--view-mode-card .field--name-field-image.field__item > img,
article.node--type-research-findings.node--view-mode-card .field--name-field-image.field__item > a > img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;                   /* beat .img-fluid {height:auto} */
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  transform: translateZ(0);
  filter: brightness(1);
  transition:
    transform var(--zoom-duration) var(--zoom-ease),
    filter   var(--zoom-duration) var(--zoom-ease);
  will-change: transform, filter;
}

/* ========= Hover/focus from the card container ========= */
.paragraph.paragraph--type--card.media-top:hover .field--name-field-image.field__item > img,
.paragraph.paragraph--type--card.media-top:hover .field--name-field-image.field__item > a > img,
.paragraph.paragraph--type--card.media-top:focus-within .field--name-field-image.field__item > img,
.paragraph.paragraph--type--card.media-top:focus-within .field--name-field-image.field__item > a > img,
article.node--type-research-findings.node--view-mode-card:hover .field--name-field-image.field__item > img,
article.node--type-research-findings.node--view-mode-card:hover .field--name-field-image.field__item > a > img,
article.node--type-research-findings.node--view-mode-card:focus-within .field--name-field-image.field__item > img,
article.node--type-research-findings.node--view-mode-card:focus-within .field--name-field-image.field__item > a > img{
  transform: scale(var(--zoom-scale)) translateZ(0) !important;
  filter: brightness(var(--brightness-hover));
}

/* ========= Reduced motion ========= */
@media (prefers-reduced-motion: reduce){
  .paragraph.paragraph--type--card.media-top .field--name-field-image.field__item > img,
  .paragraph.paragraph--type--card.media-top .field--name-field-image.field__item > a > img,
  article.node--type-research-findings.node--view-mode-card .field--name-field-image.field__item > img,
  article.node--type-research-findings.node--view-mode-card .field--name-field-image.field__item > a > img{
    transition: none;
  }
}







/* -------------------------------- */
/* change ratio of big wide-screen single col card images */


/* 1) Make each element a size container (based on width) */
.paragraph.paragraph--type--card,
article.node--type-research-findings.node--view-mode-card {
  container-type: inline-size;
  display: block; /* or flex/grid if intended */
  width: 100%;    /* if it should fill parent */
}

/* 2) When the element itself exceeds 400px, increase font-size */
@container (min-width: 900px) {
  .paragraph.paragraph--type--card.media-top .field--name-field-image.field__item {
    aspect-ratio: var(--media-ratio-wide);
  }
  .paragraph.paragraph--type--card.media-top .field--name-field-image.field__item > img {
  }
}



/* -------------------------------- */
/* menu fixes */

.region-sidebar-first {
    padding: 0 40px 0 0;
}

#block-afd10-mainmenu-2 > ul, 
#block-afd10-mainmenu-2 > ul > li > ul {
    margin:0;
    padding:0;
}

#block-afd10-mainmenu-2 > ul > li {
    /* top parent */
    text-transform: uppercase;
    list-style-type: none;
    background-color: transparent;
    font-size: 1.25em;
    font-family: "Inter", "Hind", san-serif;
    font-weight: 800;
}

#block-afd10-mainmenu-2 ul > li > ul > li {
    /* second level menu items */
    text-transform: none;
    font-size: 17px;
    list-style-type: none;
    font-weight: 400;
    margin: .75em 0;
}


#block-afd10-mainmenu-2 > ul > li > ul > li > ul {
    border-left: 1px solid #dadad9;
}

#block-afd10-mainmenu-2 ul > li > ul > li > ul > li {
    /* third level menu items */
    text-transform: none;
    font-size: 17px;
    list-style-type: none;
    font-weight: 400;
    margin: .75em 0;
    border: 0;
}



#block-afd10-mainmenu-2 ul li a {
    color: #4c4946;
    text-decoration: none;
}

#block-afd10-mainmenu-2 ul li a:hover,
#block-afd10-mainmenu-2 ul li a:focus {
    text-decoration: underline;
}


/*#block-afd10-mainmenu-2 ul li ul li.is-active-trail > a,*/
#block-afd10-mainmenu-2 li a.is-active { 
    font-style: italic;
}
#block-afd10-mainmenu-2 ul li a.is-active { 
    text-decoration: underline;
    text-decoration-style: dotted;
}
/* basic styling */


ol, ul {
    padding-left: 1.25rem;
}

svg.ext {
    width: 18px;
    height: 18px;
    margin-top: -9px;
}




/* global content image style fixes */
article .text-formatted img.align-left {
    padding: 0 1em 0em 0;
}
article .text-formatted img.align-right {
    padding: 0 0 0em 1em;
}







/* realtime page layout fixes for Adam */

body.page-node-type-page .realtime-data-wrapper .realtime-data-item {
    width: 50%;
    float: left;
}

body.page-node-type-page .realtime-data-wrapper .realtime-data-item:nth-child(odd) {
    padding-right: 1em;
}
body.page-node-type-page .realtime-data-wrapper .realtime-data-item:nth-child(even) {
    padding-left: 1em;
}






/* blockquote styling */
blockquote {
  background: #f9f9f9;
  border-left: 10px solid #4C4946;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #4C4946;
  content: "“";
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p:first-child {
  display: inline;
}



#block-afd10-pagetitle {
    margin:0;
}





.field--name-field-full-data-page-link {
    display: inline-block;
    border: 1px solid;
    padding: 1em;
    margin-bottom: 1em;    
}


.field--name-field-publication-online-pdf a {
    position: relative;
    display: inline-flex;       /* key */
    align-items: center;        /* vertical centering */
    justify-content: center;    /* horizontal centering */
    color: transparent;          /* hide original text */
    width: 200px;
    text-align: center;
    height: 40px;
    margin-bottom: 1em;
}


.field--name-field-publication-online-pdf a::after {
    content: "Download PDF";
    position: absolute;
    display: flex;              /* center overlay */
    align-items: center;
    justify-content: center;
    inset: 0;
    color: #0066cc;
    text-decoration: none;
    pointer-events: none;        /* click goes to <a> */
    border: 1px solid;
    height: 40px;
}



/* ept timeline paragraph hacks */

.ept-timeline-wrapper a {
    background: none;
    color: inherit;
    padding: 0;
    text-transform: none;
    font-size: 1em;
    display: inline;
    border: 0;
}





/* clearfix on realtime data */
.realtime-data-wrapper::after {
  content: "";
  clear: both;
  display: table;
}


.rtecenter strong br { display: none; }











footer .lter-network-icons li,
footer .footer-logo-icon
/* icon styling in footer */
{
    display: inline-block;
    background: #ffffff;
    border-radius: 0.375rem;
    margin: 0.5em;
    padding: 1em;
}
footer .lter-network-icons li img,
footer .footer-logo-icon img {
    max-height: 70px;
    width: auto !important;
}


footer ul.nav li a {
    font-size: 1.2em;
    text-decoration: none;
}


footer .region-footer .block-block-content ul.lter-network-icons {
    margin: 0% auto;
}

footer .region-footer {
    align-items: start;
}


footer #block-afd10-footersocialicons {
    flex: 1;
}


footer .region-footer .block-block-content:first-child {
    flex: 1 50%;
}
footer #block-afd10-footersocialicons,
footer #block-afd10-footermenu {
    flex: 1 25%;
}





/* fast facts overrides */

.view-fast-facts .masonry-item { width: calc(50% - 16px); }

.view-fast-facts .masonry-item .node__content {
    display: flex;
    flex-wrap: wrap;
}
.view-fast-facts article.node--view-mode-card .field--name-field-statistic {
    font-size: 2em;
    margin-right: 1em;
}
.view-fast-facts article.node--view-mode-card .field--name-field-statistic h2 {
    font-size: 3em;
    margin-top: -40px;
}
.view-fast-facts article.node--view-mode-card .field--name-field-stat-blurb {
    flex: 1 0;
}
.view-fast-facts article.node--view-mode-card .field--name-body {
    flex-basis: 100%;
}




body.path-frontpage #block-afd10-pagetitle h1 {
    display:none;
}





/* randomization grid hiding */
.randomize-grid {
  opacity: 0;
}
.randomize-grid.is-ready {
  opacity: 1;
}










/* sidebar content styling */

.region-sidebar-first .block-sidebar-widget {
    margin-top: 1em;
}
.region-sidebar-first .block-sidebar-widget .field {
    padding: 12px;
}

.region-sidebar-first .block-sidebar-widget .field--name-field-title {
    display: block;
    background-color: #6D6A67;
    color: #ffffff;
}
.region-sidebar-first .block-sidebar-widget .field--name-field-title h3 {
    margin-bottom: 0;
}

.region-sidebar-first .block-sidebar-widget .field--name-body {
    background-image: url(/themes/custom/afd10/images/home-featured-secondary-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}






/* 2 and 3 col card flexbox height styling */
.field--name-field-section .layout--twocol .paragraph--type--card,
.field--name-field-section .layout--threecol-33-34-33 .paragraph--type--card {
    display: flex;
    flex-direction: column;    
}

.field--name-field-section .layout--twocol .paragraph--type--card .field--name-field-button,
.field--name-field-section .layout--threecol-33-34-33 .paragraph--type--card .field--name-field-button {
    margin: 0;
}





/* quicklink card styling */

.paragraph--type--card.quicklink .field--name-field-button a.btn {
    width: 100%;
    margin: 0;
    border: 0;
}

.paragraph--type--card.quicklink .field--name-field-image {
    margin:0;
    padding:0;
}

.paragraph--type--card.quicklink {
    --card-pad: 1em;
    background-color: transparent;
    border: 0;
}





/* footer styling fixes */
footer {
    background-color: transparent;
    background-image: none;
}

footer .footer-main-content {
    background: linear-gradient( rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75) ), url(/themes/custom/afd10/images/header-bg.png);
}

footer .forest-highlight {
    position: relative;
    margin-top: 120px;
    min-height: 120px;
    text-align: center;
    padding: 4em;
    background-color: #4E6E2B;
}

/* Trees */
footer .forest-highlight::before {
  content: "";
  display: block;

  width: 100%;
  height: 120px; /* control tree height here */

  background-image: url('/themes/custom/afd10/images/data-forest-bg-short.png');
  background-repeat: repeat-x;
  background-size: auto;
  position: absolute;
  top: -120px;
  left: 0;
}

footer .footer-forest h2 { font-size: 3em;}
footer .footer-forest .disclaimer {
	font-size: 1.25em;
}



.breadcrumb {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}
.breadcrumb a {
    color: #4C4946;
    text-decoration: none;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}




/* fix even out layouts in 3 col layouts */
.layout--threecol-33-34-33 > .layout__region--first, 
.layout--threecol-33-34-33 > .layout__region--second, 
.layout--threecol-33-34-33 > .layout__region--third {
    flex: 0 1 33.333%;
}



/* force views responsive grid */

/* Let grid stretch items */
.views-view-responsive-grid {
  align-items: stretch;
}

/* Make grid items flex containers */
.views-view-responsive-grid__item {
  display: flex;
}

/* Make inner wrapper fill height */
.views-view-responsive-grid__item-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Make the article fill remaining space */
.views-view-responsive-grid__item-inner > article {
    display: flex;
    flex-direction: column;
    flex: 1;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5);
}


.page-node-type-fast-facts .stat {
    display: flex;    
}
.page-node-type-fast-facts .field--name-field-statistic {
    font-size: 5em;
    line-height: 1em;
    margin-right: 12px;
}




/* megamenu image fixes */
.tbm-item .field--name-body img {
    width: 100%;
    height: auto;
}




/* hero fixes */

#block-afd10-homepagehero {
    position: relative;
    overflow: hidden;
    height: 50vh;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);  
    display: flex;
    align-items: flex-end;   /* pushes .content to bottom */
    justify-content: center; /* centers .content horizontally */
    margin-bottom: 2em;
}

#block-afd10-homepagehero .field--name-field-hero-images {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#block-afd10-homepagehero .field--name-field-hero-images .field__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#block-afd10-homepagehero .field--name-field-hero-images .field__item.active {
  opacity: 1;
  z-index: 1;
}

#block-afd10-homepagehero .field--name-field-hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#block-afd10-homepagehero .content {
    position: absolute;
    bottom: 0;
    max-width: 600px;
    margin: auto;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    color: #fff;
    background: rgba(10, 24, 14, 0.6);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
    border-right: 10px solid #4f6e2f;
}

/*
.block-hero-slider .content {
    margin: 5em auto 0 auto;
    text-align: center;
    max-width: 70%;
    min-height: 500px;
    margin: 6em auto;
    display: flex;
    flex-wrap: wrap;    
    justify-content: center;
    align-items: center;    
    background: rgba(10, 24, 14, .46);
    color: #ffffff;

}
*/


#block-afd10-homepagehero .content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
}


#block-afd10-homepagehero .content .field--name-field-title {
    margin-right: 20px;
}
#block-afd10-homepagehero .content .field--name-body {
    margin-left: 20px;
}

#block-afd10-homepagehero .content .field--name-field-title h1,
#block-afd10-homepagehero .content .field--name-body {
  position: relative;
  z-index: 3;
}

#block-afd10-homepagehero .content h1 {
    font-family: Yrsa, serif;
    font-weight: 600;
    line-height: 1.25em;
    font-size: 2.25vw;
    letter-spacing: -.03em;
    color: #ffffff;
}

#block-afd10-homepagehero .content .button {
    background-color: #ffffff;
}



/* why did dan add this??? */
/* 
.more-link {
    display: block;
    text-align: left !important;
}

.more-link > a {
	margin-top: 20px !important;
	margin-left: 0 !important;
}
*/

/* END why did dan add this??? */


/* video container fixes for youtube embed auto sizing (16x9) */

.paragraph--type--section-new.video .layout__region--first .paragraph--type--text {
    width: 100%;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video {
  width: 100%;
  height: 100%;
}


/* homepage by the numbers styling */

.paragraph--type--section-new.news-facts .layout__region--second .paragraph {
    width: 100%;
}


.view-id-fast_facts_homepage_widget article {
    background-size: cover;
}

.view-id-fast_facts_homepage_widget article .node__content {
    display: flex;
    flex: 1;
}

.view-id-fast_facts_homepage_widget .stat {
    color: #ffffff;
    padding: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.view-id-fast_facts_homepage_widget .field--name-field-statistic {
    font-size: 70px;
    letter-spacing: -.08em;
    line-height: 65px;
    z-index: 1;
    font-weight: 800;
}

.view-id-fast_facts_homepage_widget .field--name-field-stat-blurb {
    padding: 10px 50px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1em;
}

.view-id-fast_facts_homepage_widget .more-link {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.view-id-fast_facts_homepage_widget .more-link a {
    background-color: #ffffff;
}




/* section background styling */

.paragraph--type--section-new.extra-padding {
    padding: 3em 0;
    margin: 3em 0;
}
.paragraph--type--section-new.stone {
    background-color: #3A3A3A;
    color: #ffffff;
}

.paragraph--type--section-new.stone a,
.paragraph--type--section-new.stone h1,
.paragraph--type--section-new.stone h2,
.paragraph--type--section-new.stone h3,
.paragraph--type--section-new.stone h4 {
    color: #ffffff;
}

.paragraph--type--section-new.full-width {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}