/* marketing/index.php — article layout */

/* Standalone “What Are Marketing Video Services?” band + .marketing-cards rows */
.marketing-page .marketing-services-formats-section {
  border-top: 1px solid #ced4da;
  border-bottom: 1px solid #ced4da;
}

.marketing-page .marketing-services-formats-section > .container > h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
}

.marketing-page .marketing-services-formats-section > .container > h2:not(:first-of-type) {
  margin-top: 2.5rem;
}

.marketing-page .marketing-cards .card-footer a.text-light {
  text-decoration: underline;
}

.marketing-page .marketing-cards .card-footer a.text-light:hover {
  text-decoration: none;
}

/* Card Vimeo embeds (same layout utilities as styles/css/styles.css; scoped to this page) */
.marketing-page .marketing-cards .u-card-img-negative-margin {
  margin-left: -1px;
  margin-right: -1px;
  margin-top: -1px;
  width: calc(100% + 2px);
}

.marketing-page .marketing-cards .card-img-top.u-card-img-negative-margin {
  display: block;
  max-width: none;
}

.marketing-page .marketing-cards .embed-responsive {
  border-radius: 0 !important;
}

/* Full-width 16:9 Vimeo in cards (override Vimeo/Bootstrap conflicts — see spokespeople-sales.css) */
.marketing-page .marketing-cards .embed-responsive-16by9 {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  min-height: 200px;
}

.marketing-page .marketing-cards .embed-responsive-16by9::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.marketing-page .marketing-cards .embed-responsive-16by9 iframe,
.marketing-page .marketing-cards .u-iframe-with-border {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0 !important;
  border-bottom: 2px solid #007bff;
}

.marketing-page .marketing-hero {
  padding-bottom: 2rem;
}

.marketing-page .marketing-article h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dee2e6;
}

.marketing-page .marketing-article h2:first-of-type {
  margin-top: 0;
}

/* First h2 in main article column after intro rows */
.marketing-page .marketing-article .marketing-main-col > h2:first-of-type {
  margin-top: 0;
}

/* Sidebar “Popular formats” card — same header bar as .marketing-cards (see marketing/index.php) */
.marketing-page .marketing-formats-sidebar .card.border-primary {
  border-top-color: transparent;
}

.marketing-page .marketing-formats-sidebar .card > .card-header.bg-gradient-mine:first-child {
  border-top-left-radius: calc(0.25rem + 2px);
  border-top-right-radius: calc(0.25rem + 2px);
  border-top: none;
  margin-top: -1px;
  margin-left: -1px;
  margin-right: -1px;
  width: calc(100% + 2px);
  position: relative;
  z-index: 1;
}

.marketing-page .marketing-formats-sidebar .card > .card-header {
  margin-top: 0;
  margin-bottom: 0;
}

.marketing-page .marketing-formats-sidebar .card ul {
  margin-bottom: 0;
}

.marketing-page .marketing-article-infographic {
  margin: 2rem 0;
  max-width: 100%;
}

.marketing-page .marketing-article-infographic img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.marketing-page .marketing-article h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.marketing-page .marketing-article p,
.marketing-page .marketing-article li {
  line-height: 1.65;
}

.marketing-page .marketing-article ul {
  margin-bottom: 1rem;
}

.marketing-page .marketing-toc a {
  color: #0056b3;
  text-decoration: underline;
}

.marketing-page .marketing-toc a:hover {
  color: #003d82;
  text-decoration: none;
}

.marketing-page .btn-primary {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.marketing-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.18);
}

.marketing-page .btn-outline-primary {
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.marketing-page .btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.12);
}

/* FAQ masonry + hover (was newvideopresentations.css; scoped to this page) */
.marketing-page .marketing-faq-section .card-columns {
  column-count: 1;
  column-gap: 1.25rem;
}

.marketing-page .marketing-faq-section .card-columns .card {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.25rem;
  break-inside: avoid;
  page-break-inside: avoid;
  transition: background-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 576px) {
  .marketing-page .marketing-faq-section .card-columns {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .marketing-page .marketing-faq-section .card-columns {
    column-count: 3;
  }
}

/* FAQ card header fills top corners (same pattern as sidebar formats card) */
.marketing-page .marketing-faq-section .marketing-faq-cards .card.border-primary {
  border-top-color: transparent;
}

.marketing-page .marketing-faq-section h3.card-header {
  font-size: 1rem;
  line-height: 1.35;
}

.marketing-page .marketing-faq-section .marketing-faq-cards .card > .card-header.bg-gradient-mine:first-child {
  border-top-left-radius: calc(0.25rem + 2px);
  border-top-right-radius: calc(0.25rem + 2px);
  border-top: none;
  margin-top: -1px;
  margin-left: -1px;
  margin-right: -1px;
  width: calc(100% + 2px);
  position: relative;
  z-index: 1;
}

.marketing-page .marketing-faq-section .marketing-faq-cards .card:hover .card-body {
  background-color: #343a40 !important;
}

.marketing-page .marketing-faq-section .marketing-faq-cards .card:hover .card-text,
.marketing-page .marketing-faq-section .marketing-faq-cards .card:hover .card-text a {
  color: #ffffff !important;
}

/* Why Talking Heads + common mistakes cards — bordered card chrome */
.marketing-page .marketing-why-ths-cards .card.border-primary,
.marketing-page .marketing-mistakes-cards .card.border-primary {
  border-top-color: transparent;
  overflow: hidden;
}

.marketing-page .marketing-why-ths-cards .card > .card-header.bg-gradient-mine:first-child,
.marketing-page .marketing-mistakes-cards .card > .card-header.bg-gradient-mine:first-child {
  border-top-left-radius: calc(0.25rem + 2px);
  border-top-right-radius: calc(0.25rem + 2px);
  border-top: none;
  margin-top: -1px;
  margin-left: -1px;
  margin-right: -1px;
  width: calc(100% + 2px);
  position: relative;
  z-index: 1;
}

.marketing-page .marketing-mistakes-cards .marketing-card-img-placeholder {
  background-color: #e9ecef;
  border-left: 1px solid #007bff;
  border-right: 1px solid #007bff;
  border-bottom: 2px solid #007bff;
  box-sizing: border-box;
}

.marketing-page .marketing-mistakes-cards .marketing-mistakes-card-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0 !important;
  border-bottom: 2px solid #007bff;
  object-fit: cover;
  object-position: center center;
}

.marketing-page .marketing-why-ths-cards .card > .card-body:last-child,
.marketing-page .marketing-mistakes-cards .card > .card-body:last-child {
  border-bottom-left-radius: calc(0.25rem - 1px);
  border-bottom-right-radius: calc(0.25rem - 1px);
}

.marketing-page .marketing-mistakes-cards .embed-responsive-16by9.marketing-card-img-placeholder::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.marketing-page .marketing-mistakes-cards .marketing-card-img-placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #495057;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
