
/* tfh */
:root {
  --tfh-primary: #417E81;
  --tfh-primary-dark: #305D64;
  --yellow:  #EECC4D;
  --gray-green: #D8EEEE;
  --medium-green: #20515B;
  --off-white: #FDFDFD;
}

.header-tfh,
.footer-tfh {
  display: block;
}
.header-tfh { 
  padding: 20px 30px;  
  background-color: var(--off-white);
}
.footer-tfh { 
  background: var(--tfh-primary-dark); 
  color: white; 
  padding: 100px 50px 40px;
}

/* Hero Section */
.tfh-hero-section { 
  background: linear-gradient(180deg, var(--tfh-primary) 0%, #26555C 100%);
  color: white; padding: 64px 0;
}

.tfh-hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Manrope', sans-serif;
}

.tfh-hero-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.tfh-hero-section h1,
.tfh-detail-page__hero-section h1 {
  font-family: 'Barlow', sans-serif ;
  font-size: 82px ;
  font-weight: 800;
  text-align: center;
  text-transform: capitalize;
}

.tfh-detail-page__hero-section h1 {
  text-align: left;
}

.tfh-hero-section p {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  max-width: 656px;
}

@media (max-width: 768px) {
  .tfh-hero-section h1,
  .tfh-detail-page__hero-section h1 {
    font-size: 40px;
  }
}

/* Featured video section – full content width, responsive 16:9 */
.tfh-featured-video-section {
  margin: 87px 0 30px 0;
}

.tfh-featured-video-section .field--name-field-media-oembed-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tfh-featured-video-section .media-oembed-content {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  display: block;
}

/* Strategic Prioritie/Vision Graphic Section */
.tfh-strategic-priorities-section {
  margin-bottom: 50px;
}
.tfh-vision-tooltip {
  position: fixed;
  z-index: 9999;
  background: #FFFDF5;
  border: 1px solid #000;
  padding: 12px 16px;
  max-width: 200px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* The downward-pointing arrow tail */
.tfh-vision-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.tfh-vision-tooltip.is-visible {
  opacity: 1;
}

/* Vision graphic: responsive SVG overlay */
.vision-graphic-wrapper {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.vision-graphic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.vision-area polygon {
  fill: transparent;
  cursor: pointer;
  transition: fill 0.2s ease;
}

.vision-area:hover polygon,
.vision-area:focus polygon {
  fill: rgba(255, 255, 255, 0.2);
  outline: none;
}

.tfh_h2 {
  font-family: 'Barlow', sans-serif ;
  font-size: 44px ;
  font-weight: 800;
  text-align: left;
  text-transform: capitalize;
  letter-spacing: -0.88px;
  line-height: normal;
  color: var(--tfh-primary);
}

.tfh_h2::after {
  content: "";
  display: block;
  width: 146px;           
  height: 9.5px;           
  margin-top: 37px;      
  background-color: var(--yellow);
}

.tfh_section {
   margin-bottom: 64px;
}

/* Key Pillars Section */
.tfh-key-pillars {
  margin-top: 20px;
}

.tfh-key-pillars__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;

  @media (min-width: 768px) {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: 1fr 5fr;
    gap: 10px 0;
    margin-bottom: 15px;
  }
}

.tfh-key-pillars__icon {
  grid-row: 1 / 3;
}

.tfh-key-pillars__icon:first-child {
  width: 118px;
  height: 118px;
}

.tfh-key-pillars__title,
.tfh-resources-section__item h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; 
  text-transform: capitalize;
}

.tfh-key-pillars__title::after {
  content: "";
  display: block;
  width: 347px;           
  height: 7px;           
  margin: 27px 0;      
  background-color: var(--gray-green);
}

.tfh-key-pillars__details,
.tfh-resources-section__item-desc {
  font-family: "Open Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 151%;
}

/* Resources Section */
.tfh-resources-section__header {
  margin-bottom: 20px;
}

.tfh-resources-section__item {
  margin: 0 15px;
}

.tfh-resources-section__item h3::after {
  content: "";
  display: block;
  width: 100%;           
  height: 7px;           
  margin: 5px 0;      
  background-color: var(--gray-green);
  margin-bottom: 30px;
}

.tfh-resources-section p {
  font-family:  "Manrope", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 165%;
}

.tfh-resources-section__item-desc {
  color: var(--medium-green) !important;
}

@media (max-width: 768px) {
  .tfh-key-pillars__title {
    font-size: 20px;
  }
  .tfh-key-pillars__details {
    font-size: 15px;
  }
}

.tfh-resources-section .field--name-field-media-document .file--link a {
  text-decoration: underline;
}

/* Partners Carousel */
.tfh-partners-section {
  padding: 40px 0 64px;
}

.tfh-partners-carousel-wrapper {
  position: relative;
  border: 19px solid var(--tfh-primary);
  padding: 50px 30px;
  margin-top: 20px;
  overflow: visible;

  display: flex;
  align-items: center;
}

.tfh-partners-carousel {
  width: 100%;
}

.tfh-partners-carousel .slick-track {
  display: flex;
  align-items: center;   /* vertical centering within the teal frame */
}

.tfh-partners-carousel .slick-slide {
  height: inherit; 
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.tfh-partners-carousel .slick-slide img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Yellow arrow buttons */
.tfh-partners-carousel .slick-prev,
.tfh-partners-carousel .slick-next {
  width: 40px;
  height: 40px;
  background-color: var(--yellow);
  border-radius: 0;
  z-index: 10;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px; /* adjust */
}

.tfh-partners-carousel .slick-prev {
  left: -70px; 
  background-image: url("../images/arrow-left.svg");
}
.tfh-partners-carousel .slick-next {
  right: -70px;
  background-image: url("../images/arrow-right.svg");
}

/* Hide the default Slick arrow glyph */
.tfh-partners-carousel .slick-prev::before,
.tfh-partners-carousel .slick-next::before {
  content: "";
}

/* Keep yellow + icon visible on hover/focus (slick-theme.css sets `background: transparent`) */
.tfh-partners-carousel .slick-prev:hover,
.tfh-partners-carousel .slick-prev:focus {
  background: var(--yellow) url("../images/arrow-left.svg") no-repeat center / 18px 18px;
}

.tfh-partners-carousel .slick-next:hover,
.tfh-partners-carousel .slick-next:focus {
  background: var(--yellow) url("../images/arrow-right.svg") no-repeat center / 18px 18px;
}

.tfh-partners-carousel .slick-prev:hover,
.tfh-partners-carousel .slick-next:hover {
  filter: brightness(0.95);
}

/* tfh Footer */
.footer-tfh {
  margin-top: 100px;
}

.footer-tfh a {
  color: var(--yellow);
  text-decoration: none;
}

.footer-tfh__first-row {
  margin-bottom: 40px;
}

.footer-tfh__info {
  padding: 0 !important;
  margin-bottom: 30px;

  @media (min-width: 768px) {
    padding: 0 !important;
    margin-bottom: 0;
  }
}

.footer-tfh__links {
  padding-top: 0;

  @media (min-width: 768px) {
    padding-top: 40px;
  }
}

.footer-tfh__links p {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 93.33%;
  margin-left: 15px;
}

.footer-tfh__links ul {
  max-width: 250px;
}

.footer-tfh__social-links {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  margin-left: 30px;
}

.footer-tfh__bottom-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 5px;

  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.footer-tfh__gw-credits {
  margin-bottom: 20px;
}

.footer-tfh .field--name-body ul li::marker {
  color: var(--yellow);
}

@media (min-width: 992px) { /* Bootstrap 3 md breakpoint */
  .footer-tfh__first-row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* TFH detail page */
.tfh-detail-page > #main-container {
  background-color: var(--off-white);
}

.tfh-detail-page__hero-section {
  background-color: var(--tfh-primary-dark);
  color: white;
  padding: 25px 0 38px;
}

.tfh-detail-page .container {
  padding: 0 15px;

  @media (min-width: 768px) {
    padding: 0;
  }
}

.tfh-detail-page__breadcrumb a,
.tfh-detail-page__breadcrumb span {
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 151%;
  text-transform: capitalize;
}

.tfh-detail-page__breadcrumb a:hover {
  text-decoration: underline;
}

.tfh-detail-page .page-header,
.tfh-detail-page .breadcrumb {
  display: none;
}

article.tfh-detail {
  padding: 90px 0;
}