/* Free Business Templates Library: page-specific styles. Reuses tokens from /styles.css. */
.tpl-hero{ position: relative; overflow: hidden; padding-block: var(--space-9) var(--space-7); }
.tpl-hero-inner{ max-width: 900px; margin-inline: auto; text-align: center; }
.tpl-hero h1{ font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.tpl-sub{ font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-500); max-width: 620px; margin: 0 auto var(--space-6); }
.tpl-note{ font-size: 13.5px; color: var(--ink-500); max-width: 640px; margin: var(--space-5) auto 0; line-height: 1.6; }

.tpl-tools{ text-align: left; margin-top: var(--space-6); }
.tpl-tools[hidden], .tpl-empty[hidden], .tpl-none[hidden]{ display: none; }
.tpl-field{ display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-xl); padding: 6px 8px 6px 22px; box-shadow: var(--shadow-md); transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.tpl-field:focus-within{ border-color: var(--orange-400); box-shadow: 0 0 0 5px var(--orange-50), var(--shadow-md); }
.tpl-field svg{ color: var(--ink-300); flex-shrink: 0; }
.tpl-field input{ flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 18px; color: var(--ink-900); padding: 14px 0; }
.tpl-field input::placeholder{ color: var(--ink-300); }
.tpl-chips{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.tpl-chips .chip[aria-pressed="true"]{ background: var(--orange-50); color: var(--orange-700); border-color: var(--orange-400); }
.tpl-count{ margin: var(--space-5) 0 0; font-size: 14px; font-weight: 700; color: var(--ink-500); text-align: center; }

.tpl-section{ padding-top: var(--space-6); }
.tpl-list{ list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-5); text-align: left; }
.tpl-item{ display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-6); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
.tpl-item:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.tpl-icon{ display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--orange-50); color: var(--orange-700); margin-bottom: var(--space-2); }
.tpl-prev{ width: 100%; height: auto; aspect-ratio: 600 / 340; object-fit: cover; border-radius: var(--r-md); background: var(--paper-alt); margin-bottom: var(--space-2); }
.tpl-meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tpl-format{ font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange-700); background: var(--orange-50); border-radius: 999px; padding: 4px 10px; }
.tpl-cat{ font-size: 13px; font-weight: 700; color: var(--ink-500); }
.tpl-feat{ font-size: 12px; font-weight: 800; color: #15803D; }
.tpl-item h3{ font-size: 20px; font-weight: 700; margin: 0; }
.tpl-desc{ font-size: 15px; color: var(--ink-500); line-height: 1.65; margin: 0 0 var(--space-3); flex: 1; }
.tpl-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; width: 100%; }
.tpl-btn{ padding: 12px 22px; font-size: 15px; }
@media (max-width: 420px){ .tpl-actions .btn{ flex: 1 1 100%; } }
.tpl-none, .tpl-empty{ max-width: 620px; margin: var(--space-6) auto 0; text-align: center; }
.tpl-empty h2{ font-size: 24px; margin-bottom: var(--space-2); }
.tpl-empty p, .tpl-none p{ color: var(--ink-500); line-height: 1.7; }
.tpl-empty .btn, .tpl-none .btn{ margin-top: var(--space-3); }
.tpl-cats{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-8); margin-top: var(--space-5); }
@media (max-width: 760px){ .tpl-cats{ grid-template-columns: 1fr; } .tpl-field{ padding-left: 16px; } .tpl-field input{ font-size: 16px; } }
.tpl-cats > div{ padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.tpl-cats h3{ font-size: 18px; margin-bottom: var(--space-2); }
.tpl-cats p{ font-size: 14.5px; color: var(--ink-500); line-height: 1.65; margin: 0 0 var(--space-2); }
.tpl-cats a{ font-size: 14.5px; font-weight: 700; }
.tpl-noscript{ font-size: 14.5px; color: var(--ink-700); margin-top: var(--space-4); }
