/*---------------------------------------
  TOPICS
-----------------------------------------*/
.featured-section {
    /*background-color: var(--secondary-color);*/
    border-radius: 0 0 100px 100px;
    padding-bottom: 100px;
}

.featured-section .row {
    position: relative;
    bottom: 100px;
    margin-bottom: -100px;
}

.custom-block {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.custom-block:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.custom-block > a {
    width: 100%;
}

.custom-block-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-top: 35px;
    border-radius: 18px;
}


.custom-block .rounded-pill {
    border-radius: 5px !important;
    display: flex;
    justify-content: center;
    text-align: center;
    /*width: 30px;*/
    height: 30px;
    line-height: 20px;
}

.custom-block-overlay {
    height: 100%;
    min-height: 350px;
    padding: 0;
}

.custom-block-overlay > a {
    height: 100%;
}

.custom-block-overlay .custom-block-image {
    border-radius: var(--border-radius-medium);
    display: block;
    height: 100%;
    margin-top: 0;
}

.custom-block-overlay-text {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    padding: 30px;
}

.post-category-label {
    font-weight: 600;
    font-size: .7rem;
    letter-spacing: 3px;
    width: fit-content;
    border-radius: 8px;
    color: white;
    padding: 2px 8px;
    text-transform: uppercase;
}

/*---------------------------------------
  TOPICS
-----------------------------------------*/

.topics-detail-block {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.topics-detail-block-image {
    display: block;
    border-radius: var(--border-radius-medium);
}

blockquote {
    background-color: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    font-family: var(--title-font-family);
    font-size: var(--h4-font-size);
    font-weight: var(--font-weight-bold);
    display: inline-block;
    text-align: center;
    margin: 30px;
    padding: 40px;
}

.topics-listing-page .site-header {
    padding-bottom: 65px;
}

.custom-block-topics-listing-info {
    margin: 30px 20px 20px 30px;
}

.custom-block-topics-listing {
    height: inherit;
}

.custom-block-topics-listing .custom-block-image {
    width: 200px;
}
