.animated-image {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  display: inline-block;
}

.animated-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.wp-block-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 0;
    margin: 0;
}

.wp-block-categories-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Style category links as rectangular buttons */
.wp-block-categories-list li a {
    display: inline-block;
    padding: 8px 14px;
    background-color: #0a3050; /* your colour */
    color: #ffffff;            /* white text */
    text-decoration: none;
    border-radius: 4px;        /* slight rounding */
    font-weight: 500;
}

.wp-block-categories-list li a:hover {
    background-color: #0c3b63; /* slightly lighter on hover */
    color: #ffffff;
}
/* Horizontal layout for Terms List block */
.wp-block-term {
    list-style: none;           /* remove bullet points */
    margin: 0;
    padding: 0;
    display: inline-block;      /* allow horizontal flow */
}

/* Wrap all term items horizontally */
.wp-block-terms-list {
    display: flex;              /* horizontal layout */
    flex-wrap: wrap;            /* wrap to next line on small screens */
    gap: 10px;                  /* spacing between buttons */
    padding-left: 0;
    margin: 0;
}

/* Style individual term links like buttons */
.wp-block-term a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0a3050;  /* button color */
    color: #ffffff;             /* text color */
    text-decoration: none;      /* remove underline */
    border-radius: 4px;         /* rounded corners */
    font-weight: 500;
    transition: background-color 0.3s ease;
}

/* Hover effect for term links */
.wp-block-term a:hover {
    background-color: #0c3b63;  /* slightly darker on hover */
    color: #ffffff;
}

ACCORDIAN
/* ESAB Accordion: lock width so it matches surrounding content */
.wp-block-esab-accordion,
.wp-block-esab-accordion .esab__container,
.wp-block-esab-accordion .wp-block-esab-accordion-child {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Prevent flex/grid shrink behavior if parent layout is flex */
.wp-block-esab-accordion {
  flex: 0 0 100% !important;
  align-self: stretch !important;
  justify-self: stretch !important;
}

/* Important: don't animate width/size */
.wp-block-esab-accordion .wp-block-esab-accordion-child {
  transition-property: background-color, border-color, color, box-shadow, opacity, transform !important;
  /* or, if you don't care about transitions at all: transition: none !important; */
}