/* =====================================================
   FONT VARIABLES
   ===================================================== */

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Arial, sans-serif;

--font-heading: 'Inter', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Arial, sans-serif;




}

/* =====================================================
   BODY TEXT
   ===================================================== */

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;      /* 16px */
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  color: #111;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =====================================================
   HEADINGS — GUTENBERG OVERRIDE (SOURCE OF TRUTH)
   ===================================================== */

h1.wp-block-heading {
  font-family: var(--font-heading) !important;
  font-size: 64px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin: 0 0 0.6em 0;
  color: #224D7B !important;
}

h2.wp-block-heading {
  font-family: var(--font-heading) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 0 0.5em 0;
  color: #2E5F8F !important;
}

h3.wp-block-heading {
  font-family: var(--font-heading) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 0.5em 0;
  color: #2E5F8F !important;
}

h4.wp-block-heading {
  font-family: var(--font-heading) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.5em 0;
}

/* =====================================================
   PARAGRAPHS
   ===================================================== */

p {
  margin: 0 0 1.25em 0;
}

/* =====================================================
   LINKS
   ===================================================== */

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration: none;
}

/* =====================================================
   BUTTONS / UI TEXT
   ===================================================== */

button,
input,
select,
textarea,
.button,
.wp-block-button__link,
.wp-element-button {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* =====================================================
   KILL GUTENBERG FONT-SIZE UTILITIES
   ===================================================== */

.has-small-font-size,
.has-medium-font-size,
.has-large-font-size,
.has-x-large-font-size,
.has-xx-large-font-size {
  font-size: inherit !important;
}

/* =====================================
   FOOTER COLUMN LAYOUT FIX (STATIC)
   ===================================== */

footer .wp-container-core-group-is-layout-e5edad21 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;

  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  column-gap: 80px;
}

/* Remove Gutenberg side padding inside footer columns */
footer .wp-container-core-group-is-layout-e5edad21 > .wp-block-group {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile layout */
@media (max-width: 900px) {
  footer .wp-container-core-group-is-layout-e5edad21 {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

/* =====================================
   PRIMARY BUTTON TEXT FIX
   ===================================== */

.wp-block-button__link,
.wp-element-button {
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;

  font-size: 0.85rem;
}
/* Button spacing (between adjacent buttons) */
.wp-block-button + .wp-block-button {
  margin-left: 16px;
}
/* Header logo – final size + centering */
.site-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.site-logo img {
  height: 80px;   /* ↓ smaller logo */
  width: auto;
  display: block;
}
/* Service card images — square */
.wp-block-columns .wp-block-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
/* Service card image sizing */
.wp-block-columns .wp-block-image {
  max-width: 200px;
}
/* Center service card images */
.wp-block-columns .wp-block-image {
  margin-left: auto;
  margin-right: auto;
}


.stock-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.stock-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wp-block-group.has-accent-3-background-color {
  padding-top: var(--wp--preset--spacing--80);
  padding-bottom: var(--wp--preset--spacing--80);
}
.what-we-stock-image img {
  width: 100%;
  max-width: 400px;
}
figure.wp-block-image.what-we-stock-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: auto;
}
figure.wp-block-image.compounding-image {
  width: 100%;
  max-width: 600px;
}

figure.wp-block-image.compounding-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* Match Pharmacy Services spacing to Aged Care Services */

/* Space BETWEEN cards in the same row */
.page-template-page-no-title
.wp-block-columns.alignwide {
  gap: var(--wp--preset--spacing--50);
}

/* Space BETWEEN rows of cards */
.page-template-page-no-title
.wp-block-columns.alignwide
+ .wp-block-columns.alignwide {
  margin-top: var(--wp--preset--spacing--50);
}
/* Reduce gap below Contact Details cards (before Enquiries) */
.page-id-94 .wp-block-columns.alignwide {
  margin-bottom: var(--wp--preset--spacing--10);
}

.contact-image {
  width: 100%;
}

.contact-image img {
  width: 80%;
  height: auto;
  display: block;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 160px;   /* adjust size here */
  height: auto;
  display: block;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}
/* =====================================
   FOOTER HEADING COLOR OVERRIDE
   ===================================== */

footer h3.wp-block-heading {
  color: #ffffff !important;
}