/* Base */
.tfa-remote-posts {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.tfa-remote-posts .tfa-post {
  display: flex;
  flex-direction: column;
  padding: 1em;
  border: 1px solid #6a2c2c;
  border-radius: 6px;
}

/* Headline Font (match your red section headers) */
.tfa-remote-posts .tfa-post h3 {
  font-family: 'Teko', Impact, sans-serif;
  font-size: 1.3rem;
  color: #ffcb05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Excerpt */
.tfa-remote-posts .tfa-post p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  margin: 0 0 0.5em;
}

/* Read more link */
.tfa-remote-posts .tfa-readmore {
  font-size: 0.9rem;
  color: var(--e-global-color-text);
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
}

/* Image */
.tfa-remote-posts .thumb img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 0.5em;
  object-fit: cover;
}




/* GRID */
.tfa-remote-posts.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5em;
}




/* LIST */
.tfa-remote-posts.list .tfa-post {
  flex-direction: row;
  gap: 1em;
}

.tfa-remote-posts.list .thumb img {
  width: 120px;
  height: 100%;
  max-height: 80px;
  object-fit: cover;
}

.tfa-remote-posts.list .tfa-post > .thumb {
  flex-shrink: 0;
  width: 120px;
}

.tfa-remote-posts.list .tfa-post > div {
  flex: 1;
}




/* CARD */
.tfa-remote-posts.card .tfa-post {
  background: #461c1c;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}




/* COMPACT */
.tfa-remote-posts.compact {
  gap: 0.25em;
}

.tfa-remote-posts.compact .tfa-post {
  padding: 0;
  border: none;
  background: none;
}

.tfa-remote-posts.compact .tfa-post h3 {
  font-size: 1rem;
  color: #fff;
}

.tfa-remote-posts.compact .tfa-post p,
.tfa-remote-posts.compact .read-more {
  display: none;
}



/* FOOTER */


.tfa-footer-news {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.tfa-footer-post {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  color: #fdfdfd;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1em;
}

.tfa-footer-thumb {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  display: block;
}

.tfa-footer-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  line-height: 1.4;
}

.tfa-footer-title, .tfa-footer-title a {
  margin: 0 0 0.3em;
  font-size: 1.1em;
  color: #FFF;
  font-weight: 400;
  text-shadow: none;
}

.tfa-footer-excerpt {
  font-size: 0.8rem;
  color: #e0e0e0;
  margin: 0 0 0.5em;
}

.tfa-footer-readmore {
  font-size: 0.75rem;
  color: var(--e-global-color-primary);
  font-weight: 600;
  text-decoration: none;
  text-align: right;
}
