.custom-logo-link img, img.custom-logo, .site-header .custom-logo-link img, .site-header img.custom-logo { max-height: 92px; width: auto; height: auto; display: block; }

.site-header { padding-top: 6px; padding-bottom: 6px; }

.site-header .site-branding, .site-header .custom-logo-link { display: flex; align-items: center; }

@media (max-width: 1024px) {
  .custom-logo-link img, img.custom-logo { max-height: 76px; }
  #site-branding { position: relative; }
  #site-branding .custom-logo-link::after { content: ""; position: absolute; inset: 0px; z-index: 20; cursor: pointer; }
  #site-branding::before, #site-branding::after { color: rgb(155, 97, 46) !important; }
}

@media (max-width: 768px) {
  .custom-logo-
	

/* Arşiv başlıkları, kategori görünümü ve yazar kitapları */
body.category h1.title-page {
  font-size: 0;
  line-height: 1.2;
}
body.category h1.title-page span {
  display: inline-block;
  color: #173d32;
  font-family: var(--faith-ff-accent);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.blog .site-content-wrapper > .widget-title {
  font-size: 0;
  margin-bottom: 24px;
}
body.blog .site-content-wrapper > .widget-title::after {
  content: "Son Yazılar";
  color: #173d32;
  font-family: var(--faith-ff-accent);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ilovewp-posts-archive .title-post {
  font-family: var(--faith-ff-accent);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.ilovewp-posts-archive .title-post a {
  color: #234b3f;
  text-decoration: none;
}
.ilovewp-posts-archive .title-post a:hover,
.ilovewp-posts-archive .title-post a:focus {
  color: #9b612e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.author-books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 40px;
}
.author-book-card {
  background: #fff;
  border: 1px solid #e5e1d8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(24, 33, 34, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.author-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(24, 33, 34, 0.13);
}
.author-book-cover {
  aspect-ratio: 2 / 3;
  background: #f1eee6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.author-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}
.author-book-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.author-book-body h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.35;
}
.author-book-body p {
  margin: 0 0 18px;
}
.author-book-link {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: #234b3f;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.author-book-link:hover,
.author-book-link:focus {
  background: #9b612e;
}
.pastor-signature-card {
  border-left: 4px solid #9b612e;
  background: #f5f1e8;
  padding: 18px 22px;
  margin: 24px 0 30px;
  border-radius: 0 12px 12px 0;
}
.pastor-signature-card p {
  margin: 0;
}
.pastor-signature-card .pastor-bio-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}
@media (max-width: 780px) {
  .author-books-grid {
    grid-template-columns: 1fr;
  }
  .author-book-cover {
    max-height: 380px;
  }
}
link img, img.custom-logo { max-height: 64px; }
  .site-header { padding-top: 4px; padding-bottom: 4px; }
}

@media (max-width: 768px) {
  .site-header .site-branding { width: 100%; justify-content: center; text-align: center; }
  .site-header .custom-logo-link { margin: 0px auto; justify-content: center; float: none !important; }
  .site-header .custom-logo-link img, img.custom-logo { margin: 0px auto; }
}

@media (min-width: 1025px) {
  .page-header-default .wrapper-header #site-branding { flex: 0 0 14%; }
  .page-header-default .wrapper-header #site-header-navigation { flex: 1 1 86%; text-align: start; }
}

#ilovewp-hero .content-wrapper { display: none; }

@media (min-width: 961px) {
  #ilovewp-home-welcome { position: relative; }
  #ilovewp-home-welcome .ilovewp-column-2 { position: absolute; left: max(20px, 50% - 590px); top: -500px; width: 420px; height: 500px; z-index: 5; margin-top: 0px !important; }
  #ilovewp-home-welcome .ilovewp-column-2 .ilovewp-column-wrapper { width: 100%; height: 100%; box-sizing: border-box; }
}

body.home #container { display: flex; flex-direction: column; }

body.home #container > .site-header { order: 1; }

body.home #container > #ilovewp-hero { order: 2; }

body.home #container > #ilovewp-home-welcome { order: 3; }

body.home #container > #site-main { order: 4; }

body.home #container > #ilovewp-featured-pages { order: 5; }

body.home #container > .site-footer { order: 6; }

#ilovewp-home-welcome .ilovewp-column-1 { display: none; }

@media (min-width: 961px) {
  #ilovewp-home-welcome { height: 0px; min-height: 0px; padding: 0px !important; }
}

body.home .site-header { position: relative; z-index: 100; }

body.home #site-header-navigation { position: relative; z-index: 101; }

#site-aside { display: none !important; }

#site-branding { display: grid; grid-template-columns: auto minmax(190px, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; }

#site-branding .custom-logo-link { grid-area: 1 / 1 / 3; width: auto; }

#site-branding::before { content: "Kapadokya Kilisesi"; grid-area: 1 / 2; align-self: end; color: rgb(24, 33, 34); font-family: var(--faith-ff-accent); font-size: 20px; font-weight: 700; line-height: 1.2; white-space: nowrap; }

#site-branding::after { content: "“Gerçeği bileceksiniz ve gerçek sizi özgür kılacak.”"; grid-area: 2 / 2; align-self: start; max-width: 230px; color: rgb(72, 72, 72); font-size: 12px; line-height: 1.45; }

@media (min-width: 961px) {
  .page-header-default .wrapper-header #site-branding { flex: 0 0 31%; }
  .page-header-default .wrapper-header #site-header-navigation { flex: 1 1 69%; }
}

@media (max-width: 960px) {
  #site-branding { width: 100%; grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; row-gap: 5px; text-align: center; }
  #site-branding .custom-logo-link { grid-area: 1 / 1; }
  #site-branding::before { grid-area: 2 / 1; }
  #site-branding::after { grid-area: 3 / 1; max-width: 300px; }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .page-header-default .wrapper-header #site-branding { flex: 0 0 25%; grid-template-columns: auto minmax(125px, 1fr); column-gap: 10px; }
  .page-header-default .wrapper-header #site-header-navigation { flex: 1 1 75%; }
  #site-branding .custom-logo { max-height: 72px; }
  #site-branding::before { font-size: 17px; }
  #site-branding::after { display: none; }
  #site-header-navigation { font-size: 14px; }
}

body, #container, #site-main, #site-content, #ilovewp-featured-pages { background-color: rgb(248, 247, 242); }

body #site-content { background-color: rgb(248, 247, 242) !important; }

#site-branding { position: relative; }

#site-branding .custom-logo-link::after { content: ""; position: absolute; inset: 0px; z-index: 20; cursor: pointer; }

#site-branding::before, #site-branding::after { color: rgb(155, 97, 46) !important; }

/* Mobil konu arama düğmesi hizası ve marka metni tonu */
#site-branding::before,
#site-branding::after {
  color: #7a481f !important;
}

@media (max-width: 560px) {
  .kk-topic-search {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .kk-topic-search summary {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 360px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px;
    padding-right: 16px;
  }
}
