/* General Styles */

.wp-element-caption {
  line-height: 1.6em;
  font-size: 0.7em !important;
  margin-bottom: 0 !important;
  color: #3d3d3d !important;
  font-style: normal !important;
}

figure {
  margin: 0;
}

.wp-element-caption br,
.modified-date,
.mobile-only {
  display: none;
}

.ad-block.below-nav,
.page-header,
.post-meta,
.entry-title,
.featured-image,
.single-share {
  display: none !important;
}

#primary {
  max-width: 100% !important;
  padding: 0;
}

.single .entry-content {
  max-width: 100%;
  padding: 0;
}

img {
  border-radius: 10px;
}

h2 {
  font-weight: 850;
  text-align: center;
  font-size: 3rem;
  line-height: calc(56 / 48);
  border-bottom: 1px solid #000;
  padding-bottom: 11px;
  text-transform: uppercase;
}

.post.type-post .entry-content h3 {
  font-weight: 500;
  font-size: 1.75rem;
  line-height: calc(40 / 28);
  margin-bottom: 48px;
}

.post.type-post .entry-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 48px;
}

.wp-block-list {
	font-family: 'AvenirLTPro';
}

@media (max-width: 767px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .single .entry-content {
    padding: 0 15px;
  }

  h2 {
    font-size: 2rem;
    line-height: calc(44 / 32);
  }

  .post.type-post .entry-content h3 {
    font-size: 1.5rem;
    line-height: calc(32 / 24);
    margin-bottom: 32px;
  }

  .post.type-post .entry-content p {
    margin-bottom: 32px;
  }
}

/* Video */

.youtube-embed {
	max-width: 1000px;
	margin: 0 auto;
}

.youtube-embed .wp-block-embed__wrapper {
	position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
	background: transparent;
	border-radius: 29px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
}

.youtube-embed .video-cont {
	position: static;
	overflow: visible;
	padding: 0;
	background-color: transparent;
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-block-embed.overlap-previous {
	margin-top: -65px;
	margin-bottom: 20px;
}

@media (max-width: 767px) {
  .video-wrap {
    margin-top: 16px;
  }

	.wp-block-embed.overlap-previous {
		margin-top: 24px;
	}
}

/* Main Body Content */

.content-area,
.entry-content > p,
.entry-content > .wp-block-heading,
.wp-block-separator {
  max-width: 895px;
  margin-left: auto;
	margin-right: auto;
}

/* Full Width image */

.is-style-fw-image {
  max-width: 1350px;
  margin: 80px auto;

  &.wp-block-video {
    padding: 0;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }
}

.is-style-fw-image--portrait {
  max-width: 1120px;
	margin: 80px auto;
}

.is-style-fw-image img,
.is-style-fw-image--portrait img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .fw-image {
    margin: 48px auto;
  }
}

/* Blockquote */

.wp-block-pullquote {
  max-width: 1120px;
  margin: 80px auto;
  padding: 0;
}

.wp-block-pullquote blockquote {
  background-color: #000000;
  color: #FFFFFF;
  padding: 48px;
  text-transform: uppercase;
  border-radius: 16px;
}

blockquote p {
  font-size: 2.75rem !important;
  line-height: calc(56 / 44) !important;
  margin-bottom: 0 !important;
  font-weight: 700 !important;
}

.wp-block-pullquote blockquote::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  background-image: url(https://boardroom.tv/wp-content/uploads/2024/08/quote.png);
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto 48px;
}

blockquote cite {
  display: inline-block;
  font-weight: 700;
  margin-top: 48px;
  font-style: normal;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .wp-block-pullquote {
    margin: 48px auto;
  }

  .wp-block-pullquote blockquote {
    padding: 32px;
  }

  blockquote p {
    font-size: 1.5rem !important;
    line-height: calc(32 / 24) !important;
  }

  .wp-block-pullquote blockquote::before {
    width: 48px;
    height: 48px;
    margin: 0 auto 32px;
  }

  blockquote cite {
    margin-top: 32px;
    font-size: 1.125rem;
    line-height: calc(24 / 18);
  }
}

/* Blockquote/Image layout */

.quote-image-cols {
  max-width: 1120px;
  margin: 80px auto;
  gap: 24px;
}

.quote-image-cols .wp-block-image {
	height: 100%;
	margin: 0;
}

.quote-image-cols .wp-block-column .wp-block-image img {
	height: 100%;
}

.quote-image-cols .wp-block-image figcaption {
	display: none;
}

.quote-image-cols .wp-block-column:has(blockquote) {
  display: flex;
}

.quote-image-cols .wp-block-pullquote {
  display: flex;
  margin: 0;
}

.quote-image-cols blockquote {
  align-content: center;
}

.quote-image-cols .wp-block-pullquote blockquote::before {
  width: 56px;
  height: 56px;
}

.quote-image-cols blockquote p {
  font-size: 1.75rem !important;
  line-height: calc(48 / 28) !important;
}

.quote-image-cols blockquote cite {
  font-size: 1.5rem;
  line-height: calc(44 / 24);
  margin-top: 48px;
}

@media (max-width: 767px) {
  .quote-image-cols {
    margin: 48px auto;
  }

  .quote-image-cols .wp-block-pullquote blockquote::before {
    width: 48px;
    height: 48px;
  }

  .quote-image-cols blockquote p {
    font-size: 1.5rem !important;
    line-height: calc(32 / 24) !important;
  }

  .quote-image-cols blockquote cite {
    margin-top: 32px;
    font-size: 1.125rem;
    line-height: calc(24 / 18);
  }
}

/* Image Triptych */

.image-triptych {
  max-width: 1350px;
  margin: 80px auto;
  gap: 24px;
}

@media (max-width: 767px) {
  .image-triptych {
    margin: 48px auto;
  }
}

/* Newsletter Signup */

.cs-optin {
  border: 2px solid #000;
  padding: 1em 2em 2em 2em;
  margin-bottom: 3em;
  max-width: 720px !important;
  background: var(--light-gray);
  margin-left: auto;
  margin-right: auto;
}

.cs-optin h2 {
  font-family: var(--alt-font);
  text-transform: none;
  text-align: center;
  font-size: 2.8125rem;
  margin-bottom: 0.3em !important;
  margin-top: 0 !important;
}

.cs-optin .body-optin {
  margin-bottom: 25px;
  text-align: center;
  font-size: 0.9em;
  line-height: 26px;
}

.cs-optin .form-wrap form {
  display: flex;
}

.cs-optin .wpforms-container.inline-fields .wpforms-submit-container {
  float: right;
  width: 160px;
  padding: 0;
  padding-left: 10px;
}

.cs-optin .wpforms-container.inline-fields .wpforms-submit {
  display: block;
  width: 100%;
  background: var(--dark-gray);
  border: none;
  padding: 1em;
  font-weight: bold;
  color: #fff;
  border-radius: 5px;
  line-height: 14px;
}

.cs-optin .wpforms-container.inline-fields .wpforms-field {
  padding: 0;
}

.cs-optin input[type="email"] {
  border: 1px solid #000;
  border-radius: 4px;
  line-height: 48px;
}

.cs-optin .wpforms-container .wpforms-field-label {
  display: none;
}

.cs-optin .thumb {
  text-align: center;
}

@media (max-width: 767px) {
  .cs-optin {
    padding: 1em;
  }

  .cs-optin form {
    flex-wrap: wrap;
  }

  .cs-optin h2 {
    font-size: 1.7em;
  }

  .cs-optin .wpforms-container.inline-fields .wpforms-field-container {
    width: 100%;
  }

  .cs-optin .wpforms-container.inline-fields .wpforms-submit-container {
    float: right;
    width: 100%;
    padding: 0;
    padding-left: 0;
    margin-top: 20px;
  }

  .cs-optin .body-optin {
    font-size: 0.8em;
    line-height: 20px;
  }
}

/* Post Tags */

.single .post-tag-container {
  margin-bottom: 2em;
  text-align: center;
  margin-top: 35px;
}

/* Author */
.single .post .single-author-box {
  max-width: 1000px;
  margin: 0 auto 3em;
}

/* Swiper Slider */
.swiper {
  margin-bottom: 48px;
}
