/* Coloring Pages Template Styles */
:root {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --background-light: #f9fafb;
  --background-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --transition: all 0.3s ease;
}

/* Main Layout */
.coloring-pages-template .single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  box-sizing: border-box;
  width: 100%;
}

.coloring-pages-template .single-main {
  background: var(--background-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 2.5rem;
}

/* Breadcrumbs */
.coloring-pages-template .breadcrumbs {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  padding: 0 0 0.5rem;
}

.coloring-pages-template .breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

.coloring-pages-template .breadcrumbs a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.coloring-pages-template .breadcrumbs .separator {
  margin: 0 0.5rem;
  color: var(--text-light);
}

/* Title */
.coloring-pages-template .single-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Social Share */
.coloring-pages-template .social-share-section {
  margin: 1.5rem 0 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.coloring-pages-template .social-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.coloring-pages-template .share-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-medium);
  margin-right: 0.5rem;
}

.coloring-pages-template .share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.coloring-pages-template .share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.coloring-pages-template .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.coloring-pages-template .share-btn.pinterest { background-color: #e60023; }
.coloring-pages-template .share-btn.facebook { background-color: #1877f2; }
.coloring-pages-template .share-btn.twitter { background-color: #1da1f2; }
.coloring-pages-template .share-btn.whatsapp { background-color: #25d366; }

/* Content */
.coloring-pages-template .entry-content {
  line-height: 1.7;
  color: var(--text-medium);
  font-size: 1.0625rem;
}

.coloring-pages-template .entry-content p {
  margin-bottom: 1.5rem;
}

.coloring-pages-template .entry-content h2,
.coloring-pages-template .entry-content h3,
.coloring-pages-template .entry-content h4 {
  color: var(--text-dark);
  margin: 2.5rem 0 1.25rem;
  line-height: 1.3;
}

.coloring-pages-template .entry-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.coloring-pages-template .entry-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.coloring-pages-template .entry-content ul,
.coloring-pages-template .entry-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.coloring-pages-template .entry-content li {
  margin-bottom: 0.5rem;
}

/* Images in Content */
.coloring-pages-template .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

/* Sidebar */
.coloring-pages-template .single-sidebar {
  position: sticky;
  top: 1.5rem;
  align-self: start;
}

/* Widgets */
.coloring-pages-template .widget {
  background: var(--background-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.coloring-pages-template .widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

/* Comments Section */
.coloring-pages-template .comments-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.comment-reply-title,
.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .coloring-pages-template .single-layout {
    gap: 1.5rem;
  }
  
  .coloring-pages-template .single-main {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .coloring-pages-template .single-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.25rem;
  }
  
  .coloring-pages-template .single-main {
    padding: 1.5rem;
  }
  
  .coloring-pages-template .single-title {
    font-size: 1.75rem;
  }
  
  .coloring-pages-template .social-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .coloring-pages-template .share-label {
    margin-bottom: 0.5rem;
  }
}

/* Print Styles */
@media print {
  .coloring-pages-template .social-share-section,
  .coloring-pages-template .single-sidebar,
  .coloring-pages-template .comments-section {
    display: none !important;
  }
  
  .coloring-pages-template .single-layout {
    display: block;
    padding: 0;
    max-width: 100%;
  }
  
  .coloring-pages-template .single-main {
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
  
  .coloring-pages-template .entry-content {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .coloring-pages-template .single-title {
    font-size: 18pt;
    margin-bottom: 1rem;
  }
  
  .coloring-pages-template .entry-content img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
  }
  
  @page {
    margin: 2cm;
  }
}
