/* TemplePC's own product promotion. Uses the magazine's shared theme colors. */
.thaluna-promo { display: grid; grid-template-columns: 185px minmax(0,1fr) auto; gap: 30px; align-items: center; margin: 30px 0; padding: 26px 30px; background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.thaluna-promo-identity { display: flex; gap: 14px; align-items: center; }
.thaluna-promo-identity img { flex: none; border-radius: 0; width: 100%; height: auto; }
.thaluna-promo-identity>span { font-family: var(--sans); font-size: 25px; font-weight: 650; line-height: 1.2; }
.thaluna-promo-identity small { display: block; margin-top: 6px; font-size: 10px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.author-apps { margin: 40px 0; }
.author-apps .section-header h2 { font-size: 31px; }
.author-apps-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.author-apps-grid .thaluna-promo { grid-template-columns: 140px minmax(0,1fr); gap: 20px; margin: 0; padding: 24px; align-items: start; }
.author-apps-grid .thaluna-promo-identity { flex-direction: column; align-items: start; grid-row: span 2; gap: 12px; }
.author-apps-grid .thaluna-promo-identity>span { font-size: 20px; }
.author-apps-grid .thaluna-promo-actions { grid-column: 2; align-items: start; }
.author-apps-grid .thaluna-promo h2 { font-size: 25px; }
.author-apps-grid .thaluna-promo-actions .button { white-space: normal; }
.thaluna-disclosure { display: block; font-size: 10px; color: var(--muted); letter-spacing: .3px; line-height: 1.5; }
.thaluna-promo h2 { margin: 6px 0 7px; font-size: 27px; line-height: 1.15; letter-spacing: -.6px; }
.thaluna-promo p { margin: 0; max-width: 650px; font-family: var(--sans); font-size: 13px; line-height: 1.7; color: var(--muted); }
.thaluna-promo-meta { display: block; margin-top: 10px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.thaluna-promo-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.thaluna-promo .button { white-space: nowrap; padding: 14px 19px; }
.thaluna-promo .text-button { font-family: var(--sans); font-size: 11px; }
.article-body .thaluna-promo { margin: 42px 0; padding: 24px; }
.thaluna-promo-inline { grid-template-columns: minmax(0,1fr) auto; gap: 22px; }
.thaluna-promo-inline .thaluna-promo-identity { display: none; }
.article-body .thaluna-promo h2 { margin: 7px 0; font-size: 27px; border: 0; padding: 0; }
.article-body .thaluna-promo p { font-size: 13px; margin: 0; }
.article-body .thaluna-promo a { font-family: var(--sans); }
.article-body .thaluna-promo a.button { color: #fff; }
.article-body .thaluna-promo a.button { text-decoration: none; }
.thaluna-page { padding-bottom: 25px; }
.thaluna-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 52px; align-items: center; padding: 38px 0 32px; }
.thaluna-hero h1 { font-size: clamp(42px,4.4vw,66px); line-height: 1.08; letter-spacing: -2px; margin: 16px 0 23px; }
.thaluna-lead { font-size: 16px; line-height: 1.85; color: var(--muted); max-width: 560px; }
.thaluna-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.thaluna-hero-actions .button { padding: 15px 21px; }
.thaluna-trial-note { font-size: 11px; line-height: 1.75; color: var(--muted); margin-top: 16px; max-width: 560px; }
.thaluna-hero-figure { margin: 0; }
.thaluna-hero-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.thaluna-hero-figure figcaption { font-size: 10px; line-height: 1.65; margin: 11px 0 0; color: var(--muted); }
.thaluna-owner-note { display: flex; gap: 14px; align-items: center; padding: 18px 22px; background: var(--soft); border: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: var(--muted); }
.thaluna-owner-note img { border-radius: 7px; flex: none; }
.thaluna-section { margin: 58px 0; }
.thaluna-section>h2, .thaluna-example h2, .thaluna-practical h2, .thaluna-cost h2, .thaluna-final h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.9px; margin: 0 0 24px; }
.thaluna-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.thaluna-feature-grid article { border-top: 1px solid var(--line); padding-top: 22px; }
.thaluna-step-number { font-family: var(--mono); color: var(--accent); font-size: 12px; }
.thaluna-feature-grid h3, .thaluna-steps h3 { font-family: var(--sans); font-size: 17px; margin: 14px 0 10px; }
.thaluna-feature-grid p, .thaluna-steps p, .thaluna-example p, .thaluna-cost p, .thaluna-practical p, .thaluna-final p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.thaluna-example { border-top: 1px solid var(--line); padding-top: 36px; }
.thaluna-example h2 { margin-top: 11px; margin-bottom: 12px; }
.thaluna-example>div>p { max-width: 650px; }
.thaluna-comparison { min-width: 0; border: 0; padding: 0; margin: 26px 0 0; }
.thaluna-comparison label { display: inline-block; border: 1px solid var(--line); font-size: 12px; padding: 10px 17px; cursor: pointer; margin: 0 5px 18px 0; }
.thaluna-comparison input:checked+label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.thaluna-comparison input:focus-visible+label { outline: 2px solid var(--accent); outline-offset: 3px; }
.thaluna-comparison figure { display: none; margin: 0; }
#thaluna-before:checked~.thaluna-example-before, #thaluna-after:checked~.thaluna-example-after { display: block; }
.thaluna-comparison img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.thaluna-comparison figcaption { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 12px; }
.thaluna-video-link { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.thaluna-video-link small { font-size: 10px; }
.thaluna-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; list-style: none; padding: 0; counter-reset: thaluna-step; }
.thaluna-steps li { counter-increment: thaluna-step; border-top: 1px solid var(--line); padding-top: 22px; }
.thaluna-steps li:before { content: '0' counter(thaluna-step); font-family: var(--mono); color: var(--accent); font-size: 12px; }
.thaluna-cost { background: var(--soft); padding: 30px 34px; border-left: 3px solid var(--accent); }
.thaluna-cost h2 { font-size: 29px; margin-bottom: 12px; }
.thaluna-cost p { max-width: 920px; }
.thaluna-cost .text-button { display: inline-flex; margin-top: 17px; }
.thaluna-practical { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 60px; }
.thaluna-limits details { padding: 17px 0; border-top: 1px solid var(--line); }
.thaluna-limits details:last-child { border-bottom: 1px solid var(--line); }
.thaluna-limits summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.thaluna-limits details p { margin: 12px 0 0; }
.thaluna-limits summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.thaluna-support { padding: 25px 28px; background: var(--soft); align-self: start; border: 1px solid var(--line); }
.thaluna-support h2 { font-size: 26px; margin-bottom: 14px; }
.thaluna-support ul { list-style: none; padding: 0; margin: 20px 0 0; }
.thaluna-support li+li { margin-top: 13px; }
.thaluna-support a { font-size: 13px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.thaluna-support a:hover { color: var(--accent); }
.thaluna-final { display: flex; align-items: center; gap: 35px; border-top: 1px solid var(--line); padding-top: 36px; margin-bottom: 40px; }
.thaluna-store-banner { width: 35%; max-width: 420px; height: auto; }
.thaluna-image-art { max-width: 440px; justify-self: end; }
.thaluna-app-screenshot { margin: 25px 0 0; }
.thaluna-app-screenshot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.thaluna-app-screenshot figcaption { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.thaluna-image-limits>p { max-width: 780px; }
.thaluna-final h2 { max-width: 800px; margin-bottom: 14px; }
@media(max-width:1100px) {
  .thaluna-promo { grid-template-columns: 150px minmax(0,1fr); gap: 23px; padding: 24px; }
  .thaluna-promo-identity { gap: 10px; }
  .author-apps-grid .thaluna-promo { grid-template-columns: 100px minmax(0,1fr); padding: 20px; gap: 18px; }
  .author-apps-grid .thaluna-promo-identity img { width: 100%; height: auto; }
  .thaluna-promo-identity>span { font-size: 22px; }
  .thaluna-promo-actions { grid-column: 2; flex-direction: row; justify-content: start; }
  .thaluna-promo-inline { grid-template-columns: 1fr; }
  .thaluna-promo-inline .thaluna-promo-actions { grid-column: 1; }
  .thaluna-hero { gap: 30px; }
  .thaluna-practical { gap: 30px; }
}
@media(max-width:760px) {
  .thaluna-promo { grid-template-columns: 1fr; gap: 18px; padding: 22px; margin: 24px 0; }
  .author-apps-grid { grid-template-columns: 1fr; }
  .author-apps-grid .thaluna-promo { grid-template-columns: 95px minmax(0,1fr); padding: 20px; }
  .author-apps-grid .thaluna-promo-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .author-apps-grid .thaluna-promo-identity { grid-row: auto; }
  .author-apps-grid .thaluna-promo-identity>span { font-size: 16px; }
  .author-apps-grid .thaluna-promo h2 { font-size: 24px; }
  .thaluna-promo-identity small { max-width: none; }
  .thaluna-promo-identity>span { font-size: 23px; }
  .thaluna-promo-actions { grid-column: 1; flex-wrap: wrap; gap: 16px 20px; }
  .thaluna-promo h2, .article-body .thaluna-promo h2 { font-size: 26px; }
  .thaluna-promo .button { padding: 13px 16px; }
  .article-body .thaluna-promo { padding: 20px; }
  .thaluna-hero { grid-template-columns: 1fr; gap: 25px; padding-top: 24px; }
  .thaluna-hero h1 { font-size: 43px; letter-spacing: -1.5px; }
  .thaluna-lead { font-size: 15px; }
  .thaluna-hero-actions .button { padding: 13px 16px; font-size: 12px; }
  .thaluna-owner-note { padding: 16px; align-items: start; }
  .thaluna-section { margin: 38px 0; }
  .thaluna-section>h2, .thaluna-example h2, .thaluna-practical h2, .thaluna-cost h2, .thaluna-final h2 { font-size: 29px; }
  .thaluna-feature-grid, .thaluna-steps, .thaluna-practical { grid-template-columns: 1fr; gap: 24px; }
  .thaluna-comparison label { padding: 9px 12px; font-size: 11px; }
  .thaluna-cost { padding: 24px; }
  .thaluna-support { padding: 24px; }
  .thaluna-image-art { width: 100%; max-width: 390px; justify-self: center; }
  .thaluna-final { flex-direction: column; align-items: start; }
  .thaluna-store-banner { width: 100%; max-width: 420px; }
}
@media(max-width:430px) {
  .author-apps-grid .thaluna-promo { grid-template-columns: 1fr; gap: 18px; }
  .author-apps-grid .thaluna-promo-identity { flex-direction: row; align-items: center; }
  .author-apps-grid .thaluna-promo-identity img { width: 76px; height: auto; }
  .author-apps-grid .thaluna-promo-identity>span { font-size: 20px; }
  .author-apps-grid .thaluna-promo-identity small { font-size: 11px; }
  .author-apps-grid .thaluna-promo-actions { grid-column: 1; }
}
