/*
Theme Name: What Trump Has Done
Theme URI: https://whattrumphasdone.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A factual resource tracking Donald Trump's actions with cited references from across the political spectrum.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whattrumphasdone
Tags: trump, politics, news, factual, responsive
*/

/* Base styles */
:root {
    --blue-50: #f0f9ff;
    --blue-100: #e0f2fe;
    --blue-200: #bae6fd;
    --blue-300: #7dd3fc;
    --blue-400: #38bdf8;
    --blue-500: #0ea5e9;
    --blue-600: #0284c7;
    --blue-700: #0369a1;
    --blue-800: #075985;
    --blue-900: #0c4a6e;
    --blue-950: #082f49;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-300: #fca5a5;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --red-800: #991b1b;
    --red-900: #7f1d1d;
    
    --purple-50: #f5f3ff;
    --purple-100: #ede9fe;
    --purple-200: #ddd6fe;
    --purple-300: #c4b5fd;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --purple-800: #5b21b6;
    --purple-900: #4c1d95;
  }
  
  html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
  }
  blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0;
}
  /* Base Link Styles (match Tailwind reset) */
  a {
    color: inherit;
    text-decoration: inherit;
  }
  *, :after, :before {
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}
  
  /* Base Button Styles (match Tailwind reset) */
  button {
    font-family: inherit; /* Ensures button font matches surrounding text */
    font-size: 100%; /* Ensures font size isn't affected by browser defaults */
    font-weight: inherit; /* Ensures font weight matches surrounding text */
    line-height: inherit; /* Ensures line height matches surrounding text */
    color: inherit; /* Ensures text color matches surrounding text */
    margin: 0; /* Removes default browser margins */
    padding: 0; /* Removes default browser padding */
    border: none; /* Removes default browser border */
    background-color: transparent; /* Removes default browser background */
    background-image: none; /* Removes potential default gradient */
    text-transform: none; /* Prevents default capitalization */
    -webkit-appearance: button; /* Basic normalization */
    cursor: pointer; /* Ensures pointer cursor */
  }
  
  /* Optional: Basic disabled state */
  button:disabled {
      cursor: default;
      /* You might add opacity here if needed: opacity: 0.7; */
  }
  
  /* Layout */
  .flex {
    display: flex;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .flex-row {
    flex-direction: row;
  }
  
  .flex-wrap {
    flex-wrap: wrap;
  }
  
  .flex-1 {
    flex: 1 1 0%;
  }
  
  .flex-grow {
    flex-grow: 1;
  }
  
  .justify-between {
    justify-content: space-between;
  }
  
  .justify-center {
    justify-content: center;
  }
  
  .items-center {
    align-items: center;
  }
  
  .items-start {
    align-items: flex-start;
  }
  
  .gap-6 {
    gap: 1.5rem;
  }
  
  .space-x-2 > * + * {
    margin-left: 0.5rem;
  }
  
  .space-x-3 > * + * {
    margin-left: 0.75rem;
  }
  
  .space-x-6 > * + * {
    margin-left: 1.5rem;
  }
  
  .space-y-1 > * + * {
    margin-top: 0.25rem;
  }
  
  .space-y-2 > * + * {
    margin-top: 0.5rem;
  }
  
  .space-y-3 > * + * {
    margin-top: 0.75rem;
  }
  
  .space-y-6 > * + * {
    margin-top: 1.5rem;
  }
  
  .ml-4 {
    margin-left: 1rem;
  }
  
  .mr-1 {
    margin-right: 0.25rem;
  }
  
  .mr-2 {
    margin-right: 0.5rem;
  }
  
  .mt-1 {
    margin-top: 0.25rem;
  }
  
  .mt-2 {
    margin-top: 0.5rem;
  }
  
  .mt-3 {
    margin-top: 0.75rem;
  }
  
  .mt-4 {
    margin-top: 1rem;
  }
  
  .mt-6 {
    margin-top: 1.5rem;
  }
  
  .mt-8 {
    margin-top: 2rem;
  }
  
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  
  .mb-4 {
    margin-bottom: 1rem;
  }
  
  .mb-6 {
    margin-bottom: 1.5rem;
  }
  
  .mb-8 {
    margin-bottom: 2rem;
  }
  
  .mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  
  .max-w-4xl {
    max-width: 56rem;
  }
  
  .max-w-2xl {
    max-width: 42rem;
  }
  
  .min-h-screen {
    min-height: 100vh;
  }
  
  .h-64 {
    height: 16rem;
  }
  
  .w-full {
    width: 100%;
  }
  
  .p-1 {
    padding: 0.25rem;
  }
  
  .p-3 {
    padding: 0.75rem;
  }
  
  .p-4 {
    padding: 1rem;
  }
  
  .p-5 {
    padding: 1.25rem;
  }
  
  .p-6 {
    padding: 1.5rem;
  }
  
  .p-8 {
    padding: 2rem;
  }
  
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .pb-1 {
    padding-bottom: 0.25rem;
  }
  
  .pt-4 {
    padding-top: 1rem;
  }
  
  .pl-5 {
    padding-left: 1.25rem;
  }
  
  /* Typography */
  .text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  
  .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  
  .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  
  .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  
  .text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  
  .text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .font-medium {
    font-weight: 500;
  }
  
  .font-semibold {
    font-weight: 600;
  }
  
  .font-bold {
    font-weight: 700;
  }
  
  .leading-relaxed {
    line-height: 1.625;
  }
  
  .text-center {
    text-align: center;
  }
  
  .text-gray-500 {
    color: var(--gray-500);
  }
  
  .text-gray-600 {
    color: var(--gray-600);
  }
  
  .text-gray-700 {
    color: var(--gray-700);
  }
  
  .text-gray-800 {
    color: var(--gray-800);
  }
  
  .text-blue-600 {
    color: var(--blue-600);
  }
  
  .text-blue-700 {
    color: var(--blue-700);
  }
  
  .text-blue-800 {
    color: var(--blue-800);
  }
  
  .text-red-600 {
    color: var(--red-600);
  }
  
  .text-purple-600 {
    color: var(--purple-600);
  }
  
  .text-white {
    color: white;
  }
  
  .hover\:text-blue-200:hover {
    color: var(--blue-200);
  }
  
  .hover\:text-blue-600:hover {
    color: var(--blue-600);
  }
  
  .hover\:text-blue-700:hover {
    color: var(--blue-700);
  }
  
  .hover\:text-blue-800:hover {
    color: var(--blue-800);
  }
  
  .hover\:text-gray-700:hover {
    color: var(--gray-700);
  }
  
  .hover\:underline:hover {
    text-decoration: underline;
  }
  
  /* Backgrounds */
  .bg-white {
    background-color: white;
  }
  
  .bg-gray-50 {
    background-color: var(--gray-50);
  }
  
  .bg-gray-100 {
    background-color: var(--gray-100);
  }
  
  .bg-blue-50 {
    background-color: var(--blue-50);
  }
  
  .bg-blue-100 {
    background-color: var(--blue-100);
  }
  
  .bg-blue-600 {
    background-color: var(--blue-600);
  }
  
  .bg-red-50 {
    background-color: var(--red-50);
  }
  
  .bg-purple-50 {
    background-color: var(--purple-50);
  }
  
  .hover\:bg-blue-200:hover {
    background-color: var(--blue-200);
  }
  
  .hover\:bg-blue-700:hover {
    background-color: var(--blue-700);
  }
  
  .hover\:bg-gray-100:hover {
    background-color: var(--gray-100);
  }
  
  .bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
  }
  
  .from-blue-800 {
    --tw-gradient-from: #1e40af;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  }
  
  .to-blue-900 {
    --tw-gradient-to: #1e3a8a;
  }
  
  /* Borders */
  .border {
    border-width: 1px;
  }
  
  .border-t {
    border-top-width: 1px;
  }
  
  .border-b {
    border-bottom-width: 1px;
  }
  
  .border-b-2 {
    border-bottom-width: 2px;
  }
  
  .border-transparent {
    border-color: transparent;
  }
  
  .border-gray-200 {
    border-color: var(--gray-200);
  }
  
  .border-blue-200 {
    border-color: var(--blue-200);
  }
  
  .border-red-200 {
    border-color: var(--red-200);
  }
  
  .border-purple-200 {
    border-color: var(--purple-200);
  }
  
  .hover\:border-blue-200:hover {
    border-color: var(--blue-200);
  }
  
  .rounded {
    border-radius: 0.25rem;
  }
  
  .rounded-lg {
    border-radius: 0.5rem;
  }
  
  .rounded-full {
    border-radius: 9999px;
  }
  
  /* Effects */
  .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }
  
  .shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  .shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  }
  
  .hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  .transition-colors {
    transition-property: color, background-color, border-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  /* Lists */
  .list-disc {
    list-style-type: disc;
  }
  
  /* Grid */
  .grid {
    display: grid;
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .gap-6 {
    gap: 1.5rem;
  }
  
  /* Container */
  .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
  }
  
  /* Cursor */
  .cursor-pointer {
    cursor: pointer;
  }
  
  /* Outline */
  .outline-none {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
  
  .focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  }
  
  .focus\:ring-blue-500:focus {
    --tw-ring-color: var(--blue-500);
  }
  
  .focus\:border-blue-500:focus {
    border-color: var(--blue-500);
  }
  
  /* Responsive */
  @media (min-width: 768px) {
    .md\:flex-row {
      flex-direction: row;
    }
    
    .md\:mb-0 {
      margin-bottom: 0;
    }
    
    .md\:text-4xl {
      font-size: 2.25rem;
      line-height: 2.5rem;
    }
    
    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  
  /* Custom components */
  .prose {
    max-width: 65ch;
    color: var(--gray-700);
  }
  
  .prose-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  
  .prose-lg p {
    margin-top: 1.3333em;
    margin-bottom: 1.3333em;
  }
  
  .max-w-none {
    max-width: none;
  }
  
  /* WordPress specific styles */
  .wp-block-image img {
    max-width: 100%;
    height: auto;
  }
  
  .wp-block-quote {
    border-left: 4px solid var(--blue-500);
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
  }
  
  .wp-block-button__link {
    background-color: var(--blue-600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
  }
  
  .wp-block-button__link:hover {
    background-color: var(--blue-700);
  }
  
  .comment-list {
    list-style: none;
    padding: 0;
  }
  
  .comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--gray-50);
    border-radius: 0.5rem;
  }
  
  .comment-author {
    font-weight: 600;
  }
  
  .comment-metadata {
    font-size: 0.875rem;
    color: var(--gray-500);
  }
  
  .comment-content {
    margin-top: 0.5rem;
  }
  
  .comment-respond {
    margin-top: 2rem;
  }
  
  .comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form input[type="url"],
  .comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
  }
  
  .comment-form input[type="submit"] {
    background-color: var(--blue-600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
  }
  
  .comment-form input[type="submit"]:hover {
    background-color: var(--blue-700);
  }
  
  /* Navigation menu */
  .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .menu-item {
    font-weight: 500;
  }
  
  .menu-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
  }
  
  .menu-item a:hover {
    color: var(--blue-200);
    border-bottom-color: var(--blue-200);
  }
  
  .current-menu-item a {
    border-bottom-color: var(--blue-200);
  } 