/* Submenu hover (background only) */
.wp-block-navigation .wp-block-navigation__submenu-container a:hover {
    background-color: #fff3b0 !important; 
		color: #9e2a2b 
!important;
}.wp-block-navigation .wp-block-navigation__submenu-container a {
    transition: background-color 0.3s ease, color 0.2s ease;
}/* Top-level nav links hover */
.wp-block-navigation .wp-block-navigation-item > a:hover {
    color: #9e2a2b;  /* change this to the colour you want */
}/* Ensure container hides overflow */
.home .wp-block-post-featured-image,
.home .post-thumbnail {
    position: relative;      /* needed for overlay */
    overflow: hidden;        /* keeps zoom contained */
}

/* The image itself */
.home .wp-block-post-featured-image img,
.home .post-thumbnail img {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

/* Hover: zoom image */
.home .wp-block-post-featured-image:hover img,
.home .post-thumbnail img:hover {
    transform: scale(1.05);
	
}/* Header title only */
header .wp-block-heading a {
    text-decoration: none;
}/* Container */
.pax-logo a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/* pax stays visible */
.pax-logo .pax {
    position: relative;
    z-index: 2;
}

/* magazine hidden behind */
.pax-logo .mag {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    white-space: nowrap;
    z-index: 1;
}/* hover-out: instantly hide */
.pax-logo a:not(:hover) .mag {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.18s ease, transform 1s ease; /* fast fade out */
}

/* dot moves */
.pax-logo .dot {
    display: inline-block;
    transition: transform 0.8s ease;
}

/* Hover effect (important: target the link) */
.pax-logo a:hover .mag {
    transform: translateX(3ch);
    opacity: 1;
}

.pax-logo a:hover .dot {
    transform: translateX(7.23ch);
}/* Disable pax animation on mobile */
@media (max-width: 768px) {

    /* Hide "magazine" completely */
    .pax-logo .mag {
        display: none !important;
    }

    /* Reset dot position */
    .pax-logo .dot {
        transform: none !important;
    }

    /* Remove animation behavior */
    .pax-logo a {
        pointer-events: auto;
    }
}@media (max-width: 768px) {

    /* Make everything behave like normal text */
    .pax-logo .pax,
    .pax-logo .dot {
        position: static !important;
        display: inline !important;
        transform: none !important;
    }

    /* Ensure proper line alignment */
    .pax-logo {
        line-height: 1 !important;
    }
}/* Default logo colour */
.pax-logo a {
    color: #fff3b0 !important; /* or whatever your intended colour is */
}

/* Keep same colour on hover */
.pax-logo a:hover {
    color: #fff3b0 !important;

}/* Ensure container hides overflow (prevents zoom spill) */
.wp-block-post-featured-image,
.post-thumbnail {
    overflow: hidden;
}

/* The image itself */
.wp-block-post-featured-image img,
.post-thumbnail img {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

/* Hover: zoom image */
.wp-block-post-featured-image:hover img,
.post-thumbnail:hover img {
    transform: scale(1.05);
}