@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Fira+Sans:wght@400;500;600&display=swap');

/* Cambridge Engraving brand: fonts */
body, button, input, select, textarea { font-family: 'Fira Sans', system-ui, sans-serif; }
h1, h2, h3, .site-title, .entry-title, .woocommerce-loop-product__title, .product_title { font-family: 'Libre Baskerville', serif; font-weight: 400; }

/* Header: logo and menu */
.site-header { border-bottom: 1px solid #E3E6EC; padding-top: 1.5em; }
.site-branding .custom-logo { max-height: 90px; width: auto; }
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { font-weight: 500; }

/* Full-width design pages: hide the page title and remove theme gaps */
.home .entry-header, .page-id-118 .entry-header, .page-id-485 .entry-header, .page-id-489 .entry-header, .page-id-490 .entry-header { display: none; }
.home .site-header, .page-id-118 .site-header, .page-id-489 .site-header, .page-id-490 .site-header { margin-bottom: 0; }
.home .site-main, .page-id-118 .site-main { margin-bottom: 0; }
.home .hentry, .page-id-118 .hentry, .page-id-489 .hentry, .page-id-490 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.home .site-footer, .page-id-118 .site-footer { margin-top: 0; }
body { overflow-x: clip; }

/* White headings on the navy sections */
section#top h1, section#work h2, section#contact h2 { color: #FFFFFF; }
section#contact .dl, section#contact dd { color: #FFFFFF; }

/* Footer: copyright only (hides "Built with WooCommerce") */
.site-info { font-size: 0; }
.site-info::before { content: "© Cambridge Engraving"; font-size: 0.9375rem; }

/* Shop not live yet: hide the header basket (delete this block to show it) */
.site-header-cart, .storefront-handheld-footer-bar .cart { display: none !important; }
/* Shop not live yet: hide product search (header box and phone search icon). Remove this line to bring it back. */
.site-search, .storefront-handheld-footer-bar .search { display: none !important; }
.storefront-handheld-footer-bar { display: none !important; }
@media (max-width: 767px) { body.storefront-handheld-footer-bar-active, .storefront-handheld-footer-bar-active .site-footer { padding-bottom: 0 !important; } }

/* Awards page: same full-width layout as the homepage and gallery */
.page-id-276 .entry-header { display: none; }
.page-id-276 .site-header { margin-bottom: 0; }
.page-id-276 .site-main { margin-bottom: 0; }
.page-id-276 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-276 .site-footer { margin-top: 0; }
.ce-catalogue-cover { margin: 0 !important; background: #F3F5F9; }
.ce-catalogue-cover img { width: 100%; padding: 16px; box-sizing: border-box; }
.page-id-276 .wp-block-column > .wp-block-group { height: 100%; }

/* Star map page: same full-width layout */
.page-id-537 .entry-header { display: none; }
.page-id-537 .site-header { margin-bottom: 0; }
.page-id-537 .site-main { margin-bottom: 0; }
.page-id-537 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-537 .site-footer { margin-top: 0; }

/* Sound wave page: same full-width layout */
.page-id-543 .entry-header { display: none; }
.page-id-543 .site-header { margin-bottom: 0; }
.page-id-543 .site-main { margin-bottom: 0; }
.page-id-543 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-543 .site-footer { margin-top: 0; }


/* Bespoke engraving page (420): full-width design */
.page-id-420 .entry-header { display: none; }
.page-id-420 .site-header { margin-bottom: 0; }
.page-id-420 .site-main { margin-bottom: 0; }
.page-id-420 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-420 .site-footer { margin-top: 0; }


/* Wall plaques and signage page (350): full-width design */
.page-id-350 .entry-header { display: none; }
.page-id-350 .site-header { margin-bottom: 0; }
.page-id-350 .site-main { margin-bottom: 0; }
.page-id-350 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-350 .site-footer { margin-top: 0; }


/* Woodland burial plaques page (288): full-width design */
.page-id-288 .entry-header { display: none; }
.page-id-288 .site-header { margin-bottom: 0; }
.page-id-288 .site-main { margin-bottom: 0; }
.page-id-288 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-288 .site-footer { margin-top: 0; }


/* Page 39: full-width design */
.page-id-39 .entry-header { display: none; }
.page-id-39 .site-header { margin-bottom: 0; }
.page-id-39 .site-main { margin-bottom: 0; }
.page-id-39 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-39 .site-footer { margin-top: 0; }


/* Page 327: full-width design */
.page-id-327 .entry-header { display: none; }
.page-id-327 .site-header { margin-bottom: 0; }
.page-id-327 .site-main { margin-bottom: 0; }
.page-id-327 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-327 .site-footer { margin-top: 0; }


/* Page 338: full-width design */
.page-id-338 .entry-header { display: none; }
.page-id-338 .site-header { margin-bottom: 0; }
.page-id-338 .site-main { margin-bottom: 0; }
.page-id-338 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-338 .site-footer { margin-top: 0; }


/* Design Your Own page (607): full-width design */
.page-id-607 .entry-header { display: none; }
.page-id-607 .site-header { margin-bottom: 0; }
.page-id-607 .site-main { margin-bottom: 0; }
.page-id-607 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-607 .site-footer { margin-top: 0; }


.home .site-header, .page-id-477 .site-header { margin-bottom: 0 !important; }


/* FAQs page (656): full-width design */
.page-id-656 .entry-header { display: none; }
.page-id-656 .site-header { margin-bottom: 0; }
.page-id-656 .site-main { margin-bottom: 0; }
.page-id-656 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-656 .site-footer { margin-top: 0; }

/* Menu: use the full header width (basket is hidden) and keep it on one line */
@media (min-width: 768px) {
  .main-navigation, .storefront-primary-navigation .main-navigation { width: 100% !important; margin-right: 0 !important; }
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding-left: 12px !important; padding-right: 12px !important; font-size: 15px; }
  .main-navigation ul.menu > li:first-child > a { padding-left: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a { padding-left: 7px !important; padding-right: 7px !important; font-size: 14px; }
}


/* Sketch Pad page (675): full-width design */
.page-id-675 .entry-header { display: none; }
.page-id-675 .site-header { margin-bottom: 0; }
.page-id-675 .site-main { margin-bottom: 0; }
.page-id-675 .hentry { margin-bottom: 0; padding-bottom: 0; border: 0; }
.page-id-675 .site-footer { margin-top: 0; }

/* Google reviews widget (Trustindex): match the site's fonts and colours */
.ce-google-reviews .ti-widget, .ce-google-reviews .ti-widget * { font-family: 'Fira Sans', system-ui, sans-serif !important; }
.ce-google-reviews .ti-widget .ti-rating-text, .ce-google-reviews .ti-widget .ti-rating-text strong, .ce-google-reviews .ti-widget .ti-name { color: #233252 !important; }
.ce-google-reviews .ti-widget .ti-rating-text strong:first-child, .ce-google-reviews .ti-widget .ti-rating { font-family: 'Libre Baskerville', serif !important; font-weight: 400 !important; letter-spacing: 0.02em; }
.ce-google-reviews .ti-widget .ti-review-content, .ce-google-reviews .ti-widget .ti-review-text-container { color: #3A3D42 !important; }
.ce-google-reviews .ti-widget .ti-review-item > .ti-inner { border-color: #E3E6EC !important; border-radius: 4px !important; }

/* Google reviews widget: line up with the section edges and heading */
.ce-google-reviews .ti-widget .ti-widget-container { align-items: center !important; margin-bottom: 0 !important; }
.ce-google-reviews .ti-widget .ti-footer { margin: 0 32px 0 0 !important; text-align: left !important; justify-items: start !important; align-self: center !important; }
.ce-google-reviews .ti-widget .ti-footer *, .ce-google-reviews .ti-widget .ti-footer .ti-stars { text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; }
.ce-google-reviews .ti-widget .ti-reviews-container-wrapper { margin: 0 -8px !important; }
@media (max-width: 767px) { .ce-google-reviews .ti-widget .ti-footer { margin: 0 0 20px !important; } }
body .ce-google-reviews .ti-widget.ti-goog .ti-footer .ti-large-logo .ti-v-center img.ti-logo-fb { margin-left: 0 !important; margin-right: auto !important; }
