.dynamic-content {
    padding: 64px 0;
}

.dynamic-content .dynamic-content-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--c-gray);
}

.dynamic-content .dynamic-content-desc {
    font-size: 16px;
    color: var(--c-gray-2);
    font-weight: 500;
    margin-bottom: 48px;
}

.dynamic-content.header-section .dynamic-content-desc {
    font-size: 18px;
    margin-bottom: 0;
}

.header-section {
    background: linear-gradient(180deg, #FFF3F3 50%, #FFFFFF 100%);
}

.course-guides-wrapper {
    background: linear-gradient(180deg, #FFF9F6 50%, #FFFFFF 100%);
}

.highlight-wrapper {
    background: linear-gradient(180deg, #FFF9F6 0%, #FFFFFF 39.03%);
}

.dynamic-content .guide-tag-list.wp-block-buttons {
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.dynamic-content .guide-tag-list {
    gap: 16px;
}

.guide-tag-list-wrapper {
    margin-bottom: 24px;
}

.guide-tag {
    border: 2px solid var(--c-maroon-2);
    padding: 12px 16px;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    flex-shrink: 0;
}

.guide-tag.selected {
    background: linear-gradient(90deg, #961E27 0%, #FA3B3B 50%, #FF9D71 100%);
}

.guide-tag.selected > .wp-block-button__link {
    color: #ffffff;
}

.guide-tag:not(.selected):hover {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(to right, #961E27 0%, #FA3B3B 50%, #FF9D71 100%) border-box;
}

.guide-tag > .wp-block-button__link {
    font-size: 16px;
    border-width: 0px;
    color: var(--c-gray-2);
    font-weight: 600;
    background: transparent;
    padding: 0;
}

.guide-tag:not(.selected):hover > .wp-block-button__link {
    color: var(--c-gray);
    background-color: #f3ec78;
    background-image: linear-gradient(90deg, #961E27 0%, #FA3B3B 50%, #FF9D71 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}

.guide-tag-hide {
    display: none !important;
}

.hero-card {
    box-shadow: 0px 5px 10px rgba(64, 64, 64, 0.15);
    border-radius: 30px;
    padding: 24px;
    color: white;
    position: relative;
    cursor: pointer;
}

.hero-card .hero-card-desc-col {
    order: 2;
}

.hero-card .hero-card-image-col {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card .hero-card-sub-title {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 500;
}

.hero-card .hero-card-title {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.hero-card .hero-card-desc {
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.hero-card .hero-card-link {
    margin-bottom: 0px;
    font-weight: 600;
}

.hero-card .hero-card-link a {
    display: flex;
    align-items: center;
    color: white;
}

.hero-card .hero-card-link a:after {
    content: "\f429";
    font-family: "Genericons";
    font-size: 18px;
    font-weight: 900;
    margin-left: 8px;
 }

.hero-card.hero-card-pathways {
    background: linear-gradient(25.28deg, #FA3B3B 9.27%, #961E27 53.9%, #404040 94.95%);
}

.hero-card.hero-card-guide {
    background: linear-gradient(90deg, #32617B 0.52%, #007BB6 100%);
}

.hero-card .hero-card-image {
    width: 100%;
    max-width: 300px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}

.hero-card .hero-card-image img {
    width: 100%;
    height: 100%;
}

.hero-card .hero-card-col {
    gap: 16px;
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
    flex-grow: 1 !important;
}

.main-blog .entry-wrapper {
    margin-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-gray-3);
}

.main-blog .blog-page {
    border-bottom: 1px solid var(--c-gray-3);
}

.sub-blog article > figure {
    display: none;
}

.sub-blog .wpnbha.image-alignright.is-1 article .entry-wrapper {
    flex-basis: 100%;
}

.sub-blog .wpnbha .post-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.sub-blog .wpnbha article {
    margin-bottom: 24px;
}

.sub-blog .wp-block-newspack-blocks-homepage-articles .entry-title,
.main-blog .wp-block-newspack-blocks-homepage-articles .entry-title{
    -webkit-line-clamp: 2;
}

.dynamic-content .guide-blog-list {
    display: none;
    margin-bottom: 0px;
}


.dynamic-content .guide-blog-list.higher-education-list.open {
    display: flex;
}

.dynamic-content .guide-blog-list.course-guides-list.open {
    display: block;
}

.guide-blog-list .article-section-title {
    display: none;
}

.guide-blog-list.course-guides-list {
    padding: 24px;
    background: #FFFFFF;
    box-shadow: 0px 5px 10px rgba(64, 64, 64, 0.15);
}

.guide-blog-list.course-guides-list > div:last-of-type .course-guides-list-item,
.guide-blog-list.course-guides-list > div:last-of-type {
    margin-bottom: 0px;
}

.guide-blog-list.course-guides-list .course-guides-list-item a {
    font-weight: 400;
    font-size: 16px;
    color: var(--c-gray-2);
    line-height: 24px;
    border-bottom: 2px solid #A9A9A9;
}

.guide-blog-list.course-guides-list .course-guides-list-item a:hover {
    color: var(--c-red);
}

.guide-blog-list {
    gap: 24px;
    
}

.guide-blog-list .course-guides-list-item {
    margin-bottom: 0px;
}

.guide-blog-list .course-guides-list-item a {
    position: relative;
}

.guide-blog-list .course-guides-list-item a:after {
    content: '';
    width: 100%;
    height: 2px;
    background: var(--c-gray-1);
    position: absolute;
    left: 0;
    bottom: -2px;
}

.guide-blog-list .course-guides-list-item a:hover:after {
    background: var(--c-red);
}

.guide-blog-list > div {
    gap: 16px;
    margin-bottom: 16px;
}

.guide-blog-list .course-guides-list-col.hide {
    display: none;
}

.guide-blog-list > div:last-of-type {
    margin-bottom: 0px;
}

.guide-blog-list .wpnbha {
    margin-bottom: 0px;
}

.guide-blog-list .wpnbha article .entry-title {
    font-size: 18px;
    margin-bottom: 8px
}

.guide-blog-list .wpnbha article .entry-title > a {
    font-weight: 700;
}

.guide-blog-list .wpnbha article .entry-wrapper > p {
    font-size: 14px;
    color: var(--c-gray-2);
    margin: 0;
}

.guide-blog-list .course-guide-load {
    display: flex;
    margin-top: 48px;
    font-weight: 600;
    font-size: 14px;
    color: var(--c-gray-1);
    line-height: 21px;
    justify-content: center;
    cursor: pointer;
}

.guide-blog-list .course-guide-load:after {
    content:"\f431";
    font-family: "Genericons";
    font-size: 20px;
    width: 18px;
    height: 18px;
    text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
    margin-left: 4px;
    cursor: pointer;
    transition: transform 250ms ease-in-out;
}

.guide-blog-list.expanded .course-guide-load:after {
    transform: rotate(180deg) translateY(-2px);
}

.guide-blog-list .blog-page .blog-page-img {
    width: 100%;  
    height: auto;
    max-height: 380px;   
}

.guide-blog-list .sub-blog article > figure {
    display: block;
}

.guide-blog-list .wpnbha.image-alignright.mobile-stack .post-has-image {
    display: flex;
}

.guide-blog-list .wpnbha.image-alignright.mobile-stack .post-has-image > figure {
    margin-left: 1em;
    min-width: 90px;
    min-height: 90px;
}

.guide-blog-list .sub-blog article .entry-wrapper .entry-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.landing-search-wrapper {
    width: 100%;
    background: var(--c-red-1);
    padding: 64px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-search-title {
    font-size: 32px;
    line-height: 40px;
    color: var(--c-gray);
}

.landing-search-desc {
    font-size: 16px;
    line-height: 24px;
    color: var(--c-gray-2);
    font-weight: 500;
}

.landing-search-form.search-wrapper {
    display: block;
    background: transparent;
    padding: 0;
    margin-bottom: 24px;
}

.landing-search-form .search-form {
    width: 100%;
}

.landing-search-tag-list {
    width: 100%;
    justify-content: center;
}

.landing-search-tag a{
    background: transparent;
    border-width: 0px;
    color: var(--c-maroon);
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    padding: 6px 16px;
    transition: none;
}

.landing-search-tag:hover a{
    color: white;
    background: linear-gradient(90deg, #FA3B3B 0.52%, #FF9D71 100%);
    border-radius: 20px;
}

/* For the `See all [category] articles` on landing page */
.category-page-link a {
    color: #0561a6 !important;
}

.category-page-link a span {
    color: #bf0c0c !important;
}

#study-abroad-section.dynamic-content .guide-tag-list {
    justify-content: flex-start;
}

@media screen and (min-width: 768px) {
    .dynamic-content {
        padding: 80px 0;
    }

    .hero-card .wp-block-columns {
        flex-wrap: nowrap !important;
    }

    .main-blog .entry-wrapper {
        padding-bottom: 0;
        border-bottom-width: 0px ;
    }

    .landing-search-form .search-form {
        width: 560px;
        margin: 0 auto;
    }

    .dynamic-content .guide-tag-list.wp-block-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .guide-blog-list > div {
        gap: 24px;
        margin-bottom: 24px;
    }

    .guide-blog-list .course-guide-load {
        display: none;
    }

    .landing-search-tag a{
        font-size: 14px;
    }

    .main-blog .blog-page {
        border-bottom-width: 0px;
    }
}

@media screen and (min-width: 992px) {
    
    .dynamic-content .dynamic-content-title,
    .landing-search-title {
        font-size: 40px;
        line-height: 48px;
    }

    .dynamic-content .dynamic-content-desc {
        font-size: 20px;
    }

    .dynamic-content.header-section .dynamic-content-title {
        font-size: 48px;
    }

    .dynamic-content.header-section .dynamic-content-desc {
        font-size: 20px;
    }

    .guide-blog-list:where(.wp-block-columns.is-layout-flex){
        gap: 110px;
    }

    .guide-blog-list .wpnbha article .entry-title {
        font-size: 24px;
    }

    .guide-blog-list .wpnbha article .entry-wrapper > p {
        font-size: 16px;
    }

    .dynamic-content .guide-tag-list {
        gap: 24px;
    }

    .guide-tag-list-wrapper {
        margin-bottom: 48px;
    }

    .course-guides-list {
        padding: 40px;
    }

    .hero-card {
        box-shadow: 0px 5px 10px rgba(64, 64, 64, 0.15);
        border-radius: 60px;
        padding: 40px;
    }

    .hero-card.hero-card-pathways {
        padding: 80px;
        background: linear-gradient(85.43deg, #FA3B3B 14.02%, #961E27 55.4%, #404040 93.26%);
    }

    .hero-card .hero-card-sub-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .hero-card .hero-card-title {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 24px;
    }

    .hero-card .hero-card-desc {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 48px;
    }

    .hero-card .hero-card-image {
        position: absolute;
        right: 40px;
        top: 80px;
        width: 350px;
        max-width: 350px;
        margin-bottom: 0;
    }

    .hero-card .hero-card-content {
        max-width: 55%;
        margin: 0 !important;
    }

    .hero-card .hero-card-link a {
        font-size: 18px;
    }

    .hero-card .hero-card-link a:after {
        content: "\f429";
        font-family: "Genericons";
        font-size: 20px;
        font-weight: 900;
        margin-left: 8px;
    }

    .main-blog .entry-wrapper{
        margin-top: 24px;
    }

     .sub-blog article > figure {
        display: block;
    }
    
    .sub-blog .wpnbha.image-alignright.is-1 article .entry-wrapper {
        flex-basis: 75%;
    }

    .sub-blog .wpnbha article {
        margin-bottom: 48px;
    }

    .landing-search-wrapper {
        margin: 0 auto;
        padding: 80px 20px;
    }

    .landing-search-tag-list {
        width: 780px;
    }

    .landing-search-desc {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 48px;
    }
}

@media screen and (min-width: 1200px) {
    .hero-card {
        padding: 48px 80px;
    }

    .hero-card .hero-card-image {
        top: 44px;
        width: 420px;
        max-width: 420px;
    }

    .hero-card .hero-card-content {
        max-width: 60%;
    }

    #landing-search-section.dynamic-content .container {
        max-width: 1140px;
    }
}
