/*
 Theme Name:     Astra Child
 Theme URI:      https://burgdorf.news/
 Description:    Ein Child Theme für Astra
 Author:         Dein Name
 Author URI:     https://burgdorf.news/
 Template:       astra
 Version:        1.0
 Text Domain:    astra-child
*/

/* Optional: eigene CSS-Anpassungen hier */

body, h1, .entry-title a, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6 {
	color: black;
}

div.ast-site-title-wrap span {
	display: none;
}

/* Burger-Menü-Icon vergrößern */
.ast-mobile-svg.ast-menu-svg {
    width: 40px !important;
    height: 40px !important;
}

/* Optional: Schließen-Icon ebenfalls anpassen */
.ast-mobile-svg.ast-close-svg {
    width: 40px !important;
    height: 40px !important;
}

header .custom-logo-link img {
	max-width:250px;
}

.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal {
    padding-top: 2px;
}

@media (max-width: 921px) {
	.ast-header-break-point .ast-mobile-header-wrap .ast-flex.stack-on-mobile {
		text-align:center;
	}
	
	ul#ast-hf-mobile-menu a.menu-link {
		background-color: #dee2f6 !important;
		font-weight: bold;
	}
}

.post-thumbnail {
	width: 100%;
	padding-bottom: 20px;
}

img.attachment-large.size-large {
	width: 100% !important;
}


.post-caption {
	font-weight:bold;
	color: rgb(0, 0, 95);
	line-height: var(--ast-body-line-height, 1.25);
	padding: 2px;
	background-color: #0101010d;
	font-size: 1rem;
}

.post_credit {
	font-size: 0.9rem;
    color: gray;
    text-align: center;
}

#content {
	padding-bottom: 20px;
	background-color: white;
}

a.wp-block-latest-posts__post-title {
    font-weight: bold;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
    overflow: hidden;
    border-bottom: 1px solid #000000d4;
}

header.entry-header .entry-title {
	text-align:center;
}

.site-below-footer-wrap {
	padding-bottom: 0px;
	padding-top: 0px;
}

.site-below-footer-wrap {
	padding-left: 4px;
	padding-right: 4px;
}

.ast-container, .ast-container-fluid {
	padding-left: 5px;
	padding-right: 5px;
}

.entry-content > .pagination > .page-numbers {
	padding: 0.3em 0.3em;
}

#content.site-content {
	padding-bottom: 0px;
}

.custom-meta-fields {
	display: none;
}

.site-above-footer-wrap.ast-builder-grid-row-container.site-footer-focus-item.ast-builder-grid-row-full.ast-builder-grid-row-tablet-full.ast-builder-grid-row-mobile-full.ast-footer-row-stack.ast-footer-row-tablet-stack.ast-footer-row-mobile-stack {
	padding-top: 0px;
	padding-bottom: 0px;
}

.entry-title {
	margin-bottom: 0.0em;
	margin-top: 0.0em;
}

.page .entry-header {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
	background-color: rgb(208, 215, 255);
}

div.entry-content {
	font-size: 1.25rem;
}
/* Beitragsliste */

ul.beitragsliste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

ul.beitragsliste li {
    border: 1px solid #ddd;
    padding: 1em;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.beitragsliste-datum {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.6em;
    font-style: italic;
}

.beitragsliste-zeile {
    display: flex;
    gap: 0.5em;
    align-items: flex-start;
}

.beitragsliste li .beitragsliste-text a {
	text-decoration: none;
}

.beitragsliste-bild img {
    width: 110px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.beitragsliste-text {
    flex: 1;
    display: flex;
	line-height: 1em;
    flex-direction: column; /* Titel und Anlauftext untereinander */
}

.beitragsliste-anlauftext {
    margin-top: 0.5rem;
    font-size: 0.95rem; /* optional kleinerer Text */
    color: #555; /* optional leicht grauer Farbton */
}

.beitragsliste-titel {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 0.8rem;
}

.site-content .ast-container {
	flex-direction: column;
}

.ast-separate-container #primary {
	padding: 1em 0px;
}
@media (min-width: 922px) {
	.beitragsliste-bild img {
		width: 300px;
		height: auto;
		object-fit: cover;
		border-radius: 4px;
		flex-shrink: 0;
	}
	
	.beitragsliste-titel {
		font-size: 2.1rem;
		font-weight: 600;
		color: #1a1a1a;
		text-decoration: none;
		line-height: 1.4;
	}
	.page .entry-header {
		margin-top: 0.4em;
		margin-bottom: 0.4em;
		background-color: transparent;
	}
	div#primary.primary {
		margin-bottom:0px !important;
	}
	
	.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
		min-height: auto;
	}
}


.beitragsliste-titel:hover {
    color: #0073aa;
}

ul.beitragsliste li {
    position: relative;
    margin-bottom: 0em;
    
}

ul.beitragsliste li:hover {
    background-color: #ecf7ff;
    
}
/* Pagination */
div.pagination {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em !important;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 0.25em;
    padding: 0.4em 0.8em;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s;
}

.pagination .page-numbers:hover {
    background: #f0f0f0;
    border-color: #999;
}

.pagination .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    font-weight: bold;
}


/* single page view */
.single-container {
    max-width: 800px;
    margin: 3em auto;
    padding: 0 1.5em;
    font-family: "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

.single-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1em;
}

.single-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1em;
    color: #111;
}

.single-thumbnail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5em;
    border-radius: 6px;
}

.single-content {
    font-size: 1.05rem;
    color: #222;
}

.single-categories {
    margin-top: 2em;
    font-size: 0.9rem;
    color: #555;
}

.single-thumbnail {
    margin-bottom: 2.5em; /* statt z. B. 1.5em */
}

.single-figcaption {
    margin-top: 0.5em;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

.single-thumbnail img {
	margin-bottom: 0em;
}

.single-title {
	line-height: 2rem;
	margin-bottom: 0.5em;
}

.single-thumbnail {
	margin-bottom: 1.0em;
}

/* Social Share Buttons */
.social-share-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    text-align:center;
}

.single .post-navigation {
	padding-top: 0px;
}

.social-share-icons-teilen {
	font-size: 1.2rem;
}

.social-share-icons span {
    font-weight: bold;
}

.social-share-icons a {
    display: inline-flex;
    align-items: center;
    color: #444;
    text-decoration: none;
}

.entry-content > * {
	margin-bottom: 0px;
}
.social-share-container {
	display: flex;
	gap: 1.3rem;
	align-items: center;
	flex-wrap: wrap;
}

.social-share-container a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
}

.social-share-icons a:hover {
    color: #0073aa;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: fill 0.2s ease-in-out;
}

div.ast-footer-copyright p {
	font-size:80%;
}

.post-navigation a{
	font-size: 1em; 
}
@media (max-width: 544px) {
    .site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
  	 margin-bottom:0px;
    }
}
    