/* ========== ParcelPuffin Blog Custom Styles ========== */
/* Matches parcelpuffin.com marketing site design system */

/* ========== Global ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #252525;
  background-color: #f3f2f1;
  line-height: 1.7;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  color: #111827;
}

/* ========== Custom Header ========== */
.pp-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.pp-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pp-header-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.pp-header-logo img {
  border-radius: 6px;
}

.pp-header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pp-brand-name {
  color: #f97316;
  font-weight: 700;
}

.pp-tagline {
  font-size: 0.6875rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pp-header-nav {
  display: none;
}

@media (min-width: 768px) {
  .pp-header-nav {
    display: block;
  }
}

.pp-nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-nav-list a {
  color: #252525;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.pp-nav-list a:hover {
  color: #f97316;
}

.pp-nav-list a.pp-nav-active {
  color: #f97316;
  background-color: #fff7ed;
}

.pp-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pp-login-link {
  color: #252525;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.pp-login-link:hover {
  color: #f97316;
}

.pp-cta-btn {
  display: none;
  background: #f97316;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: background 0.15s;
}

.pp-cta-btn:hover {
  background: #ea580c;
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .pp-cta-btn {
    display: inline-flex;
  }
}

/* ========== Content Area ========== */
.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.inside-article {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.entry-title {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.entry-title a {
  color: #111827;
  text-decoration: none;
}

.entry-title a:hover {
  color: #f97316;
}

.entry-meta {
  color: #666666;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.entry-meta a {
  color: #666666;
  text-decoration: none;
}

.entry-meta a:hover {
  color: #f97316;
}

.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.entry-content a {
  color: #f97316;
  text-decoration: underline;
  text-decoration-color: #fdba74;
  text-underline-offset: 2px;
}

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

.entry-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f97316;
}

.entry-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.entry-content blockquote {
  border-left: 4px solid #f97316;
  background: #fff7ed;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

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

.entry-content li { margin-bottom: 0.5rem; }
.entry-content strong { color: #111827; }

/* Featured Image */
.post-image, .featured-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.post-image img, .featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sidebar */
.widget {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f97316;
}

/* Categories & Tags */
.cat-links a, .tags-links a {
  background: #fff7ed;
  color: #f97316;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8125rem;
  display: inline-block;
  margin: 0.125rem;
}

.cat-links a:hover, .tags-links a:hover {
  background: #f97316;
  color: #ffffff;
}

/* Buttons */
button, input[type="submit"] {
  background: #f97316;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.625rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

button:hover, input[type="submit"]:hover {
  background: #ea580c;
}

.search-form .search-field {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-family: 'Inter', sans-serif;
}

/* ========== Custom Footer ========== */
.pp-footer {
  background: #111827;
  color: #ffffff;
  padding: 3rem 0 1.5rem;
}

.pp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pp-footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .pp-footer-main {
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
  }
}

.pp-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pp-footer-logo img { border-radius: 4px; }

.pp-footer-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pp-social-links {
  display: flex;
  gap: 1rem;
}

.pp-social-links a {
  color: #9ca3af;
  transition: color 0.15s;
}

.pp-social-links a:hover {
  color: #fb923c;
}

.pp-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pp-footer-col h3 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pp-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-footer-col li {
  margin-bottom: 0.5rem;
}

.pp-footer-col a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.pp-footer-col a:hover {
  color: #fb923c;
}

.pp-footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.pp-footer-bottom p {
  margin: 0.25rem 0;
}

.pp-legal-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.pp-legal-links a {
  color: #9ca3af;
  text-decoration: none;
}

.pp-legal-links a:hover {
  color: #fb923c;
}

.pp-legal-links span {
  color: #4b5563;
}

.pp-footer-note {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.5rem !important;
}

/* ========== Hide default GP header/footer ========== */
.site-header .inside-header,
.site-footer .inside-site-info {
  display: none;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .inside-article { padding: 1.5rem; }
  .entry-title { font-size: 1.375rem; }
  .entry-content h2 { font-size: 1.25rem; }
  .pp-footer-links { grid-template-columns: 1fr; }
}
