/* ============================================================
   Documentation Page — IDSpeaker
   Editorial gallery. Accent red used deliberately.
   All rules scoped under .doc-page
   ============================================================ */

.doc-page {
  --red: #d51a24;
  --red-ink: #b0141b;
  --red-soft: #fbecec;
  --ink: #16181d;
  --ink-soft: #3a3e46;
  --muted: #6b7178;
  --faint: #9aa0a8;
  --line: #e7e8eb;
  --line-2: #dcdee2;
  --bg: #ffffff;
  --bg-soft: #f7f7f6;
  --radius: 14px;

  font-family: "Segoe UI", "Arial", "sans-serif";
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.doc-page h1,
.doc-page h2,
.doc-page h3,
.doc-page h4 {
  font-family: inherit;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.doc-page p {
  margin: 0;
}

.doc-page .doc-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.doc-page .doc-section {
  padding: 56px 0;
}

/* shared uppercase kicker — same metrics as certification.css .cert-label */
.doc-page .doc-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.doc-page .doc-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.doc-page .doc-hero,
.doc-page .doc-detail-hero {
  position: relative;
  /* pulls the hero up under the transparent floating header (same technique
     as .speakers-hero) — header height is 90px; inner padding-top below is
     bumped to compensate so title/crumbs still clear the nav */
  margin-top: -90px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0d0f13;
  overflow: hidden;
}
.doc-page .doc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 10, 13, 0.92) 0%,
      rgba(9, 10, 13, 0.78) 42%,
      rgba(9, 10, 13, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 10, 13, 0.35) 0%,
      rgba(9, 10, 13, 0.55) 100%
    );
}
.doc-page .doc-hero-inner {
  position: relative;
  z-index: 1;
  padding: 130px 28px 80px;
  max-width: 1180px;
}
.doc-page .doc-hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
/* same scale as .speakers-hero-title / .cert-hero .speakers-hero-title:
   clamp(2.25rem, 5vw, 4.5rem), weight 700, line-height 1.1 — kept identical
   across every page hero for consistency. */
.doc-page .doc-hero-title {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}
.doc-page .doc-hero-title .doc-dot {
  color: var(--red);
}
.doc-page .doc-hero-sub {
  margin-top: 20px;
  max-width: 540px;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.doc-page .doc-hero-rule {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 32px;
}

/* ============================================================
   INTRO
   ============================================================ */
.doc-page .doc-intro {
  padding-top: 64px;
  padding-bottom: 8px;
}
.doc-page .doc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
/* same scale as .cert-head h2 (clamp 26-38px, weight 700) */
.doc-page .doc-intro-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 16px;
}
.doc-page .doc-intro-right {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--line-2);
}
.doc-page .doc-intro-right p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
}

/* ============================================================
   SEARCH — full-width row above the category/sort toolbar
   ============================================================ */
.doc-page .doc-list-section {
  padding-top: 40px;
}
.doc-page .doc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.doc-page .doc-search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.doc-page .doc-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--faint);
  pointer-events: none;
}
/* custom-global.css forces `input:not([type='file']) { padding: 8px 15px !important }`
   site-wide, which collapses our left padding and lets the search icon overlap the
   typed text — !important here is the only way to reclaim room for the icon. */
.doc-page .doc-search-input {
  width: 100%;
  padding: 12px 32px 12px 36px !important;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  transition: border-color 0.16s ease;
}
.doc-page .doc-search-input::placeholder {
  color: var(--faint);
}
.doc-page .doc-search-input:focus,
.doc-page .doc-search-input:hover {
  border-color: var(--red);
  outline: none;
}
.doc-page .doc-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 12px;
  text-decoration: none;
}
.doc-page .doc-search-clear:hover {
  color: var(--red);
}

/* plain-text submit button (not icon-only) */
.doc-page .doc-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease;
}
.doc-page .doc-search-submit:hover {
  background: var(--red-ink);
}

/* ============================================================
   CATEGORY TABS (pill)
   ============================================================ */
.doc-page .doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.doc-page .doc-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}
.doc-page .doc-tab:hover {
  color: var(--red);
  border-color: var(--red);
}
.doc-page .doc-tab.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.doc-page .doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 28px;
}
.doc-page .doc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.doc-page .doc-card:hover {
  transform: translateY(-4px);
}
.doc-page .doc-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.doc-page .doc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.doc-page .doc-card:hover .doc-card-media img {
  transform: scale(1.05);
}
.doc-page .doc-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f7ecec 0%, #f3f4f5 100%);
  color: var(--red);
}
.doc-page .doc-card-placeholder i {
  font-size: 34px;
  opacity: 0.55;
}
.doc-page .doc-card-placeholder span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.55;
}
.doc-page .doc-card-body {
  padding: 16px 4px 4px;
}
.doc-page .doc-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
}
.doc-page .doc-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 14px;
}
.doc-page .doc-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.doc-page .doc-card-meta-item i {
  color: var(--faint);
  font-size: 14px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.doc-page .doc-empty {
  text-align: center;
  padding: 72px 24px;
  border: 1.5px dashed var(--line-2);
  border-radius: 18px;
  background: var(--bg-soft);
}
.doc-page .doc-empty-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 30px;
}
.doc-page .doc-empty-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.doc-page .doc-empty-desc {
  max-width: 440px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}
.doc-page .doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}
.doc-page .doc-btn-outline {
  margin-top: 22px;
  border: 1.5px solid var(--red);
  color: var(--red);
  background: #fff;
}
.doc-page .doc-btn-outline:hover {
  background: var(--red);
  color: #fff;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.doc-page .doc-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.doc-page .doc-pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.doc-page .doc-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.doc-page a.doc-page-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.doc-page .doc-page-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.doc-page .doc-page-btn.is-ellipsis {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
  color: var(--faint);
}
.doc-page .doc-page-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.doc-page .doc-cta-section {
  padding-top: 8px;
  padding-bottom: 72px;
}
.doc-page .doc-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 32px 40px;
  border-radius: 20px;
  background: var(--red);
}
.doc-page .doc-cta-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
}
.doc-page .doc-cta-body {
  flex: 1 1 auto;
  min-width: 0;
}
.doc-page .doc-cta-title {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.doc-page .doc-cta-desc {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
}
.doc-page .doc-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 10px;
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}
.doc-page .doc-cta-btn:hover {
  background: var(--bg-soft);
  color: var(--red-ink);
}

/* ============================================================
   DETAIL PAGE — hero, gallery, body + sidebar, related
   ============================================================ */
.doc-page .doc-detail-hero-inner {
  position: relative;
  z-index: 1;
  /* extra bottom padding is deliberate "void" — the gallery card below
     rises up into it via a negative margin, so the photo overlaps the hero.
     Top padding is bumped to clear the transparent floating header (90px). */
  padding: 120px 28px 130px;
  max-width: 1180px;
}
.doc-page .doc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}
.doc-page .doc-crumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.16s ease;
}
.doc-page .doc-crumbs a:hover {
  color: #fff;
}
.doc-page .doc-crumbs .sep {
  color: rgba(255, 255, 255, 0.35);
}
.doc-page .doc-crumbs .cur {
  color: #fff;
  font-weight: 600;
}

.doc-page .doc-detail-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.doc-page .doc-detail-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}
.doc-page .doc-detail-sub {
  margin-top: 14px;
  max-width: 640px;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}
.doc-page .doc-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}
.doc-page .doc-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.doc-page .doc-detail-meta-item i {
  color: rgba(255, 255, 255, 0.5);
}
.doc-page .doc-detail-meta-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ---- gallery: rises up over the hero's bottom "void" (see
   .doc-detail-hero-inner padding above) so the photo overlaps the dark hero ---- */
.doc-page .doc-gallery-section {
  position: relative;
  z-index: 2;
  margin-top: -96px;
  padding: 0 0 8px;
}
.doc-page .doc-gallery,
.doc-page .doc-gallery-single {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
/* fixed aspect-ratio (not max-height) so the crop shape is identical at
   every viewport width — a px max-height drifts to a different effective
   ratio as the container narrows, which made mobile crop differently than desktop */
.doc-page .doc-gallery-slide,
.doc-page .doc-gallery-single {
  aspect-ratio: 16 / 9;
}
.doc-page .doc-gallery-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.doc-page .doc-gallery-slide img,
.doc-page .doc-gallery-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doc-page .doc-gallery-zoom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 15, 19, 0.4);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.doc-page .doc-gallery-link:hover .doc-gallery-zoom {
  opacity: 1;
}
@media (max-width: 640px) {
  /* no hover on touch — keep the affordance faintly visible instead of hidden */
  .doc-page .doc-gallery-zoom {
    opacity: 1;
    background: transparent;
    top: auto;
    left: auto;
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(13, 15, 19, 0.55);
    font-size: 14px;
  }
}
.doc-page .doc-gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7ecec 0%, #f3f4f5 100%);
  color: var(--red);
}
.doc-page .doc-gallery-placeholder i {
  font-size: 44px;
  opacity: 0.55;
}
.doc-page .doc-gallery-placeholder span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.55;
}
/* Owl Carousel nav/dots — circular buttons + red active dot, matching the
   rest of the page's flat, non-glow control language. */
.doc-page .doc-gallery .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 16px;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.4);
}
.doc-page .doc-gallery .owl-nav .owl-prev {
  left: 16px;
}
.doc-page .doc-gallery .owl-nav .owl-next {
  right: 16px;
}
.doc-page .doc-gallery .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.doc-page .doc-gallery .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition:
    background 0.16s ease,
    transform 0.16s ease;
}
.doc-page .doc-gallery .owl-dot.active span {
  background: var(--red);
  transform: scale(1.2);
}
.doc-page .doc-gallery.owl-carousel {
  position: relative;
}

/* ---- body + sidebar ---- */
.doc-page .doc-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}
.doc-page .doc-detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.doc-page .doc-detail-body p {
  margin: 0 0 18px;
}
.doc-page .doc-detail-body p:last-child {
  margin-bottom: 0;
}
.doc-page .doc-detail-body h2,
.doc-page .doc-detail-body h3,
.doc-page .doc-detail-body h4 {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 32px 0 14px;
}
.doc-page .doc-detail-body h2:first-child,
.doc-page .doc-detail-body h3:first-child,
.doc-page .doc-detail-body h4:first-child {
  margin-top: 0;
}
.doc-page .doc-detail-body h2 {
  font-size: 22px;
}
.doc-page .doc-detail-body h3 {
  font-size: 19px;
}
.doc-page .doc-detail-body h4 {
  font-size: 17px;
}
.doc-page .doc-detail-body ul,
.doc-page .doc-detail-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.doc-page .doc-detail-body li {
  margin-bottom: 8px;
}
.doc-page .doc-detail-body li:last-child {
  margin-bottom: 0;
}
.doc-page .doc-detail-body strong {
  color: var(--ink);
  font-weight: 700;
}
.doc-page .doc-detail-body a {
  color: var(--red);
}
.doc-page .doc-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 8px 0 18px;
}

.doc-page .doc-detail-side {
  position: sticky;
  top: 100px;
}
.doc-page .doc-info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
}
.doc-page .doc-info-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
}
.doc-page .doc-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.doc-page .doc-info-row:first-of-type {
  border-top: none;
  padding-top: 0;
}
.doc-page .doc-info-label {
  color: var(--muted);
}
.doc-page .doc-info-value {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

/* ---- related ---- */
.doc-page .doc-related-head {
  max-width: 640px;
  margin-bottom: 32px;
}
.doc-page .doc-related-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .doc-page .doc-hero-inner {
    padding: 120px 28px 72px;
  }
  .doc-page .doc-detail-hero-inner {
    padding: 110px 28px 100px;
  }
  .doc-page .doc-gallery-section {
    margin-top: -70px;
  }
  .doc-page .doc-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .doc-page .doc-intro-right {
    padding-left: 20px;
    border-left-width: 3px;
  }
  .doc-page .doc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 22px;
  }
  .doc-page .doc-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .doc-page .doc-detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .doc-page .doc-section {
    padding: 44px 0;
  }
  .doc-page .doc-container {
    padding: 0 20px;
  }
  .doc-page .doc-hero-inner {
    padding: 110px 20px 60px;
  }
  .doc-page .doc-hero-sub {
    font-size: 15.5px;
  }
  .doc-page .doc-detail-hero-inner {
    padding: 100px 20px 80px;
  }
  .doc-page .doc-gallery-section {
    margin-top: -54px;
  }
  .doc-page .doc-gallery .owl-nav button {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  /* redundant on mobile — date/location/photo count already show in the hero
     meta row and category is already the hero badge */
  .doc-page .doc-detail-side {
    display: none;
  }
  .doc-page .doc-intro {
    display: none;
  }
  /* let the tabs scroll horizontally instead of stacking into a tall block */
  .doc-page .doc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .doc-page .doc-tabs::-webkit-scrollbar {
    display: none;
  }
  .doc-page .doc-grid {
    grid-template-columns: 1fr;
  }
  .doc-page .doc-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 28px 24px;
    gap: 20px;
  }
  .doc-page .doc-cta-btn {
    align-self: stretch;
    justify-content: center;
  }
}
