/*
CSS for trygg læring
*/
body header.site-header{
    padding: 0;
	background-color: unset !important;
}

.tl-banner{
	width: 100%;
	height: auto;
}

h1.entry-title {
    color: #99002b;
}

a.bread-link.bread-home {
    display: flex;
    align-items: center;
    align-content: center;
    background-color: #eee;
    border: 2px solid transparent;
    border-radius: 1rem;
    font-size: 1.125rem;
    height: auto;
    padding: 0.375rem 1rem !important;
}

a.bread-link.bread-home:hover {
    outline: 2px solid #992b00 !important;
}

.entry-header .entry-title, h1 {
	font-size: 3.5em;
	font-weight: normal;
}

/*strekk under tittelen*/
h1 {
    position: relative; /* Ensure the pseudo-element is positioned relative to the <h1> */
    display: inline-block; /* Adjust as needed to fit your layout */
}

h1::after {
    content: ''; /* Required for the pseudo-element to be visible */
    display: block; /* Make the pseudo-element a block element */
    width: 100px; /* Adjust the width of the line */
    height: 10px; /* Adjust the height of the line */
    background-color: #99002b; /* Set the color of the line */
    position: absolute; /* Position the line relative to the <h1> */
    bottom: -5px; /* Adjust the position of the line */
    left: 50%; /* Center the line horizontally */
    transform: translateX(-50%); /* Center the line horizontally */
}

header.entry-header p {
    text-align: center;
    color: #99002b;
    font-size: 1.5em;
    line-height: 1.5;
}

/*post box*/
.trygg-laering-mal .entry-content .wp-block-kadence-posts article{
    border-radius:  10px;
    background: #ECEBEA;
    box-shadow: none !important;
	background: linear-gradient(to bottom, #ECEBEA 70%, #ECE6E1 30%);
}

.trygg-laering-mal .entry-content .wp-block-kadence-posts .post-thumbnail .post-thumbnail-inner {
    margin: 1em;
    background: white;
    border-radius: 15px;
}

.trygg-laering-mal .entry-content .wp-block-kadence-posts .entry-content-wrap{
    background: #ECE6E1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	/* min-height: 12em; */
}

/*gjem språk meny på hovedparent side - trygg læring*/
.trygg-laering-mal.page-parent:not(.page-child) .available-lang,
.trygg-laering-mal.page-parent:not(.page-child) .printPage-div{
	display: none;
}
