/*
Theme Name: Enter and Post LLC
Theme URI: https://enterandpost.com
Author: Enter and Post LLC
Author URI: https://enterandpost.com
Description: Precision in the Pacific Northwest. Official WordPress theme for Enter and Post LLC - accounting, bookkeeping, staffing, and modern digital technology.
Version: 1.0.3
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: enterandpost
*/

:root {
  --brand-primary: #0F387A;
  --brand-dark: #09234D;
  --brand-accent: #1D4ED8;
  --font-plus-jakarta: 'Plus Jakarta Sans', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FAFCFF;
  color: #0f172a;
  font-family: var(--font-plus-jakarta), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: #0F387A;
  color: #ffffff;
}

/* Custom Utilities */
.text-balance {
  text-wrap: balance;
}

/* Glassmorphism Classes */
.glass-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Gradient Backgrounds */
.bg-gradient-brand {
  background: linear-gradient(135deg, #0F387A 0%, #09234D 100%);
}

.bg-gradient-subtle {
  background: linear-gradient(180deg, #FAFCFF 0%, #F0F6FF 100%);
}

.bg-gradient-hero {
  background: linear-gradient(135deg, #071A3A 0%, #0F387A 50%, #0B3D2E 100%);
}

/* Custom Scrollbar for Marquee and Horizontal Lists */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Form Styles */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0F387A;
  box-shadow: 0 0 0 3px rgba(15, 56, 122, 0.15);
}

/* Modal animation */
.modal-backdrop {
  transition: opacity 0.3s ease;
}

.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Marquee continuous scroll */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

/* Fade in animation */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* PayPal Button Overrides */
[id^=paypal-container-],
[id^=paypal-container-] * {
  color: #0f172a !important;
}
[id^=paypal-container-] label {
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
  display: block !important;
}
[id^=paypal-container-] select {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  width: 100% !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
[id^=paypal-container-] select:focus {
  border-color: #0F387A !important;
  outline: none !important;
}

/* ==========================================================================
   Blog Post Typography (.entry-content)
   ========================================================================== */
.entry-content {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.entry-content h1 { font-size: 2.25rem; }
.entry-content h2 { font-size: 1.75rem; border-bottom: 2px solid #f1f5f9; padding-bottom: 0.5rem; }
.entry-content h3 { font-size: 1.375rem; color: #0F387A; }
.entry-content h4 { font-size: 1.15rem; }

.entry-content p {
  margin-top: 0;
  margin-bottom: 1.35rem;
  color: #334155;
}

.entry-content ul,
.entry-content ol {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.entry-content ul {
  list-style-type: disc !important;
}

.entry-content ol {
  list-style-type: decimal !important;
}

.entry-content li {
  margin-bottom: 0.6rem;
  line-height: 1.75;
  color: #334155;
}

.entry-content li::marker {
  color: #0F387A;
  font-weight: bold;
}

.entry-content strong,
.entry-content b {
  color: #0f172a;
  font-weight: 700;
}

.entry-content a {
  color: #0F387A;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease-in-out;
}

.entry-content a:hover {
  color: #1D4ED8;
}

.entry-content blockquote {
  border-left: 4px solid #0F387A;
  background-color: #F8FAFC;
  padding: 1.25rem 1.5rem;
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
  color: #475569;
  margin: 1.75rem 0;
}

.entry-content img {
  border-radius: 1rem;
  margin: 2rem 0;
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.entry-content th,
.entry-content td {
  border: 1px solid #e2e8f0;
  padding: 0.875rem 1.25rem;
  text-align: left;
}

.entry-content th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
}

.entry-content pre,
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.entry-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 1.25rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.entry-content code:not(pre code) {
  background: #f1f5f9;
  color: #0F387A;
  padding: 0.2rem 0.4rem;
  border-radius: 0.375rem;
  font-size: 0.875em;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 2.5rem 0;
}
