/* ============================================================
   DELROSE McSHANE TEAM — PARTNER & AD STYLES
   partners.css
   Brand: Navy #163166 | Gray #6c6c6c | Light Blue #006bb7
   Fonts: Raleway (headings) | Lato (body)
   ============================================================ */

/* ============================================================
   PARTNER VIDEO SLOTS — hidden until populated by partners.js
   ============================================================ */

[data-partner-slot],
[data-casestudy-slot],
[data-ad-slot] {
  display: none; /* invisible until JS populates it */
}

/* ============================================================
   PARTNER VIDEO CARD
   ============================================================ */

.dmt-partner-video-card,
.dmt-case-study-card {
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-left: 4px solid #163166;
  border-radius: 6px;
  overflow: hidden;
  margin: 28px 0;
  box-shadow: 0 2px 8px rgba(22, 49, 102, 0.07);
}

/* Label strip */
.dmt-partner-label {
  background: #163166;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
}

/* 16:9 video embed */
.dmt-partner-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #0d1f3a;
}

.dmt-partner-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Partner info below video */
.dmt-partner-meta {
  padding: 16px 20px 12px;
}

.dmt-partner-meta strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #163166;
  margin-bottom: 2px;
}

.dmt-partner-meta span {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #6c6c6c;
  margin-bottom: 8px;
}

.dmt-partner-meta p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* Disclosure */
.dmt-partner-disclosure {
  padding: 8px 20px 12px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  color: #999;
  border-top: 1px solid #f0f3f8;
}


/* ============================================================
   AD CARD (card type)
   ============================================================ */

.dmt-ad-card {
  background: #f8fafd;
  border: 1px solid #d6e2f0;
  border-radius: 6px;
  padding: 20px 22px 16px;
  margin: 24px 0;
  position: relative;
}

.dmt-ad-badge {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c6c6c;
  background: #e4ecf6;
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 12px;
}

.dmt-ad-logo {
  display: block;
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 12px;
}

.dmt-ad-headline {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #163166;
  line-height: 1.35;
  margin-bottom: 8px;
}

.dmt-ad-body {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.dmt-ad-cta {
  display: inline-block;
  background: #006bb7;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dmt-ad-cta:hover {
  background: #163166;
}

.dmt-ad-disclosure {
  margin-top: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  color: #aaa;
}


/* ============================================================
   AD BANNER (banner type — full width strip)
   ============================================================ */

.dmt-ad-banner {
  background: #ffffff;
  border: 1px solid #d6e2f0;
  border-top: 3px solid #006bb7;
  border-radius: 4px;
  padding: 16px 22px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.dmt-ad-banner .dmt-ad-badge {
  position: absolute;
  top: 10px;
  right: 14px;
}

.dmt-ad-banner {
  position: relative;
}

.dmt-ad-banner .dmt-ad-logo {
  margin-bottom: 0;
  flex-shrink: 0;
}

.dmt-ad-banner-text {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

.dmt-ad-banner .dmt-ad-headline {
  margin-bottom: 0;
  font-size: 15px;
}

.dmt-ad-banner .dmt-ad-disclosure {
  width: 100%;
  margin-top: 6px;
}


/* ============================================================
   AD VIDEO (video type)
   ============================================================ */

.dmt-ad-video {
  background: #0d1f3a;
  border-radius: 6px;
  overflow: hidden;
  margin: 24px 0;
  position: relative;
}

.dmt-ad-video .dmt-ad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0,0,0,0.6);
  color: #ccc;
}

.dmt-ad-video .dmt-ad-disclosure {
  padding: 8px 14px;
  color: #888;
  font-size: 10px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {
  .dmt-partner-meta {
    padding: 14px 16px 10px;
  }

  .dmt-ad-card {
    padding: 16px 16px 14px;
  }

  .dmt-ad-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dmt-ad-banner-text {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   CONTENT ITEMS — RESOURCES TAB (videos + articles)
   ============================================================ */

[data-content-slot] {
  display: none; /* invisible until JS populates */
  margin-top: 20px;
}

/* Shared card base */
.dmt-content-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
}

.dmt-content-card:last-child {
  margin-bottom: 0;
}

/* Video card */
.dmt-content-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #0d1f3a;
}

.dmt-content-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.dmt-content-title {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #163166;
  line-height: 1.35;
  padding: 11px 14px 4px;
}

.dmt-content-desc {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #6c6c6c;
  line-height: 1.55;
  padding: 0 14px 12px;
}

/* Article card */
.dmt-content-article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.dmt-content-article:hover {
  background: #f0f5fc;
  border-color: #006bb7;
}

.dmt-content-article-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.dmt-content-article-body {
  flex: 1;
  min-width: 0;
}

.dmt-content-article .dmt-content-title {
  padding: 0 0 3px 0;
  font-size: 13px;
}

.dmt-content-article .dmt-content-desc {
  padding: 0 0 6px 0;
}

.dmt-content-read-link {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #006bb7;
  letter-spacing: 0.04em;
}
