.et_pb_widget .widgettitle{
background: #f06414!important;
}
.et_pb_widget .widgettitle, .et_pb_widget .wp-block-group>h2, .et_pb_widget .wp-block-group>h3, .et_pb_widget .wp-block-group__inner-container>h2, .et_pb_widget .wp-block-group__inner-container>h3, .et_pb_widget .wp-widget-group__inner-blocks>h2, .et_pb_widget .wp-widget-group__inner-blocks>h3 {
background: #f06414;
}
.post-content .converted-h2 a{
font-weight: bold!important;
}
.category-description a{
font-weight: bold!important;
}
.wp-block-image figcaption {
display:none;
}
.et_extra_other_module .posts-list article .post-thumbnail img, .et_pb_extra_module .posts-list article .post-thumbnail img {
height: 100%;
}
.module.post-module .converted-h1 {
margin-bottom: -20px!important; /* Adjust this value as needed */
}
.posts-carousel-module .converted-h1 {
margin-bottom: -20px!important; /* Adjust this value as needed */
}
.post-wrap-review{
display:none
}
.score-bar{
display:none
}
.comment-body{
background: #fff !important;
border-radius: 5px!important;
box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
#comment-wrap {
padding-top: 5px;
}
.commentlist {
margin-bottom: 5px;
}
.et_extra_layout .et_pb_extra_column_main .et_pb_text_0 {
border-color: #101828!important;
}
.featured-posts-slider-module .post-content h3 a{
font-weight: bold!important;
}
.wp-block-image figcaption {
display:none;
}
.et_extra_layout .et_pb_extra_column_main .et_pb_column .module-head h1{
color:#101828!important;
}
.forside-tekst{
background: #fff!important;
padding: 20px!important;
border-radius: 8px!important;
}
.featured-posts-slider-module .carousel-item {
cursor: pointer;
}
.post-thumbnail.header img {
width: 100%; /* Always fill the container’s width */
max-height: 650px; /* Never exceed 700px in height */
height: auto; /* Let height adjust based on aspect ratio */
object-fit: contain; /* Show the entire image without cropping */
max-width: 100%; /* Responsiveness on smaller screens */
display: block;
margin: auto; /* Center the image */
}
/* Media query for phone sizes */
@media (max-width: 750px) {
.post-thumbnail.header img {
width: 100%;
max-height: 650px; /* Still cap height at 700px on phones */
height: auto;
}
}
.single-post .post-content h2 {
font-size:25px;
font-weight:bold;
margin-top:30px;
}
.single-post .post-content h3 {
font-size:20px;
font-weight:bold;
margin-top:10px;
margin-bottom:-10px;
}
.single-post .post-content a {
font-weight:bold!important;
}
.single-post .post-content h4 {
font-size:18px;
font-weight:bold;
margin-bottom:-10px;
}
.single-post .post-content p {
margin-bottom: 10px!important;
}
.category-description h2 {
font-size:25px;
font-weight:bold;
margin-top:10px;
}
.category-description h3 {
font-size:20px;
font-weight:bold;
margin-top:10px;
margin-bottom:-10px;
}
.category-description h4 {
font-size:18px;
font-weight:bold;
margin-bottom:-10px;
}
.page-template-default .et_pb_text_inner h2 {
font-size:25px;
font-weight:bold;
margin-top:10px;
}
.page-template-default .et_pb_text_inner h3 {
font-size:20px;
font-weight:bold;
margin-top:10px;
margin-bottom:-10px;
}
.page-template-default .et_pb_text_inner h4 {
font-size:18px;
font-weight:bold;
margin-bottom:-10px;
}
.image-description {
font-size: 12px;
color: white;
background-color: rgba(0, 0, 0, 0.7);
padding: 8px;
text-align: center;
display: block; /* Change from inline-block to block */
margin: 0 auto; /* Auto margins for centering */
}
.image-description a {
color: white;
text-decoration: underline;
font-weight: bold;
}
.author-link{
word-break: normal!important;
word-wrap: normal!important;
}
/* Restrict the width of the content inside the headers */
@media (min-width: 1024px) {
/* Restrict the width of the content inside the headers */
#top-header .container,
#main-header-wrapper .container {
max-width: 1080px;
width: 100%;
margin: 0 auto;
}
}
.et_pb_widget .widget_list img {
height: 100%;
}
.et_pb_widget .widget_list .title {
font-size: 12px
}
.et_pb_widget .widget_list_portrait, .et_pb_widget .widget_list_thumbnail {
background: #fff!important;
}
.post-header {
padding: 30px;
}
.sub-menu a {
color: white !important; /* Ensures the text remains white */
text-decoration: none; /* Removes underline, if any */
}
.sub-menu a:hover,
.sub-menu a:focus,
.sub-menu a:active {
color: white !important; /* Prevents color change on hover, focus, or active state */
text-decoration: none; /* Prevents underline or other styles */
}
.post-content a{
color:#101828;
}
.review-link{
color: #fff!important;
}
.featured-posts-slider-module a{
color: #fff!important;
}
/* Media query for phone sizes */
@media (max-width: 500px) {
.featured-posts-slider-module a {
color: #101828!important;
}
}
.converted-h2 a {
color: #101828 !important;
-webkit-text-fill-color: #101828 !important;
text-decoration: none !important;
}
.page-numbers.current{
background: #101828!important;
}
.partner-header h3 a {
color: white !important;
font-weight:bold;
}
.et_pb_widget .widget_list .post-meta {
display: none;
}
@media (max-width: 1024px) {
.et_pb_extra_column_main {
display: block !important; /* Change from flex to block */
width: 100% !important;
max-width: 100%;
flex-wrap: nowrap !important; /* Prevent wrapping */
overflow: hidden !important; /* Ensure no unexpected overflow */
}
}
/* 1. Gør Twitter embeds CLS-sikre */
.wp-block-embed-twitter .wp-block-embed__wrapper,
.blockquote.twitter-tweet {
display: block;
min-height: 400px; /* Reserveplads for at undgå CLS */
max-width: 100%;
width: 100%;
overflow: hidden;
position: relative;
margin-bottom: 1.5rem;
}
.wp-block-embed-twitter iframe,
.blockquote.twitter-tweet iframe {
width: 100% !important;
display: block;
}
/* 2. YouTube embeds */
.wp-block-embed-youtube .wp-block-embed__wrapper,
.wp-block-embed.is-provider-youtube iframe,
iframe[src*=”youtube”] {
display: block;
aspect-ratio: 16 / 9;
width: 100%;
height: auto;
max-width: 100%;
margin-bottom: 5px;
}
/* 3. Sikring mod CLS i dynamisk content */
.post-content.entry-content iframe,
.post-content.entry-content .wp-block-embed__wrapper {
max-width: 100%;
display: block;
}
/* 4. Reservér plads til billeder */
.post-wrap img {
max-width: 100%;
height: auto;
object-fit: contain;
}
/* 5. Fallback aspect-ratio for billeder uden dimensioner */
.post-wrap img:not([width]):not([height]) {
aspect-ratio: 3 / 2; /* Brug 16/9 hvis det passer bedre til dine billeder */
}
/* 6. Sikr at post-wrap ikke skaber hop */
.post-wrap {
display: block;
width: 100%;
overflow-wrap: break-word;
}
Recent Comments