/* ================= FOOTER ================= */
.aag-footer {
  background: #00374b;
  color: #fff;
  padding: 60px 40px 5px;
}

.aag-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
}

#news_title {
  font-family: 'CSBoline-Regular', serif !important;
  font-size: 40px;
  color: #fff !important;
  margin-bottom: 25px;
}

/* NEWS */
.aag-footer-news {
  display: flex;
  gap: 30px;
  margin-bottom: 80px;
}

.aag-footer-news-left {
  width: 66.66%;
}

.aag-footer-news-right {
  width: 33.33%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

/* NEWS CARDS */
.aag-news-cards {
  display: flex;
  gap: 25px;
}

.aag-news-card {
  flex: 1;
  height: 200px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #00364A;
}

.aag-news-card-img {
  display: none !important;
}

.aag-news-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,0.35);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.aag-news-card-overlay h3 {
  font-family: 'CSBoline-Regular', serif !important;
  font-size: 15px;
  color: #fff !important;
  margin: 0 0 10px;
}

.aag-news-card-overlay span {
  width: 24px;
  height: 24px;
  background: #fff;
  color: #00364A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BUTTON */
.aag-more-news {
  font-family: 'CSBoline-Regular', serif !important;
  font-size: 16px;
  display: inline-block;
  margin-top: 20px;
  padding: 10px 22px;
  background: #fff;
  color: #00364A !important;
  border-radius: 25px;
  text-decoration: none;
}

/* FACEBOOK FEED */
.aag-facebook-box {
  width: 306px;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.aag-facebook-box iframe {
  width: 340px !important;
  height: 520px !important;
  border: 0 !important;
  display: block;
  transform: translate(-17px, -85px);
}

/* BOTTOM */
.aag-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
}

.aag-footer-info,
.aag-footer-event {
  width: 45%;
}

.aag-footer-logo {
  width: 140px;
  margin-bottom: 20px;
}

.aag-footer-info p {
  font-size: 16px;
  line-height: 1.5;
  color: #fff !important;
  margin: 0 0 18px;
}

/* CONTACT */
.aag-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.aag-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: #fff;
  font-family: 'segoe-ui-regular', sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.aag-contact-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.aag-contact-item span {
  color: #fff;
}

/* RIGHT SIDE */
.aag-footer-event {
  text-align: right;
}

/* SOCIAL */
.aag-social-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 28px;
}

.aag-social-links a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  text-decoration: none;
  font-family: 'segoe-ui-regular', sans-serif;
  font-size: 17px !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1;
  min-height: 26px;
}

.aag-social-links a:hover {
  opacity: 0.75;
}

.aag-social-links .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.aag-social-links .icon.x {
  background-image: url('https://americasagforum.org/wp-content/uploads/2026/05/x.svg');
}

.aag-social-links .icon.linkedin {
  background-image: url('https://americasagforum.org/wp-content/uploads/2026/05/linkedin.svg');
}

.aag-social-links .icon.facebook {
  background-image: url('https://americasagforum.org/wp-content/uploads/2026/05/facebook.svg');
}

/* HASHTAG + DATE */
.aag-footer-hashtag {
  font-family: 'CSBoline-Regular', serif !important;
  color: #fff !important;
  font-size: 28px !important;
  margin: 20px 0 12px;
}

.aag-footer-event h3 {
  font-family: 'CSBoline-Regular', serif !important;
  font-size: 22px;
  color: #ffbf3c !important;
  margin: 0 0 35px;
}

.aag-developed {
  color: #fff !important;
  font-size: 14px;
  line-height: 1.5;
}

/* MOBILE */
@media (max-width: 768px) {
  .aag-footer-inner {
    padding: 0 20px;
  }

  .aag-footer-news {
    flex-direction: column;
  }

  .aag-footer-news-left,
  .aag-footer-news-right {
    width: 100%;
  }

  .aag-footer-news-right {
    justify-content: flex-start;
  }

  .aag-facebook-box {
    width: 100%;
    max-width: 340px;
  }

  .aag-news-cards {
    flex-direction: column;
  }

  .aag-news-card {
    height: 220px;
  }

  .aag-footer-bottom {
    flex-direction: column;
    gap: 40px;
  }

  .aag-footer-info,
  .aag-footer-event {
    width: 100%;
  }

  .aag-footer-event {
    text-align: left;
  }

  .aag-social-links a {
    justify-content: flex-start;
  }
}