.elementor-165235 .elementor-element.elementor-element-9de5811{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-165235 .elementor-element.elementor-element-7f357a4{--display:flex;}/* Start custom CSS for html, class: .elementor-element-3ab1187 *//* ===========================================
   TGF OUTREACH GALLERY
   Standalone Commercial Version
   Namespace: tgfo-
=========================================== */

.tgfo-gallery,
.tgfo-gallery *,
.tgfo-modal,
.tgfo-modal * {
  box-sizing: border-box;
}

/* SECTION */
.tgfo-gallery {
  width: 100%;
  padding: 80px 0 100px;
  background: #f7f9fc;
  color: #0b2347;
  font-family: inherit;
}

.tgfo-container {
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 0 auto;
}

.tgfo-gallery .tgfo-heading {
  margin: 0 0 50px;
  color: #0b2347;
  text-align: center;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.2;
}

/* GRID */
.tgfo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 285px;
  gap: 22px;
  grid-auto-flow: row dense;
}

/* CARD BUTTON RESET */
.tgfo-gallery .tgfo-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 18px;
  appearance: none;
  background: #dce3ec;
  color: #fff;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(11,35,71,.05);
  transition: transform .26s ease, box-shadow .26s ease;
}

.tgfo-gallery .tgfo-card.tgfo-tall {
  grid-row: span 2;
}

/* CARD IMAGE */
.tgfo-card > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

/* GRADIENT */
.tgfo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(6,26,56,0) 35%,
    rgba(6,26,56,.15) 55%,
    rgba(6,26,56,.94) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

/* HOVER TEXT */
.tgfo-card-info {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 28px;
  z-index: 2;
  display: block;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.tgfo-card-info strong {
  display: block;
  margin-bottom: 13px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.tgfo-location {
  display: block;
  position: relative;
  padding-left: 25px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.tgfo-location::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 22px;
  background: #ff5555;
  clip-path: path("M9 0C4 0 0 4 0 9c0 6 9 13 9 13s9-7 9-13c0-5-4-9-9-9z");
}

.tgfo-location::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.tgfo-gallery .tgfo-card:hover,
.tgfo-gallery .tgfo-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(11,35,71,.18);
}

.tgfo-card:hover > img,
.tgfo-card:focus-visible > img {
  transform: scale(1.035);
}

.tgfo-card:hover .tgfo-shade,
.tgfo-card:focus-visible .tgfo-shade {
  opacity: 1;
}

.tgfo-card:hover .tgfo-card-info,
.tgfo-card:focus-visible .tgfo-card-info {
  opacity: 1;
  transform: translateY(0);
}

/* Never show data-only descriptions inside cards */
.tgfo-gallery .tgfo-description {
  display: none !important;
}

.tgfo-gallery .tgfo-card:focus-visible {
  outline: 4px solid #007f86;
  outline-offset: 4px;
}

/* ===========================================
   MODAL: Independent from Elementor
=========================================== */

.tgfo-modal[hidden] {
  display: none !important;
}

.tgfo-modal {
  position: fixed !important;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  height: 100dvh;
  padding: 28px;
  font-family: inherit;
}

.tgfo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,29,61,.88);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.tgfo-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  width: min(100%, 1260px);
  height: min(700px, calc(100dvh - 56px));
  min-height: 0;
  border-radius: 26px;
  background: white;
  color: #0b2347;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0,0,0,.35);
}

/* MODAL IMAGE */
.tgfo-modal-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #dce3ec;
}

.tgfo-modal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* NUMBER BADGE */
.tgfo-served {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  padding: 15px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: #0b2347;
  font-size: 17px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.tgfo-served[hidden] {
  display: none !important;
}

.tgfo-served-number {
  font-weight: 800;
}

/* MODAL CONTENT */
.tgfo-modal-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 65px 50px 36px;
}

.tgfo-details {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

.tgfo-modal .tgfo-modal-title {
  margin: 0 45px 14px 0;
  color: #0b2347;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.tgfo-modal .tgfo-modal-meta {
  margin: 0 0 35px;
  color: #075d69;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.tgfo-modal .tgfo-modal-description {
  margin: 0;
  color: #52627c;
  font-size: 19px;
  line-height: 1.7;
  white-space: pre-line;
}

.tgfo-modal-description[hidden] {
  display: none !important;
}

/* NAVIGATION */
.tgfo-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e2e7ef;
}

.tgfo-modal .tgfo-prev,
.tgfo-modal .tgfo-next {
  appearance: none;
  width: auto;
  min-height: 40px;
  padding: 6px 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #0b2347;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}

.tgfo-prev {
  justify-self: start;
}

.tgfo-next {
  justify-self: end;
}

.tgfo-modal .tgfo-prev:hover,
.tgfo-modal .tgfo-next:hover {
  color: #007f86;
  background: transparent;
}

.tgfo-counter {
  color: #8190aa;
  font-size: 16px;
  white-space: nowrap;
}

/* CLOSE BUTTON */
.tgfo-modal .tgfo-close {
  position: absolute;
  top: 23px;
  right: 23px;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #0b2347;
  cursor: pointer;
}

.tgfo-modal .tgfo-close:hover {
  background: #dce5ee;
  color: #0b2347;
}

.tgfo-modal button:focus-visible {
  outline: 3px solid #007f86;
  outline-offset: 3px;
}

/* ===========================================
   TABLET
=========================================== */

@media (max-width: 1024px) {
  .tgfo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
  }

  .tgfo-dialog {
    grid-template-columns: 48% 52%;
  }

  .tgfo-modal-content {
    padding: 65px 28px 25px;
  }

  .tgfo-modal .tgfo-modal-title {
    font-size: 30px;
  }

  .tgfo-modal .tgfo-modal-meta {
    font-size: 16px;
  }

  .tgfo-modal .tgfo-modal-description {
    font-size: 17px;
  }
}

/* ===========================================
   MOBILE
=========================================== */

@media (max-width: 767px) {
  .tgfo-gallery {
    padding: 55px 0 75px;
  }

  .tgfo-container {
    width: calc(100% - 34px);
  }

  .tgfo-gallery .tgfo-heading {
    margin-bottom: 32px;
    font-size: 32px;
  }

  .tgfo-grid {
    display: flex;
    flex-direction: column;
    gap: 23px;
  }

  .tgfo-gallery .tgfo-card,
  .tgfo-gallery .tgfo-card.tgfo-tall {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .tgfo-card-info {
    left: 22px;
    right: 22px;
    bottom: 24px;
  }

  .tgfo-card-info strong {
    font-size: 20px;
  }

  .tgfo-location {
    font-size: 15px;
  }

  /* Modal mobile */
  .tgfo-modal {
    padding: 12px;
  }

  .tgfo-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: min(760px, calc(100dvh - 24px));
    border-radius: 19px;
  }

  .tgfo-modal-photo {
    flex: 0 0 37%;
    height: 37%;
  }

  .tgfo-modal-content {
    flex: 1 1 auto;
    padding: 25px 21px 18px;
  }

  .tgfo-modal .tgfo-modal-title {
    margin-right: 0;
    margin-bottom: 9px;
    font-size: 25px;
  }

  .tgfo-modal .tgfo-modal-meta {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .tgfo-modal .tgfo-modal-description {
    font-size: 16px;
    line-height: 1.65;
  }

  .tgfo-modal .tgfo-close {
    top: 13px;
    right: 13px;
    width: 43px;
    height: 43px;
    min-width: 43px;
    background: rgba(255,255,255,.96);
  }

  .tgfo-served {
    left: 13px;
    bottom: 13px;
    padding: 9px 13px;
    border-radius: 9px;
    font-size: 13px;
  }

  .tgfo-navigation {
    margin-top: 12px;
    padding-top: 12px;
    gap: 6px;
  }

  .tgfo-modal .tgfo-prev,
  .tgfo-modal .tgfo-next,
  .tgfo-counter {
    font-size: 13px;
  }
}

/* Touch: keep title and location visible */
@media (hover: none) {
  .tgfo-shade {
    opacity: 1;
  }

  .tgfo-card-info {
    opacity: 1;
    transform: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tgfo-card,
  .tgfo-card > img,
  .tgfo-shade,
  .tgfo-card-info {
    transition: none !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-93b724c *//* ==========================================
   TGF Outreach Gallery — Closing CTA
   Full-width background and spacing fix
========================================== */

/* Match the Gallery and CTA backgrounds */
.elementor-element-9de5811,
.elementor-element-7f357a4 {
  margin: 0 !important;
  background-color: #f8fafc !important;
}

/* Remove possible borders and divider lines */
.elementor-element-9de5811,
.elementor-element-9de5811 > .elementor-widget,
.elementor-element-9de5811 > .elementor-widget > .elementor-widget-container,
.elementor-element-7f357a4,
.elementor-element-7f357a4 > .e-con-inner {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.tgfo-gallery,
.tgf-gallery-cta {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.tgfo-gallery::before,
.tgfo-gallery::after,
.tgf-gallery-cta::before,
.tgf-gallery-cta::after {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Override CTA's boxed Elementor container */
.elementor-element-7f357a4 {
  --content-width: 100% !important;
  --gap: 0px !important;
  --row-gap: 0px !important;
  --column-gap: 0px !important;
  --kit-widget-spacing: 0px !important;
  --widgets-spacing: 0px !important;

  width: 100%;
  max-width: none !important;
  padding: 0 !important;
  gap: 0 !important;
}

.elementor-element-7f357a4 > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

.elementor-element-7f357a4 .elementor-widget,
.elementor-element-7f357a4 .elementor-widget-container {
  width: 100%;
  margin: 0 !important;
}

/* Match adjacent section backgrounds */
.tgfo-gallery,
.tgf-gallery-cta {
  background-color: #f8fafc;
}

/* ==========================================
   CTA Base
========================================== */

.tgf-gallery-cta,
.tgf-gallery-cta *,
.tgf-gallery-cta *::before,
.tgf-gallery-cta *::after {
  box-sizing: border-box;
}

.tgf-gallery-cta {
  width: 100%;
  margin: 0;
  padding: 40px 24px 80px;
  background: #f8fafc;
}

.tgf-gallery-cta__inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 56px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;

  background: #edf6f6;
  border: 1px solid #ccdddd;
  border-radius: 24px;
}

.tgf-gallery-cta__content {
  min-width: 0;
}

.tgf-gallery-cta__eyebrow {
  margin: 0 0 12px;

  color: #006b73;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tgf-gallery-cta__title {
  margin: 0 0 18px;

  color: #164f57;
  font-family: inherit;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;

  overflow-wrap: break-word;
}

.tgf-gallery-cta__description {
  max-width: 760px;
  margin: 0;

  color: #344b51;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.75;
}

/* ==========================================
   CTA Buttons
========================================== */

.tgf-gallery-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;

  width: 280px;
  max-width: 100%;
}

.tgf-gallery-cta .tgf-gallery-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  min-height: 54px;
  padding: 15px 22px;

  background: #005b63;
  border: 2px solid #005b63;
  border-radius: 10px;

  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.tgf-gallery-cta .tgf-gallery-cta__button--outline {
  background: #ffffff;
  color: #005b63;
}

.tgf-gallery-cta .tgf-gallery-cta__button span {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.tgf-gallery-cta .tgf-gallery-cta__button:hover,
.tgf-gallery-cta .tgf-gallery-cta__button:focus-visible {
  background: #003f46;
  border-color: #003f46;
  color: #ffffff;
  text-decoration: none;
}

.tgf-gallery-cta .tgf-gallery-cta__button:hover span,
.tgf-gallery-cta .tgf-gallery-cta__button:focus-visible span {
  transform: translateX(4px);
}

.tgf-gallery-cta .tgf-gallery-cta__button:focus-visible {
  outline: 3px solid #164f57;
  outline-offset: 4px;
}

/* ==========================================
   Tablet
========================================== */

@media (max-width: 1024px) {
  .tgf-gallery-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px;
    gap: 28px;
  }

  .tgf-gallery-cta__actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tgf-gallery-cta .tgf-gallery-cta__button {
    flex: 1 1 240px;
    width: auto;
  }
}

/* ==========================================
   Mobile
========================================== */

@media (max-width: 767px) {
  .tgf-gallery-cta {
    padding: 24px 20px 56px;
  }

  .tgf-gallery-cta__inner {
    padding: 32px 24px;
    border-radius: 18px;
  }

  .tgf-gallery-cta__title {
    font-size: 28px;
  }

  .tgf-gallery-cta__description {
    font-size: 16px;
  }

  .tgf-gallery-cta__actions {
    flex-direction: column;
  }

  .tgf-gallery-cta .tgf-gallery-cta__button {
    flex: none;
    width: 100%;
  }
}

/* ==========================================
   Reduced Motion
========================================== */

@media (prefers-reduced-motion: reduce) {
  .tgf-gallery-cta .tgf-gallery-cta__button,
  .tgf-gallery-cta .tgf-gallery-cta__button span {
    transition: none;
  }
}/* End custom CSS */