/* Theologie Heute v1.3.1 */
:root{
--th-navy:#0F1D2D;--th-petrol:#21424B;--th-gold:#C89A4B;--th-gold-dark:#A8792E;
--th-text:#24323B;--th-mid:#5F6A70;--th-page:#F5F2EB;--th-warm:#FCFBF8;--th-cream:#F8F5DF;--th-border:#E5E1DA;
--global-palette1:#C89A4B;--global-palette2:#21424B;--global-palette3:#0F1D2D;--global-palette4:#24323B;
--global-palette5:#5F6A70;--global-palette6:#9AA1A5;--global-palette7:#F5F2EB;--global-palette8:#FCFBF8;--global-palette9:#FFFFFF;
}
html{scroll-behavior:smooth}
body{margin:0;background:var(--th-page);color:var(--th-text);font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:18px;line-height:1.72;-webkit-font-smoothing:antialiased}

/* Fix Kadence header/footer across full viewport AND center container */
#masthead,.site-header-wrap,.site-header-main-section,.site-main-header-wrap,
#masthead .site-header-row-container,#masthead .site-header-row-container-inner,
#masthead .site-header-row,#masthead .site-container,
#masthead .site-header-section,#masthead .site-header-item{
background-color:var(--th-navy)!important;
}
#colophon,.site-footer,.site-footer-wrap,
#colophon .site-footer-row-container,#colophon .site-footer-row-container-inner,
#colophon .site-footer-row,#colophon .site-container,
#colophon .site-footer-section,#colophon .site-footer-item{
background-color:var(--th-navy)!important;
}
#masthead,#colophon{width:100%!important}
#masthead .site-container,#colophon .site-container{max-width:1290px;margin-left:auto;margin-right:auto}

/* Keep ordinary pages warm with white content card */
#page,#inner-wrap,.site,.site-container,.content-wrap,.content-container{background-color:transparent}
.content-bg,.entry-content-wrap{background:#fff}
.site-main{background:transparent}

h1,h2,h3,h4,h5,h6,.entry-title,.page-title,.site-title{font-family:"Playfair Display",Georgia,serif;color:var(--th-navy);font-weight:600}
a{color:var(--th-petrol);text-underline-offset:.12em}a:hover{color:var(--th-gold-dark)}

/* Brand mark prepended to Kadence text site title */
#masthead .site-title a{
display:inline-flex;align-items:center;min-height:48px;padding-left:58px;position:relative;
color:#fff!important;font-family:"Playfair Display",Georgia,serif;font-size:26px;font-weight:600;text-decoration:none;
}
#masthead .site-title a:before{
content:"";position:absolute;left:0;top:50%;width:46px;height:46px;transform:translateY(-50%);
background:url("../img/theologie-heute-mark.svg") center/contain no-repeat;
}
#masthead .site-description{color:rgba(255,255,255,.72)!important}
#masthead .header-navigation a,#masthead .main-navigation a,#masthead .menu-toggle-open,#masthead .menu-toggle-close{
color:#fff!important;font-family:"Source Sans 3",Arial,sans-serif;font-size:13px;font-weight:600;letter-spacing:.04em
}
#masthead .header-navigation a:hover,#masthead .header-navigation .current-menu-item>a,
#masthead .main-navigation a:hover,#masthead .main-navigation .current-menu-item>a{color:var(--th-gold)!important}



/* Real Kadence header brand injected through Kadence render hooks */
.th-header-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.th-header-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  color: #fff !important;
  text-decoration: none !important;
}

.th-header-brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.th-header-brand-name {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: .92;
  letter-spacing: .01em;
  white-space: nowrap;
}

.th-header-brand-line {
  display: block;
}

.th-header-brand-link:hover .th-header-brand-name {
  color: var(--th-gold);
}

#masthead .site-main-header-inner-wrap {
  min-height: 82px;
}

#masthead .site-header-main-section-left {
  display: flex;
  align-items: center;
}

#masthead .site-header-main-section-right {
  margin-left: auto;
}

@media (max-width: 767px) {
  .th-header-brand-desktop {
    display: none;
  }

  .th-header-brand-mobile .th-header-brand-link {
    min-height: 46px;
    gap: 9px;
  }

  .th-header-brand-mobile .th-header-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .th-header-brand-mobile .th-header-brand-name {
    font-size: 17px;
    line-height: .94;
  }
}

@media (min-width: 768px) {
  .th-header-brand-mobile {
    display: none;
  }
}

/* Footer text */
#colophon,#colophon a,.site-footer,.site-footer a{color:rgba(255,255,255,.88)}
#colophon a:hover,.site-footer a:hover{color:var(--th-gold)}
#colophon h1,#colophon h2,#colophon h3,.site-footer h1,.site-footer h2,.site-footer h3{color:#fff}

/* Buttons */
button,.button,.wp-block-button__link,.wp-element-button,input[type=submit],.kt-button,.kb-button,.th-button{
background:var(--th-navy);border:0;border-radius:4px;box-shadow:none!important;color:#fff!important;
font-family:"Source Sans 3",Arial,sans-serif;font-size:13px;font-weight:700;letter-spacing:.04em;line-height:1.2;
padding:12px 24px;text-transform:uppercase;text-decoration:none
}
button:hover,.button:hover,.wp-block-button__link:hover,.wp-element-button:hover,input[type=submit]:hover,.kt-button:hover,.kb-button:hover,.th-button:hover{
background:var(--th-petrol);color:#fff!important
}

/* Homepage */
.th-custom-home .content-area,.th-custom-home .site-main,.th-home-main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
.th-custom-home .content-container,.th-custom-home #inner-wrap{max-width:none!important;padding:0!important}
.th-shell{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.th-section{padding:58px 0 66px}
.th-hero{min-height:500px;display:flex;align-items:center;border-bottom:1px solid rgba(15,29,45,.08)}
.th-hero-inner{padding-block:70px}.th-hero-copy{max-width:620px}
.th-eyebrow{display:inline-block;color:var(--th-petrol);font-family:"Source Sans 3",Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.075em;text-transform:uppercase}
.th-eyebrow-light{color:var(--th-gold)}
.th-hero h1{margin:10px 0 0;font-size:clamp(46px,5vw,68px);line-height:.98;font-weight:500}
.th-gold-rule{display:block;width:38px;height:2px;margin:20px 0;background:var(--th-gold)}
.th-hero p{max-width:540px;margin:0 0 28px;font-size:19px;line-height:1.62}
.th-latest{background:var(--th-warm)}
.th-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:24px}
.th-section-heading h2{margin:0;font-size:clamp(28px,3vw,36px)}
.th-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.th-card{background:#fff;border:1px solid var(--th-border);border-radius:4px;overflow:hidden;box-shadow:0 1px 2px rgba(15,29,45,.035)}
.th-card-media{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--th-petrol)}
.th-card-media img{width:100%;height:100%;object-fit:cover}
.th-card-placeholder{position:relative;display:block;width:100%;height:100%;background:
radial-gradient(circle at 72% 30%,rgba(200,154,75,.72) 0 7%,transparent 7.5%),
linear-gradient(150deg,#1B303D 0 36%,#5A6E68 37% 55%,#A69478 56% 58%,#243F46 59%)}
.th-card-placeholder span{position:absolute;left:18%;right:18%;bottom:24%;height:2px;background:rgba(255,255,255,.72)}
.th-card-body{padding:18px 18px 20px}.th-card-kicker{margin-bottom:8px;color:var(--th-petrol);font-family:"Source Sans 3",Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.th-card h3{margin:0 0 10px;font-size:23px;line-height:1.15}.th-card h3 a{color:var(--th-navy);text-decoration:none}
.th-card p{margin:0 0 16px;font-size:15px;line-height:1.58}.th-card-more{color:var(--th-navy);font-family:"Source Sans 3",Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:.045em;text-transform:uppercase;text-decoration:none}
.th-empty-state{grid-column:1/-1;padding:28px;background:#fff;border:1px solid var(--th-border)}
.th-topics-section{background:#fff}.th-topic-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.th-topic{min-height:132px;padding:20px 12px;border:1px solid var(--th-border);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--th-navy);font-family:"Source Sans 3",Arial,sans-serif;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.035em}
.th-topic-icon{font-family:Georgia,serif;font-size:32px;line-height:1;color:var(--th-petrol)}
.th-about{padding:58px 0 64px;background:var(--th-navy);color:rgba(255,255,255,.88)}
.th-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px}.th-about h2{color:#fff;margin:8px 0 12px;font-size:30px}.th-about p{margin:0;max-width:570px;font-size:16px;line-height:1.7}


/* Kadence page/post title (Hero) — explicit readable editorial styling */
.entry-hero.page-hero-section .entry-hero-container-inner,
.entry-hero.post-hero-section .entry-hero-container-inner,
.page-hero-section .entry-hero-container-inner,
.post-hero-section .entry-hero-container-inner {
  background: var(--th-cream) !important;
  background-image: none !important;
}

.entry-hero .hero-section-overlay,
.page-hero-section .hero-section-overlay,
.post-hero-section .hero-section-overlay {
  background: transparent !important;
  opacity: 0 !important;
}

.entry-hero .hero-container {
  background: transparent !important;
  padding-top: 36px;
  padding-bottom: 36px;
}

.entry-hero .entry-header,
.entry-hero .page-title,
.entry-hero .entry-title,
.page-hero-section .entry-title,
.post-hero-section .entry-title {
  color: var(--th-navy) !important;
}

.entry-hero .entry-title,
.entry-hero .page-title {
  margin-top: 0;
  margin-bottom: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
}

.entry-hero .kadence-breadcrumbs,
.entry-hero .kadence-breadcrumbs a {
  color: var(--th-mid) !important;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 13px;
}

/* Normal post/page cards and scholarly details */
.loop-entry,.wp-block-post{background:#fff;border:1px solid var(--th-border);border-radius:4px;box-shadow:0 1px 2px rgba(15,29,45,.035)}
.single-post .entry-content{font-size:18px;line-height:1.75}
.th-abstract{background:var(--th-cream);border-left:3px solid var(--th-gold);padding:24px 28px;margin:28px 0 34px;max-width:780px}
.wp-block-footnotes,.footnotes{border-top:1px solid var(--th-border);color:var(--th-mid);font-size:.88em;margin-top:3rem;padding-top:1.4rem;max-width:780px}
.th-literatur{border-top:1px solid var(--th-border);margin-top:2rem;padding-top:1.4rem;max-width:780px}

@media(max-width:1024px){.th-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
.th-shell{width:min(100% - 32px,1240px)}.th-section{padding:42px 0 48px}.th-card-grid{grid-template-columns:1fr}.th-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-about-grid{grid-template-columns:1fr;gap:36px}
.th-hero{min-height:420px}
.th-hero-inner{padding-block:54px}.th-hero h1{font-size:clamp(40px,12vw,52px)}
#masthead .site-title a{font-size:20px;padding-left:48px}#masthead .site-title a:before{width:38px;height:38px}
}


/* v1.3 editable static homepage */
.home .entry-hero,
.home .page-hero-section {
  display: none !important;
}

.home .content-area,
.home .site-main,
.home .content-container,
.home .entry-content-wrap,
.home .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.home .entry-content-wrap,
.home .content-bg {
  background: transparent !important;
  box-shadow: none !important;
}

/* Editable Cover hero: image comes from the WordPress Cover block */
.th-home-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(15,29,45,.08);
}

.th-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248,245,223,.95) 0%,
    rgba(248,245,223,.85) 34%,
    rgba(248,245,223,.42) 57%,
    rgba(15,29,45,.08) 100%
  );
}

.th-home-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.th-home-hero .wp-block-cover__image-background {
  object-position: center center;
}

.th-home-hero .th-hero-copy {
  margin-left: 0;
}

.th-home-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 18px !important;
  margin: 0;
  padding: 0;
}

.th-home-query .wp-block-post {
  margin: 0;
}

.th-home-query .th-card {
  height: 100%;
  padding: 0 0 20px;
  overflow: hidden;
}

.th-home-query .th-card > *:not(.th-card-media) {
  margin-left: 18px;
  margin-right: 18px;
}

.th-home-query .th-card-media {
  margin: 0 0 16px !important;
  width: 100%;
}

.th-home-query .th-card .wp-block-post-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.15;
}

.th-home-query .th-card .wp-block-post-title a {
  color: var(--th-navy);
  text-decoration: none;
}

.th-home-query .th-card .wp-block-post-excerpt {
  font-size: 15px;
  line-height: 1.58;
}

.th-home-query .th-card .wp-block-post-excerpt__more-link {
  color: var(--th-navy);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-decoration: none;
}

.th-topic-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0,1fr)) !important;
  gap: 12px !important;
}

.th-topic-grid > .th-topic {
  margin: 0 !important;
}

.th-topic h3 {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.th-about .th-about-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 64px !important;
}

@media (max-width: 1024px) {
  .th-home-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .th-topic-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}

@media (max-width: 767px) {
  .th-home-hero {
    min-height: 420px;
  }

  .th-home-hero::after {
    background: linear-gradient(
      90deg,
      rgba(248,245,223,.96),
      rgba(248,245,223,.80)
    );
  }

  .th-home-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }

  .th-topic-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .th-about .th-about-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}
