.articles-hero-beige {
	padding-bottom: 120px !important;
	color: #4d3d71;
}

.articles-hero-beige .archive-category-title,
.articles-hero-beige .post-archive-filter-heading {
	color: #4d3d71;
}

.articles-hero-beige .category-button.active-filter {
   background-color: #4d3d71 !important;
}

.articles-hero-beige .category-button.active-filter svg,
.articles-hero-beige .category-button.active-filter span{
	color: white !important;
}

.articles-hero-beige .category-button.active-filter svg g path,
.articles-hero-beige .category-button.active-filter svg g line{
	stroke: white !important;
}

.article-div:has(.single-article.hidden) {
	display: none !important;
}

.article-div {
	padding-left: 15px !important;
}

.article-body {
	padding: 10px 20px !important;
    color: #A69EB8;
	font-size: 13px;
    font-weight: 400;
    display: grid;
	min-height: 210px !important;
	max-height: 210px;
}

.article-body span{
	/* font-size: 14px; */
	font-size: 13px;
    color: #4d3d71;
    text-transform: uppercase;
}

.article-top, 
.article-top div,
.article-bottom{
	display: flex;
    justify-content: space-between !important;
}

.article-top div p {
    margin: 0px 0 0 5px !important; 
    color: #B08079;
    font-size: 14px;
}

.article-top img {
	width: auto !important;
    height: 22px !important;
}

.article-body .uk-card-title {
	color: #4d3d71 !important;
    font-size: 18px;
	/* font-size: 20px; */
}

.article-body h6{
	margin-bottom: 0px !important;
}

.article-body .el-content{
	margin: 0 !important;
}

.article-body .el-content p {
    display: -webkit-box; 
    -webkit-line-clamp: 3; /* Number of lines you want to display */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-bottom {
    padding-bottom: 0 !important;
    align-self: flex-end !important;
}

.article-bottom div img:first-of-type{
	max-height: 22px;
	position: relative;
	top: -2.5px;
    object-fit: fill !important;
}

.article-bottom .read-more-link img{
	width: 20px !important;
    height: auto !important;
    margin-bottom: 3px !important;
    margin-left: 3px !important;
}

a:has(.single-article):hover,
a:has(.single-guide):hover {
    text-decoration: none !important;
}

.single-article img,
.single-guide img{
    width: 100%;
    height: 190px;
    object-fit: cover;
	border-radius: 8px 8px 0px 0px !important;
}

.single-article,
.single-guide {
    margin-right: auto !important;
    margin-left: auto !important;
    max-width: 300px !important;
}

.single-article:not(.hidden),
.single-guide:not(.hidden) {
    height: auto;
    margin-bottom: 50px !important;;
    opacity: 1;
    padding: 0px !important;
}

.single-article.hidden,
.single-guide.hidden{
    height: 0;
    margin-bottom: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
}

.show-more-button {
	width: 100% !important;
}

.show-more-button a {
	max-width: 320px !important;
	margin: 0 auto !important;
}

.show-more-button .uk-button::after{
	transform: rotate(90deg);
    padding-left: 12px !important;
    margin-left: 10px !important;
}

.search-bar-articles {
	width: 100%;
}

.search-bar-articles input:last-of-type{
    width: calc(100% - 140px);
    padding: 18px 20px 16px;
    border-style: none;
    border-radius: 10px;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,.05);
	-webkit-appearance: none;
}

.search-bar-articles input:last-of-type::placeholder{
	color: #A69EB8 !important;
    font-size: 16px;
}

.search-bar-articles button{
    padding: 14px 30px;
    background-color: #4d3d71;
    border-radius: 8px;
    border-style: none;
    color: white;
    font-family: "circular-2";
    font-size: 16px;
    margin-left: 5px;
    cursor: pointer;
}

.search-bar-articles button:hover {
	 background-color: #6F5E94;
}

.search-bar-articles input:last-of-type:focus-visible,
.search-bar-articles input:last-of-type:focus:not([tabindex^='-']){
    outline: 2px solid #A69EB8;;
}

.category-button span{
	color: #4d3d71;
}

.category-button svg {
	fill: none;
    max-width: unset !important;
}

.button-chevron {
	visibility: hidden;
}

@media screen and (max-width: 959px){
    .single-article, 
	.single-guide{
    	max-width: none !important;
    }
}

@media screen and (max-width: 639px){
    .article-body{
    	min-height: 0 !important;;
    }
    .article-body .el-content{
       min-height: 66px !important;;
    }

	.single-article,
	.single-guide{
    	max-width: 400px !important;
    }
    .article-div {
        padding-left: 30px !important;
    }
}

.category-button {
    display: flex !important;
    justify-content: space-between;
}

/* CATEGORY BUTTON DROPDOWN */

.category-dropdown-container {
    color: #4d3d71 !important;
    font-size: 16px !important;
    text-align: center;
    display: none;
    position: fixed;
    top: 0;
    z-index: 1000 !important;
    left: 0;
    right: 0;
    width: 100% !important;
}

.category-dropdown-buttons {
    padding: 5px 0;
}

.category-dropdown-buttons:hover {
    text-decoration: underline;
}

.category-dropdown-container .mobile-subnav-btn {
    background-color: white;
    margin: 0 auto;
    padding: 12px 16px 12px 20px;
    border-radius: 10px;
    max-width: 590px;
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    position: relative;
}

.category-dropdown-container .uk-dropdown {
    width: calc(100% - 40px);
    padding: 8px 20px;
    max-width: 590px;
    color: #4d3d71 !important;
}

.category-dropdown-wrapper {
    background-color: #ffede1;
    padding: 25px 10px;
}

.category-dropdown-container > .section-wave {
    position: relative;
}

.category-dropdown-container > .section-wave svg {
    transform: none !important;
    top: -1px !important;
}

.category-dropdown-container .mobile-subnav-btn[aria-expanded="false"]:after {
    content: url(/wp-content/themes/babyj-child-theme/img/chevron.svg);
    position: absolute;
    right: 24px;
    top: 14px;
    transform: rotate(90deg);
}

.category-dropdown-container .mobile-subnav-btn[aria-expanded="true"]:after {
    content: url(/wp-content/themes/babyj-child-theme/img/chevron.svg);
    position: absolute;
    right: 24px;
    top: 14px;
    transform: rotate(-90deg);
}

/* PODCAST */
.epi-wrapper {
	padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0, 0.2);
    cursor: pointer;
}

.episode-title{
    min-height: 85px;
	display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.episode-title p {
	margin: 0;
    font-family: "circular-2";
    font-weight: 100;
    font-size: 18px;
}

.podcast-modal {
	display: none;
    position: fixed;
    width:100%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
    overflow: auto;
    padding: 0;
    background-color: rgba(0,0,0,0.3)
}

.podcast-modal-content {
    background-color: #fefefe;
    margin: 10vh auto; 
    padding: 30px 20px 10px;
    width: 95%;
    border-radius: 16px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    -moz-box-shadow:0px 4px 10px rgba(0,0,0,0.25);
}
.modal-head {
	display: flex;
    flex-direction: column;
}

.modal-head-content{
 	padding-left: 0px;
    margin: 15px 0 2px;
}

.modal-head-content p {
	color: #4d3d71;
    font-weight: 500;
	font-size: 20px;
    margin-bottom: 10px;
}

.modal-head-content h3{
	font-size: 26px;
    color: #4d3d71;
    margin-top: 0px;
    min-height: 0;
}

.modal-head-content .el-meta {
    margin-top: 30px !important;
	text-transform: capitalize;
    font-size: 18px;
    color: rgba(77, 61, 113, 0.7);
    font-weight: 500;
}

.modal-head-content .el-meta img{
	margin-bottom: 5px;
}

 .podcast-modal-content span {
     position: absolute;
     top: calc(10vh + 20px);
     right: 30px;
     cursor: pointer;
}

.podcast-modal-content .epi-content,
.podcast-modal-content .el-content p{
    margin: 0 !important;
}

.podcast-modal-content .episode-img{
    margin: 0 auto;
	max-width: 150px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
  -webkit-box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
  -moz-box-shadow:0px 4px 10px rgba(0,0,0,0.25);
}

@media screen and (min-width: 639px){
    .podcast-modal-content {
        background-color: #fefefe;
        margin: 15vh auto; 
        padding: 30px 25px 10px;
        max-width: 700px;
        border-radius: 16px;
        box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
        -webkit-box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
        -moz-box-shadow:0px 4px 10px rgba(0,0,0,0.25);
    }
    .modal-head {
        display: flex;
        flex-direction: row;
	}
    .modal-head-content{
        padding-left: 20px;
        margin: 5px 0;
	}
    .podcast-modal-content .episode-img{
        margin: 0;
    }
    .podcast-modal-content span {
        float: right;
        position: relative;
        top: -10px;
        right: -5px;
    }
    .podcast-modal-content .episode-img{
    	height: 100%;
    }
    .modal-head-content .el-meta {
        margin-top: 0px !important;
    }
    .modal-head-content h3{
        min-height: 50px;
    }
    .uk-accordion-content hr{
        margin-left: 40px;
    }
}

/* ENGLISH VERSION & DANISH VERSION */
.ad-hero-buttons .app-advertising-icon::before,
.ad-hero-buttons .app-annoncering-icon::before {
   content: url("/wp-content/uploads/2023/01/devicemobile.svg");
   left: -30px;
}

.ad-hero-buttons .uk-button-primary.app-advertising-icon::before,
.ad-hero-buttons .uk-button-primary.app-annoncering-icon::before {
   content: url("/wp-content/uploads/2023/01/mobile-white.svg");
   position: absolute;
   left: 15px;
}

.ad-hero-buttons .podcast-advertising-icon::before,
.ad-hero-buttons .podcastannoncering-icon::before {
   content: url("/wp-content/uploads/2023/01/podd-icon.svg");
   left: -8px;
}

.ad-hero-buttons .uk-button-primary.podcast-advertising-icon::before,
.ad-hero-buttons .uk-button-primary.podcastannoncering-icon::before {
   content: url("/wp-content/uploads/2023/01/microphone-white.svg");
   position: absolute;
   left: 15px;
}

.ad-hero-buttons .pr\/mailing-icon::before {
   content: url("/wp-content/uploads/2023/01/pr-utskick-icon.svg");
   left: -57px;
}

.ad-hero-buttons .pr\/udsendelse-icon::before {
   content: url("/wp-content/uploads/2023/01/pr-utskick-icon.svg");
   left: -43px;
}

.ad-hero-buttons .uk-button-primary.pr\/mailing-icon::before,
.ad-hero-buttons .uk-button-primary.pr\/udsendelse-icon::before {
   content: url("/wp-content/uploads/2023/01/gift-white.svg");
   position: absolute;
   left: 15px;
}

