/* ======================================================= */
/*  SINGLE CONTENT WIDGET STYLES                           */
/*  Widget: 12D – Single Content                           */
/*  File: single-content.css                               */
/*  Scope: .d12-single                                     */
/* ======================================================= */

/*
 * LAYOUT OWNERSHIP RULE FOR THIS FILE
 *
 * Elementor is in charge of:
 * - horizontal spacing (left / right padding, margins, widths)
 * - responsive layout tuning across all 7 breakpoints
 * - typography, colors, shadows, and other design choices
 *
 * This CSS file is in charge of:
 * - safe structural defaults
 * - vertical fallback spacing only (top / bottom)
 * - internal layout behavior that should exist even before Elementor styling
 */

.elementor-widget-d12_single_content,
.elementor-widget-d12_single_content .elementor-widget-container {
  /* CRITICAL:
     prevent Elementor flex/container shrink-wrapping from collapsing the widget */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
}

.d12-single {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
}

/* ===================== */
/* HERO BAND & OVERLAY   */
/* ===================== */

.d12-single__hero {
  background-color: var(--bering-accent, #91b6c7);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ===================== */
/* SHARED BELOW-HERO ZONE */
/* ===================== */

.d12-single__content {
  padding-top: 2.5rem;
  padding-right: 0;
  padding-bottom: 3rem;
  padding-left: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.d12-single__content-inner {
  /*
   * CRITICAL STRUCTURAL DEFAULTS
   *
   * Elementor may override width / max-width / padding,
   * but this element must always behave as a full-width block first.
   */
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ===================== */
/* BREADCRUMBS / PRE-CONTENT */
/* ===================== */

.d12-single__pre-content {
  padding-top: 1rem;
  padding-bottom: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.d12-single__pre-content > *:last-child {
  margin-bottom: 0;
}

.d12-single__breadcrumbs {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  box-sizing: border-box;
}

.d12-single__breadcrumbs a,
.d12-single__breadcrumbs span {
  word-break: break-word;
}

@media (max-width: 880px) {
  .d12-single__pre-content {
    padding-top: 0.85rem;
  }
}

@media (max-width: 767px) {
  .d12-single__pre-content {
    padding-top: 0.7rem;
  }
}

/* ===================== */
/* ARTICLE BODY          */
/* ===================== */

.d12-single__article,
.d12-single__body {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ===================== */
/* FOOTER META           */
/* ===================== */

.d12-single__footer {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.d12-single__footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  min-width: 0;
}

/* ===================== */
/* POST NAVIGATION       */
/* ===================== */

.d12-single__nav {
  margin-top: 2rem;
  border-top: none;
  padding-top: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.d12-single__nav .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.d12-single__nav .nav-previous,
.d12-single__nav .nav-next {
  max-width: 48%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .d12-single__nav .nav-previous,
  .d12-single__nav .nav-next {
    max-width: 100%;
  }
}

/* ===================== */
/* NAV ICONS             */
/* ===================== */

.d12-single__nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.d12-single__nav-arrow svg {
  display: block;
}

/* End of file: single-content.css */