/*
 Theme Name:   2023 child
 Description:  Child Theme
 Author:       
 Template:     twentytwentythree
 Version:      1.0
 Text Domain:  2023-child2
*/

@viewport {
	width: device-width;	
	zoom: 1;	
	}


	:root {
		--base-font-size: 16px;
	}


	@font-face {
		font-family: 'ssp_r';
		src: url('fonts/SourceSansPro-Regular.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}
	
	
	
	@font-face {
		font-family: 'ssp_b';
		src: url('fonts/SourceSansPro-Bold.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}
	
	
	@font-face {
		font-family: 'ssp_l';
		src: url('fonts/SourceSansPro-Light.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}


	@font-face {
		font-family: 'os';
		src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	
	}


	@media (prefers-color-scheme: dark) {
		:root {
			--bg-color: #000000;
			--text-color: #ffffff;
		}
	}



	
	:root {
		
		--bg-color: #ffffff;
		--text-color:#242424;
		--base-font-size: 16px;
		

   }
	
	html {
		max-width: 100%;
		overflow-x: hidden;
		scroll-behavior: smooth;
	}


	

body {				
font-family: 'os';	
color:var(--text-color);
font-size: var(--base-font-size);
padding: 0 !important;
position: relative;
max-width: 1920px;
margin: auto;
overflow-x: hidden;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}



body > .wp-site-blocks {
	padding:0;
}

header {
	z-index:300;
	width:100%;
	max-width: 1920px !important;
	background-color: rgb(255, 255, 255, 1);
	top:0;
	position: fixed;
	padding:0;
	
	
	
}

header > div {padding: 0 !important;}

header.scroll {height:140px;}

	



.logo {width:500px !important; width:auto; transition: all 0.5s ease; padding:10px; max-width: 90vw; padding:5px 0;}
.logo.small-logo {width:250px !important;}

.logo > .wp-block-group > p:first-child {
	font-size: 2em;
	margin-top: 1em;
	margin-left: -1.5em;
	text-transform: uppercase;
	-webkit-text-stroke: 1.5px #1a4a5a;
	color: #ffffff;

}


.logo > .wp-block-group > p:last-child {
	font-size: 1.5em;
	margin-top: -1.2em;
	color: #1a4a5a;
	margin-left: -1em;
}

nav {
	background-color: #63a597;
	box-shadow: rgba(0, 0, 0, 0.35) 5px 5px 15px;
max-width: 100%;
margin: 1em auto auto auto !important;
}

nav a {
	font-size: 1.2em;
	font-family: 'ssp_r';
	padding: 0.3em;
	color: #F3F1ED !important;
}

nav a:hover {
	background-color: #c1e1a7;
	color: #148d8d !important;
	transition: all ease 0.5s;
	text-decoration: none;
}


/*Startseite*/
.wp-block-cover:nth-child(1) .wp-block-cover__background {width:100vw; max-width: 100vw;}
.wp-block-cover__image-background {opacity: 0.4;}


.main_content {
position: relative;
  margin-top: -10vh;
  background-color: rgba(250, 250, 250, 0.95);
  padding: 1.5em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  max-width:1300px !important;
  margin-left: auto;
  margin-right: auto;
  z-index:100;
}


h1 {color: #1a4a5a;}
h2 {color: #1a4a5a; font-size: 2.2em;}
h3 {color: #1a4a5a; font-size: 1.6em;}


.psalm {
	background-color: #63a597;
	color: #F3F1ED;
	font-size: 1.2em;
	width: 100%;
	padding:0.2em;
	box-sizing: border-box;
	font-style: italic;
	text-align: center;
}


.wp-block-button__link {
	background-color: #148d8d;
	color: #F3F1ED;
}

.wp-block-button__link:hover {
	background-color: #c1e1a7;
	color: #148d8d;
	transition: all ease 0.5s;
}


.subheadline {
	font-size: 1.2em;
	margin-top:0;
}

.subheadline2 {
	font-size: 1.1em;
	margin-top:0;
}

.blue-box {
	border: solid 1px #148d8d;
	padding: 0.8em;
	background-color: rgb(20, 141, 141, 0.1);
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.child {
	position: relative;
}

.child::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\e4fa";
	color:#148d8d;
	font-size: 2em;
	margin-right: 0.5em;
}

.car {
	position: relative;
}

.car::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f5e4";
	color:#148d8d;
	font-size: 2em;
	margin-right: 0.5em;
}

.images img{
	border: 3px solid white;
}


/* Kontakt */

.tel::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f095";
	color:#148d8d;
	margin-right:1em;
}

.mail::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0e0";
	color:#148d8d;
	margin-right:1em;
}

.adress::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f3c5";
	color:#148d8d;
	margin-right:1em;
}

.fax::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f1ac";
	color:#148d8d;
	margin-right:1em;
}


/* Footer */

footer {
	background-color: #1a4a5a;
	color: #F3F1ED;
	font-size: 0.9em;
}

footer .tel::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f095";
	color:#F3F1ED;
	margin-right:1em;
}

footer .mail::before {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0e0";
	color:#F3F1ED;
	margin-right:1em;
}

footer h2 {font-size: 1.7em; position: relative; color: #F3F1ED;}

footer h2::before {
	position: absolute;
	content: '';
	height: 3px;
	width: 120px;
	background-color: #148d8d;
	margin-top: 1.2em;
	margin-left: -0.8em;
}

.green {background-color: #0e2c40;}

.green a{
	text-decoration: none;
	color: #F3F1ED;
}





.current > div {position: relative; display: flex; flex-direction: column; gap:1em;}
.current > div > p {min-height: 8em;}

.hk-brief, .hk-predigt {min-height: 250px; background-color: #F3F1ED; padding:1em;}
.hk-predigt audio {width:80%; margin: auto;}
.current > div .btn {position: absolute; bottom:10px; display: flex;
  gap: 1em;}


.page-id-1247 .wp-block-cover, .page-id-1254 .wp-block-cover , .page-id-349 .wp-block-cover{display: none;}
.page-id-1247 .main-content, .page-id-1254 .main-content, .page-id-349 .main-content {padding-top:3em !important;} 







.hk-archiv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.hk-archiv-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem 1.25rem 4rem 1.25rem;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	position: relative;
}
.hk-archiv-item h4 {
    margin: .25rem 0 .5rem;
    font-size: 1.5rem;
    color: #333;
}
.hk-archiv-item time {
    font-size: .9rem;
    color: #777;
    display: block;
}
.hk-archiv-item p {
    font-size: .95rem;
    color: #555;
    margin-bottom: .75rem;
    line-height: 1.5;
}
.hk-archiv-item a.button {
    display: inline-block;
    background: #005163;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background .2s ease;
	position: absolute;
	bottom: 1rem;
	margin: auto;
	text-align: center;
	width: 80%;
  left: 10%;
  box-sizing: border-box;
}
.hk-archiv-item a.button:hover {
    background: #007a96;
}





.hk-upload-tabs {
  margin: 20px 0;
  font-family: system-ui, sans-serif;
}

.hk-upload-tabs ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  border-bottom: 2px solid #ddd;
}

.hk-upload-tabs .hk-tab-link {
  display: inline-block;
  padding: 10px 18px;
  background: #f3f3f3;
  color: #333;
  border-radius: 6px 6px 0 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #ddd;
  border-bottom: none;
  position: relative;
  top: 2px;
}

.hk-upload-tabs .hk-tab-link:hover {
  background: #e9e9e9;
}

.hk-upload-tabs .hk-tab-link.active {
  background: #005163;
  color: #fff;
  border-color: #005163;
  top: 0;
}

.hk-tab {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 0 6px 6px 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hk-tab.active {
  display: block;
}

/* Buttons */
.hk-upload-tabs button,
.hk-upload-tabs input[type="submit"] {
  background: #005163;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hk-upload-tabs button:hover,
.hk-upload-tabs input[type="submit"]:hover {
  background: #007a96;
}

/* Textareas */
.hk-upload-tabs textarea,
.hk-upload-tabs input[type="text"],
.hk-upload-tabs input[type="date"],
.hk-upload-tabs input[type="file"] {
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  padding: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Psalm-Vorschau */
.hk-psalm-preview {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 12px;
  margin-top: 10px;
  border-radius: 4px;
}



        .hk-predigt-item audio { margin-top:5px; border-radius:6px; }
        .hk-archiv-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:20px; }
        .hk-archiv-item { border:1px solid #ddd; padding:15px; border-radius:8px; background:#fafafa; }

@media (max-width: 600px) {
  .hk-upload-tabs ul {
    flex-wrap: wrap;
  }
  .hk-upload-tabs .hk-tab-link {
    flex: 1 1 auto;
    text-align: center;
  }
}







@media screen AND (max-width: 780px) {

}

@media screen AND (max-width: 600px) {

	.wp-block-navigation__responsive-container-open {padding:1em;}
	nav a {color:#1a4a5a !important; font-size: 2em;
  padding: 0.5em 1em !important;}


  

	#modal-1::after {
		background-image: url('https://hoffnungskirche-goerlitz.de/wp-content/uploads/2025/10/20100627-0524.jpg');
		background-size: cover;
		background-position: center;
		width:100%;
		height:100%;
		content:'';
		z-index:-1;
		position: absolute;
		left:0;
		top:0;
		opacity:0.1;
		filter:brightness(1)
		

	}

	#modal-1-content {width:100%;
		justify-content: center;
		align-items: center;
		align-content: center;
		flex-direction: column;
	}


}





@media (max-width: 500px) {
	.btn, .hk-archiv {font-size: 0.8em;}
	.hk-archiv tr {padding: 0.5em;}
	.hk-archiv td {vertical-align: top;}
	body {font-size: 16px !important;}
	.wp-block-table.is-style-stripes td {font-size: 0.8em;}
	.main_content {padding:15px; width:100vw; margin: auto; box-sizing: border-box;}
	h1 {font-size:1.6em !important;}
	h2 {font-size:1.6em !important;}
	 h3 {font-size:1.2em !important;}
	.subheadline {
  font-size: 0.8em;
  margin-top: 0;
}

.logo {flex-direction: column;}
.logo > div {align-items: center; gap: 0;}
.logo > .wp-block-group > p {margin:0 !important; text-align: center !important; font-size: 1.2rem !important;}

}



      @keyframes kircheFade {
        0%   { opacity: 0; transform: scale(0.99);  }
        5%   { opacity: 1; transform: scale(1.05); }
        20%  { opacity: 1; transform: scale(1.1); }
        25%  { opacity: 0; transform: scale(1.1); }
        100% { opacity: 0; transform: scale(0.95); }
      }


	  
      .kirche-hero:after {
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        left:0;
        top:90%;
        width:100%;
        content:'';
        height:10%;

      }






.hk-archiv {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, sans-serif;
  font-size: 16px;
}

.hk-archiv th,
.hk-archiv td {
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.hk-archiv tr {
  border-top: 1px solid #ddd;
}

/* --- MOBILE DESIGN --- */
@media (max-width: 768px) {
  .hk-archiv thead {
    display: none; /* Kopf ausblenden */
  }

  .hk-archiv tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f8f8f8;
    padding: 10px;
  }

  .hk-archiv td {
    display: block;
    padding: 6px 10px;
    text-align: left;
  }

  .hk-archiv td:first-child {
    font-weight: bold;
    color: #005163;
  }

  .hk-archiv td a {
    display: inline-block;
    margin-top: 10px;
  }

  .hk-archiv audio {
    width: 100% !important;
    margin-top: 6px;
  }
}
