/* Texas homepage */
.tx-home { background: #faf7f1; }
.th-page { --navy: #173e51; --rust: #a7442b; --gold: #f2c36d; --ink: #263b42; --line: #d8d7cf; font-family: Arial, sans-serif; color: var(--ink); background: #faf7f1; line-height: 1.7; }
.th-page *, .th-page *::before, .th-page *::after { box-sizing: border-box; }
.th-shell { max-width: 1260px; margin: auto; padding: 24px 32px 70px; }
.th-page h1, .th-page h2, .th-page h3, .th-page p, .th-page figure { margin: 0; }
.th-page h1, .th-page h2, .th-page h3 { font-family: Georgia, serif; font-weight: 500; line-height: 1.15; color: inherit; }
.th-page h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.th-page p + p { margin-top: 16px; }
.th-page a { color: inherit; text-underline-offset: 4px; }
.th-page :focus-visible { outline: 3px solid #c65e35; outline-offset: 5px; }
.th-page [id] { scroll-margin-top: 100px; }
.th-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; margin-bottom: 24px; }
.th-eyebrow { font-size: .71rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.th-hero { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--navy); color: #fff; }
.th-hero-title { padding: 42px 36px; align-self: center; }
.th-hero h1 { font-size: clamp(3rem, 5.4vw, 4.8rem); letter-spacing: -.04em; margin: 22px 0; color: #fff; }
.th-lede { font-size: 1.12rem; line-height: 1.6; }
.th-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; font-size: .82rem; }
.th-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; padding: 13px 19px; background: var(--rust); color: #fff !important; text-decoration: none; font-weight: 700; font-size: .84rem; border-radius: 3px; }
.th-page .th-button:hover { background: #803320; }
.th-hero .th-button { background: var(--gold); color: #243740 !important; }
.th-hero .th-button:hover { background: #ffda96; }
.th-hero-photo { min-width: 0; position: relative; background: #163544; }
.th-hero-photo picture { display: block; height: 100%; }
.th-hero-photo img { width: 100%; height: 100%; min-height: 380px; max-height: 470px; display: block; object-fit: cover; }
.th-hero-photo figcaption { position: absolute; bottom: 12px; left: 12px; right: 12px; width: fit-content; background: #102e3ee8; padding: 5px 10px; font-size: .65rem; }
.th-hero-note { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; padding: 23px 36px; background: var(--rust); align-items: center; }
.th-hero-note strong { font: 500 1.55rem/1.3 Georgia, serif; }
.th-hero-note p { font-size: .87rem; }
.th-activities { padding: 50px 0; border-bottom: 1px solid var(--line); }
.th-section-title { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 40px; margin-bottom: 26px; }
.th-section-title h2 { margin-top: 10px; }
.th-section-title > p { font-size: .91rem; }
.th-activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.th-activity { padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--rust); display: flex; flex-direction: column; text-decoration: none; }
.th-activity:nth-child(3n + 2) { border-top-color: var(--navy); }
.th-activity:nth-child(3n) { border-top-color: #a5771f; }
.th-activity:hover { border-color: var(--rust); box-shadow: 0 6px 16px #263b4210; }
.th-activity-kicker { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }
.th-activity h3 { font-size: 1.45rem; margin: 10px 0; }
.th-activity p { font-size: .85rem; margin-bottom: 20px; }
.th-activity-link { display: flex; justify-content: space-between; font-weight: 700; font-size: .79rem; margin-top: auto; }
.th-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-top: 45px; }
.th-list-intro { margin-bottom: 28px; }
.th-list-intro h2 { margin: 10px 0 16px; }
.th-list-intro p:last-child { font-size: .95rem; }
.th-farm { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); margin-bottom: 14px; border-radius: 3px; }
.th-farm > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px 25px; cursor: pointer; }
.th-farm > summary::-webkit-details-marker { display: none; }
.th-farm > summary:hover { background: #f8f7f2; }
.th-town { display: block; text-transform: uppercase; font-size: .69rem; letter-spacing: .1em; color: #81432d; font-weight: 700; }
.th-name { display: block; font: 500 1.6rem/1.22 Georgia, serif; margin: 5px 0 7px; }
.th-type { display: block; font-size: .77rem; color: #54656a; }
.th-summary-copy { min-width: 0; }
.th-toggle { flex: 0 0 26px; color: var(--rust); }
.th-toggle::before { content: '+'; font-size: 1.8rem; }
.th-farm[open] .th-toggle::before { content: '−'; }
.th-farm[open] > summary { border-bottom: 1px solid var(--line); }
.th-farm-body { padding: 26px; font-size: .93rem; }
.th-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-block: 1px solid var(--line); padding: 22px 0; margin: 24px 0; }
.th-meta dt { text-transform: uppercase; font-size: .68rem; letter-spacing: .08em; font-weight: 700; margin-bottom: 7px; }
.th-meta dd { margin: 0; font-size: .85rem; }
.th-farm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.th-farm-actions button { font: inherit; background: none; color: inherit; border: 0; cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }
.th-sidebar section + section { margin-top: 30px; }
.th-sidebar h2 { font-size: 1.8rem; margin: 12px 0 20px; }
.th-plan { padding: 28px; background: var(--navy); color: #fff; }
.th-plan dl { margin: 0; }
.th-plan dt { color: var(--gold); font-size: .85rem; font-weight: 700; margin-top: 22px; }
.th-plan dd { margin: 5px 0 0; font-size: .85rem; }
.th-more { border-block: 1px solid var(--line); padding: 24px 0; }
.th-more ul { list-style: none; margin: 0; padding: 0; }
.th-more li + li { border-top: 1px solid var(--line); }
.th-more a { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; font-size: .85rem; text-decoration: none; }
.th-more a:hover { text-decoration: underline; }
.th-faq details { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.th-faq summary { cursor: pointer; font-weight: 700; }
.th-faq p { margin-top: 12px; }
.th-next { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; margin-top: 48px; padding: 38px; border-top: 5px solid var(--rust); background: #fff; }
.th-next h2 { margin-top: 15px; }
.th-next p { font-size: .94rem; }
@media (max-width: 1000px) {
 .th-shell { padding-inline: 24px; }
 .th-hero-title { padding: 32px 26px; }
 .th-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 26px; }
 .th-activity { padding: 20px; }
 .th-hero-note { padding-inline: 26px; }
}
@media (max-width: 760px) {
 .th-shell { padding: 20px 20px 48px; }
 .th-hero { grid-template-columns: 1fr; }
 .th-hero h1 { font-size: clamp(3rem, 10vw, 4.3rem); }
 .th-hero-photo img { height: 350px; min-height: 0; max-height: none; object-position: center; }
 .th-hero-note { grid-template-columns: 1fr; gap: 10px; padding: 24px 26px; }
 .th-section-title, .th-layout, .th-next { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .th-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .th-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
 .th-sidebar section + section { margin-top: 0; }
 .th-faq { grid-column: 1 / -1; }
 .th-next { padding: 28px; }
}
@media (max-width: 480px) {
 .th-activity-grid { grid-template-columns: minmax(0, 1fr); }
 .th-activities { padding-block: 34px; }
 .th-hero-photo img { height: 310px; }
 .th-meta { grid-template-columns: 1fr; gap: 18px; }
 .th-farm > summary, .th-farm-body { padding: 20px; }
 .th-name { font-size: 1.4rem; }
 .th-sidebar { display: block; }
 .th-sidebar section + section { margin-top: 28px; }
 .th-hero-title { padding: 30px 24px; }
}


/* Colorful activity cards now live beside the farm listings. */
.th-layout > .th-sidebar > #activities {
  margin: 0 0 28px;
  padding: 0;
  min-width: 0;
  background: transparent;
}
.th-sidebar #activities .th-section-title {
  display: block;
  margin: 0 0 18px;
}
.th-sidebar #activities .th-section-title h2 {
  font-size: 1.8rem;
  line-height: 1.15;
}
.th-sidebar #activities .th-activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.th-sidebar #activities a.th-activity {
  display: block;
  padding: 24px;
  min-height: 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px #00000016;
}
.th-sidebar #activities a.th-activity:nth-child(1) { background: #245c48; }
.th-sidebar #activities a.th-activity:nth-child(2) { background: #493e79; }
.th-sidebar #activities a.th-activity:nth-child(3) { background: #813b42; }
.th-sidebar #activities a.th-activity:nth-child(4) { background: #17616b; }
.th-sidebar #activities a.th-activity:nth-child(5) { background: #a44720; }
.th-sidebar #activities a.th-activity:nth-child(6) { background: #65531c; }
.th-sidebar #activities a.th-activity h3,
.th-sidebar #activities a.th-activity p,
.th-sidebar #activities a.th-activity span {
  color: #fff;
  opacity: 1;
}
.th-sidebar #activities a.th-activity h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 10px 0;
}
.th-sidebar #activities a.th-activity p { font-size: .9rem; }
.th-sidebar #activities .th-activity-kicker { font-size: .72rem; }
.th-sidebar #activities .th-activity-link {
  display: block;
  margin-top: 16px;
  font-weight: 800;
}
.th-sidebar #activities a.th-activity:hover {
  box-shadow: inset 0 0 0 3px #ffffffb3, 0 4px 12px #00000016;
}
.th-sidebar #activities a.th-activity:focus-visible {
  outline: 3px solid #1f5c6b;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  .th-layout { display: flex; flex-direction: column; }
  .th-layout > #farms { order: 0; width: 100%; }
  .th-layout > .th-sidebar { order: 1; width: 100%; }
}

.th-farm .th-profile-badge {
  display: inline-block;
  padding: 5px 10px;
  margin-top: 6px;
  border-radius: 4px;
  background-color: #1f5c6b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
