/* Tribe Feeds
   No font-family anywhere on purpose: everything inherits from the theme,
   so these blocks read as part of the page, not as an embedded widget.
   Override the two variables below to match any design. */

.tf{
  --tf-accent:#F06030;
  --tf-ink:currentColor;
  --tf-line:rgba(127,127,127,.24);
  --tf-muted:rgba(127,127,127,1);
  --tf-radius:16px;
  font:inherit; color:inherit;
}
.tf *{box-sizing:border-box}
.tf .tf-h{font:inherit;font-weight:700;font-size:1.5em;margin:0 0 .5em;line-height:1.15}
.tf .tf-eyebrow{font-size:.72em;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--tf-accent);margin:0 0 .5em}
.tf .tf-meta{font-size:.85em;opacity:.7;margin:.35em 0 0}
.tf .tf-desc{font-size:.95em;line-height:1.6;opacity:.85;margin:.6em 0 0}
.tf .tf-link{display:inline-block;margin-top:.8em;font-weight:700;font-size:.9em;color:var(--tf-accent);text-decoration:none}
.tf .tf-link:hover{text-decoration:underline}
.tf-empty,.tf-setup{opacity:.7;font-style:italic}

/* ---- Events ---- */
.tf-event-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.tf-event{display:flex;gap:18px;align-items:flex-start;padding:18px 20px;border:1px solid var(--tf-line);border-radius:var(--tf-radius);transition:.2s}
.tf-event:hover{border-color:var(--tf-accent)}
.tf-date{flex:0 0 62px;text-align:center;line-height:1;padding-top:2px}
.tf-mon{display:block;font-size:.7em;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--tf-accent)}
.tf-day{display:block;font-size:1.9em;font-weight:800;margin-top:4px}
.tf-event-body{flex:1;min-width:0}
.tf-event-title{font:inherit;font-weight:700;font-size:1.15em;margin:0;line-height:1.25}

/* ---- Livestream ---- */
.tf-live{position:relative;border-radius:var(--tf-radius);overflow:hidden;background:#111}
.tf-live iframe,.tf-live-frame{display:block;width:100%;aspect-ratio:16/9;border:0}
.tf-live-frame{
  background-size:cover;background-position:center;cursor:pointer;padding:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.6);position:relative;
}
.tf-live-frame::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.42);transition:.25s}
.tf-live-frame:hover::after{background:rgba(0,0,0,.28)}
.tf-live-frame>*{position:relative;z-index:2}
.tf-live-label{font:inherit;font-weight:700;font-size:1.05em;letter-spacing:.02em}
.tf-play{
  width:74px;height:74px;border-radius:50%;background:#fff;color:#111;
  display:grid;place-items:center;font-size:22px;padding-left:5px;
  box-shadow:0 10px 34px rgba(0,0,0,.45);transition:.25s;text-shadow:none;
}
.tf-live-frame:hover .tf-play{transform:scale(1.07)}
.tf-play-sm{width:46px;height:46px;font-size:15px;padding-left:3px}

/* ---- Messages grid ---- */
.tf-messages{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.tf-card{display:block;text-decoration:none;color:inherit;border-radius:var(--tf-radius);overflow:hidden;border:1px solid var(--tf-line);transition:.25s}
.tf-card:hover{transform:translateY(-4px);border-color:var(--tf-accent)}
.tf-thumb{display:grid;place-items:center;aspect-ratio:16/9;background-size:cover;background-position:center;background-color:#222;position:relative}
.tf-thumb::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.2);transition:.25s}
.tf-card:hover .tf-thumb::after{background:rgba(0,0,0,.05)}
.tf-thumb .tf-play{position:relative;z-index:2}
.tf-card-body{display:block;padding:16px 18px 18px}
.tf-card-title{display:block;font-weight:700;font-size:1.02em;line-height:1.3}

/* ---- Podcast ---- */
.tf-ep-featured{display:flex;gap:22px;align-items:center;padding:22px;border:1px solid var(--tf-line);border-radius:var(--tf-radius);margin-bottom:16px;flex-wrap:wrap}
.tf-ep-art{flex:0 0 132px;height:132px;border-radius:12px;background-size:cover;background-position:center;background-color:#222}
.tf-ep-body{flex:1;min-width:240px}
.tf-ep-title{font:inherit;font-weight:800;font-size:1.5em;margin:0;line-height:1.15}
.tf-ep-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.tf-ep-row{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:16px 20px;border:1px solid var(--tf-line);border-radius:var(--tf-radius)}
.tf-ep-title-sm{font:inherit;font-weight:700;font-size:1.05em;margin:0;line-height:1.3}
.tf-audio{width:100%;max-width:420px;margin-top:12px;height:38px}
.tf-ep-row .tf-audio{margin-top:0}

/* ---- Worship ---- */
.tf-worship{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.tf-spotify{width:100%;border-radius:12px;border:0}
@media(max-width:780px){
  .tf-worship{grid-template-columns:1fr}
  .tf-event{gap:14px;padding:16px}
  .tf-ep-featured{gap:16px;padding:18px}
  .tf-ep-art{flex:0 0 88px;height:88px}
}
