/* Fidelcrest single post layout (ported from Avada customizations). */

body.fc-single-post .site-header,
body.fc-single-post .fc-site-header {
  background: #333645;
}

body.fc-single-post .site-footer,
body.fc-single-post .fc-site-footer {
  background-color: #212121;
  box-sizing: border-box;
  color: #e0e0e0;
  font-size: 16px;
  min-height: 640px;
  padding: 10px 0 0;
  border-top: 0;
}

body.fc-single-post .fc-site-footer .centered,
body.fc-single-post footer .centered {
  box-sizing: border-box;
  margin: auto;
  max-width: 1024px;
  padding: 10px 20px;
  width: 100%;
}

body.fc-single-post .fc-site-footer .footer-column,
body.fc-single-post footer .footer-column {
  flex: 0 0 90%;
}

body.fc-single-post .fc-site-footer .top-menu-item,
body.fc-single-post footer .top-menu-item {
  color: #e0e0e0;
}

@media (min-width: 670px) {
  body.fc-single-post .fc-site-footer .footer-column,
  body.fc-single-post footer .footer-column {
    flex: 0 0 44%;
  }
}

@media (min-width: 920px) {
  body.fc-single-post .fc-site-footer .footer-column,
  body.fc-single-post footer .footer-column {
    flex: 0 0 22%;
  }
}

.fc-single {
  --fc-cream: #f7f2ea;
  --fc-orange: #ffaa06;
  --fc-text: #1a1a1a;
  --fc-muted: #6b6b6b;
  --fc-max: 1200px;
  width: 100%;
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--fc-text);
}

body.fc-single-post #content.site-main {
  padding: 0;
  max-width: none;
}

.fc-single__hero {
  position: static !important;
  display: block !important;
  height: auto !important;
  width: 100% !important;
  background: var(--fc-cream);
  padding: 48px 24px 56px;
}

.fc-single__hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--fc-max);
  margin: 0 auto;
  align-items: center;
}

.fc-single__title {
  margin: 0 0 28px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.fc-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 15px;
}

.fc-single__author {
  color: var(--fc-muted);
  font-weight: 500;
}

.fc-single__date {
  color: var(--fc-orange);
  font-weight: 600;
}

.fc-single__media {
  margin: 0;
}

.fc-single__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.fc-single__body {
  background: #fff;
  padding: 48px 24px 72px;
}

.fc-single__content {
  max-width: var(--fc-max);
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.65;
}

.fc-single__content p {
  margin: 0 0 1.25em;
}

.fc-single__content h2 {
  margin: 2em 0 0.75em;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.fc-single__content h3 {
  margin: 1.5em 0 0.5em;
  font-size: 20px;
  font-weight: 700;
}

.fc-single__content img {
  max-width: 100%;
  height: auto;
}

.fc-single__content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fc-single__content ul,
.fc-single__content ol {
  margin: 0 0 1.25em;
  padding-left: 1.35em;
}

.fc-single__content li {
  margin-bottom: 0.5em;
  user-select: text;
}

.fc-single__content p,
.fc-single__content li {
  user-select: text;
}

.fc-article-block {
  margin: 0 0 1.25em;
}

.fc-article-block div {
  margin: 0;
}

.fc-article-block p:last-child {
  margin-bottom: 0;
}

.fc-single__content strong {
  font-weight: 700;
}

.fc-single__content table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  margin: 0 0 1.25em;
}

.fc-single__content table td,
.fc-single__content table th {
  padding: 0;
  border: 0;
  vertical-align: top;
  text-align: left;
}

@media (min-width: 900px) {
  .fc-single__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .fc-single__hero {
    padding: 56px 40px 64px;
  }

  .fc-single__body {
    padding: 56px 40px 88px;
  }
}

.fc-related {
  background: var(--fc-cream, #f7f2ea);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 48px 24px 64px;
}

.fc-related__inner {
  max-width: var(--fc-max, 1200px);
  margin: 0 auto;
}

.fc-related__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}

.fc-related__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.fc-related__more {
  color: var(--fc-orange, #ffaa06);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.fc-related__more:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fc-post-grid--related {
  padding: 0;
}

.fc-post-grid--related .fc-post-title {
  font-size: 20px;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .fc-related {
    padding: 56px 40px 72px;
  }
}
