/* ==========================================================================
   Devon Rex Adoption — Single kitten template container reset

   Astra lays `.ast-container` out as a CSS grid on single posts so content
   and sidebar can sit side by side. The kitten template emits full-bleed
   <section> elements at the top level, so every section was being treated as
   a grid COLUMN: four narrow columns all starting at the same y, with text
   wrapping one word per line.

   Reset the container to a plain block and let the sections span the
   viewport. Each section already caps its own content with `.dr-wrap`, which
   is what keeps this consistent with the Elementor-built pages.
   ========================================================================== */

.single-kitten .site-content > .ast-container,
.single-kitten .ast-container {
  display: block;
  grid-template-columns: none;
  max-width: 100%;
  width: 100%;
  padding-inline: 0;
}

.single-kitten #primary,
.single-kitten .site-main,
.single-kitten .content-area {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}

/* Astra's article wrapper adds its own card chrome on singles */
.single-kitten .ast-article-single,
.single-kitten .entry-content {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  max-width: 100%;
}

.single-kitten .entry-header,
.single-kitten .ast-single-post-order,
.single-kitten .post-navigation,
.single-kitten .ast-author-meta,
.single-kitten #comments,
.single-kitten .comments-area {
  display: none;
}

/* No sidebar on a kitten page, whatever the global setting says */
.single-kitten #secondary { display: none; }

/* --------------------------------------------------------------- Gallery */

/* Keyboard access for the thumbnail switcher */
.dr-k__thumb:focus-visible {
  outline: 2px solid var(--dr-copper);
  outline-offset: 2px;
  border-color: var(--dr-copper);
}

/* With 5+ photos the thumb strip should stay a comfortable size */
@media (max-width: 480px) {
  .dr-k__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}

/* ------------------------------------------------------------ Breadcrumb */

.single-kitten .dr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

/* ------------------------------------------------------- Action buttons */

@media (max-width: 480px) {
  .dr-k__actions { display: grid; grid-template-columns: 1fr; gap: .6rem; }
  .dr-k__actions .dr-btn { width: 100%; }
}
