/* Threesome Dating inner pages - matches the homepage (TransDate layout, logo-red palette) */
:root {
  --tp-red: #e34646; --tp-red-dark: #c43434; --tp-deep: #7a1717; --tp-soft-red: #f28b82; --tp-wine: #a82a2a;
  --header-bg: transparent; --color-ink: #7a1717; --color-primary: #e34646; --color-primary-dark: #c43434;
  --color-primary-light: #fbe3e3; --color-focus: #e34646; --color-bg: #fdf7f6; --color-paper: #fdf7f6;
  --color-surface-soft: #fbeeec; --color-text: #2a1a1a; --color-text-soft: #6b5656;
  --tp-stripe: linear-gradient(90deg, var(--tp-wine) 0 33.33%, var(--tp-soft-red) 33.33% 66.66%, var(--tp-red) 66.66% 100%);
}
main .container { width: 100%; max-width: var(--container-max, 72rem); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); box-sizing: border-box; }

/* Header: transparent over the hero on desktop */
.site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; box-shadow: none; }
.site-header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.site-header .btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.site-header .btn-primary { background: #fff; color: var(--tp-red); box-shadow: none; }
.site-header .btn-primary:hover { background: #fbe3e3; color: var(--tp-red-dark); }

/* Hero */
.tp-hero { position: relative; overflow: hidden; min-height: max(30rem, min(78vh, 44rem)); display: flex; flex-direction: column; justify-content: flex-end; background: #1e1010; color: #fff; }
.tp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.tp-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,8,8,.55) 0%, rgba(20,8,8,.25) 35%, rgba(20,8,8,.85) 100%); }
.tp-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--container-max, 72rem); margin-inline: auto; padding: 7rem clamp(1.25rem, 4vw, 2rem) 3rem; box-sizing: border-box; }
.tp-crumbs { margin: 0 0 1rem; font-size: .8rem; color: rgba(255,255,255,.8); }
.tp-crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.tp-eyebrow { display: inline-block; margin: 0 0 .75rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(227,70,70,.9); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tp-hero h1 { margin: 0 0 .9rem; max-width: 20ch; color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1.12; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.tp-hero-intro { margin: 0 0 1.75rem; max-width: 42rem; font-size: 1.08rem; line-height: 1.55; font-weight: 600; color: rgba(255,255,255,.92); }
.tp-join { display: inline-block; padding: 14px 32px; border-radius: 999px; background: var(--tp-red); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px rgba(227,70,70,.45); transition: background .18s ease; }
.tp-join:hover { background: var(--tp-red-dark); color: #fff; }
.tp-stripe { height: 6px; background: var(--tp-stripe); }

/* Body */
.tp-section { padding-block: clamp(3rem, 6vw, 4.5rem); }
.tp-soft { background: var(--color-surface-soft); }
.tp-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .tp-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.tp-article h2 { margin: 2.25rem 0 .75rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.2; }
.tp-article h2:first-child { margin-top: 0; }
.tp-article h2::before { content: ""; display: block; width: 2.5rem; height: 4px; margin-bottom: .75rem; border-radius: 2px; background: linear-gradient(90deg, var(--tp-red), var(--tp-soft-red)); }
.tp-article p { margin: 0 0 1rem; color: var(--color-text-soft); line-height: 1.7; font-size: 1.02rem; }
.tp-article a { color: var(--tp-red-dark); font-weight: 600; }
.tp-list { list-style: none; margin: .25rem 0 1.25rem; padding: 0; display: grid; gap: .6rem; }
.tp-list li { position: relative; padding: .8rem 1rem .8rem 2.6rem; background: var(--color-surface, #fff); border: 1px solid color-mix(in srgb, var(--tp-deep) 10%, transparent); border-left: 4px solid var(--tp-red); border-radius: .75rem; color: var(--color-text); font-weight: 600; box-shadow: var(--shadow-sm); }
.tp-list li::before { content: ""; position: absolute; left: 1rem; top: 50%; width: .65rem; height: .65rem; margin-top: -.325rem; border-radius: 50%; background: linear-gradient(135deg, var(--tp-wine), var(--tp-soft-red)); }
.tp-aside { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .tp-aside { position: sticky; top: 1.5rem; } }
.tp-aside-media { margin: 0; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--color-surface-soft); }
.tp-aside-media img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.tp-aside-card { padding: 1.5rem; border-radius: 1.25rem; color: #fff; background: radial-gradient(90% 70% at 100% 0%, rgba(242,139,130,.35), transparent 70%), linear-gradient(135deg, var(--tp-red), var(--tp-deep)); box-shadow: var(--shadow-md); }
.tp-aside-card h3 { margin: 0 0 .4rem; color: #fff; font-size: 1.2rem; }
.tp-aside-card p { margin: 0 0 1rem; color: rgba(255,255,255,.9); }
.tp-aside-card a { display: inline-block; padding: 10px 22px; border-radius: 999px; background: #fff; color: var(--tp-red); font-weight: 700; text-decoration: none; }

.tp-head { max-width: 44rem; margin: 0 auto 2rem; text-align: center; }
.tp-head h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.tp-head p { margin: 0; color: var(--color-text-soft); }
.tp-faq { max-width: 48rem; margin: 0 auto; display: grid; gap: .75rem; }
.tp-faq details { background: var(--color-surface, #fff); border-radius: .875rem; border: 1px solid color-mix(in srgb, var(--tp-deep) 10%, transparent); padding: 0 1.25rem; }
.tp-faq summary { cursor: pointer; list-style: none; padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary h3 { margin: 0; font-size: 1.05rem; }
.tp-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--tp-red); transition: transform .18s ease; }
.tp-faq details[open] summary::after { transform: rotate(45deg); }
.tp-faq details p { margin: 0 0 1rem; color: var(--color-text-soft); }
.tp-faq a { color: var(--tp-red-dark); font-weight: 600; }

.tp-related { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); margin: 0; padding: 0; list-style: none; }
.tp-related a { display: flex; flex-direction: column; gap: .35rem; height: 100%; box-sizing: border-box; padding: 1.25rem 1.25rem 1.1rem; border-radius: .875rem; background: var(--color-surface, #fff); border: 1px solid color-mix(in srgb, var(--tp-deep) 10%, transparent); border-top: 4px solid var(--tp-red); color: var(--color-text); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.tp-related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tp-related .tp-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-red); }
.tp-related strong { font-size: 1.05rem; }
.tp-related span.tp-go { margin-top: auto; padding-top: .5rem; font-size: .85rem; font-weight: 700; color: var(--tp-red-dark); }

.tp-cta { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 1.25rem; padding: clamp(2.5rem, 5vw, 4rem) 1.5rem; background: radial-gradient(80% 90% at 100% 0%, rgba(242,139,130,.3), transparent 70%), linear-gradient(135deg, var(--tp-red), var(--tp-deep)); }
.tp-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--tp-stripe); }
.tp-cta h2 { margin: 0 0 .75rem; color: #fff; }
.tp-cta p { margin: 0 auto 1.5rem; max-width: 44ch; color: rgba(255,255,255,.9); }
.tp-cta a { display: inline-block; padding: 14px 32px; border-radius: 999px; background: #fff; color: var(--tp-deep); font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.tp-cta a:hover { background: #fbe3e3; }

.tp-explore { padding-block: 2.5rem; background: #1e1010; color: rgba(255,255,255,.85); }
.tp-explore h2 { margin: 0 0 1.25rem; color: #fff; font-size: 1.15rem; }
.tp-explore-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); }
.tp-explore h3 { margin: 0 0 .6rem; color: var(--tp-soft-red); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.tp-explore ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.tp-explore a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; }
.tp-explore a:hover, .tp-explore a[aria-current] { color: #fff; text-decoration: underline; }

/* Mobile: styled dark header, photo first then text */
@media (max-width: 799px) {
  .site-header { position: relative; background: radial-gradient(120% 180% at 0% 0%, rgba(227,70,70,.28) 0%, transparent 55%), linear-gradient(135deg, #1c0e0e 0%, #2a1313 55%, #1a0c0c 100%); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #e34646 30%, #f28b82 50%, #e34646 70%, transparent); }
  .tp-hero { display: block; min-height: 0; background: #1a0c0c; }
  .tp-hero-bg { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 4 / 3; }
  .tp-hero-scrim { display: none; }
  .tp-hero-inner { padding: 1.75rem 1.25rem 2.5rem; background: radial-gradient(90% 55% at 100% 30%, rgba(227,70,70,.30), transparent 70%), radial-gradient(70% 45% at 0% 100%, rgba(168,42,42,.35), transparent 70%), linear-gradient(180deg, #241010 0, #1a0c0c 100%); }
  .tp-aside-media { aspect-ratio: 4 / 3; }
}
