/**
 * Handova Pattern & Single Post Stylesheet
 * Custom styles for craft & crochet patterns, stitch glossaries, spec cards, and sidebar
 */

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.cq-breadcrumbs {
  font-size: 13px;
  color: var(--cq-text-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cq-breadcrumbs a {
  color: var(--cq-text-muted);
  text-decoration: none;
  font-weight: 600;
}

.cq-breadcrumbs a:hover {
  color: var(--cq-coral);
}

.cq-bc-sep {
  color: var(--cq-border-subtle);
}

.cq-bc-current {
  color: var(--cq-dark);
  font-weight: 600;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   2-COLUMN SINGLE LAYOUT (MAIN ARTICLE + SIDEBAR)
   ========================================================================== */
.cq-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.cq-primary-content {
  min-width: 0; /* Prevents overflow inside CSS grid */
}

.cq-secondary-content {
  width: 330px;
  max-width: 100%;
}

/* ==========================================================================
   SINGLE ARTICLE HEADER & META
   ========================================================================== */
.cq-single-article {
  padding-bottom: 40px;
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.cq-article-header {
  text-align: center;
  margin-bottom: 24px;
}

#dpsp-content-top,
.cq-article-header .dpsp-content-wrapper {
  justify-content: center;
}

.cq-article-category {
  display: none; /* No category pill badge on single post */
}

/* Single Post Title - Signature Caveat Cursive */
.single h1.entry-title,
.cq-article-title {
  font-family: 'Caveat', handwriting, cursive !important;
  font-weight: 700 !important;
  text-transform: capitalize !important;
  color: var(--cq-coral, #ff3a1c) !important;
  text-align: center !important;
  line-height: 1.25 !important;
  margin: 15px auto 14px !important;
  max-width: 850px;
  letter-spacing: normal;
}

@media screen and (min-width: 769px) {
  .single h1.entry-title,
  .cq-article-title {
    font-size: 44px !important;
  }
}

@media screen and (max-width: 768px) {
  .single h1.entry-title,
  .cq-article-title {
    font-size: 34px !important;
  }
}

@media screen and (max-width: 480px) {
  .single h1.entry-title,
  .cq-article-title {
    font-size: 28px !important;
  }
}

/* Single Post Meta Line - Clean Centered */
.cq-article-meta,
.single .entry-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #333333;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  margin: 0 auto 24px;
  text-align: center;
  flex-wrap: wrap;
}

.cq-article-meta a,
.single .entry-meta a {
  color: #110000;
  font-weight: 700;
  text-decoration: none;
}

.cq-article-meta a:hover,
.single .entry-meta a:hover {
  color: var(--cq-coral, #ff3a1c);
}

.cq-article-meta-sep {
  color: #bbb;
  font-size: 10px;
}

/* ==========================================================================
   SOCIAL SHARE BAR
   ========================================================================== */
.dpsp-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 22px 0 28px;
  min-height: 40px;
  position: relative;
  width: 100%;
}

.dpsp-total-share-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dpsp-icon-total-share svg {
  width: 20px;
  height: 20px;
  fill: #555;
  display: block;
}

.dpsp-total-share-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.dpsp-total-share-count {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.2px;
}

.dpsp-total-share-label {
  font-size: 9px;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.dpsp-networks-btns-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.dpsp-network-list-item {
  flex: 1;
  max-width: 240px;
}

.dpsp-network-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  width: 100%;
  border-radius: 4px;
  color: #fff !important;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  box-sizing: border-box;
  padding: 0 16px;
}

.dpsp-facebook {
  background-color: #3b5998;
}
.dpsp-facebook:hover {
  background-color: #2d4373;
}

.dpsp-pinterest {
  background-color: #cb2027;
}
.dpsp-pinterest:hover {
  background-color: #a8161c;
}

.dpsp-network-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}

/* Mobile Share Bar Rule */
@media screen and (max-width: 720px) {
  .dpsp-content-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 22px;
  }

  .dpsp-networks-btns-wrapper {
    display: flex;
    flex: 1;
    gap: 8px;
  }

  .dpsp-network-list-item {
    flex: 1 1 50%;
    max-width: none;
  }

  .dpsp-network-btn {
    height: 40px;
    max-height: 40px;
    padding: 0;
    justify-content: center;
  }

  .dpsp-network-label {
    display: none !important; /* Hides "Facebook" & "Pinterest" text labels on mobile */
  }

  .dpsp-network-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Featured Media & Pinterest Pin Overlay */
.cq-article-featured {
  margin: 20px 0 32px;
  border-radius: 8px;
  overflow: hidden;
}

.cq-pin-overlay-wrap,
.cq-pin-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}

.cq-pin-overlay-wrap img,
.cq-pin-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.cq-pin-floating-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #c92228;
  color: #fff !important;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 10;
  opacity: 0.95;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cq-pin-floating-btn svg {
  width: 13px;
  height: 13px;
  fill: #fff;
  display: block;
}

.cq-pin-floating-btn:hover {
  background: #a8161c;
  transform: scale(1.03);
}

@media screen and (max-width: 768px) {
  .cq-pin-floating-btn {
    display: inline-flex !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   CROCHET PATTERN SPECIFICATION CARD
   ========================================================================== */
.cq-pattern-card {
  background: var(--cq-bg-white);
  border: 2px solid var(--cq-peach-border);
  border-radius: var(--cq-radius-xl);
  padding: 28px;
  margin: 30px 0 40px;
  box-shadow: var(--cq-shadow-card);
  position: relative;
}

.cq-pattern-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--cq-border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.cq-pattern-card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--cq-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cq-pattern-card-title svg {
  width: 20px;
  height: 20px;
  fill: var(--cq-coral);
}

.cq-badge-difficulty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--cq-radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cq-badge-difficulty.easy,
.cq-badge-difficulty.beginner {
  background-color: var(--cq-sage);
  color: #2b5624;
}

.cq-badge-difficulty.intermediate {
  background-color: #fff3cd;
  color: #856404;
}

.cq-badge-difficulty.advanced {
  background-color: #f8d7da;
  color: #721c24;
}

.cq-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.cq-spec-item {
  background: var(--cq-coral-soft);
  padding: 14px;
  border-radius: var(--cq-radius-md);
  border: 1px solid var(--cq-peach-border);
}

.cq-spec-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cq-coral);
  margin-bottom: 3px;
}

.cq-spec-val {
  font-family: var(--cq-font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--cq-dark);
}

.cq-designer-notice {
  background: var(--cq-bg-cream);
  border-radius: var(--cq-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--cq-text-muted);
  border: 1px dashed var(--cq-peach-border);
}

.cq-designer-notice a {
  color: var(--cq-coral);
  font-weight: 700;
  text-decoration: underline;
}

/* Interactive Materials Checklist */
.cq-materials-box {
  background: #fbfbf9;
  border-radius: var(--cq-radius-lg);
  padding: 24px;
  margin: 24px 0;
  border: 1px solid var(--cq-border-light);
}

.cq-materials-box h3 {
  margin-top: 0;
  font-size: 18px;
  color: var(--cq-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cq-materials-hint {
  font-size: 11px;
  color: var(--cq-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cq-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.cq-checklist li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 15.5px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.cq-checklist li:last-child {
  border-bottom: none;
}

.cq-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 2px solid var(--cq-coral);
  background: #fff;
  transition: all 0.2s ease;
}

.cq-checklist li.checked {
  color: var(--cq-text-light);
  text-decoration: line-through;
}

.cq-checklist li.checked::before {
  background: var(--cq-coral);
  border-color: var(--cq-coral);
}

.cq-checklist li.checked::after {
  content: "✓";
  position: absolute;
  left: 3.5px;
  top: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

/* ==========================================================================
   ENTRY CONTENT TYPOGRAPHY
   ========================================================================== */
.entry-content,
.cq-entry-content {
  font-family: 'Quicksand', sans-serif !important;
  color: #0f0f0f !important;
  line-height: 1.75 !important;
}

@media screen and (min-width: 769px) {
  .entry-content,
  .cq-entry-content {
    font-size: 20px !important;
  }
}

@media screen and (max-width: 768px) {
  .entry-content,
  .cq-entry-content {
    font-size: 16px !important;
  }
}

.entry-content p,
.cq-entry-content p {
  margin-bottom: 22px;
  line-height: 1.75;
}

.entry-content h2,
.cq-entry-content h2 {
  font-family: 'Nunito', sans-serif;
  color: #0c0c0c;
  font-weight: 700;
  margin: 38px 0 16px;
  line-height: 1.3;
}

@media screen and (min-width: 769px) {
  .entry-content h2,
  .cq-entry-content h2 {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .entry-content h2,
  .cq-entry-content h2 {
    font-size: 20px;
  }
}

.entry-content h3,
.cq-entry-content h3 {
  font-family: 'Nunito', sans-serif;
  color: #0c0c0c;
  font-weight: 700;
  margin: 28px 0 12px;
  line-height: 1.35;
}

@media screen and (min-width: 769px) {
  .entry-content h3,
  .cq-entry-content h3 {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .entry-content h3,
  .cq-entry-content h3 {
    font-size: 18px;
  }
}

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

.entry-content a,
.cq-entry-content a {
  color: var(--cq-coral, #ff3a1c);
  text-decoration: none;
}

.entry-content a:hover,
.cq-entry-content a:hover {
  text-decoration: underline;
}

.entry-content ul,
.entry-content ol,
.cq-entry-content ul,
.cq-entry-content ol {
  margin: 16px 0 24px 24px;
  line-height: 1.75;
}

.entry-content li,
.cq-entry-content li {
  margin-bottom: 8px;
}

.entry-content figure,
.cq-entry-content figure {
  margin: 28px auto;
  max-width: 100%;
}

.entry-content figure img,
.cq-entry-content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ALL images inside article content */
.entry-content img,
.cq-entry-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 6px;
}

/* ==========================================================================
   POST NAVIGATION WITH THUMBNAILS (FOODICA STYLE)
   ========================================================================== */
.prevnext {
  border-top: 2px solid #eeeeee;
  border-bottom: 2px solid #eeeeee;
  padding: 24px 0;
  margin: 35px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
}

.prevnext .previous_post_pag,
.prevnext .next_post_pag {
  width: 48%;
}

.prevnext .next_post_pag {
  text-align: right;
}

.prevnext_container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.next_post_pag .prevnext_container {
  justify-content: flex-end;
}

.attachment-prevnext-small {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
  background: #f7d9d4;
}

.prevnext-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.prevnext_text_wrap {
  display: flex;
  flex-direction: column;
}

.prevnext_label {
  font-family: var(--cq-font-sans, sans-serif);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cq-coral, #f27e73);
  margin-bottom: 3px;
  display: block;
}

.prevnext_title {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #110000;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.prevnext_title:hover {
  color: var(--cq-coral, #ff3a1c);
  text-decoration: none !important;
}

@media (max-width: 600px) {
  .prevnext {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 0;
  }
  .prevnext .previous_post_pag,
  .prevnext .next_post_pag {
    width: 100%;
    text-align: left;
  }
  .next_post_pag .prevnext_container {
    justify-content: flex-start;
    flex-direction: row-reverse;
  }
  .attachment-prevnext-small {
    width: 65px;
    height: 65px;
  }
  .prevnext_title {
    font-size: 14px;
}

/* ==========================================================================
   SIDEBAR & WIDGET STYLES
   ========================================================================== */
.bp-sidebar {
  --bp-coral:      #ee7c7c;
  --bp-coral-dark: #e26565;
  --bp-blush:      #fdf0ee;
  --bp-blush-deep: #fbe4e2;
  --bp-ink:        #2f2f3a;
  --bp-ink-soft:   #6b6b78;
  --bp-white:      #ffffff;
  --bp-radius:     22px;

  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.bp-sidebar svg {
  max-width: 100%;
}

.bp-sidebar .cq-pin-icon-wrap svg,
.bp-sidebar svg:not([width]) {
  max-width: 32px;
  max-height: 32px;
}

/* Sidebar Cards */
.bp-card {
  background: var(--bp-white, #ffffff) !important;
  border: 1px solid var(--bp-blush-deep, #fbe4e2) !important;
  border-radius: var(--bp-radius, 22px) !important;
  padding: 24px 22px !important;
  box-shadow: 0 10px 30px rgba(238, 124, 124, 0.08) !important;
}

/* Sidebar About Card */
.bp-card.bp-sidebar-about {
  background: #ffffff !important;
  border: 1px solid #fbe4e2 !important;
  border-radius: 22px !important;
  padding: 24px 22px !important;
  text-align: center !important;
  color: #2f2f3a !important;
  box-shadow: 0 10px 30px rgba(238, 124, 124, 0.08) !important;
  margin-top: 0 !important;
  position: relative !important;
}

.bp-card.bp-sidebar-about::before,
.bp-card.bp-sidebar-about::after {
  display: none !important;
}

.bp-about-photo {
  display: block;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bp-blush);
}

.bp-about-text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--bp-ink-soft, #6b6b78);
}

.bp-about-text strong {
  color: var(--bp-ink, #2f2f3a);
  font-weight: 700;
}

.bp-btn {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: 16px !important;
  padding: 13px 30px !important;
  border-radius: 999px !important;
  background: var(--bp-coral, #ee7c7c) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 8px 18px rgba(238, 124, 124, 0.35) !important;
  box-sizing: border-box !important;
}

.bp-btn:hover {
  background: var(--bp-coral-dark, #e26565) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 22px rgba(238, 124, 124, 0.45) !important;
  text-decoration: none !important;
}

/* Sidebar Widget Title */
.bp-widget-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--cq-dark, #2f2f3a) !important;
  text-align: center !important;
  margin: 0 0 18px !important;
  padding-bottom: 14px !important;
  position: relative !important;
}

.bp-widget-title::after {
  content: '' !important;
  display: block !important;
  width: 38px !important;
  height: 3px !important;
  background: var(--cq-coral, #ee7c7c) !important;
  border-radius: 99px !important;
  margin: 8px auto 0 !important;
}

/* Search Form Widget */
.bp-search-form {
  display: flex !important;
  background: var(--bp-blush, #fdf0ee) !important;
  border: 1px solid var(--bp-blush-deep, #fbe4e2) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  padding: 3px !important;
}

.bp-search-form input {
  flex: 1 !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 10px 16px !important;
  font-size: 13.5px !important;
  color: var(--bp-ink, #2f2f3a) !important;
  outline: none !important;
}

.bp-search-form input::placeholder {
  color: #b9a8a6;
}

.bp-search-form button {
  border: 0 !important;
  cursor: pointer !important;
  background: var(--bp-coral, #ee7c7c) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  transition: background 0.25s ease !important;
}

.bp-search-form button:hover {
  background: var(--bp-coral-dark, #e26565) !important;
}

/* Category List Widget */
.bp-cats {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bp-cats li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bp-cats li + li {
  border-top: 1px dashed var(--bp-blush-deep, #fbe4e2) !important;
}

.bp-cats a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 4px !important;
  text-decoration: none !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--bp-ink, #2f2f3a) !important;
  transition: color 0.2s ease, padding-left 0.2s ease !important;
}

.bp-cats a:hover {
  color: var(--bp-coral, #ee7c7c) !important;
  padding-left: 6px !important;
  text-decoration: none !important;
}

.bp-cats .bp-count {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--bp-coral, #ee7c7c) !important;
  background: var(--bp-blush-deep, #fbe4e2) !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.bp-cats a:hover .bp-count {
  background: var(--bp-coral, #ee7c7c) !important;
  color: #ffffff !important;
}

/* Newsletter Signup Widget */
.bpnl-card {
  background: linear-gradient(160deg, #fdf0ee 0%, #fbe4e2 100%) !important;
  border-radius: 24px !important;
  border: 1px solid #fbe4e2 !important;
  padding: 28px 22px !important;
  text-align: center !important;
  color: #2f2f3a !important;
  box-shadow: 0 8px 28px rgba(238,124,124,0.06) !important;
  margin-bottom: 0 !important;
}

.bpnl-emoji {
  font-size: 32px !important;
  display: block !important;
  margin: 0 auto 10px !important;
  text-align: center !important;
}

.bpnl-title {
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #2f2f3a !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  border: none !important;
  background: none !important;
  line-height: 1.3 !important;
}

.bpnl-title::after {
  display: none !important;
}

.bpnl-text {
  font-size: 13.5px !important;
  color: #6b6b78 !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
  text-align: center !important;
}

.bpnl-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bpnl-input {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #f2deda !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  height: 46px !important;
  font-size: 13.5px !important;
  background: #ffffff !important;
  color: #2f2f3a !important;
  outline: none !important;
  display: block !important;
  text-align: left !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
}

.bpnl-input::placeholder {
  color: #a89f9e !important;
}

.bpnl-btn {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: 0 !important;
  cursor: pointer !important;
  height: 46px !important;
  line-height: 46px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: #ee7c7c !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  box-shadow: 0 8px 18px rgba(238,124,124,0.35) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
  text-align: center !important;
}

.bpnl-btn:hover {
  background: #e26565 !important;
  transform: translateY(-1px) !important;
}

/* Popular Feed Widget */
.bp-recent-feed {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.bp-feed-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  color: #2f2f3a !important;
  border-bottom: 1px dashed #fbe4e2 !important;
  padding-bottom: 12px !important;
  box-shadow: none !important;
}

.bp-feed-item:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.bp-feed-thumb {
  width: 65px !important;
  height: 65px !important;
  min-width: 65px !important;
  max-width: 65px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #fdf0ee !important;
}

.bp-feed-thumb img {
  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  max-height: 65px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 12px !important;
}

.bp-feed-placeholder {
  width: 65px !important;
  height: 65px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  background: #fdf0ee !important;
  border-radius: 12px !important;
}

.bp-feed-info {
  flex: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.bp-feed-cat {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ee7c7c !important;
  margin-bottom: 4px !important;
  text-decoration: none !important;
  border: none !important;
}

.bp-feed-title {
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #2f2f3a !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  border: none !important;
  background: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.2s ease !important;
}

.bp-feed-title::after {
  display: none !important;
}

.bp-feed-item:hover .bp-feed-title {
  color: #ee7c7c !important;
  text-decoration: none !important;
}

/* ==========================================================================
   RELATED PATTERNS SHELF
   ========================================================================== */
.cq-related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--cq-peach-border);
}

/* ==========================================================================
   COMMENTS & MAKER NOTES SECTION
   ========================================================================== */
.cq-comments-area,
.comments-area {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--cq-peach-border);
}

.cq-comments-title {
  font-size: 24px;
  color: var(--cq-dark);
  font-weight: 800;
  margin-bottom: 24px;
}

.cq-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.cq-comment-list li.comment {
  background: #fbfbf9;
  border-radius: var(--cq-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--cq-border-light);
}

.cq-comment-respond-card,
.comment-respond,
#respond {
  background: #fff;
  border-radius: 12px;
  padding: 32px 0;
  margin-top: 30px;
  margin-bottom: 60px;
}

.cq-comment-reply-title,
.comment-reply-title,
#reply-title {
  font-family: "Roboto Condensed", "Nunito", sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0c0c0c;
  margin: 0 0 10px;
}

.cq-comment-notes,
.comment-notes {
  color: #666;
  font-size: 14px;
  margin-bottom: 22px;
  line-height: 1.5;
}

.cq-comment-form,
#commentform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cq-form-row,
.form_fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .cq-form-row,
  .form_fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.cq-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cq-form-label,
#commentform label {
  display: block;
  font-family: "Roboto Condensed", "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0c0c0c;
  margin-bottom: 6px;
}

.cq-form-label .required,
#commentform .required,
.required_lab {
  color: var(--cq-coral, #ff3a1c);
  font-weight: 800;
  margin-left: 2px;
}

.cq-form-input,
.cq-form-textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: 'Quicksand', sans-serif;
  color: #222;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.cq-form-input:focus,
.cq-form-textarea:focus,
#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus,
#commentform textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--cq-coral, #ff3a1c);
  box-shadow: 0 0 0 3px rgba(255, 58, 28, 0.15);
}

.cq-form-textarea,
#commentform textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.cq-form-group--cookies,
.comment-form-cookies-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
}

.cq-form-group--cookies input[type="checkbox"],
.comment-form-cookies-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--cq-coral, #ff3a1c);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.cq-form-group--cookies label,
.comment-form-cookies-consent label {
  font-family: 'Quicksand', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: #555 !important;
  cursor: pointer;
  margin: 0 !important;
  line-height: 1.4;
}

.form-submit {
  margin-top: 10px;
  margin-bottom: 0;
}

.cq-comment-submit-btn,
#commentform input[type="submit"],
#commentform button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cq-coral, #ff3a1c) !important;
  color: #fff !important;
  font-family: "Roboto Condensed", "Nunito", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 13px 34px !important;
  border-radius: 4px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
  box-shadow: 0 4px 14px rgba(255, 58, 28, 0.25) !important;
}

.cq-comment-submit-btn:hover,
#commentform input[type="submit"]:hover,
#commentform button[type="submit"]:hover {
  background-color: #bf0b0b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(255, 58, 28, 0.35) !important;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 980px) {
  .cq-single-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cq-secondary-content,
  #sidebar {
    position: static;
    max-width: 365px;
    margin: 40px auto 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .cq-single-article {
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .cq-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cq-pattern-card {
    padding: 20px;
  }
}

@media (max-width: 440px) {
  .cq-specs-grid {
    grid-template-columns: 1fr;
  }
}

