/* TDR — Pets landing page  [tdr_pets] */

/* Kill the theme's white "PETS" title banner — wasted space. */
.tdr-page-inner:has(.tdr-pets) .tdr-page-title { display: none; }
.tdr-page-inner:has(.tdr-pets) { padding-top: 0; }

.tdr-pets {
  width: min(1200px, calc(100vw - 48px));
  margin-left: calc(50% - min(600px, 50vw - 24px));
}

.tdr-pets-h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3.4vw, 36px);
  color: #1a1a2e;
  margin: 0 0 6px;
}
.tdr-pets-band { margin: 44px 0; }
.tdr-pets-band-sub { margin: 0 0 22px; color: #6f6a5c; font-size: 16px; }

/* ── 1 ▸ Above the fold ── */
.tdr-pets-fold {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 22px 0 10px;
}
.tdr-pets-slot-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a8577;
  margin: 0 0 10px;
}

/* Lynne slot */
.tdr-pets-lynne-card {
  display: block;
  background: #fff;
  border: 1px solid #eae4d6;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(26, 26, 46, .07);
}
.tdr-pets-lynne-img {
  height: 240px;
  background-size: cover;
  background-position: center;
}
.tdr-pets-lynne-noimg {
  background: linear-gradient(135deg, #f6efe2, #e9dcc2);
}
.tdr-pets-lynne-body { padding: 18px 20px 22px; }
.tdr-pets-urgent-pill {
  display: inline-block;
  background: #b3261e;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  margin: 0 0 10px;
}
.tdr-pets-lynne-body h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #1a1a2e;
}
.tdr-pets-lynne-date { margin: 0 0 12px; color: #8a8577; font-size: 13.5px; }
.tdr-pets-lynne-cta { color: #a8842c; font-weight: 700; }
.tdr-pets-lynne-empty { padding: 10px 0; }

/* Community board */
.tdr-pets-board-card {
  background: #fff;
  border: 1px solid #eae4d6;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(26, 26, 46, .07);
}
.tdr-pets-board-compose textarea {
  width: 100%;
  border: 1px solid #d8d2c2;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14.5px;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.tdr-pets-board-compose button {
  margin: 8px 0 4px;
  background: #c9a24b;
  color: #1a1a2e;
  border: 0;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 700;
  cursor: pointer;
}
.tdr-pets-board-signin {
  display: block;
  background: #f7f3ea;
  border: 1px dashed #d8c89a;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #7a5f1e;
  text-decoration: none;
  margin: 0 0 6px;
}
.tdr-pets-board-post {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #f0ebdf;
}
.tdr-pets-board-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tdr-pets-board-meta { font-size: 13px; color: #8a8577; display: flex; gap: 8px; align-items: baseline; }
.tdr-pets-board-meta strong { color: #1a1a2e; }
.tdr-pets-board-body p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; }
.tdr-pets-board-empty { padding: 14px 4px; color: #8a8577; font-size: 14.5px; }

/* Compose actions row: photo attach + post button. */
.tdr-pets-board-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tdr-pets-board-attach {
	cursor: pointer;
	font-size: 13.5px;
	color: #6b6551;
	border: 1px dashed #cfc8b4;
	border-radius: 8px;
	padding: 7px 12px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tdr-pets-board-attach:hover { border-color: #c9a551; color: #102a52; }
.tdr-pets-board-attach input[type="file"] { display: none; }
.tdr-pets-board-attach-name { color: #102a52; font-weight: 600; }
.tdr-pets-board-error {
	margin-top: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #fdecea;
	color: #a4321f;
	font-size: 13.5px;
}

/* Photo attached to a board post. */
.tdr-pets-board-photo { display: block; margin-top: 8px; max-width: 260px; }
.tdr-pets-board-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid #ece7d8;
}

/* ── 2 ▸ Rescue circle ── */
.tdr-pets-rescue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.tdr-pets-rescue-card {
  background: #fff;
  border: 1px solid #eae4d6;
  border-radius: 12px;
  padding: 18px;
}
.tdr-pets-rescue-card img { max-height: 56px; margin: 0 0 10px; }
.tdr-pets-rescue-card h3 { margin: 0 0 6px; font-size: 17px; color: #1a1a2e; }
.tdr-pets-rescue-card p { margin: 0 0 10px; font-size: 14px; color: #6f6a5c; }
.tdr-pets-rescue-card a { color: #a8842c; font-weight: 700; text-decoration: none; }

/* ── 3 ▸ Directory ── */
.tdr-pets-directory { display: flex; flex-direction: column; gap: 10px; }

/* ── 4 ▸ Good Boy Shop ── */
.tdr-pets-shop-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
}
.tdr-pets-shop-intro img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #c9a24b;
}
.tdr-pets-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.tdr-pets-shop-card {
  background: #fff;
  border: 1px solid #eae4d6;
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tdr-pets-shop-card img { width: 100%; border-radius: 8px; }
.tdr-pets-shop-name { font-weight: 700; color: #1a1a2e; }
.tdr-pets-shop-blurb { font-size: 13.5px; color: #6f6a5c; }
.tdr-pets-affiliate-note { margin: 14px 0 0; font-size: 12.5px; color: #a09a89; }
.tdr-pets-shop-soon { color: #8a8577; font-style: italic; }

/* ── 5 ▸ Blog stream ── */
.tdr-pets-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.tdr-pets-blog-card {
  background: #fff;
  border: 1px solid #eae4d6;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.tdr-pets-blog-img { height: 160px; background-size: cover; background-position: center; }
.tdr-pets-blog-noimg { background: linear-gradient(135deg, #f6efe2, #e9dcc2); }
.tdr-pets-blog-body { padding: 14px 16px 16px; }
.tdr-pets-blog-body h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: #1a1a2e; }
.tdr-pets-blog-body p { margin: 0; font-size: 13px; color: #8a8577; }

/* ── Mobile ── */
@media (max-width: 860px) {
  .tdr-pets-fold { grid-template-columns: 1fr; }
}
