/**handles:allthingsbusiness-style**/
/*
Theme Name: All Things Business 2025
Theme URI: 
Author: GIANT
Author URI: 
Description: Child theme of Twenty Twenty-Five
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: all-things-business-2025
Tags: 
*/

html {
    background-color: #000;
}

.clip {
    overflow: hidden;
}

/* Burger menu */

nav.burger-menu .wp-block-navigation__responsive-container {
    color: #00a5c1;
    background-color: #000 !important;
}

nav.burger-menu .wp-block-navigation__responsive-container a,
nav.burger-menu .wp-block-navigation__responsive-container button {
    color: #00a5c1 !important;
}

.smartcrawl-breadcrumbs,
.smartcrawl-breadcrumbs a,
.smartcrawl-breadcrumbs strong {
    color: #ccc;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
}

.smartcrawl-breadcrumbs a:hover,
.smartcrawl-breadcrumbs a:focus {
    color: #000;
}

/* burger menu - modal */

#modal-1-content::before {
    content: "";
    height: 80px;
    background-image: url('https://allthingsbusiness.co.uk/wp-content/uploads/2025/02/ATB_Blue_White_logo_small.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    width: 100%;
    max-width: 240px;
    margin: -2.5em 0 1em;
}

/* category nav */

nav.category-nav .current-menu-item a {
    color: #000 !important;
    pointer-events: none;
}

body.single nav.category-nav li.current a,
body.singular nav.category-nav li.current a,
nav.category-nav a:active {
    color: #000 !important;
}

/* footer - template part */

footer.wp-block-template-part {
    position: relative;
    margin-top: 0;
    background-color: #fff;
}

/* hero articles */
.hero-articles li:last-child>div {
    margin-bottom: 0;
}

.featured-articles .wp-block-media-text.is-image-fill-element>.wp-block-media-text__media {
    min-height: 170px;
}

figure.date-icon,
figure.region-icon {
    line-height: 1rem;
    margin: 0;
}

/* featured-categories */

.featured-cats>.wp-block-cover.category>.wp-block-cover__inner-container {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.editor-visual-editor .featured-cats>.wp-block-cover.category>.wp-block-cover__inner-container {
    position: relative;
    top: unset;
    bottom: unset;
    height: unset;
    width: unset;
}

.featured-cats>.wp-block-cover.category>.wp-block-cover__inner-container>a {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.featured-cats>.category {
    transition: padding 0.5s ease-in-out;
}

.featured-cats>.category:hover {
    padding: 0 3.25em;
}

.featured-cats>.wp-block-cover.category>img.wp-block-cover__image-background {
    transition: width 0.25s ease, height 0.25s ease;
    width: 125%;
    height: 125%;
}

.featured-cats>.wp-block-cover.category:hover>img.wp-block-cover__image-background {
    transition: width 16s ease, height 16s ease;
    width: 100%;
    height: 100%;
}

.featured-cats>.wp-block-cover.category>.wp-block-cover__inner-container {
    z-index: 5;
}

.featured-cats .read-stories {
    max-width: 84px;
}

.featured-cats .category.rotate90 {
    writing-mode: vertical-rl;
    max-height: 70%;
    position: absolute;
    top: 1em;
    width: 100%;
    right: 0;
    align-content: center;
    line-height: 1.1em;
    margin: 0;
}

/* highlights menu */

.highlights-menu a {
    padding-left: 0.8em;
    /* border-left: solid 0.3em;
transition: border 0.5s ease; */
}

.highlights-menu a:hover {
    text-decoration: none;
    /* border-left: solid 0.4em;
transition: border 0.5s ease; */
}

.highlights-menu .watch-us {
    color: #ff0000;
}

.highlights-menu .features {
    color: #01a4c1;
}

.highlights-menu .awards {
    color: #ffa700;
}

.wp-block-post-terms a {
    margin-right: 0.25em;
    text-decoration: none;
}

#search-main {
    max-height: 0;
    transition: max-height 0.5s ease;
    overflow: hidden;
}

#search-main.active {
    max-height: 200px;
}

#search-main>.wp-block-cover .wp-block-cover__inner-container {
    opacity: 0;
    transition: opacity 1s ease;
}

#search-main.active>.wp-block-cover .wp-block-cover__inner-container {
    opacity: 1;
}

#search-main input,
#search-main input:hover {
    border-radius: 3.125rem;
    padding: 0 1.5625rem;
    border: none;
}

.wp-block-search__inside-wrapper {
    border: none;
}

/* midway ad block */

ul.wp-block-post-template>.midway-ad-block {
    grid-column: 1/-1;
}

.midway-ad-block.relocated .wp-block-cover {
    margin-top: 0.8em !important;
    margin-bottom: 1.4em !important;
}

/* subscribe banner - template part */

.subscribe-banner::before,
.subscribe-banner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    height: 100%;
    max-width: 300px;
    background-size: auto 102%;
    background-repeat: no-repeat;
    background-position: 0% 50%;
    z-index: 1;
}

.subscribe-banner::before {
    left: 0;
    background-image: url('https://allthingsbusiness.co.uk/wp-content/themes/all-things-business-2025/img/atb-print1.png');
    background-position: 100% 50%;
}

.subscribe-banner::after {
    right: 0;
    background-image: url('https://allthingsbusiness.co.uk/wp-content/themes/all-things-business-2025/img/atb-print2.png');
}

.subscribe-banner p>span {
    color: #000;
}

/* category navigation - template part */

.category-nav a {
    padding: 0.25em 0 0.25em 0.6em;
    line-height: 1.1em;
    border-left: solid 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.category-nav a:hover {
    text-decoration: none;
    color: var(--wp--preset--color--contrast) !important;
}

/* awards banner - template part */

.awards-banner {
    margin-top: 0;
}

.awards-banner .wp-block-group .wp-block-group {
    max-width: 1100px !important;
}

/* Columns - tenmplate part */

.wp-block-group.columns {
    column-count: 2;
}

.wp-block-group.columns>p {
    break-inside: avoid;
}

/* primary post loop */

.region-row:not(:has(.taxonomy-regions)) {
    /* hides .region-row when no region taxonomies are present */
    display: none;
}

.region-row .taxonomy-regions>a,
.region-row .taxonomy-regions>span {
    display: none;
}

.region-row .taxonomy-regions>a:first-of-type {
    display: initial;
}

.region-row .taxonomy-regions.multi-region>a:first-of-type {
    font-size: 0;
}

.region-row .taxonomy-regions.multi-region>a:first-of-type::before {
    content: "Multi-region";
    font-size: var(--wp--preset--font-size--small);
}

.region-row .taxonomy-regions.multi-region:hover>a:first-of-type {
    font-size: var(--wp--preset--font-size--small);
}

.region-row .taxonomy-regions.multi-region:hover>a:first-of-type::before {
    content: "";
}

.region-row .taxonomy-regions.multi-region:hover>a:first-of-type::after {
    content: "";
}

.taxonomy-regions.multi-region:hover {
    background: #fff;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 1.1rem;
    z-index: +1;
}

.taxonomy-regions.multi-region:hover a {
    display: block;
    padding: 1px 4px 0;
    background: #fff;
    border-right: solid 1px;
    border-left: solid 1px;
    border-color: #ccedf3 !important;
}

.taxonomy-regions.multi-region:hover a:first-of-type {
    border-radius: 4px 4px 0 0;
    border-top: solid 1px;
}

.taxonomy-regions.multi-region:hover a:last-of-type {
    border-radius: 0 0 4px 4px;
    border-bottom: solid 1px;
}

.taxonomy-regions.multi-region:hover a:hover {
    color: #111111;
}

.featured-articles .taxonomy-regions.multi-region:hover {
    pointer-events: none;
    /* prevent multi-region UI on featured articles */
}

/* tags */
.taxonomy-post_tag a {
    display: inline-block;
    margin: 0 0.3em 0.3em -0.2em;
    line-height: 1.5em;
}

.taxonomy-post_tag .wp-block-post-terms__separator {
    display: none;
}

.taxonomy-post_tag a[href="https://allthingsbusiness.co.uk/tag/featured-articles/"] {
    display: none;
}

/* Podcast */

.wp-block-post.podcast .wp-block-post-title {
    display: inline-block;
}

.wp-block-post.podcast .wp-block-post-title span {
    white-space: nowrap
}

.wp-block-post.podcast .episode {
    color: var(--wp--preset--color--accent-1);
}

.wp-block-post.podcast .episode::after {
    content: " ";
}

.wp-block-post.podcast .sep {
    display: none;
}

.wp-block-post.podcast .wp-block-cover.has-aspect-ratio::after {
    content: "";
    width: 25%;
    max-width: 150px;
    height: 50px;
    background-image: url('https://allthingsbusiness.co.uk/wp-content/uploads/2024/11/thepodcast-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 0 100%;
    position: absolute;
    bottom: 6%;
    left: 4%;
    z-index: +1;
    opacity: 1;
    transition: opacity 1.5s;
}

body.block-editor-iframe__body .wp-block-post.podcast .wp-block-cover.has-aspect-ratio::after {
    /* don't show in editor */
    content: unset;
}

.featured-episode .wp-block-post.podcast .wp-block-cover.has-aspect-ratio {
    background-color: #000;
}

.featured-episode .wp-block-post.podcast .wp-block-cover__image-background.wp-post-image {
    transform: translateX(20%);
    transition: transform 1s;
}

.featured-episode .wp-block-post.podcast a:hover .wp-block-cover__image-background.wp-post-image {
    transform: translateX(0) scale(1.15);
    transition: transform 0.5s;
}

.featured-episode .wp-block-post.podcast .wp-block-cover .episode-meta {
    transform: translateY(0);
    transition: all 0.75s;
}

.featured-episode .wp-block-post.podcast a:hover .wp-block-cover .wp-block-cover__background {
    opacity: 0;
    transition: opacity 2s;
}

.featured-episode .wp-block-post.podcast a:hover .wp-block-cover .episode-meta {
    opacity: 0;
    transform: translateY(-200px);
    transition: all 0.5s;
}

.featured-episode .episode-meta span {
    display: inline-block;
    background-color: var(--wp--preset--color--accent-1);
    padding-right: 0.2em;
    padding-left: 0.2em;
}

.post-type-archive-podcast.paged .podcast-header .podcast>.wp-block-cover {
    min-height: 100px !important;
}

.post-type-archive-podcast.paged .podcast-header .podcast-logo {
    margin: 2em 0 !important;
}

.post-type-archive-podcast.paged .podcast-about,
.post-type-archive-podcast.paged .podcast-header .post-meta,
.post-type-archive-podcast.paged .podcast-header .wp-block-column:last-of-type {
    display: none;
}

/* knowledge hub */

.hub-hero-posts li.wp-block-post>a {
    height: 100%;
}

.hub-hero-posts li.wp-block-post>a>.wp-block-group {
    min-height: 100%;
}

.post-type-archive-knowledge-hub .wp-block-post-template>li:nth-child(n+5),
/* Hide 5th element onwards */
.post-type-archive-knowledge-hub .wp-block-query>.pagination {
    display: none;
    opacity: 0;
}

.post-type-archive-knowledge-hub .wp-block-post-template>li,
.post-type-archive-knowledge-hub .wp-block-query>.pagination {
    transition: opacity 0.3s ease, display 0.3s ease;
}

.post-type-archive-knowledge-hub .wp-block-post-template>li:nth-child(n+5).visible,
.post-type-archive-knowledge-hub .wp-block-query>.pagination.visible {
    display: list-item;
    opacity: 1;
}

.post-type-archive-knowledge-hub .wp-block-query>.pagination.visible {
    display: block;
}


/* ad blocks */

.primary-loop .ad-block {
    min-height: 320px !important;
    height: 100%;
    max-height: 450px;
}

/* stop the editor from screwing up */
.editor-visual-editor .primary-loop .ad-block {
    max-height: unset;
}

/* pagination */

.pagination .page-numbers {
    display: inline-block;
    border-radius: 5em;
    background-color: #dedede;
    text-align: center;
    min-width: 1.4em;
    margin-left: -0.1em;
    padding: 0 0.4em;
    box-sizing: border-box;
}


.pagination .page-numbers.current {
    color: #fff;
    background-color: var(--wp--preset--color--accent-1);
}

.pagination .dots {
    background: none;
}

.pagination .wp-block-query-pagination-previous span,
.pagination .wp-block-query-pagination-next span {
    display: none;
}

.pagination .wp-block-query-pagination-previous::before,
.pagination .wp-block-query-pagination-next::before {
    content: "";
    display: inline-block;
    height: 20px;
    width: 16px;
    background-image: url('https://allthingsbusiness.co.uk/wp-content/themes/all-things-business-2025/img/next-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.pagination .wp-block-query-pagination-next::before {
    transform: translateY(25%);
}

.pagination .wp-block-query-pagination-previous::before {
    transform: translateY(25%) rotate(180deg);
}

.pagination .wp-block-query-pagination-previous.placeholder,
.pagination .wp-block-query-pagination-next.placeholder {
    opacity: 0.2;
}


/* single post - template */

.entry-content p a {
    color: var(--wp--preset--color--accent-1);
}

.single .category-nav.wp-block-template-part .wp-block-spacer {
    display: none;
}

.post-content .image-column img {
    max-width: 480px;
}

.post-content .content-column .wp-block-image {
    margin-top: 1.8em;
    margin-bottom: 1.8em;
}

.post-content .content-column .wp-block-image img {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 20px;
}

body.single .entry-content>p:first-of-type,
.post-content:first-of-type .content-column>p:first-of-type {
    font-weight: bold;
}

/* fix for imported posts with old layouts */
body.single .entry-content>p:last-child {
    margin-bottom: 6em;
}

body.single .entry-content>#lower-ad-block:last-child {
    margin-top: 6em;
    margin-bottom: 2em;
}

body.single .entry-content>iframe {
    display: inherit;
}

/* related posts */
/* hide >4 posts, excluding posts with .current-post class (which is hidden with JS) */
.related-articles>.wp-block-query>ul>li.post:not(.current-post):nth-child(n+5) {
    display: none;
}

/* footer - social icons */

ul.footer-social {
    gap: 0 2em;
}

.footer-social li.wp-social-link {
    position: relative;
    padding: 2em 0;
}

.footer-social li.wp-social-link::after {
    content: "";
    position: absolute;
    left: -30px;
    top: -20px;
    display: inline-block;
    width: 1px;
    height: 140px;
    background-color: #000;
}

.footer-social li.wp-block-social-link:hover::after {
    transform: scale(0.9);
    transition: scale 1s;
}

.footer-social li.wp-social-link:first-of-type::after {
    background-color: transparent;
}

.footer-social a svg {
    width: 65px !important;
    height: 65px !important;
}

.footer-social a.wp-block-social-link-anchor {
    flex-direction: column;
    align-items: unset;
}

.footer-social a span.wp-block-social-link-label {
    font-size: 1.5rem !important;
    font-weight: bold;
    line-height: 1.4em;
    margin: 0 0.2em !important;
    color: #000;
}

/* side buttons */

#side-buttons {
    position: fixed;
    top: 30vh;
    right: 0;
    z-index: 9999;
    pointer-events: none;
}

#side-buttons>div {
    transform: rotate(-90deg);
    transform-origin: bottom right;
}

#side-buttons .faux-button {
    transition: all ease-in-out 0.1s;
    transform-origin: bottom;
}

#side-buttons .faux-button:hover {
    transform: scale(1.1);
    box-shadow: -3px 2px 10px -3px #000;
}


/* takeover */

.takeover-group {
    position: relative;
}

.takeover-main {
    position: absolute;
    top: 0;
    width: 100%;
}

#takeover-top-banner {
    transition: height 0.5s ease;
}

.takeover-banner-hidden .takeover-main {
    position: fixed;
}

.takeover-banner-hidden.footer-in-view .takeover-main {
    min-height: 80vh !important;
}

.takeover-banner-hidden #takeover-top-banner {
    height: 6px;
    min-height: unset !important;
    transition: height 0.5s ease;
    overflow: hidden;
}

.editor-visual-editor .takeover-main {
    position: static;
    width: 100%;
}

.takeover-main .spacer-column {
    width: 100%;
    min-width: 1400px;
    flex-basis: unset;
}

.editor-visual-editor .takeover-main .spacer-column {
    width: 100%;
    min-width: 0;
}

.takeover-sides .wp-block-cover__inner-container {
    padding: 0;
}

#takeover-spacer {
    width: 100%;
    max-width: 1450px !important;
}

.editor-visual-editor #takeover-spacer {
    width: auto;
    max-width: 100% !important;
}

.takeover-group .side-banner-left {
    margin-right: 10px !important;
}

.takeover-group .side-banner-right {
    margin-left: 10px !important;
}

.takeover-group .side-banner>a {
    position: relative;
    margin-inline: 0 !important;
    z-index: 9999;
}

@media only screen and (max-width: 1540px) {

    .side-banner a {
        display: none;
    }

}

/* page - newsletter sign-up */

#input_3_4 {
    column-count: 2;
}

/* responsive */

@media only screen and (max-width: 1200px) {

    /* post loop content */

    li.post .meta-row,
    li.post .taxonomy-category a:not(:first-child),
    li.post .taxonomy-category span {
        display: none;
    }

    /* featured categories */

    .post-cat-columns {
        overflow: auto;
    }

    .wp-block-group.featured-cats {
        width: 150vw;
    }

    /* ad blocks */

    .awards-banner figure a img {
        max-width: 130px;
    }

    .ad-block.latest-edition p.has-xx-large-font-size {
        font-size: 30px !important;
    }

    /* single post - template */

    .post-content .content-column .wp-block-image img {
        max-width: 100%;
    }

}

@media only screen and (max-width: 1100px) {

    /* home */

    .home-featured-post a {
        min-height: 100%;
    }

    .home-featured-post a .wp-block-cover {
        min-height: 100% !important;
        padding-bottom: 100%;
    }

}


@media only screen and (max-width: 1024px) {

    /* category nav - template part */

    .category-nav.wp-block-template-part .tertiary {
        display: none;
    }

    /* single */

    .single .post-header h1 {
        font-size: 2em !important
    }

    /* home - featured articles */

    .featured-articles .date-row {
        display: none;
    }

}

@media only screen and (max-width: 1000px) {

    /* post layouts */

    /* 4 cols down to 3 cols */
    .columns-4.wp-block-post-template {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media only screen and (max-width: 920px) {

    /* awards banner */

    .awards-banner>.wp-block-group>.wp-block-cover {
        padding-top: 1.75em;
        padding-bottom: 1.85em;
    }

    .awards-banner>.wp-block-group>.wp-block-cover>.wp-block-cover__inner-container>.wp-block-group {
        flex-direction: column;
        padding-top: 1.75em !important;
        padding-bottom: 1.85em;
    }

    .awards-banner .wp-block-group.logos {
        max-width: 420px !important;
    }

    .awards-banner figure a img {
        max-width: 100%
    }



}

@media only screen and (max-width: 900px) {

    /* footer - social links */

    .wp-block-social-links.aligncenter {
        gap: 1.5em;
    }

    .footer-social li.wp-social-link::after {
        height: 120px;
    }

    .footer-social a svg {
        width: 50px !important;
        height: 50px !important;
    }

    /* category nav - template part */

    .category-nav.wp-block-template-part {
        display: none;
    }

    /* home - featured articles */

    .hero-latest-posts>.wp-block-columns {
        flex-wrap: wrap !important;
    }

    .hero-latest-posts>.wp-block-columns>.wp-block-column {
        flex-basis: 100% !important;
        flex-grow: 1 !important;
    }

    .home-featured-post a {
        min-height: unset;
    }

    .home-featured-post a .wp-block-cover {
        min-height: 260px !important;
        padding-bottom: unset;
    }

    .featured-articles .date-row {
        display: flex;
    }

    /* home - featured categories */

    .wp-block-group.featured-cats {
        width: 200vw;
    }

    .home-podcast-area>.wp-block-group.is-nowrap:first-of-type {
        flex-direction: column;
    }

    .home-podcast-area .episode-meta .headline {
        font-size: 1.2em !important;
    }

}

@media only screen and (max-width: 800px) {

    /* footer */

    .footer-logo {
        text-align: center;
    }

    .footer-logo img {
        max-width: 170px;
    }

    /* home */

    .highlights-menu li {
        width: 30%;
    }

}

@media only screen and (max-width:780px) {

    /* footer */

    footer .wp-block-column>.wp-block-group {
        border-left: none !important;
    }

    footer .wp-block-column>.wp-block-group>.wp-block-group {
        gap: 0.2em;
    }

    footer .wp-block-social-links .wp-social-link svg {
        width: 2em;
        height: 2em;
    }

    /* single */

    .single .post-header .featured-column {
        order: -1;
    }

}

@media only screen and (max-width: 720px) {

    /* footer */

    footer nav li {
        margin-bottom: 0.5em;
    }

    footer nav a {
        padding: 0.25em;
    }

    /* post layouts */

    /* 4 cols down to 2 cols */
    .columns-4.wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* featured categories */

    .post-cat-columns {
        overflow: unset;
    }

    .wp-block-group.featured-cats {
        position: relative;
        width: 100%;
        flex-wrap: wrap;
    }

    .post-cat-columns .wp-block-cover.category {
        width: 50% !important;
        min-height: 50vw !important;
        aspect-ratio: 1/1 !important;
        transition: none;
    }

    .featured-cats>.wp-block-cover.category>.wp-block-cover__inner-container>a {
        flex-direction: column;
    }

    .featured-cats .category.rotate90 {
        writing-mode: unset;
        height: 100%;
        max-height: 100%;
        padding-top: 0.6em;
        position: static;
        top: unset;
        width: auto;
        right: unset;
        align-self: center;
        align-content: center;
        text-align: center;
        font-size: 1.75em !important;
        text-shadow: 0px 2px 8px #000;
    }

    .featured-cats .read-stories {
        margin: 0 auto;
        align-self: baseline;
    }

    /* ab block - awards */

    .subscribe-banner::before {
        left: -10%;
    }

    .subscribe-banner::after {
        right: -10%;
    }

    /* home -podcast */

    .home-podcast-area {
        padding-top: var(--wp--preset--spacing--40) !important;
        padding-right: var(--wp--preset--spacing--30) !important;
        padding-bottom: var(--wp--preset--spacing--40) !important;
        padding-left: var(--wp--preset--spacing--30) !important;
    }


}

@media only screen and (max-width: 640px) {

    /* home - featured articles */

    .featured-articles.hero a .wp-block-cover {
        min-height: 240px !important;
    }

    .home-featured-post a .wp-block-cover {
        min-height: 200px !important;
    }

}

/* theme default break point */
@media only screen and (max-width: 600px) {

    #primary-loop-ad {
        max-height: unset;
    }

    .ad-block.latest-edition p.has-xx-large-font-size {
        text-align: center;
        font-size: var(--wp--preset--font-size--xx-large) !important;
    }

    li.post .meta-row {
        display: flex;
    }

    /* footer - socials */

    .footer-social li.wp-social-link::after {
        display: none;
    }

    /* home - podcast */

    .home-podcast-area .podcast-intro p {
        text-align: center;
    }

    .home-podcast-area .wp-block-buttons {
        justify-content: center;
    }

}

@media only screen and (max-width: 550px) {

    /* ab block - awards */

    .subscribe-banner::before,
    .subscribe-banner::after {
        display: none;
    }

}

@media only screen and (max-width: 540px) {

    /* header */

    #header-top-bar {
        display: none;
    }

    /* home */

    .highlights-menu li {
        width: 45%;
    }

    /* home - featured posts */

    .featured-articles .date-row {
        display: none;
    }

    .home-featured-post a .wp-block-cover {
        min-height: 100% !important;
        padding-bottom: 100%;
    }

    .home-featured-post .taxonomy-post_tag a:nth-child(1)~a {
        display: none;
    }


}

@media only screen and (max-width: 500px) {

    /* header */

    .wp-block-site-logo img {
        max-width: 120px;
    }

    header nav .awards {
        display: none !important;
    }

    .header-region-nav ul {
        justify-content: center;
    }


    /* replace full-length region names with shorter text */
    .header-region-nav .bedfordshire a span,
    .header-region-nav .milton-keynes a span,
    .header-region-nav .northamptonshire a span {
        display: none;
    }

    .header-region-nav .bedfordshire a::after {
        content: "Bedfordshire";
        font-size: 12px;
    }

    .header-region-nav .milton-keynes a::after {
        content: "MK";
    }

    .header-region-nav .northamptonshire a::after {
        content: "Northamptonshire";
        font-size: 12px;
    }

}

@media only screen and (max-width: 480px) {

    .header-region-nav {
        font-size: 12px;
    }

    /* home - podcast */

    .home-podcast-area .tagline {
        font-size: 1.4em !important;
    }

}


@media only screen and (max-width: 390px) {

    /* header */

    header nav .podcast {
        display: none !important;
    }

    /* home */

    /* home - featured posts */

    .featured-articles.hero a .wp-block-cover {
        min-height: 180px !important;
    }

}

/* third-party */

.grecaptcha-badge {
    visibility: hidden !important
}