/*
Theme Name:     Jupiter Child Theme
Theme URI: 		http://demos.artbees.net/jupiter5
Description:    Child theme for the Jupiter theme 
Template:       jupiter
*/

/* General Grid and image visibility fix for static restored layout */
.mk-blog-container {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 25px !important;
  height: auto !important;
  overflow: visible !important;
  margin-top: 20px !important;
  margin-bottom: 40px !important;
}

.mk-blog-spotlight-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  float: none !important;
  margin: 0 !important;
  width: 340px !important;
  max-width: 100% !important;
  height: 230px !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.mk-blog-spotlight-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}

.featured-image {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.featured-image img.blog-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide dark overlay and duplicated title text so the clean image card shines */
.mk-blog-spotlight-item .image-hover-overlay {
  display: none !important;
}

.featured-image .item-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding-bottom: 18px !important;
  pointer-events: none !important;
}

.featured-image .item-wrapper .the-title,
.featured-image .item-wrapper .mk-blog-meta-wrapper {
  display: none !important;
}

.featured-image .item-wrapper .mk-button-container {
  pointer-events: auto !important;
}

.featured-image .item-wrapper .mk-button {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #3A2E2D !important;
  border: 1px solid #E8B2A5 !important;
  border-radius: 20px !important;
  padding: 6px 18px !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  transition: all 0.2s ease !important;
}

.featured-image .item-wrapper .mk-button:hover {
  background: #E59885 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   Modern Blog Grid & Cards (Category & Archive Pages)
   Matches official True Story Mam archive design (media_1790247686774.png)
   ========================================================================== */

.mk-modern-wrapper.mk-blog-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: 1340px !important;
  margin: 35px auto 60px auto !important;
  padding: 0 !important;
  height: auto !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.mk-modern-wrapper.mk-blog-container::before,
.mk-modern-wrapper.mk-blog-container::after {
  display: none !important;
  content: none !important;
}

.mk-blog-modern-item {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 250px !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06) !important;
  padding: 32px 30px 28px 30px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.mk-blog-modern-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10) !important;
}

.mk-blog-modern-item .blog-modern-social-section {
  display: none !important;
}

.mk-blog-modern-item .mk-blog-meta {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.mk-blog-modern-item .mk-blog-meta-wrapper {
  font-family: 'Nunito', sans-serif !important;
  font-size: 13px !important;
  font-style: italic !important;
  color: #888888 !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
}

.mk-blog-modern-item .mk-blog-meta-wrapper a {
  color: #555555 !important;
  text-decoration: none !important;
}

.mk-blog-modern-item .mk-blog-author {
  display: none !important;
}

.mk-blog-modern-item .the-title {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 0 14px 0 !important;
}

.mk-blog-modern-item .the-title a {
  color: #796872 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.mk-blog-modern-item .the-title a:hover {
  color: #3b3a42 !important;
}

.mk-blog-modern-item .the-excerpt {
  margin: 0 0 24px 0 !important;
  flex-grow: 1 !important;
}

.mk-blog-modern-item .the-excerpt p {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #666666 !important;
  margin: 0 !important;
}

.mk-blog-modern-item .mk-button-container {
  margin: auto 0 0 0 !important;
  padding: 0 !important;
  display: block !important;
}

.mk-blog-modern-item .mk-button {
  background-color: #87747e !important;
  color: #ffffff !important;
  padding: 9px 22px !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease !important;
}

.mk-blog-modern-item .mk-button:hover {
  background-color: #5e5158 !important;
  color: #ffffff !important;
}

.mk-blog-modern-item .clearboth {
  display: none !important;
}

@media (max-width: 991px) {
  .mk-modern-wrapper.mk-blog-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .mk-modern-wrapper.mk-blog-container {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Footer Styles & Layout Matching Wayback Archive (media_1790250227341.png)
   ========================================================================== */

#mk-footer {
  background-color: #3b3a42 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #ffffff !important;
}

#mk-footer p {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #ffffff !important;
}

#mk-footer .widgettitle {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.8px !important;
  color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

#mk-footer .widget_social_networks {
  margin-bottom: 30px !important;
}

#mk-footer .widget_social_networks .align-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 15px !important;
  margin-bottom: 35px !important;
}

#mk-footer .widget_social_networks .builtin-icons {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

#mk-footer .widget_social_networks .builtin-icons:hover {
  transform: scale(1.08) !important;
  opacity: 0.9 !important;
}

#mk-footer .widget_social_networks .builtin-icons svg {
  width: 42px !important;
  height: 42px !important;
  fill: #ffffff !important;
}

#mk-footer .widget_recent_entries ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#mk-footer .widget_recent_entries ul li {
  margin-bottom: 16px !important;
}

#mk-footer .widget_recent_entries ul li a {
  display: block !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
  transition: color 0.2s ease !important;
}

#mk-footer .widget_recent_entries ul li a:hover {
  color: #d3cbcf !important;
}

#mk-footer .widget_recent_entries ul li .post-date {
  display: block !important;
  color: #c4c2c7 !important;
  font-size: 12.5px !important;
  font-family: Georgia, 'Times New Roman', serif !important;
}

#mk-footer #text-6 p {
  margin-bottom: 8px !important;
}

#mk-footer #text-6 a {
  color: #ffffff !important;
  text-decoration: none !important;
}

#mk-footer #text-6 a:hover {
  color: #d3cbcf !important;
}

#mk-footer #text-2 a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px !important;
}

#mk-footer #text-2 a:hover {
  color: #d3cbcf !important;
}

#mk-footer #text-3 p {
  color: #e0dee3 !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  margin-bottom: 14px !important;
}

#mk-footer #text-3 a {
  color: #ffffff !important;
  text-decoration: none !important;
}

#mk-footer #text-3 a:hover {
  color: #d3cbcf !important;
}

/* Newsletter Widget */
#mk-footer #text-5 p {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #ffffff !important;
  margin-bottom: 16px !important;
  line-height: 1.5 !important;
}

#mk-footer #text-5 input[type="email"] {
  width: 100% !important;
  background-color: #ffffff !important;
  color: #333333 !important;
  border: none !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  border-radius: 2px !important;
  box-sizing: border-box !important;
  margin-bottom: 12px !important;
  font-family: inherit !important;
}

#mk-footer #text-5 label {
  color: #ffffff !important;
  font-size: 13px !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  cursor: pointer !important;
}

#mk-footer #text-5 label a {
  color: #ffffff !important;
  text-decoration: underline !important;
}

#mk-footer #text-5 input[type="checkbox"] {
  margin-right: 8px !important;
  vertical-align: middle !important;
}

#mk-footer #text-5 input[type="submit"] {
  background-color: #d3cbcf !important;
  color: #3b3a42 !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  border: none !important;
  width: 100% !important;
  padding: 13px 20px !important;
  margin-top: 15px !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

#mk-footer #text-5 input[type="submit"]:hover {
  background-color: #be8695 !important;
  color: #ffffff !important;
}

/* Sub-footer */
#sub-footer {
  background-color: #3b3a42 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px 0 30px 0 !important;
}

#sub-footer .mk-footer-copyright p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  color: #c4c2c7 !important;
  margin: 4px 0 !important;
  text-align: center !important;
}

