/*
Theme Name: TCMA Child
Template: twentytwentyfive
Version: 1.0
*/
.tcma-home { max-width: 980px; margin: 0 auto; padding: 24px 16px; }
.tcma-home__hero { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #ddd; }
.tcma-home__title { margin: 0 0 6px; }
.tcma-home__tagline { margin: 0 0 14px; opacity: .8; }

.tcma-home__search { display: flex; gap: 10px; align-items: center; }
.tcma-home__search input[type="search"] { flex: 1; padding: 10px; }
.tcma-home__search button { padding: 10px 14px; cursor: pointer; }

.tcma-list { display: grid; gap: 14px; }
.tcma-row { padding: 14px; border: 1px solid #e5e5e5; border-radius: 8px; }
.tcma-row__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tcma-row__title a { font-weight: 700; text-decoration: none; }
.tcma-row__title a:hover { text-decoration: underline; }
.tcma-row__date { opacity: .8; white-space: nowrap; }
.tcma-row__meta { margin-top: 8px; display: grid; gap: 4px; }
.tcma-row__actions { margin-top: 10px; display: flex; gap: 12px; }
.tcma-row__snippet { margin-top: 10px; opacity: .9; }

.tcma-support {
  max-width: 980px;
  margin: 32px auto 0 auto;
  padding: 16px 24px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: center;
}

.tcma-support-button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
  background: transparent;
  transition: background-color .15s ease, border-color .15s ease;
}

.tcma-support-button:hover {
  background-color: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.4);
  text-decoration: none;
}

/* TCMA recording listing card (title + thumbnail only) */

.tcma-rec-list { border-top: 1px solid rgba(0,0,0,.08); }

.tcma-rec {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Keep the title and the thumbnail in the same "text column" width */
.tcma-rec-title,
.tcma-rec-thumb {
  max-width: 680px;    /* desktop text column width */
}

/* Center within the 980px page container */
.tcma-rec-title,
.tcma-rec-thumb {
  margin-left: 0;      /* stays left-aligned; set to auto if you want centered */
  margin-right: 0;
}

.tcma-rec-title {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.25;
}

.tcma-rec-title a { text-decoration: none; }
.tcma-rec-title a:hover { text-decoration: underline; }

.tcma-rec-thumb {
  display: block;
}

/* Force the image to behave responsively and not exceed the text column */
.tcma-rec-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Desktop: make thumbnails feel intentional and not huge */
@media (min-width: 900px) {
  .tcma-rec-title { font-size: 16px; }
  .tcma-rec-title,
  .tcma-rec-thumb {
    max-width: 560px;  /* smaller on desktop so it doesn't dwarf the title */
  }
}

/* Mobile: keep it inside the same readable column; add a little side padding feel */
@media (max-width: 520px) {
  .tcma-rec-title,
  .tcma-rec-thumb {
    max-width: 100%;
  }
}

/* TCMA standard page layout */
.tcma-page-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.tcma-entry .entry-title {
  margin-bottom: 20px;
}

.tcma-entry .entry-content {
  font-size: 16px;
  line-height: 1.6;
}

/* Homepage recording list tweaks */

.tcma-rec-title a {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.tcma-rec-title a:hover {
  text-decoration: underline;
}

.tcma-rec-added {
  font-size: 13px;
  color: #777;
  margin: 4px 0 10px 0;
}