/*
Theme Name:     Kallyas Child Theme
Theme URI:      http://kallyas.net/demo/
Description:    Child theme for the Kallyas theme
Author:         Hogash
Author URI:     http://themeforest.net/user/hogash
Template:       kallyas
Version:        4.0.0
Tags: dark, light, left-sidebar, right-sidebar, fluid-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, full-width-template, theme-options, translation-ready
Text Domain:  zn_framework
*/

.site-logo-img {
  width: 175px !important;
}

/* ==========================================================================
   Custom blog listing + single post templates
   ========================================================================== */

/* -- Shared hero (listing + single) -------------------------------------- */

.page-hero {
  position: relative;
  min-height: 700px;
  padding: 0;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #2c2130;
  background-size: cover;
  background-position: center;
}

.page-hero--fallback .page-hero__bg {
  background-image: linear-gradient(135deg, #3a1c5c 0%, #1f6e73 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 700px;
}

.page-hero__content {
  background: rgba(255, 255, 255, 0.73);
  backdrop-filter: blur(23px);
  width: fit-content;
  width: 50%;
  margin-bottom: 8%;
}

.page-hero__title {
  font-family: "new-spirit", Helvetica, Arial, sans-serif;
  font-size: 60px;
  line-height: 80px;
  font-weight: 400;
  color: #535353;
  margin: 0;
  padding: 30px 30px 30px 11%;
}

.page-hero__meta {
  margin: -8px 0 30px;
  padding: 0 30px 10px 11%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5f2888;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .page-hero__title {
    font-size: 62px;
    line-height: 72px;
    text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .page-hero__title {
    font-size: 72px;
    line-height: 82px;
    text-align: left;
  }

  .page-hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 767px) {
  .page-hero__title {
    font-size: 40px;
    line-height: 54px;
    text-align: left;
  }

  .page-hero {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 450px;
  }

  .page-hero__inner {
    min-height: 450px;
    margin: 0 2.5%;
  }
  .page-hero__content {
    width: 100% !important;
  }
}

.kl-blog-post-content {
  margin-bottom: 75px;
}

/* -- ACF title_tag subheading (single post) ------------------------------- */

.blog-title-tag {
  max-width: 760px;
  margin: 10px auto 55px;
  padding: 0 20px;
  text-align: center;
}

.blog-title-tag p {
  margin: 0;
  font-size: 32px;
  line-height: 1.6;
  color: #535353;
  font-weight: 700;
}

/* -- Category filter buttons ----------------------------------------------- */

.blog-category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 55px 0 45px;
}

.blog-category-filter {
  display: inline-block;
  padding: 10px 26px;
  border: 1px solid #5f2888;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5f2888;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.blog-category-filter:hover,
.blog-category-filter:focus {
  background-color: #5f2888;
  color: #fff;
  text-decoration: none;
}

.blog-category-filter.is-active {
  background-color: #5f2888;
  color: #fff;
}

@media (max-width: 480px) {
  .blog-category-filters {
    justify-content: flex-start;
  }
}

/* -- 3-column card grid (listing) ------------------------------------------ */

.blog-cards-wrapper {
  padding-bottom: 60px;
}

.blog-cards-row {
  display: flex;
  flex-wrap: wrap;
}

.blog-card-col {
  display: flex;
  margin-bottom: 45px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
}

.blog-card-media {
  position: relative;
  display: block;
  padding-top: 62%;
  overflow: hidden;
  background-color: #e7e2ee;
}

.blog-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-media-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #5f2888 0%, #30b6bc 100%);
}

.blog-card-body {
  padding: 24px 4px 0;
}

.blog-card-category {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #30b6bc;
}

.blog-card-category:hover {
  color: #5f2888;
  text-decoration: none;
}

.blog-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.blog-card-title a {
  color: #232323;
}

.blog-card-title a:hover {
  color: #5f2888;
  text-decoration: none;
}

.blog-card-excerpt {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #5a5a5a;
}

.blog-card-date {
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #8a8a8a;
}

/* -- Footer Style Edits ------------------------------------------ */

.elm-social-icons-item {
  margin-left: 0;
}

.elm-social-icons-item .elm-sc-icon {
  padding-left: 0;
}

/* -- Blog Quote ------------------------------------------ */
.cfs-blog-quote {
	padding-left: 1em;
	margin-left: 2em;
	border-left: 4px solid #0f4761;
}

.cfs-blog-quote em {
	color: black;
	font-style: italic;
}
