/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

:root {
    --body-font-size: 18px;
}

body,
body p,
body li {
    font-size: var(--body-font-size);
}

.header-widget1 .wp-block-kadence-advanced-form {
    padding: 0;
}

.header-widget1 .kb-advanced-form input,
.header-widget1 .kb-advanced-form > div:first-of-type {
    display: none;
}
.header-widget1 .kb-advanced-form.open input {
    display: block;
}

.header-widget1 .kb-advanced-form .kb-submit-field button.kb-button {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    font-family: "Ambit", "Helvetica", sans-serif;
    font-size: 14px;
    color: #000000;
    text-transform: uppercase;
}

.header-widget1 .kb-advanced-form.open > div:nth-of-type(2) {
    min-width: 450px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.11);
}

.header-widget1 .kb-advanced-form > div:nth-of-type(2) .kt-row-column-wrap > div:nth-of-type(2) {
    transform: translateY(16px);
}

.header-widget1 .kb-advanced-form.open > div:nth-of-type(2) .kt-row-column-wrap > div:nth-of-type(2) {
    align-self: center;
    transform: translateY(0);
}

.header-widget1 .kb-advanced-form.open .kb-submit-field button.kb-button {
    border-radius: 4px;
    background: #ff8a00;
    display: flex;
    padding: 0.5em 0.7em;
    font-family: "Ambit", "Helvetica", sans-serif;
    font-size: 14px;
    color: #000000;
    text-transform: uppercase;
    line-height: 1;
    top: 2px;
}


.header-widget1 .kb-advanced-form.open input.kb-field {
    font-family: "SuisseIntl";
    font-size: var(--body-font-size);
    font-weight: 300;
    line-height: 1.4;
    color: #000000;
    border: 0;
    height: 46px;
}
.header-widget1 .kb-advanced-form.open input.kb-field::placeholder {
    color: rgba(0, 0, 0, 0.75);
    font-family: "SuisseIntl";
    font-size: var(--body-font-size);
    font-weight: 300;
    line-height: 1.4;
}

/* =================================== Fix arrow on menu item ============================== */

.site-header-item .nav--toggle-sub .dropdown-nav-toggle {
    transform: translateY(-60%);
}

/* =================================== Announcement bar ============================== */

.site-top-header-wrap.hide {
    display: none;
}
.announcement-bar {
    width: 100vw;
    margin-left: -48px;
    height: max-content;
}
.announcement-bar .announcement-bar-inner {
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1536px;
    margin: 0 auto;
}
.announcement-bar .announcement-bar-content {
    font-size: 14px;
    font-family: "Ambit", "Helvetica", sans-serif;
    line-height: 1;
}
.announcement-bar .announcement-close-btn {
    flex-shrink: 0;
    width: max-content;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

@media (min-width: 768px) {
    .announcement-bar .announcement-bar-inner {
        padding: 6px 24px;
    }
}
@media (min-width: 1024px) {
    .announcement-bar .announcement-bar-inner {
        padding: 6px 48px;
    }
}

/* =================================== Header search ============================== */

#search-drawer .modify-search-modal-content {
    width: 100%;
    max-width: 1000px;
}

#search-drawer .modify-search-modal-content .search-form .search-field {
    border-top: unset;
    border-left: unset;
    border-right: unset;
    border-radius: unset;
    padding-left: 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: #000;
    border-color: #000;
    width: 100%;
}

@media (min-width: 1024px) {
    #search-drawer .modify-search-modal-content .search-form .search-field {
        font-size: 24px;
    }
}

.modify-search-modal-content .search-form label {
    width: 100%;
}

.modify-search-modal-content .search-form .search-field::placeholder {
    color: #000;
}

#search-drawer .drawer-inner .search-form {
    max-width: 1000px;
}

.search-form {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    padding: 10px;
}

.search-submit {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.search-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 45px;
    padding-bottom: 45px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .search-column {
        flex: 1;
    }
}

.search-column-title {
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    font-family: "Ambit", Helvetica, sans-serif;
    margin-bottom: 24px;
    display: block;
}

.search-column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-column-list-item a {
    text-decoration: none;
    padding: 8px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.75);
    font-family: "Ambit", "Helvetica", sans-serif;
    font-size: 12px;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: flex;
    text-align: center;
}

.search-column-list-item a:hover {
    color: rgb(210, 0, 88);
    border-color: rgb(210, 0, 88);
}

#search-drawer .drawer-inner .search-form .search-field {
    border-top: unset;
    border-left: unset;
    border-right: unset;
    border-radius: unset;
    padding-left: 0;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: #000;
}

@media (min-width: 1024px) {
    #search-drawer .drawer-inner .search-form .search-field {
        font-size: 24px;
    }
}

#search-drawer .drawer-inner .search-form .search-field:focus {
    box-shadow: unset;
}
#search-drawer .drawer-inner .drawer-content .search-form input.search-field:focus {
    color: #000;
}

#search-drawer .drawer-inner .drawer-content {
    padding: 1em;
}

#search-drawer.popup-drawer .drawer-header .search-toggle-close {
    display: none;
}

#search-drawer.popup-drawer.active .drawer-overlay {
    display: none;
}

#search-drawer.popup-drawer .drawer-inner {
    box-shadow: unset;
}

#search-drawer.popup-drawer .drawer-inner,
#search-drawer.popup-drawer {
    top: 107px;
    z-index: 9;
}

@media (max-width: 1024px) {
    #search-drawer.popup-drawer .drawer-inner,
    #search-drawer.popup-drawer {
        top: 57px;
    }
}

@media (min-width: 1025px) {
    .is-sticky #search-drawer.popup-drawer .drawer-inner,
    .is-sticky #search-drawer.popup-drawer {
        top: 69px;
    }
}

.showing-popup-drawer-from-full .search-toggle-icon svg {
    opacity: 0;
}

.showing-popup-drawer-from-full .search-toggle-icon:after {
    content: "";
    display: inline-block;
    position: absolute;
    left: -2px;
    top: -2px;
    width: 17px;
    height: 17px;
    background-image: url('data:image/svg+xml,%3Csvg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M5.293 6.707l5.293 5.293-5.293 5.293c-0.391 0.391-0.391 1.024 0 1.414s1.024 0.391 1.414 0l5.293-5.293 5.293 5.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-5.293-5.293 5.293-5.293c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-5.293 5.293-5.293-5.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414z" fill="%23ffffff"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
}

.showing-popup-drawer-from-full .search-toggle-icon {
    position: relative;
}

.header-navigation ul ul.sub-menu {
    border-top: 1px solid #000;
}

/* ================================== 404 Page =================================== */

body.error404 .entry-content-wrap {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================== Categories dot =================================== */

.hero-slider__category a,
.kt-blocks-above-categories a {
    position: relative;
}
.hero-slider__category a::before,
.kt-blocks-above-categories a::before {
    display: inline-block;
    position: relative;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background-color: #d20058;
    margin-right: 6px;
    margin-bottom: 2px;
}

/* ================================== Category archive hero =================================== */

#category-page .category-container {
    max-width: var(--global-content-width, 1536px);
    padding-inline: 16px;
}
@media (min-width: 768px) {
    #category-page .category-container {
        padding-inline: 24px;
    }
}
@media (min-width: 1024px) {
    #category-page .category-container {
        padding-inline: 48px;
    }
}

#category-page .category-page-header {
    display: grid;
    gap: 48px;
    margin: 0 auto;
    max-width: var(--global-content-width, 1536px);
    padding: 48px 16px 96px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
    #category-page .category-page-header {
        padding: 48px 24px 96px;
    }
}
@media (min-width: 1024px) {
    #category-page .category-page-header {
        /* grid-template-columns: 50% 380px 1fr; */
        display: flex;
        gap: 64px;
        justify-content: space-between;
        gap: 72px;
        padding: 48px;
    }
}
#category-page .category-page-header .page-title {
    font-family: "SuisseIntl", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}
@media (min-width: 768px) {
    #category-page .category-page-header .page-title {
        font-size: 60px;
    }
}
@media (min-width: 1024px) {
    #category-page .category-page-header .page-title {
        font-size: 80px;
        max-width: 90%;
    }
}

#category-page .category-page-header .header-page-description {
    max-width: 380px;
    font-family: "SuisseIntl", sans-serif;
    font-size: var(--body-font-size);
    line-height: 1.4;
}
@media (min-width: 1024px) {
    #category-page .category-page-header .header-page-description {
        padding-top: 8px;
    }
}
/* #category-page .category-page-header .page-title .first-word {
    background: linear-gradient(-139deg, #d20058 6.66%, #ff8a00 79.26%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */
#category-page .category-page-header .page-header-dots {
    align-items: center;
    bottom: 48px;
    display: flex;
    gap: 8px;
    left: 16px;
    position: absolute;
}
@media (min-width: 768px) {
    #category-page .category-page-header .page-header-dots {
        left: 24px;
    }
}
@media (min-width: 1024px) {
    #category-page .category-page-header .page-header-dots {
        left: auto;
        right: 48px;
    }
}
#category-page .category-page-header .page-header-dots .page-header-dot {
    border-radius: 13px;
    height: 13px;
    width: 13px;
}
#category-page .category-page-header .page-header-dots .page-header-dot-pink {
    background-color: #d20058;
}
#category-page .category-page-header .page-header-dots .page-header-dot-orange {
    background-color: #ff8a00;
}

/* ================================== Category archive last post =================================== */

#category-page .category-last-post-wrapper {
    display: grid;
    margin: 0 auto;
    max-width: var(--global-content-width, 1536px);
    padding: 48px 16px;
}
#category-page .category-last-post-wrapper a {
    text-decoration: none;
    color: inherit;
}
#category-page .category-last-post-wrapper .category-latest-post {
    display: grid;
    gap: 24px;
}
#category-page .category-last-post-wrapper .category-latest-post-title {
    font-family: "SuisseIntl", sans-serif;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 500;
}
#category-page .category-last-post-wrapper .category-latest-post-excerpt {
    font-family: "SuisseIntl", sans-serif;
    font-size: var(--body-font-size);
    line-height: 1.4;
}
#category-page .category-last-post-wrapper .category-subsidiaries-title {
    color: rgba(0, 0, 0, 0.75);
    font-family: "Ambit", "Helvetica", sans-serif;
    font-size: var(--body-font-size);
    line-height: 1;
    text-transform: uppercase;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-last-post-wrapper .category-subsidiaries-list {
    display: grid;
    gap: 24px;
    padding-top: 48px;
}
#category-page .category-last-post-wrapper .category-subsidiaries-list .category-subsidiary {
    position: relative;
    width: 100%;
}
#category-page .category-last-post-wrapper .category-subsidiaries-list .category-subsidiary .category-subsidiary-img {
    width: 100%;
    height: 153px;
    object-fit: cover;
    border-radius: 6px;
}
#category-page .category-last-post-wrapper .category-subsidiaries-list .category-subsidiary .learn-more-overlay {
    display: none;
}
#category-page
    .category-last-post-wrapper
    .category-subsidiaries-list
    .category-subsidiary:has(.category-subsidiary-img):hover
    .learn-more-overlay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    font-family: "Ambit", "Helvetica", sans-serif;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    mix-blend-mode: difference;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.75);
    z-index: 1;
}

@media (min-width: 768px) {
    #category-page .category-last-post-wrapper {
        padding: 48px 24px;
    }
    #category-page .category-last-post-wrapper .category-latest-post-title {
        font-size: 36px;
    }
}
@media (min-width: 1024px) {
    #category-page .category-last-post-wrapper {
        padding: 48px;
        grid-template-columns: 1fr 260px;
        gap: 96px;
    }
    #category-page .category-last-post-wrapper .category-latest-post-title {
        font-size: 48px;
    }
    #category-page .category-last-post-wrapper .category-latest-post-excerpt {
        font-size: 18px;
    }
    #category-page .category-last-post-wrapper .category-subsidiaries {
        padding-left: 24px;
        border-left: 1px solid rgba(0, 0, 0, 0.5);
    }
    #category-page .category-last-post-wrapper .category-subsidiaries-title {
        padding-top: 0;
        margin-top: 0;
        border-top: none;
    }
}

/* ================================== Category navigation =================================== */

#category-page .category-navigation {
    background-color: #d9d9d0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
body.logged-in #category-page .category-navigation {
    top: 46px;
}
#category-page .category-navigation .category-container {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow: auto;
    scrollbar-width: none;
}
#category-page .category-navigation .category-container::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
#category-page .category-navigation .category-container .category-navigation-title,
#category-page .category-navigation .category-container .category-navigation-item {
    font-family: "Ambit", "Helvetica", sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    padding: 10px 20px;
    white-space: nowrap;
}
#category-page .category-navigation .category-container .category-navigation-title {
    padding: 10px 10px 10px 0;
}

#category-page .category-navigation .category-container .category-navigation-item {
    text-decoration: none;
    color: #000000;
}
#category-page .category-navigation .category-container .category-navigation-item.active {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 100px;
    padding-left: 22px;
}
#category-page .category-navigation .category-container .category-navigation-item.active:before {
    position: absolute;
    content: "";
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #d20058;
}

@media (min-width: 1024px) {
    #category-page .category-navigation {
        top: 108px;
    }
    body.logged-in #category-page .category-navigation {
        top: 140px;
    }
    body:has(.site-top-header-wrap.hide) #category-page .category-navigation {
        top: 68px;
    }
    body.logged-in:has(.site-top-header-wrap.hide) #category-page .category-navigation {
        top: 100px;
    }
    #category-page .category-navigation .category-container {
        gap: 32px;
    }
    #category-page .category-navigation .category-container .category-navigation-title,
    #category-page .category-navigation .category-container .category-navigation-item {
        padding: 10px 20px;
        font-size: var(--body-font-size);
    }
    #category-page .category-navigation .category-container .category-navigation-title {
        padding: 10px 10px 10px 0;
    }
    #category-page .category-navigation .category-container .category-navigation-item.active {
        padding-left: 32px;
    }
    #category-page .category-navigation .category-container .category-navigation-item.active:before {
        left: 20px;
    }
}

/* ================================== Category articles =================================== */

#category-page .category-articles {
    padding-block: 48px;
    clear: both;
}
#category-page .category-articles a {
    text-decoration: none;
    color: inherit;
}
#category-page .category-articles .category-articles-title {
    font-size: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-articles .articles-grid {
    display: grid;
    gap: 24px;
    place-items: start;
    padding: 24px 0;
}
#category-page .category-articles .articles-grid .category-post {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    place-items: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}
#category-page .category-articles .articles-grid .category-post:first-of-type {
    grid-template-columns: 1fr;
}
#category-page .category-articles .articles-grid .category-post:last-of-type {
    border-bottom: none;
}
#category-page .category-articles .articles-grid .category-post > a {
    width: 100%;
}
#category-page .category-articles .articles-grid .category-post .category-post-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}
#category-page .category-articles .articles-grid .category-post:first-of-type .category-post-image {
    height: 175px;
}
#category-page .category-articles .articles-grid .category-post .category-post-categories .category-post-category {
    font-family: "Ambit", "Helvetica", sans-serif;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    margin-right: 12px;
}
#category-page
    .category-articles
    .articles-grid
    .category-post
    .category-post-categories
    .category-post-category:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #d20058;
    margin-right: 6px;
}
#category-page .category-articles .articles-grid .category-post .category-post-title {
    font-size: var(--body-font-size);
}
#category-page .category-articles .articles-grid .category-post:first-of-type .category-post-title {
    font-size: 18px;
}
#category-page .category-articles .articles-grid .category-post .category-post-excerpt {
    display: none;
}

#category-page .category-articles .no-results {
    padding: 48px 0;
    font-size: 18px;
    font-weight: 300;
}
#category-page .category-articles .browse-all-wrapper {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-articles .browse-all-wrapper a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Ambit", "Helvetica", sans-serif;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
}

@media (min-width: 1024px) {
    #category-page .category-articles .category-articles-title {
        font-size: 36px;
    }
    #category-page .category-articles .articles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 24px;
        place-items: start;
        padding: 24px 0;
    }
    #category-page .category-articles .articles-grid .category-post {
        grid-template-columns: 300px 1fr;
        gap: 24px;
    }
    #category-page .category-articles .articles-grid .category-post:first-of-type {
        grid-row: 1/4;
        padding-right: 24px;
        border-right: 1px solid rgba(0, 0, 0, 0.5);
        border-bottom: none;
        place-content: start;
    }
    #category-page .category-articles .articles-grid .category-post .category-post-image {
        height: 175px;
    }
    #category-page .category-articles .articles-grid .category-post:first-of-type .category-post-image {
        height: 388px;
    }
    #category-page .category-articles .articles-grid .category-post .category-post-title {
        font-size: 18px;
    }
    #category-page .category-articles .articles-grid .category-post:first-of-type .category-post-title {
        font-size: 24px;
    }
    #category-page .category-articles .articles-grid .category-post:first-of-type .category-post-excerpt {
        display: block;
        margin-top: 9px;
    }
    #category-page .category-articles .no-results {
        text-align: center;
    }
}

/* ================================== Category reports =================================== */

#category-page .category-reports {
    padding-block: 72px;
    background: rgba(0, 0, 0, 0.06);
}
#category-page .category-reports a {
    text-decoration: none;
    color: inherit;
}
#category-page .category-reports .category-reports-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#category-page .category-reports .category-reports-title {
    font-size: 24px;
}
#category-page .category-reports .category-reports-carousel {
    display: grid;
    gap: 28px;
    width: 100%;
    padding: 48px 0;
}
#category-page .category-reports .category-reports-carousel .category-report {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 171px;
    width: 100%;
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}
#category-page .category-reports .category-reports-carousel .category-report .category-report-tag {
    font-family: "Ambit", "Helvetica", sans-serif;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
}
#category-page .category-reports .category-reports-carousel .category-report .category-report-tag:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #d20058;
    margin-right: 6px;
}
#category-page .category-reports .category-reports-carousel .category-report .category-report-title {
    font-size: 18px;
    font-weight: 500;
}

#category-page .category-reports .no-results {
    padding: 48px 0;
    font-size: 18px;
    font-weight: 300;
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-reports .browse-all-wrapper {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-reports .browse-all-wrapper a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Ambit", "Helvetica", sans-serif;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
}

@media (min-width: 1024px) {
    #category-page .category-reports .category-reports-title {
        font-size: 36px;
    }
    #category-page .category-reports .category-reports-carousel {
        display: flex;
        align-items: stretch;
        overflow: auto;
        scrollbar-width: none;
    }
    #category-page .category-reports .category-reports-carousel::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }
    #category-page .category-reports .category-reports-carousel .category-report {
        width: 432px;
    }
    #category-page .category-reports .no-results {
        text-align: center;
    }
}

/* ================================== Category press =================================== */

#category-page .category-press {
    padding-block: 72px;
}
#category-page .category-press a {
    text-decoration: none;
    color: inherit;
}
#category-page .category-press .category-press-title {
    font-size: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-press .category-press-grid {
    display: grid;
}
#category-page .category-press .category-press-grid .category-press-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-press .category-press-grid .category-press-item:last-of-type {
    border-bottom: none;
}
#category-page .category-press .category-press-grid .category-press-item .category-press-item-title {
    max-width: 90%;
    font-size: 18px;
    font-weight: 500;
}
#category-page .category-press .category-press-grid .category-press-item .category-press-item-tag {
    font-family: "Ambit", "Helvetica", sans-serif;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
}
#category-page .category-press .category-press-grid .category-press-item .category-press-item-tag:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #d20058;
    margin-right: 6px;
}

#category-page .category-press .no-results {
    padding: 48px 0;
    font-size: 18px;
    font-weight: 300;
}
#category-page .category-press .browse-all-wrapper {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
}
#category-page .category-press .browse-all-wrapper a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Ambit", "Helvetica", sans-serif;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
}

@media (min-width: 1024px) {
    #category-page .category-press .category-press-title {
        font-size: 36px;
    }
    #category-page .category-press .category-press-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 24px 0;
    }
    #category-page .category-press .category-press-grid .category-press-item {
        padding: 24px;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.5);
    }
    #category-page .category-press .category-press-grid .category-press-item:first-of-type {
        padding-left: 0;
    }
    #category-page .category-press .category-press-grid .category-press-item:last-of-type {
        padding-right: 0;
        border-right: none;
    }
    #category-page .category-press .no-results {
        text-align: center;
    }
}

/* ================================== Single post aside =================================== */

@media (min-width: 1024px) {
    .content-area .site-container .primary-sidebar {
        border-left: 1px solid rgba(0, 0, 0, 0.5);
        padding-left: 24px;
    }

    .content-area .site-container .primary-sidebar .sidebar-inner-wrap {
        scrollbar-width: none;
    }
    .content-area .site-container .primary-sidebar .sidebar-inner-wrap::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }
}

section:has(#sidebar-related-content-heading) {
    margin-bottom: 0 !important;
}
