/*
Theme Name: ChangeOrderPacket Theme
Theme URI: https://changeorderpacket.com
Author: ChangeOrderPacket
Description: Ultra-fast, high-conversion B2B theme for ChangeOrderPacket.com (Subcontractor Change Order Proposals, True Labor Burden & T&M Field Tickets).
Version: 1.0.0
Requires PHP: 8.2
*/

body.cop-site {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: #f1f5f9;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.cop-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

header.cop-header {
  background: #0f172a;
  color: #fff;
  border-bottom: 2px solid #d97706;
}
.cop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.cop-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.cop-brand-icon {
  width: 34px;
  height: 34px;
  background: #d97706;
  border: 1px solid #fbbf24;
  color: #0f172a;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 900;
}
.cop-brand span.tld { color: #fbbf24; font-weight: 700; }

.cop-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.cop-nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
}
.cop-nav-links a:hover { color: #fff; }
.cop-nav-links a.cop-sister-pill {
  color: #93c5fd;
  font-weight: 700;
}
.cop-nav-links a.cop-portal-pill {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: #fde68a;
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.cop-hero {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  border-bottom: 1px solid #cbd5e1;
  padding: 24px 0 18px;
}
.cop-hero-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.cop-h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0;
}
.cop-lead {
  color: #475569;
  font-size: 14.5px;
  margin: 6px 0 0;
  max-width: 820px;
  line-height: 1.5;
}
.cop-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 700;
  color: #78350f;
}
.cop-badge {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 5px 10px;
  border-radius: 6px;
}

main.cop-main {
  padding: 20px 0 56px;
}

.cop-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
@media (max-width: 900px) {
  .cop-hub-grid { grid-template-columns: 1fr; }
}
.cop-hub-box {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 20px;
}
.cop-hub-box h2 {
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
}
.cop-hub-box ul { list-style: none; padding: 0; margin: 0; }
.cop-hub-box li { margin-bottom: 7px; font-size: 13px; }
.cop-hub-box a { color: #b45309; text-decoration: none; font-weight: 700; }
.cop-hub-box a:hover { text-decoration: underline; }

footer.cop-footer {
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  padding: 28px 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
}

/* Blog Grid & Single Article */
.cop-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .cop-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cop-blog-grid { grid-template-columns: 1fr; } }

.cop-blog-card {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cop-blog-thumb {
  display: block;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.cop-blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cop-blog-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.cop-blog-cat {
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 10.5px;
}
.cop-blog-card-title { font-size: 17px; font-weight: 800; line-height: 1.35; margin: 8px 0; }
.cop-blog-card-title a { color: #0f172a; text-decoration: none; }
.cop-blog-card-title a:hover { color: #b45309; }
.cop-blog-excerpt { font-size: 13.5px; color: #475569; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.cop-blog-readmore { font-size: 13px; font-weight: 800; color: #b45309; text-decoration: none; }

.cop-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) { .cop-article-layout { grid-template-columns: 1fr; } }
.cop-article-content {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 28px 34px;
}
.cop-video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 22px;
  background: #020617;
}
.cop-video-embed-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.cop-article-infographic { margin: 0 0 24px; border-radius: 10px; overflow: hidden; border: 1px solid #cbd5e1; }
.cop-article-infographic img { width: 100%; height: auto; display: block; }
.cop-prose { font-size: 15.5px; line-height: 1.72; color: #1e293b; }
.cop-prose h2 { font-size: 21px; font-weight: 800; color: #0f172a; margin: 28px 0 12px; }
.cop-prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.cop-prose th { background: #0f172a; color: #fff; padding: 9px 10px; text-align: left; }
.cop-prose td { border: 1px solid #cbd5e1; padding: 8px 10px; }
.cop-callout { background: #fffbeb; border-left: 4px solid #d97706; padding: 14px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }
.cop-callout-warn { background: #fef2f2; border-left: 4px solid #dc2626; padding: 14px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }

.cop-article-bottom-cta {
  margin-top: 32px;
  background: #0f172a;
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cop-article-cta-btn {
  background: #f59e0b;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 8px;
}
.cop-sidebar-sticky { position: sticky; top: 24px; }
.cop-sidebar-card { background: #0f172a; color: #fff; border-radius: 10px; padding: 20px; margin-bottom: 18px; }
.cop-sidebar-btn {
  display: block;
  background: #f59e0b;
  color: #0f172a;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 14px;
  border-radius: 8px;
}
.cop-sidebar-links { background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 18px; }
.cop-sidebar-links h4 { margin: 0 0 10px; font-size: 14px; font-weight: 800; }
.cop-sidebar-links ul { list-style: none; padding: 0; margin: 0; }
.cop-sidebar-links li { margin-bottom: 8px; font-size: 13px; }
.cop-sidebar-links a { color: #b45309; text-decoration: none; font-weight: 700; }
