/*
Theme Name: LeftJobs
Theme URI: https://www.leftjobs.com
Author: James
Author URI: https://www.leftjobs.com
Description: Starter theme for LeftJobs - Progressive Political Career Jobs.
Version: 1.2
License: GNU General Public License v2 or later
Text Domain: leftjobs
*/

/* Accent colors */
:root {
  --accent:#0b5cff;
  --muted:#6b7280;
}

body {
  font-family: "Quicksand", sans-serif;
  line-height: 2.4;
  margin: 0;
  color: #111;
  background-color: #f3f4f6; /* Tailwind gray-100 */
  font-style: normal;
}

h1 {
  font-family: "Lato", sans-serif;
  font-weight: 400; /* or 900 if you want black */
  font-style: normal;
}
h3,h4 {padding-top:10px}

.job-meta-box .flex.items-center i 
{
  margin-right: 0.5rem; /* adjust spacing between icon and text */
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
.content ul {
  @apply list-disc list-inside;
}

.content ol {
  @apply list-decimal list-inside;
}

/* Header and Footer */
header.site-header,
footer.site-footer {
  background:#f8fafc;
  padding:1rem 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.site-title { font-weight:700; font-size:1.125rem; }

/* Tailwind-driven nav, only colors here */
#main-nav {
  background: #e5e7eb; /* gray-200 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Buttons - subtle gradient */
.btn {
  display:inline-block;
  padding:.45rem .7rem;
  border-radius:.25rem;
  border:1px solid rgba(0,0,0,0.06);
  background:linear-gradient(90deg,#f9fafb,#f3f4f6);
  transition: all 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* ---------- GDPR / CCPA Consent Banner ---------- */
#consent-banner {
  position: fixed;
  bottom: 1.5rem; /* desktop floating above bottom */
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  max-width: 48rem; /* wider on large screens */
  width: 90%;
  background-color: #f9fafb; /* light, friendly background */
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-family: sans-serif;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 9999;
}

/* Show animation */
#consent-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Text styling */
#consent-banner .consent-text {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.4;
}

#consent-banner .consent-link {
  color: #2563eb;
  text-decoration: underline;
}

#consent-banner .consent-link:hover {
  color: #1d4ed8;
}

/* Buttons container */
#consent-banner .consent-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* Buttons */
#consent-banner button {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Accept button */
#consent-banner button#accept-consent {
  background-color: #2563eb;
  color: #fff;
}

#consent-banner button#accept-consent:hover {
  background-color: #1d4ed8;
}

/* Decline button */
#consent-banner .secondary-btn {
  background-color: #e5e7eb;
  color: #111827;
}

#consent-banner .secondary-btn:hover {
  background-color: #d1d5db;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  #consent-banner {
    width: 100%;
    max-width: 100%;
    bottom: 0; /* attach to bottom */
    border-radius: 0; /* flush edges */
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  #consent-banner .consent-buttons {
    flex-direction: column;
  }

  #consent-banner button {
    width: 100%;
  }
}
.entry-content ul {
  list-style: disc;
  padding-left: 1.25rem; /* adjust as needed */
}

.entry-content ol {
  list-style: decimal;
  padding-left: 1.25rem;
}
