body {
    overflow-x: hidden;
}
.deep-dives-catalog-container {
    padding-top: 20px;
}

.deep-dives-catalog-container::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 400px;
    top: 170px;
    background-image: url('/wp-content/themes/yourcoach/deep-dive/assets/deep-dives-lines-round.png');
    background-repeat: no-repeat;
}

.deep-dives-hero-bg-waves::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 400px;
    top: 0;
    right: -200px;
    background-image: url('/wp-content/themes/yourcoach/deep-dive/assets/deep-dives-lines.png');
    background-repeat: no-repeat;
}

.deep-dives-hero-bg-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    bottom: -360px;
    /* Experimental */
    overflow: hidden;
}

.deep-dives-hero-spots {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Experimental */
    overflow: hidden;
}

.deep-dives-hero-spots::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    z-index: 0;
    top: -200px;
    background-image: url('../assets/blue-spot.png');
}

.deep-dives-hero-spots::after {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    z-index: 0;
    bottom: 200px;
    right: -250px;
    background-image: url('../assets/blue-spot-2.png');
}

.deep-dives-main-header {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 700;
    color: #295384;
    font-size: 94px;
    line-height: 110%;
}

.deep-dives-catalog-main-desc {
    width: 40%;
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #295384;
}

.deep-dives-catalog {
    background: #295384;
    margin-top: 250px;
    position: relative;
}

.deep-dive-waves-svg-top {
    position: absolute;
    top: -200px;
    width: 100%;
    height: auto;
}

.deep-dives-catalog-content-container {
    max-width: 1300px;
    margin: 0 auto;
}

.deep-dives-filters-list {
    list-style: none;
    display: block;
}

.deep-dives-filters-list .deep-dives-filter-item, .deep-dives-filters-list .deep-dives-filter-sort {
    display: inline-block;
    margin-right: 25px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffff;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.deep-dives-filters-list .deep-dives-filter-sort {
    float: right;
    position: relative;
}
.deep-dives-filters-list .deep-dives-filter-sort .sort-text {
    opacity: 70%;
    margin-right: 7px;
}
.deep-dives-filters-list .deep-dives-filter-sort #active-sorting {
    margin-right: 7px;
}


.deep-dives-filters-mobile-break {
    display: none;
}

.deep-dives-filters-list .deep-dives-filter-item {
    border-bottom: 1px solid transparent;
    transition: border .2s ease-in;
}

.deep-dives-filters-list .deep-dives-filter-item.active {
    border-bottom: 1px solid #25D2A2;
}

.deep-dives-filters-list .deep-dives-filter-item:hover {
    border-bottom: 1px solid #25D2A2;
}

.deep-dives-reports {
    margin-top: 80px;
}

.deep-dives-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    border-bottom: 1px solid #ABFAFF;
}

.deep-dive-num {
    font-size: 38px;
    color: #25D2A2;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 300;
}

.deep-dive-image {
    border-radius: 20px;
    /* width: 177px;
    height: 129px; */
    width: 220px;
    height: 130px;
    object-fit: cover;
}

.deep-dive-item {
    display: flex;
    align-items: center;
}

.deep-dive-expanded-share-container {
    display: none;
    width: 100%;
    background: rgba(77, 208, 225, 0.1);
    border-radius: 20px;
    padding: 17px 0;
}

.deep-dive-image-container {
    display: flex;
}

.deep-dive-item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0.9;
}

.deep-dive-desc {
    display: flex;
    flex-direction: column;
    flex: 0.5;
    max-width: 500px;
    min-width: 300px;
}

.deep-dive-desc.expanded {
    max-width: initial;
    min-width: initial;
}

.deep-dive-desc-title-container {
    display: flex;
    align-items: center;
    /** Date Fix **/
    justify-content: space-between;
}

.deep-dive-desc-title {
    all: unset;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: #ffff;
    font-size: 24px;
    margin-bottom: 7px;
}

.deep-dive-header-date {
    display: none;
    font-size: 14px;
    color: #ffff;
    font-weight: 300;
    line-height: 94%;
    font-family: 'DM Sans', sans-serif;
}

.deep-dive-desc-text {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: #ffff;
    line-height: 150%;
    opacity: 0.75;
    margin-bottom: 0;
}

.deep-dive-page-count {
    display: none;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #ffff;
    line-height: 150%;
    opacity: 0.75;
    font-weight: 400;
    margin-bottom: 0;
}

.deep-dive-expanded-desc {
    display: none;
}

.deep-dive-expanded-desc-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;;
    color: #ffff;
    line-height: 150%;
    opacity: 0.85;
}

.deep-dive-expanded-share-header {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #ffff;
    line-height: 150%;
    opacity: 0.85;
}


.deep-dive-expanded-share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deep-dive-expanded-copy-link-btn {
    background: #ffff;
    padding: 5px 12px;
    border-radius: 12px;
    color: #25D2A2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.deep-dive-expanded-copy-link-text {
    font-size: 14px;
}

.deep-dive-expanded-social-btn {
    width: 32px;
    height: 32px;
    background: #ffff;
    border-radius: 50%;
}

.deep-dive-expanded-social-link {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deep-dive-expanded-social-link object {
    pointer-events: none;
}

.deep-dive-date {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 300;
    font-family: 'DM Sans', sans-serif;
}
.deep-dive-date.mobile-date {
    display: none;
}
.deep-dive-ongoing-estimate-date-mobile-text {
    display: none;
}

.deep-dive-read-btn {
    background: #25D2A2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 10px 40px;
    border-radius: 12px;
    color: #ffff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
}

.deep-dive-share-container {
    position: relative;
}

.deep-dive-share {
    display: flex;
    cursor: pointer;
}
.deep-dive-share-text {
    display: none;
    font-family: 'Open Sans', sans-serif;
    color: #ffff;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
    transition: color .3s ease;
}
.deep-dive-share-text:hover {
    color: #25D2A2;
}

.deep-dive-share path {
    transition: fill .3s ease;
}

.deep-dive-share:hover path {
    fill: #25D2A2;
}

/** Expand Styles **/
.deep-dives-item-card.expanded .deep-dive-num {
    display: none;
}

.deep-dives-item-card.expanded .deep-dive-item {
    gap: 20px;
    width: 28%;
    flex-direction: column;
}

.deep-dives-item-card.expanded .deep-dive-expanded-share-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.deep-dives-item-card.expanded .deep-dive-image {
    width: 100%;
    height: auto;
}

.deep-dives-item-card.expanded .deep-dive-item-info {
    justify-content: space-evenly;
    align-self: flex-start;
    flex-direction: column;
    align-items: flex-start;
    width: 60%;
}

.deep-dives-item-card.expanded .deep-dive-desc {
    align-self: flex-start;
}

.deep-dives-item-card.expanded .deep-dive-desc-title {
    font-size: 42px;
    margin-right: 20px;
    line-height: initial;
}

.deep-dives-item-card.expanded .deep-dive-date {
    display: none;
}

.deep-dives-item-card.expanded .deep-dive-share-container {
    display: none;
}

.deep-dives-item-card.expanded .deep-dive-read-btn-container {
    width: 50%;
}

.deep-dives-item-card.expanded .deep-dive-page-count {
    display: block;
}

.deep-dives-item-card.expanded .deep-dive-desc-text {
    display: none;
}

.deep-dives-item-card.expanded .deep-dive-header-date {
    display: inline-block;
}

.deep-dives-item-card.expanded .deep-dive-expanded-desc {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    width: 80%;
}

.deep-dives-item-card.expanded .deep-dive-summary, .deep-dives-item-card.expanded .deep-dive-key-data {
    width: 50%;
}

.deep-dives-item-card.expanded .deep-dive-expanded-desc-header {
    color: #ffff;
    font-size: 24px;
    font-family: 'DM Sans', sans-serif;
    opacity: 0.85;
    line-height: 150%;
    margin: 0;
}

.deep-dives-item-card.expanded .deep-dive-expand-container {
    align-self: flex-start;
}

.deep-dive-expand-container {
    cursor: pointer;
}

.deep-dive-expand-icon {
    display: none;
}

.deep-dive-expand-icon.shown {
    display: initial;
}

.deep-dive-expand-icon path {
    transition: fill .3s ease;
}

.deep-dive-expand-icon:hover path{
    fill: #25D2A2;
}

/** Social Popover **/

.deep-dive-share-buttons-popover {
    display: none;
    background: #ffff;
    position: absolute;
    width: 225px;
    height: 270px;
    top: -350px;
    right: -125px;
    padding: 25px;
    flex-direction: column;
    border-radius: 20px;
}

.deep-dive-share-buttons-popover-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
}
.deep-dive-share-buttons-popover-overlay.shown {
    display: none;
}

.deep-dive-share-buttons-popover.shown {
    display: flex;
}

.deep-dive-share-buttons-popover::after {
    content: "";
    position: absolute;
    bottom: -20px;
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    
    border-top: 20px solid #ffff;
    left: calc(50% - 20px);
}


.deep-dive-share-buttons-popover-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #F1F5F6;
}

.deep-dive-share-buttons-popover-header-container span {
    margin-bottom: 15px;
}

.deep-dive-share-buttons-popover-header {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
}
.deep-dive-share-buttons-popover-close-btn {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #F1F5F6;
    border-radius: 10px;
}

.deep-dive-share-buttons-popover-close-btn object {
    pointer-events: none;
}

.deep-dive-share-buttons-popover-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #819AA9;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 18px;
    transition: all .3s ease;
}

.deep-dive-share-buttons-popover-link:hover .deep-dive-share-buttons-popover-icon {
    fill: #25D2A2;
}
.deep-dive-share-buttons-popover-link:hover {
    color: #25D2A2;
}

.deep-dive-share-buttons-popover-icon {
    fill: #819AA9;
    transition: fill .3s ease;
}

.share-copy-link {
    margin-top: 18px;
    color: #25D2A2;
    border-bottom: 1px solid #F1F5F6;
    padding-bottom: 18px;
}

/** Deep Dive Filter Popover */
.deep-dive-filter-popover {
    display: none;
    top: 50px;
    right: 0;
    width: 130px;
    height: 150px;
    z-index: 99;
    padding: 20px;
}

.deep-dive-filter-popover.shown {
    display: flex;
}

.deep-dive-filter-popover .deep-dive-sorting-options-header {
    color: #819AA9;
    font-size: 14px;
    margin-bottom: 12px;
}
.deep-dive-filter-popover .deep-dive-sorting-option-text {
    color: #295384;
    font-size: 16px;
    font-weight: 400;
    transition: color .3s ease-in-out;
}
.deep-dive-filter-popover .deep-dive-sorting-option svg path {
    transition: all .3s ease-in-out;
} 

.deep-dive-filter-popover .deep-dive-share-buttons-popover-link:hover .deep-dive-sorting-option-text {
    color: #25D2A2;
}
.deep-dive-filter-popover .deep-dive-share-buttons-popover-link:hover .deep-dive-sorting-option svg path {
    fill: #25D2A2;
}

.deep-dive-filter-popover .deep-dive-sorting-option svg {
    display: none;
}

.deep-dive-filter-popover .deep-dive-sorting-option.is-sorting-active svg {
    display: block;
}

.deep-dive-filter-popover::after {
    content: none;
}
.deep-dive-filter-popover::before {
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: white;
    top: -10px;
    left: calc(50% - 20px);
    position: absolute;
    transform: rotate(45deg);
}

.deep-dive-filter-popover .deep-dive-share-buttons-popover-link {
    justify-content: space-between;
    margin-bottom: 12px;
}

.deep-dive-sorting-options-header {
    margin-bottom: 12px;
}
.deep-dive-filter-popover .deep-dive-sort-first-option {
    margin-top: 12px;
}

/** Card Expand Animations **/

.deep-dive-image {
    transition: width .2s ease;
}

/** Non Subscribers Form **/

.nonsubscriber-form-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 999999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nonsubscriber-form-container {
    width: 40%;
    background: #ffff;
    border-radius: 20px;
    padding: 20px;
}

.nonsubscriber-form-header {
    display: flex;
    justify-content: space-between;
}

.nonsubscriber-form-heading {
    font-size: 24px;
    color: #295384;
    line-height: 140%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    flex: .7;
    margin-bottom: 40px;
}

.deep-dive-form-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.deep-dive-form-flex .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.deep-dive-form-flex .form-group label, .deep-dive-form-flex .form-check .form-check-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #295384;
    line-height: 20px;
    margin-bottom: 10px;
    font-weight: 400;
}

.deep-dive-form-flex .form-group .form-control {
    outline: none;
    border: 1px solid #E5ECF0;
    border-radius: 10px;
    background: #ffff;
}

.nonsubscriber-form .form-control.is-invalid, .nonsubscriber-form .was-validated .form-control:invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.deep-dive-form-flex .form-group .full-width-form-control {
    min-width: 100%;
}

.deep-dive-form-last-row {
    justify-content: space-between;
}

.deep-dive-company-checkbox {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 50%;
}

.deep-dive-form-flex .form-check.deep-dive-company-checkbox .form-check-label {
    margin-bottom: 0;
}

.deep-dive-form-subscribe-btn-container {
    width: 50%;
}

.deep-dive-form-subscribe-btn {
    width: 100%;
    border-radius: 8px;
    text-transform: none;
    position: relative;
}

.deep-dive-btn-loading .deep-dive-form-subscribe-btn-text {
    visibility: hidden;
    opacity: 0;
}

.deep-dive-btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
      transform: rotate(0turn);
    }
  
    to {
      transform: rotate(1turn);
    }
}

/** Unpublished Deep Dives Styles **/
.unpublished-deep-dive-item {
    flex: .2;
}

.deep-dive-ongoing-estimate {
    display: flex;
    flex-direction: column;
}

.deep-dive-ongoing-estimate-heading {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    color: #ffff;
    line-height: 120%;
    margin: 0;
    margin-bottom: 4px;
}

.deep-dive-date.ongoing-estimate-date {
    font-weight: 300;
}

.deep-dive-ongoing-notification-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #25D2A2;
    font-weight: 600;
    margin: 0;
    margin-top: 15px;
    max-width: 70%;
}

.clear-margin {
    padding-bottom: 300px;
}

@media only screen and (max-width: 1200px){
    .deep-dives-catalog-main-desc {
        width: 55%;
    }
}

/** Mobile Styles **/
@media only screen and (max-width: 768px){
    .deep-dives-catalog-container::after, .deep-dives-catalog-container::before, .deep-dives-hero-bg-waves::after {
        content: none;
    }
    .deep-dives-catalog-container {
        padding-top: 100px;
    }
    .deep-dives-header-block {
        position: relative;
    }
    .deep-dives-main-header {
        font-size: 70px;
    }
    .deep-dives-catalog-main-desc {
        width: 90%;
    }
    .deep-dives-catalog {
        margin-top: 200px;
    }
    .deep-dive-waves-svg-top {
        top: -190px;
    }
    .deep-dives-catalog-content-container {
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .deep-dives-filters-list {
        display: flex;
        padding-left: 10px;
        flex-wrap: wrap;
    }

    .deep-dives-filters-mobile-break {
        flex-basis: 100%;
        height: 0;
    }

    .deep-dives-filter-sort {
        margin-top: 35px;
    }

    .deep-dives-reports {
        margin-top: 0;
    }

    .deep-dives-item-card{
        flex-direction: column;
    }
    
    .deep-dives-item-card:first-child {
        padding-top: 0;
    }

    .deep-dive-item {
        order: 1;
    }
    .deep-dive-num {
        order: 2;
    }
    .deep-dive-item-info {
        order: 3;
    }

    .deep-dive-desc {
        order: 1;
    }
    .deep-dive-share-container {
        order: 2;
    }
    .deep-dive-read-btn-container {
        order: 3;
    }

    .deep-dive-expand-container {
        display: none;
    }

    .deep-dive-image {
        width: auto;
        height: auto;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    }

    .deep-dive-num {
        align-items: center;
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .deep-dive-date.mobile-date {
        display: block;
    }

    .deep-dive-item-info {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    .deep-dive-item-info .deep-dive-date {
        display: none;
    }
    .deep-dive-page-count {
        display: block;
        margin-bottom: 10px;
    }

    .deep-dive-desc-text {
        margin-bottom: 20px;
    }
    .deep-dive-read-btn-container {
        width: 100%;
    }
    .deep-dive-read-btn {
        padding: 14px 40px;
    }
    .deep-dive-share-container {
        margin-bottom: 38px;
    }
    .deep-dive-share {
        align-items: center;
    }
    .deep-dive-share-text {
        display: block;
    }
    .deep-dive-share-buttons-popover-overlay.shown {
        display: block;
        z-index: 99;
    }

    .deep-dive-share-buttons-popover {
        position: fixed;
        height: 250px;
        top: calc(50% - 150px);
        right: calc(50% - 150px);
        z-index: 100;
    }
    .deep-dive-share-buttons-popover::after {
        content: none;
    }
    .deep-dive-share-buttons-popover.deep-dive-filter-popover {
        position: absolute;
        top: 50px;
        left: 0;
        height: auto;
    }
    .deep-dive-ongoing-estimate {
        order: 3;
        width: 100%;
    }
    .deep-dive-ongoing-notification-text {
        max-width: 100%;
    }
    .deep-dive-ongoing-estimate-heading {
        display: none;
    }
    .deep-dive-date.ongoing-estimate-date {
        display: none;
    }
    .deep-dives-item-card.ongoing .deep-dive-date.mobile-date {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .deep-dive-ongoing-estimate-date-mobile-text {
        display: block;
        font-size: 16px;
        font-family: 'DM Sans', sans-serif;
        color: #ffff;
        line-height: 120%;
        margin: 0;
    }
    
    .nonsubscriber-form-container {
        width: calc(100% - 50px);
    }
    .deep-dive-form-flex {
        flex-direction: column;
    }

    .deep-dive-company-checkbox {
        display: block;
        width: auto;
    }

    .deep-dive-form-flex .form-check.deep-dive-company-checkbox .form-check-label {
        margin-bottom: 10px;
    }

    .deep-dive-form-subscribe-btn-container {
        width: 100%;
    }
    .deep-dive-form-flex .form-group .form-control {
        width: 100%;
    }
    .nonsubscriber-form-heading {
        font-size: 20px;
    }
    
}