/* ============================================================
   Dorf-Pinnwand Theme – Main Stylesheet  v1.0.1
   Design: Warm rustic Swiss village aesthetic
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Colors */
  --dp-brown:          #8B5E3C;
  --dp-brown-dark:     #6B4428;
  --dp-brown-light:    #F2E8D9;
  --dp-ochre:          #C8861A;
  --dp-ochre-dark:     #A06A10;
  --dp-ochre-light:    #FDF3E0;
  --dp-green:          #6B8C5A;
  --dp-green-light:    #EBF2E6;
  --dp-cream:          #F5EFE0;
  --dp-cream-dark:     #EDE3CC;
  --dp-white:          #FFFDF7;
  --dp-border:         #E0D5C0;
  --dp-border-warm:    #D4C4A0;
  --dp-text:           #3D2B1A;
  --dp-text-body:      #5C4030;
  --dp-muted:          #8A7060;
  --dp-error:          #B5372A;
  --dp-success:        #4A7C59;

  /* Typography — system fonts only, no external requests */
  --dp-font-display:   'Georgia', 'Times New Roman', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --dp-font-body:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --dp-header-height:  72px;
  --dp-radius:         14px;
  --dp-radius-sm:      8px;
  --dp-radius-pill:    50px;

  /* Shadows */
  --dp-shadow-sm:      0 1px 4px rgba(139,94,60,.08), 0 2px 10px rgba(139,94,60,.06);
  --dp-shadow-md:      0 4px 20px rgba(139,94,60,.14), 0 2px 8px rgba(139,94,60,.08);
  --dp-shadow-lg:      0 8px 40px rgba(139,94,60,.18);

  /* Transitions */
  --dp-transition:     .2s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--dp-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dp-text-body);
  background-color: var(--dp-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dp-ochre); text-decoration: none; transition: color var(--dp-transition); }
a:hover { color: var(--dp-ochre-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dp-font-display);
  color: var(--dp-brown);
  line-height: 1.25;
  font-weight: 700;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; }

/* ── Page Wrapper ──────────────────────────────────────────── */
#dp-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#dp-content-area {
  flex: 1;
}

/* ── Container ─────────────────────────────────────────────── */
.dp-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dp-content-narrow {
  max-width: 820px;
  margin: 0 auto;
}

/* ── Buttons ───────────────────────────────────────────────── */
.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.4rem;
  border-radius: var(--dp-radius-pill);
  font-family: var(--dp-font-body);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--dp-transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .02em;
}
.dp-btn-primary {
  background: linear-gradient(135deg, var(--dp-ochre) 0%, var(--dp-ochre-dark) 100%);
  color: #fff;
  border-color: var(--dp-ochre-dark);
  box-shadow: 0 2px 8px rgba(200,134,26,.30);
}
.dp-btn-primary:hover {
  background: linear-gradient(135deg, #D99020, var(--dp-ochre));
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,134,26,.40);
  transform: translateY(-1px);
}
.dp-btn-outline {
  background: transparent;
  color: var(--dp-brown);
  border-color: var(--dp-border-warm);
}
.dp-btn-outline:hover {
  background: var(--dp-brown-light);
  border-color: var(--dp-brown);
  color: var(--dp-brown-dark);
}
.dp-btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.dp-btn-lg { padding: .8rem 2rem; font-size: 1rem; }

/* ── ═══════════════════════════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════════════════════════ */
#dp-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dp-white);
  border-bottom: 1px solid var(--dp-border);
  box-shadow: var(--dp-shadow-sm);
  height: var(--dp-header-height);
}

.dp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

/* Site Branding */
.dp-site-branding { flex-shrink: 0; }

.dp-site-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--dp-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dp-brown);
  text-decoration: none;
  letter-spacing: -.02em;
}
.dp-site-name:hover { color: var(--dp-ochre); }

.dp-logo-pin { font-size: 1.3rem; }

.custom-logo { height: 48px; width: auto; }

/* Primary Nav */
#dp-primary-nav { flex: 1; display: flex; justify-content: center; }

.dp-nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dp-nav-list li a {
  display: block;
  padding: .45rem .9rem;
  border-radius: var(--dp-radius-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--dp-text-body);
  text-decoration: none;
  transition: all var(--dp-transition);
}
.dp-nav-list li a:hover,
.dp-nav-list li.current-menu-item > a,
.dp-nav-list li.current_page_item > a {
  background: var(--dp-ochre-light);
  color: var(--dp-ochre-dark);
}

/* Header Actions */
.dp-header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

/* Mobile Toggle */
.dp-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.dp-mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--dp-brown);
  border-radius: 2px;
  transition: all .25s ease;
}

/* ── ═══════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════ */
#dp-main {
  width: 100%;
}

.dp-page-header {
  background: linear-gradient(135deg, var(--dp-brown-light) 0%, var(--dp-ochre-light) 100%);
  border-bottom: 1px solid var(--dp-border);
  padding: 2.5rem 0 2rem;
}
.dp-page-title {
  font-size: 2rem;
  color: var(--dp-brown-dark);
}

.dp-page-content {
  padding: 2.5rem 0 3rem;
}
.dp-page-content--fullwidth {
  padding: 0;
}

/* ── ═══════════════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════════════ */
#dp-site-footer {
  background: var(--dp-brown-dark);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}

/* Footer village illustration strip */
.dp-footer-illustration {
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, var(--dp-cream) 0%, var(--dp-brown-light) 40%, var(--dp-brown) 100%);
  position: relative;
}
.dp-footer-illustration::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: var(--dp-brown-dark);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.dp-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.dp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.dp-footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--dp-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}

.dp-footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}

.dp-footer-nav h4,
.dp-footer-widgets h4 {
  font-family: var(--dp-font-display);
  font-size: 1rem;
  color: var(--dp-ochre-light);
  margin-bottom: .75rem;
  font-weight: 600;
}

.dp-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dp-footer-nav-list li { margin-bottom: .4rem; }
.dp-footer-nav-list a {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  transition: color var(--dp-transition);
}
.dp-footer-nav-list a:hover { color: var(--dp-ochre-light); }

.dp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.dp-footer-bottom a { color: rgba(255,255,255,.65); }
.dp-footer-bottom a:hover { color: var(--dp-ochre-light); }

/* ── ═══════════════════════════════════════════════════════
   PLUGIN INTEGRATION — Full-width Pinnwand pages
   ═══════════════════════════════════════════════════════ */

/* Override plugin's max-width to use full theme width */
.dp-page-content--fullwidth .dp-pinnwand-wrap,
.dp-page-content--fullwidth .dp-registration-wrap,
.dp-page-content--fullwidth .dp-login-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* Registration / Login pages: center the card nicely */
.dp-page-content--fullwidth .dp-registration-wrap,
.dp-page-content--fullwidth .dp-login-wrap {
  background: var(--dp-cream);
  min-height: calc(100vh - var(--dp-header-height));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3rem;
}

/* ── ═══════════════════════════════════════════════════════
   CONTENT STYLES (for regular pages / posts)
   ═══════════════════════════════════════════════════════ */
.dp-content-narrow h1 { font-size: 2rem; margin-bottom: 1rem; }
.dp-content-narrow h2 { font-size: 1.6rem; margin: 2rem 0 .75rem; }
.dp-content-narrow h3 { font-size: 1.3rem; margin: 1.5rem 0 .5rem; }
.dp-content-narrow p  { color: var(--dp-text-body); }
.dp-content-narrow ul,
.dp-content-narrow ol { margin-bottom: 1rem; }
.dp-content-narrow li { margin-bottom: .35rem; }
.dp-content-narrow blockquote {
  border-left: 4px solid var(--dp-ochre);
  padding: .75rem 1.25rem;
  background: var(--dp-ochre-light);
  border-radius: 0 var(--dp-radius-sm) var(--dp-radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--dp-brown);
}
.dp-content-narrow a {
  color: var(--dp-ochre);
  text-decoration: underline;
}
.dp-content-narrow a:hover { color: var(--dp-ochre-dark); }

/* ── ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .dp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --dp-header-height: 64px; }

  /* Mobile nav */
  #dp-primary-nav {
    display: none;
    position: absolute;
    top: var(--dp-header-height);
    left: 0; right: 0;
    background: var(--dp-white);
    border-bottom: 1px solid var(--dp-border);
    box-shadow: var(--dp-shadow-md);
    padding: 1rem 1.5rem;
    z-index: 999;
  }
  #dp-primary-nav.dp-nav-open { display: block; }

  .dp-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
  }
  .dp-nav-list li { width: 100%; }
  .dp-nav-list li a { padding: .6rem .75rem; width: 100%; }

  .dp-mobile-toggle { display: flex; }

  /* Hide text buttons on mobile, keep icon */
  .dp-header-actions .dp-btn { display: none; }
  .dp-header-actions .dp-mobile-toggle { display: flex; }

  .dp-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .dp-footer-bottom { flex-direction: column; text-align: center; }

  .dp-page-content--fullwidth .dp-pinnwand-wrap {
    padding: 1rem .75rem 2rem;
  }
}

@media (max-width: 480px) {
  .dp-container { padding: 0 1rem; }
  .dp-page-header { padding: 1.5rem 0 1.25rem; }
  .dp-page-title { font-size: 1.5rem; }
}

/* ── ═══════════════════════════════════════════════════════
   ADMIN BAR OFFSET
   ═══════════════════════════════════════════════════════ */
.admin-bar #dp-site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #dp-site-header { top: 46px; }
}

/* ── ═══════════════════════════════════════════════════════
   WORDPRESS CORE OVERRIDES
   ═══════════════════════════════════════════════════════ */

/* Remove default body padding from WP */
body.admin-bar { padding-top: 0 !important; }

/* Alignment classes */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide  { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100%; max-width: none; }

/* Captions */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--dp-muted); text-align: center; margin-top: .35rem; }

/* Screen reader */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ============================================================
   Dorf-Pinnwand – Inserat Einzelansicht  v1.2.0
   Zweispaltiges Layout: Galerie links, Sidebar rechts
   ============================================================ */

/* ── Wrapper ───────────────────────────────────────────────── */
.dpi-wrap {
  background: var(--dp-cream);
  min-height: calc(100vh - var(--dp-header-height));
  padding-bottom: 4rem;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.dpi-breadcrumb {
  background: var(--dp-brown-light);
  border-bottom: 1px solid var(--dp-border);
  padding: .7rem 0;
}
.dpi-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dp-brown);
  text-decoration: none;
  padding: .3rem .6rem;
  border-radius: var(--dp-radius-sm);
  transition: all var(--dp-transition);
}
.dpi-back:hover {
  background: var(--dp-cream-dark);
  color: var(--dp-brown-dark);
}
.dpi-back svg { flex-shrink: 0; }

/* ── Two-column layout ─────────────────────────────────────── */
.dpi-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  padding: 2rem 1.5rem 0;
  align-items: start;
}

/* ── Shared card style ─────────────────────────────────────── */
.dpi-card {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  padding: 1.5rem;
  box-shadow: var(--dp-shadow-sm);
  margin-bottom: 1rem;
}

/* ── Gallery ───────────────────────────────────────────────── */
.dpi-gallery {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  overflow: hidden;
  box-shadow: var(--dp-shadow-sm);
  margin-bottom: 1.25rem;
}
.dpi-gallery-main {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  line-height: 0;
}
.dpi-gallery-main a {
  display: block;
  position: relative;
}
.dpi-img-main {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.dpi-gallery-main a:hover .dpi-img-main {
  transform: scale(1.02);
}
.dpi-img-count {
  position: absolute;
  bottom: .85rem;
  right: .85rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
/* Thumbnails strip */
.dpi-gallery-thumbs {
  display: flex;
  gap: .35rem;
  padding: .5rem;
  overflow-x: auto;
  background: var(--dp-brown-light);
  scrollbar-width: thin;
}
.dpi-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.dpi-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--dp-border-warm); border-radius: 2px; }
.dpi-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2.5px solid transparent;
  transition: border-color var(--dp-transition), opacity var(--dp-transition);
  opacity: .75;
}
.dpi-thumb:hover,
.dpi-thumb--active {
  border-color: var(--dp-ochre);
  opacity: 1;
}
.dpi-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Content box ───────────────────────────────────────────── */
.dpi-content-box {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--dp-shadow-sm);
}
.dpi-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dp-brown);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--dp-border);
}
.dpi-content-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--dp-text-body);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.dpi-sidebar {
  position: sticky;
  top: calc(var(--dp-header-height) + 1.5rem);
}

/* Badges */
.dpi-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}
.dpi-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 20px;
  letter-spacing: .02em;
}
.dpi-badge--kat {
  background: var(--dp-ochre-light);
  color: var(--dp-ochre-dark);
  border: 1px solid #E8C87A;
  text-transform: uppercase;
}
.dpi-badge--expiry {
  background: #EBF5EE;
  color: var(--dp-success);
  border: 1px solid #B0D9BC;
}
.dpi-badge--urgent {
  background: #FBEEED;
  color: var(--dp-error);
  border-color: #E8A09A;
  animation: dpi-pulse 1.5s ease-in-out infinite;
}
@keyframes dpi-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .6; }
}

/* Title */
.dpi-title {
  font-size: 1.55rem;
  color: var(--dp-brown-dark);
  line-height: 1.25;
  margin-bottom: 1.1rem;
  font-family: var(--dp-font-display);
}

/* Author block */
.dpi-author-block {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dp-border);
}
.dpi-author-avatar {
  flex-shrink: 0;
}
.dpi-avatar-img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: 2px solid var(--dp-border-warm);
  object-fit: cover;
}
.dpi-author-info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.dpi-author-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dp-brown);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dpi-author-date {
  font-size: .78rem;
  color: var(--dp-muted);
}

/* Action card */
.dpi-card--action {
  background: linear-gradient(135deg, var(--dp-ochre-light) 0%, #FFF8EC 100%);
  border-color: #E8C87A;
}
.dpi-card-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dp-brown-dark);
  margin-bottom: .4rem;
}
.dpi-card-hint {
  font-size: .83rem;
  color: var(--dp-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.dpi-contact-btn {
  width: 100%;
  justify-content: center;
}
.dpi-card--own {
  text-align: center;
}
.dpi-own-label {
  font-size: .9rem;
  color: var(--dp-muted);
  margin-bottom: .85rem;
}
.dpi-back-btn {
  width: 100%;
  justify-content: center;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dpi-layout {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem 0;
  }
  .dpi-sidebar {
    position: static;
    order: -1; /* Sidebar oben auf Mobile */
  }
  .dpi-title { font-size: 1.3rem; }
  .dpi-img-main { max-height: 320px; }
}
@media (max-width: 480px) {
  .dpi-gallery-thumbs { gap: .25rem; padding: .4rem; }
  .dpi-thumb { width: 64px; height: 48px; }
  .dpi-content-box { padding: 1.1rem; }
  .dpi-card { padding: 1.1rem; }
}

/* ── Kommentare (Detail-Seite) ──────────────────────────────── */
.dpi-comments-box {
  margin-top: 1.5rem;
}
.dpi-comment {
  background: #f9fafb;
  border: 1px solid var(--dp-border, #e5e7eb);
  border-radius: 8px;
  padding: .75rem 1rem;
  margin-bottom: .6rem;
}
.dpi-comment-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .3rem;
  font-size: .82rem;
}
.dpi-comment-date {
  color: #9ca3af;
  font-size: .78rem;
  margin-left: auto;
}
.dpi-comment-body {
  font-size: .9rem;
  line-height: 1.55;
  color: #374151;
  word-break: break-word;
}
.dpi-comment-form {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-top: 1rem;
}
.dpi-comment-form-input { flex: 1; }
.dpi-comment-avatar { border-radius: 50%; }
.dpi-comment-loading { color: #9ca3af; font-size: .875rem; padding: .5rem 0; }

/* ── Detailseite: Video-Player ───────────────────────────────── */
.dpi-video-wrap {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.dpi-video-player {
    width: 100%;
    max-height: 500px;
    display: block;
    background: #000;
}

.dpi-video-iframe-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.dpi-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
