/* Press & Media post detail — matches crustfranchise.com custom.css + blog_page.php */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');

.page-press-post {
  background-color: var(--clr-gray-100, #f6f6f6);
}

/* Stack nav above hero (reference: header + banner, not overlapping) */
.page-press-post .header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}

.page-press-post .press-post-content > .container {
  max-width: 1200px;
}

.press-post-page {
  padding-top: 0;
}

/* Hero — crustfranchise.com/post/* inner hero */
.press-post-hero {
  position: relative;
  min-height: 550px;
  height: 550px;
  margin: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 60%;
  display: block;
  overflow: hidden;
}

.press-post-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 550px;
  margin: 0;
  padding: 0 24px 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
}

.press-post-hero__blk {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

.press-post-hero__title-wrap {
  margin: 0;
  width: 100%;
}

.page-press-post h1.press-post-hero__title {
  font-family: var(--ff-display, 'Bebas Neue', sans-serif);
  font-size: 75px;
  font-weight: 400;
  line-height: 76px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-align: center;
  letter-spacing: 0;
  background: none;
  padding: 0;
  text-shadow: none;
}

/* Content — .services__area.has--padding */
.press-post-content.services__area.has--padding {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background-color: var(--clr-gray-100, #f6f6f6);
}

.page-press-post .mb-15 { margin-bottom: 15px; }
.page-press-post .mb-10 { margin-bottom: 10px; }
.page-press-post .mb-30 { margin-bottom: 30px; }
.page-press-post .mt-15 { margin-top: 15px; }

/* Back button — bootstrap btn-secondary (reference) */
.page-press-post .press-post-back.btn-secondary {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-family: var(--ff-ui, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
  background-color: #6c757d;
  border: 1px solid #6c757d;
  border-radius: 0.2rem;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.page-press-post .press-post-back.btn-secondary:hover {
  color: #fff;
  background-color: #5c636a;
  border-color: #565e64;
}

/* White card — .blog-section .blog-item */
.page-press-post .blog-section .blog-item {
  margin-top: 30px;
  background-color: #fff;
  box-shadow: 0 3px 6px 1px rgba(0, 0, 0, 0.2);
}

.page-press-post .blog-section .blog-item-list .item-content {
  width: 100%;
  float: none;
  padding: 60px;
  font-size: 24px;
}

.page-press-post .blog-section .blog-item .item-content .sub-title {
  display: block;
  font-size: 30px;
  text-transform: uppercase;
  font-family: var(--ff-display, 'Bebas Neue', cursive);
  font-weight: 400;
  line-height: 1.1;
}

.page-press-post .text-orange {
  color: #d55e29;
}

.page-press-post .blog-section .blog-item .item-content .item-title {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 45px;
  font-family: var(--ff-display, 'Bebas Neue', cursive);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0;
}

.page-press-post .blog-section .blog-item .item-content .post-date {
  display: block;
  margin-top: 10px;
  color: #9d9d9d;
  font-family: var(--ff-display, 'Bebas Neue', cursive);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
}

/* Video — inline style from legacy blog_page.php */
.page-press-post .blog-video {
  float: right;
  width: 500px;
  height: 300px;
  padding: 20px;
}

.page-press-post .blog-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Body copy — .dec-dtl */
.page-press-post .blog-section .dec-dtl {
  color: #000;
  font-family: 'Nunito Sans', var(--ff-body, 'Switzer'), sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
}

.page-press-post .blog-section .dec-dtl::after {
  content: '';
  display: table;
  clear: both;
}

.page-press-post .blog-section .dec-dtl p,
.page-press-post .blog-section .dec-dtl div {
  margin: 0 0 1rem;
}

.page-press-post .blog-section .dec-dtl p:last-child,
.page-press-post .blog-section .dec-dtl div:last-child {
  margin-bottom: 0;
}

.page-press-post .blog-section .dec-dtl strong {
  font-weight: 700;
}

.page-press-post .clearfix::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 1440px) {
  .page-press-post .blog-section .blog-item .item-content .item-title {
    font-size: 32px;
  }

  .page-press-post .blog-section .dec-dtl {
    font-size: 20px;
  }
}

@media (max-width: 1280px) {
  .page-press-post .blog-section .blog-item-list .item-content {
    padding: 50px;
  }
}

@media (max-width: 991.98px) {
  .press-post-hero {
    min-height: 430px;
    height: 430px;
    background-position: 50% 56% !important;
  }

  .press-post-hero__container {
    min-height: 430px;
    padding-bottom: 44px;
  }

  .page-press-post h1.press-post-hero__title {
    font-size: 32px;
    line-height: 45px;
  }

  .press-post-content.services__area.has--padding {
    padding: 72px 0 80px;
  }

  .page-press-post .blog-section .blog-item-grid .item-content,
  .page-press-post .blog-section .blog-item-list .item-content {
    padding: 30px;
  }

  .page-press-post .blog-section .blog-item .item-content .item-title {
    font-size: 24px;
  }

  .page-press-post .blog-section .blog-item .item-content .sub-title {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .page-press-post .blog-video {
    float: none;
    width: 100%;
    max-width: 500px;
    height: 280px;
    padding: 0;
    margin: 20px auto 0;
  }
}

@media (max-width: 767.98px) {
  .press-post-hero {
    min-height: 330px;
    height: 330px;
    background-position: 50% 52% !important;
  }

  .press-post-hero__container {
    min-height: 330px;
    padding-bottom: 36px;
  }

  .page-press-post h1.press-post-hero__title {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (max-width: 580px) {
  .page-press-post .blog-section .blog-item .item-content .item-title {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 22px;
  }

  .page-press-post .blog-section .blog-item .item-content .sub-title {
    font-size: 20px;
  }

  .page-press-post .blog-section .blog-item .item-content .post-date {
    font-size: 16px;
  }

  .page-press-post .blog-section .dec-dtl {
    font-size: 16px;
  }

  .page-press-post .blog-video {
    height: 200px;
  }
}
