/* lionstransilvania.ro — stiluri comune pentru paginile noi (donații, documente juridice)
   și pentru elementele adăugate pe toate paginile (footer, cookie-uri, videoclipuri, revizuire).
   Layout-ul .lt-page reproduce pagina principală (index.php): meniu lateral albastru, conținut pe carduri albe. */

/* ---------- Layout pagini noi (copie fidelă a index.php) ---------- */
.lt-page * { box-sizing: border-box; }
body.lt-page { margin: 0; display: flex; min-height: 100vh; background: #f5f5f5; color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.lt-page .sidebar { width: 250px; background: #00338D; padding: 20px 0; position: fixed; height: 100vh;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1); z-index: 1000; display: flex; flex-direction: column; overflow-y: auto; }
.lt-page .logo { text-align: center; padding: 20px; margin-bottom: 20px; }
.lt-page .logo img { width: 150px; height: 150px; object-fit: contain; }
.lt-page .nav-menu { list-style: none; margin: 0; padding: 0; }
.lt-page .nav-menu li { transition: background 0.3s ease; }
.lt-page .nav-menu li:hover { background: #002266; }
.lt-page .nav-menu a { color: #fff; text-decoration: none; font-size: 16px; display: block; padding: 15px 25px; transition: padding-left 0.3s ease; }
.lt-page .nav-menu a:hover { padding-left: 35px; }
.lt-page .nav-menu a.active { background: #002266; border-left: 4px solid #FDB714; padding-left: 21px; }
.lt-page .donate-button { margin: 20px 25px; padding: 12px 20px; background: #FDB714; border-radius: 25px; text-align: center;
  transition: all 0.3s ease; animation: lt-pulse 2s infinite; }
.lt-page .donate-button:hover { background: #FFA500; transform: scale(1.05); }
.lt-page .donate-button a { color: #00338D; font-weight: bold; text-decoration: none; }
@keyframes lt-pulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(253,183,20,0.7); }
  70%  { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(253,183,20,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(253,183,20,0); }
}
@media (prefers-reduced-motion: reduce) { .lt-page .donate-button { animation: none; } }
.lt-page .main-content { margin-left: 250px; padding: 40px; width: 100%; display: flex; flex-direction: column; min-height: 100vh; }
.lt-page h1 { color: #00338D; margin: 0 0 20px; font-size: 30px; line-height: 1.25; }
.lt-page h2 { color: #00338D; margin: 30px 0 12px; font-size: 21px; }
.lt-page h3 { color: #00338D; margin: 22px 0 8px; font-size: 17px; }
.lt-page p, .lt-page li { color: #444; line-height: 1.65; }
.lt-page p { margin: 0 0 12px; }
.lt-page strong { color: #00338D; }
.lt-page a { color: #00338D; }
.lt-page .mobile-menu-toggle { display: none; position: fixed; top: 20px; left: 20px; z-index: 1001; background: #00338D; color: #fff;
  border: none; padding: 10px 15px; border-radius: 5px; cursor: pointer; font-size: 20px; }
.lt-page .footer { margin-top: auto; background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center; color: #666; font-size: 14px; }
.lt-page .footer span { margin: 0 10px; display: inline-block; }
.lt-page .footer span:not(:last-child):after { content: "|"; margin-left: 20px; color: #00338D; }

.lt-card { background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 20px; }
.lt-card-accent { background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%); border-left: 5px solid #FDB714;
  box-shadow: 0 4px 15px rgba(0,51,141,0.1); }

@media (max-width: 992px) {
  .lt-page .main-content { padding: 30px 20px; }
  .lt-card { padding: 30px 20px; }
  .lt-page h1 { font-size: 24px; }
  .lt-page h2 { font-size: 19px; }
}
@media (max-width: 768px) {
  body.lt-page { flex-direction: column; }
  .lt-page .mobile-menu-toggle { display: block; }
  .lt-page .sidebar { width: 100%; height: auto; top: 0; left: -100%; transition: left 0.3s ease; max-height: 100vh; }
  .lt-page .sidebar.active { left: 0; }
  .lt-page .main-content { margin-left: 0; margin-top: 60px; padding: 20px 15px; }
  .lt-page .logo { padding: 15px; }
  .lt-page .logo img { width: 100px; height: 100px; }
  .lt-card { padding: 25px 15px; }
  .lt-page h1 { font-size: 22px; }
  .lt-page .footer { padding: 15px 10px; font-size: 12px; }
  .lt-page .footer span { display: block; margin: 5px 0; }
  .lt-page .footer span:not(:last-child):after { content: ""; margin-left: 0; }
}

/* ---------- Accesibilitate ---------- */
.lt-skip { position: absolute; left: -9999px; top: 0; background: #FDB714; color: #00338D; padding: 10px 16px; z-index: 3000; font-weight: bold; }
.lt-skip:focus { left: 10px; top: 10px; }
.lt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lt-page a:focus-visible, .lt-page button:focus-visible, .lt-footer a:focus-visible, .lt-footer button:focus-visible,
.lt-consent button:focus-visible, .lt-modal button:focus-visible, .lt-modal input:focus-visible, .lt-embed button:focus-visible {
  outline: 3px solid #FDB714; outline-offset: 2px; }

/* ---------- Documente juridice ---------- */
.lt-doc { max-width: 900px; }
.lt-doc h2 { border-top: 1px solid #e8ecf4; padding-top: 22px; }
.lt-doc h2:first-of-type { border-top: 0; padding-top: 0; }
.lt-doc ul, .lt-doc ol { margin: 0 0 14px 22px; padding: 0; }
.lt-doc li { margin-bottom: 6px; }
.lt-doc-meta { color: #666; font-size: 14px; }
.lt-draft-note { background: #fff8e1; border: 1px solid #f5d27a; border-left: 5px solid #FDB714; padding: 12px 16px; border-radius: 6px; }
.lt-toc { background: #f8f9ff; border: 1px solid #e3e9f7; border-radius: 8px; padding: 16px 20px; margin: 10px 0 24px; }
.lt-toc ol { margin: 6px 0 0 20px; }
.lt-table-wrap { overflow-x: auto; margin: 10px 0 18px; }
.lt-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
.lt-table th, .lt-table td { border: 1px solid #dfe4ee; padding: 9px 11px; text-align: left; vertical-align: top; color: #444; line-height: 1.5; }
.lt-table th { background: #f0f4fb; color: #00338D; }
.lt-pending { display: inline-block; margin: 2px 0 12px; background: #ffe9e9; color: #8a1c1c; border: 1px dashed #d88; padding: 0 5px; border-radius: 4px; font-size: 0.9em; }
.lt-note-planned { background: #eef3ff; border-left: 4px solid #00338D; padding: 10px 14px; border-radius: 4px; }

/* ---------- Butoane ---------- */
.lt-btn { display: inline-block; background: #00338D; color: #fff; border: 2px solid #00338D; padding: 10px 20px; border-radius: 25px;
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; font-family: inherit; line-height: 1.3; }
.lt-btn:hover { background: #002266; border-color: #002266; color: #fff; }
.lt-btn-outline { background: #fff; color: #00338D; }
.lt-btn-outline:hover { background: #eef3ff; color: #00338D; }
.lt-btn-small { padding: 7px 14px; font-size: 14px; }
.lt-btn[aria-disabled="true"] { background: #b9c2d6; border-color: #b9c2d6; color: #fff; cursor: not-allowed; }
.lt-link-btn { background: none; border: 0; padding: 0; color: #00338D; text-decoration: underline; cursor: pointer; font: inherit; }

/* ---------- Footer comun (pe toate paginile) ---------- */
.lt-footer .lt-footer-address { margin: 8px 0 0; font-size: 13px; color: #666; }
.lt-footer .lt-footer-links { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; }
.lt-footer .lt-footer-links a { color: #00338D; }
.lt-footer .lt-footer-links a, .lt-footer .lt-link-btn { font-size: 13px; }

/* ---------- Donații ---------- */
.lt-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 14px 0 6px; padding: 0; list-style: none; }
.lt-projects li { background: #fff; border: 1px solid #eef0f4; border-radius: 8px; padding: 14px 16px; margin: 0; }
.lt-projects a { font-weight: 600; text-decoration: none; }
.lt-projects a:hover { text-decoration: underline; }
.lt-projects small { display: block; color: #777; margin-top: 4px; }
.lt-iban { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #f8f9ff; border: 1px solid #dfe6f7;
  border-radius: 8px; padding: 12px 16px; margin: 8px 0 14px; }
.lt-iban code { font-size: 18px; letter-spacing: 1px; color: #00338D; font-weight: 700; font-family: Consolas, 'Courier New', monospace; }
.lt-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 8px 0 14px; }
.lt-dl dt { color: #666; }
.lt-dl dd { margin: 0; color: #333; font-weight: 600; }
@media (max-width: 560px) { .lt-dl { grid-template-columns: 1fr; } .lt-dl dd { margin-bottom: 8px; } }
.lt-check { display: flex; gap: 10px; align-items: flex-start; }
.lt-check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }

/* ---------- Videoclipuri blocate până la acord ---------- */
.lt-embed { position: absolute; inset: 0; background: #0f1f45; color: #fff; display: flex; align-items: center; justify-content: center; }
.lt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lt-embed-placeholder { padding: 14px 18px; max-width: 520px; text-align: center; overflow-y: auto; max-height: 100%; }
.lt-embed-placeholder p { color: #e8edf8; font-size: 13px; line-height: 1.5; margin: 0 0 8px; }
.lt-embed-placeholder .lt-embed-title { color: #fff; font-weight: 700; font-size: 15px; }
.lt-embed-placeholder a { color: #FDB714; }
.lt-embed-actions .lt-btn { background: #FDB714; border-color: #FDB714; color: #00338D; }
.lt-embed-standalone { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 760px; margin: 0 auto; border-radius: 8px; overflow: hidden; }

/* ---------- Banner și preferințe cookie-uri ---------- */
.lt-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2500; background: #fff; color: #333;
  border: 1px solid #d7deec; border-top: 4px solid #00338D; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.lt-consent-text { margin: 0; flex: 1 1 420px; font-size: 14px; line-height: 1.55; color: #333; }
.lt-consent-text a { color: #00338D; }
.lt-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-modal { position: fixed; inset: 0; z-index: 2600; background: rgba(0,20,60,0.55); display: flex; align-items: center; justify-content: center; padding: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.lt-modal[hidden], .lt-consent[hidden] { display: none; }
.lt-modal-box { background: #fff; border-radius: 10px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 24px; }
.lt-modal-box h2 { color: #00338D; margin: 0 0 14px; font-size: 20px; }
.lt-pref { border: 1px solid #e6eaf2; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.lt-pref p { margin: 4px 0; font-size: 14px; line-height: 1.5; color: #444; }
.lt-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- Mediu de revizuire ---------- */
.lt-review-badge { position: fixed; top: 10px; right: 10px; z-index: 2400; background: #8a1c1c; color: #fff; font: 600 12px/1.4 'Segoe UI', sans-serif;
  padding: 6px 12px; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.lt-review-badge a { color: #ffd98a; }
@media (max-width: 768px) { .lt-review-badge { top: auto; bottom: 8px; right: 8px; } }
