/*
 * CG Design - 2026 refresh overrides (Alan Grice Staircase Co)
 * Loaded after responsive.css. Remove the <link> in header.php to roll back.
 *
 * 1. Content width (940px > 1170px)
 * 2. Homepage banner fader (js/cgd-fader.js, 1170 x 360)
 */

/* 1. Content width
   ------------------------------------------------------------------ */
@media all and (min-width: 1001px) {
	.header,
	.content_top,
	.content_bottom,
	.footer { width: 1170px; max-width: 94%; }

	/* Homepage: intro + trade column (was 597px + 304px) */
	.description { width: 66%; box-sizing: border-box; padding-right: 40px; background-position: right top; }
	.commercial { width: 31%; }

	/* Inner pages: content + sidebar (was 690px + 220px) */
	.content_left { width: 72%; }
	.sidebar { width: 24%; }

	/* Three columns (was 3 x 300px) */
	.colum { width: 32%; margin-right: 2%; }
	.colum.nomrg { margin-right: 0; }
	.colum_pic { height: auto; }
	.colum img.attachment-post-thumbnail { width: 100%; height: auto; }

	/* Inner page title strip (was 1103px) */
	.banner2 { width: 1170px; max-width: 100%; }
	.banner2 > img { display: block; width: 100%; height: 79px; object-fit: cover; }
}

/* 2. Homepage banner - full width fader with headline overlay
   ------------------------------------------------------------------ */
.banner { width: 100%; max-width: none; height: clamp(300px, 37.5vw, 540px); aspect-ratio: auto; position: relative; overflow: hidden; }
.cgd-fader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.cgd-fader__slide { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1500ms ease-in-out; }
.cgd-fader__slide.is-active { opacity: 1; }

.cgd-hero { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; background: linear-gradient(90deg, rgba(20,12,8,.72) 0%, rgba(20,12,8,.45) 40%, rgba(20,12,8,0) 70%); }
.cgd-hero__inner { width: 1170px; max-width: 94%; margin: 0 auto; }
.cgd-hero__title { max-width: 600px; margin: 0 0 14px; color: #fff; font-family: 'CallunaBold', Georgia, serif; font-size: 40px; line-height: 46px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.cgd-hero__text { max-width: 520px; margin: 0 0 24px; color: #f4ecd6; font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 28px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.cgd-hero__btn { display: inline-block; padding: 14px 28px; background: #b01c1c; border: 1px solid #b8ab7c; color: #fff; font-family: 'CallunaBold', Georgia, serif; font-size: 15px; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.cgd-hero__btn:hover, .cgd-hero__btn:focus { background: #8e1515; color: #fff; }

@media all and (max-width: 1000px) {
	.cgd-hero__title { font-size: 32px; line-height: 38px; max-width: 480px; }
	.cgd-hero__text { font-size: 16px; line-height: 25px; max-width: 440px; }
}
@media all and (max-width: 640px) {
	.banner { height: 340px; }
	.cgd-hero { background: linear-gradient(0deg, rgba(20,12,8,.78) 0%, rgba(20,12,8,.5) 55%, rgba(20,12,8,.25) 100%); align-items: flex-end; }
	.cgd-hero__inner { padding-bottom: 24px; }
	.cgd-hero__title { font-size: 26px; line-height: 31px; margin-bottom: 10px; }
	.cgd-hero__text { font-size: 15px; line-height: 23px; margin-bottom: 16px; }
	.cgd-hero__btn { padding: 11px 20px; font-size: 14px; }
}
.cgd-hero__btn + .cgd-hero__btn { margin-left: 10px; }
.cgd-hero__btn--alt { background: rgba(0,0,0,.25); }
.cgd-hero__btn--alt:hover, .cgd-hero__btn--alt:focus { background: #b8ab7c; color: #2b1d14; }
@media all and (max-width: 640px) { .cgd-hero__btn + .cgd-hero__btn { margin-left: 6px; } }
@media all and (max-width: 380px) { .cgd-hero__btn { padding: 10px 14px; font-size: 13px; } }

/* 3. Text sizes - larger, more readable (Nov 2026)
   ------------------------------------------------------------------ */
/* Body copy (was 15px / 19-20px) */
.description p,
.commercial p,
.content_left p,
.sidebar_box p,
.colum p
{ font-size: 17px; line-height: 28px; }
.description p { padding-bottom: 18px; }
.content_left strong { line-height: 26px; }

/* Homepage intro headings (was 18px) */
.description h2 { font-size: 32px; line-height: 32px; margin-bottom: 10px; }
.description span { font-size: 20px; line-height: 28px; }

/* Inner page headings (was 18px / 14px) */
.content_left h2 { font-size: 24px; line-height: 30px; }
.content_left h3 { font-size: 19px; line-height: 26px; margin-bottom: 8px; }
.banner2 span { font-size: 28px; }

/* Side column / sidebar headings (was 18px) */
.commercial h2,
.sidebar_box h2,
.widget-title,
.colum h2 { font-size: 21px; line-height: 26px; }
.commercial strong { font-size: 18px; line-height: 25px; }

/* Links and lists */
a.find, a.more { font-size: 16px; line-height: 24px; }
.sidebar_box ul { font-size: 16px; }
.sidebar_box ul li { line-height: 28px; }

/* Testimonials */
blockquote p { font-size: 17px; line-height: 27px; padding-bottom: 8px !important; }
blockquote p:last-child { padding-bottom: 0 !important; }

/* Main menu */
.menu ul li a { font-size: 15px; }

/* Phones */
@media all and (max-width: 640px) {
	.description p, .commercial p, .content_left p, .sidebar_box p, .colum p
	blockquote p { font-size: 16px; line-height: 26px; }
	.content_left h2 { font-size: 21px; line-height: 27px; }
	.description h2 { font-size: 26px; line-height: 30px; }
	.description span { font-size: 18px; line-height: 25px; }
	.banner2 span { font-size: 22px; }
}

/* 4. Homepage intro section spacing (homepage only: follows the banner)
   ------------------------------------------------------------------ */
.banner_wrapper1 + .content_top_wrapper .content_top { padding-top: 100px; padding-bottom: 100px; }
@media all and (max-width: 1000px) { .banner_wrapper1 + .content_top_wrapper .content_top { padding-top: 70px; } }
@media all and (max-width: 640px) { .banner_wrapper1 + .content_top_wrapper .content_top { padding-top: 40px; } }

/* 5. Homepage right column - image, title, text, button
   ------------------------------------------------------------------ */
.cgd-side-block { margin-bottom: 30px; }
.cgd-side-block__img img { display: block; float: none; width: 100%; height: auto; margin: 0; }
.cgd-side-block--img h2 { margin: 0; padding: 26px 0 14px; }
.cgd-side-block p { padding-bottom: 14px; }
.cgd-side-block b { display: block; font-size: 18px; line-height: 26px; color: #333; }
.cgd-btn { display: inline-block; margin-top: 6px; padding: 12px 24px; background: #b01c1c; border: 1px solid #b8ab7c; color: #fff !important; font-family: 'CallunaBold', Georgia, serif; font-size: 15px; text-transform: uppercase; text-decoration: none !important; transition: background .2s; }
.cgd-btn:hover, .cgd-btn:focus { background: #8e1515; }

/* 6. Primary menu - spacing (desktop only; mobile uses the dropdown)
   ------------------------------------------------------------------ */
@media all and (min-width: 1001px) {
	.menu ul li a { padding: 0 15px; }
}

/* 7. Header tag line - now first line of the header widget
   ------------------------------------------------------------------ */
.header_right .textwidget { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 14px; line-height: 18px; text-align: right; }
.header_right .textwidget ul { font-style: normal; margin-top: 6px; }
.header_right .textwidget > span { display: none; } /* old tag line */
@media all and (min-width: 1001px) {
	.header_right { height: 77px; } /* keeps the menu where it was */
}
@media all and (max-width: 590px) {
	.header_right .textwidget { text-align: center; }
}

/* 7b. Tag line and email/tel on one line
   ------------------------------------------------------------------ */
.header_right .textwidget { display: flex; justify-content: flex-end; align-items: center; gap: 30px; }
.header_right .textwidget > .clrflt { display: none; }
.header_right .textwidget ul { float: none; margin: 0; }
@media all and (min-width: 1001px) {
	.header_right { width: auto; }
}
@media all and (max-width: 590px) {
	.header_right .textwidget { flex-direction: column; gap: 8px; margin-bottom: 14px; }
}
.header_right .textwidget ul li { font-size: 14px; }
.header_right .textwidget ul li { background-position: right center; }
.header_right .textwidget ul li:last-child { background: none; padding-right: 0; }

/* 8. Footer - four columns, on every page (Nov 2026)
   ------------------------------------------------------------------ */
.footer_wrapper { padding-top: 80px; padding-bottom: 0; }
.cgd-footer { padding-top: 0; color: #fff; font-size: 14px; line-height: 22px; }
.cgd-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.cgd-footer__logo img { display: block; max-width: 189px; height: auto; margin-bottom: 18px; }
.cgd-footer p { margin: 0 0 14px; padding: 0; font-size: 14px; line-height: 22px; }
.cgd-footer a { color: #fff; text-decoration: none; }
.cgd-footer a:hover, .cgd-footer a:focus { color: #e6d8a8; text-decoration: underline; }
.cgd-footer__title { margin: 6px 0 16px; color: #e6d8a8; font-family: 'CallunaBold', Georgia, serif; font-weight: normal; font-size: 14px; line-height: 20px; text-transform: uppercase; }
.cgd-footer__title--follow { margin-top: 24px; }

/* Quick links and downloads as simple lists */
.cgd-footer__links li { float: none; background: none; padding: 0; margin: 0 0 8px; }
.cgd-footer__links li a { display: inline; padding: 0; text-transform: none; }
.cgd-footer__col--downloads p { margin-bottom: 8px; }
.cgd-footer a.find { display: inline; background: none; padding: 0; color: #fff; font-size: 14px; }

/* Card logos and social icons */
.cgd-footer__cards { display: flex; gap: 8px; margin-top: 2px; }
.cgd-footer__cards svg { display: block; }
.cgd-footer__social { display: flex; gap: 10px; }
.cgd-footer__social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #b8ab7c; color: #fff; border-radius: 2px; transition: background .2s; }
.cgd-footer__social a:hover, .cgd-footer__social a:focus { background: #fff; color: #9f1a1a; text-decoration: none; }

/* Copyright bar */
.cgd-footer__bottom { padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.25); font-size: 14px; line-height: 20px; color: rgba(255,255,255,.85); }

@media all and (max-width: 1000px) {
	.cgd-footer { max-width: 90%; margin: 0 auto; }
	.cgd-footer__cols { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
}
@media all and (max-width: 590px) {
	.cgd-footer__cols { grid-template-columns: 1fr; gap: 24px; }
	.cgd-footer__logo img { margin: 0 0 14px; }
}

/* 9. Homepage service panels
   ------------------------------------------------------------------ */
.cgd-services { background: #f7f4ec; padding: 120px 0; }
.cgd-services__inner { width: 1170px; max-width: 94%; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cgd-card { display: flex; flex-direction: column; background: #fff; }
.cgd-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.cgd-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 26px 26px 30px; }
.cgd-card__title { margin: 0 0 10px; font-family: 'CallunaBold', Georgia, serif; font-weight: normal; font-size: 24px; line-height: 28px; }
.cgd-card__title a { color: #b01c1c; text-decoration: none; }
.cgd-card__title a:hover { text-decoration: underline; }
.cgd-card__text { flex: 1; margin: 0 0 20px; color: #333; font-size: 16px; line-height: 26px; }
.cgd-card .cgd-btn { margin-top: 0; }

@media all and (max-width: 1000px) {
	.cgd-services { padding: 60px 0; }
	.cgd-services__inner { max-width: 90%; gap: 20px; }
	.cgd-card__body { padding: 20px 20px 24px; }
	.cgd-card__title { font-size: 21px; line-height: 26px; }
}
@media all and (max-width: 750px) {
	.cgd-services__inner { grid-template-columns: 1fr; max-width: 520px; width: 90%; }
}

/* 10. Bold headings + services section heading
   ------------------------------------------------------------------ */
.description h2 { font-weight: bold; text-transform: none; }
.cgd-services__head { width: 1170px; max-width: 94%; margin: 0 auto 40px; }
.cgd-services__title { margin: 0 0 10px; color: #b01c1c; font-family: 'CallunaBold', Georgia, serif; font-size: 32px; line-height: 32px; }
.cgd-services__intro { margin: 0; color: #333; font-size: 17px; line-height: 28px; }
@media all and (max-width: 640px) {
	.cgd-services__head { margin-bottom: 28px; }
	.cgd-services__title { font-size: 26px; line-height: 30px; }
}
.cgd-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px 30px; flex-wrap: wrap; }
.cgd-footer__bottom span { display: inline; padding: 0; }
.cgd-footer a.cgd-footer__credit { color: rgba(255,255,255,.85); }
.cgd-footer a.cgd-footer__credit:hover { color: #e6d8a8; }
.cgd-footer a.find:hover, .cgd-footer a.find:focus { color: #e6d8a8; text-decoration: underline; }

/* 11. Enquiry banner above the footer (every page except Contact)
   ------------------------------------------------------------------ */
.cgd-cta { background: #2b2421; padding: 60px 0; clear: both; }
.cgd-cta__inner { width: 1170px; max-width: 94%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cgd-cta__title { margin: 0 0 8px; color: #e6d8a8; font-family: 'CallunaBold', Georgia, serif; font-size: 30px; line-height: 34px; }
.cgd-cta__text { margin: 0; padding: 0; color: #e9e2d4; font-size: 17px; line-height: 27px; }
.cgd-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cgd-cta .cgd-btn { margin-top: 0; }
.cgd-btn--outline { background: transparent; }
.cgd-btn--outline:hover, .cgd-btn--outline:focus { background: #b8ab7c; color: #2b2421 !important; }

@media all and (max-width: 750px) {
	.cgd-cta { padding: 44px 0; }
	.cgd-cta__inner { max-width: 90%; }
	.cgd-cta__title { font-size: 25px; line-height: 30px; }
	.cgd-cta__text { font-size: 16px; line-height: 25px; }
}

/* 12. Mobile menu - CSS/JS toggle (replaces jQuery Responsive Select Menu plugin)
   ------------------------------------------------------------------ */
.cgd-nav-toggle { display: none; }

@media all and (max-width: 1000px) {
	.cgd-nav-toggle { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 100px); margin: 10px 0; padding: 10px 14px; background: #fff; border: 0; border-radius: 0; color: #b01c1c; font-family: 'CallunaBold', Georgia, serif; font-size: 16px; line-height: 20px; text-transform: uppercase; cursor: pointer; -webkit-appearance: none; appearance: none; }
	.cgd-nav-toggle:focus-visible { outline: 2px solid #e6d8a8; outline-offset: 2px; }
	.cgd-nav-toggle__icon, .cgd-nav-toggle__icon::before, .cgd-nav-toggle__icon::after { display: block; width: 22px; height: 2px; background: #b01c1c; transition: transform .2s, background .2s; }
	.cgd-nav-toggle__icon { position: relative; }
	.cgd-nav-toggle__icon::before, .cgd-nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
	.cgd-nav-toggle__icon::before { top: -7px; }
	.cgd-nav-toggle__icon::after { top: 7px; }
	.menu.is-open .cgd-nav-toggle__icon { background: transparent; }
	.menu.is-open .cgd-nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
	.menu.is-open .cgd-nav-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

	.menu > ul { display: none; width: calc(100% - 100px); margin: 0 0 10px; background: #9f1a1a; border-top: 2px solid #b8ab7c; }
	.menu.is-open > ul { display: block; }
	.menu > ul > li { float: none; background: none; line-height: 22px; border-bottom: 1px solid rgba(255,255,255,.15); }
	.menu > ul > li:last-child { border-bottom: 0; }
	.menu > ul > li > a { padding: 12px 14px; font-size: 15px; }
	.menu > ul > li > a:hover, .menu > ul > li.current-menu-item > a { color: #e6d8a8; }
}
@media all and (max-width: 440px) {
	.cgd-nav-toggle, .menu > ul { width: 100%; }
}

/* 13. Mobile spacing fixes - homepage
   ------------------------------------------------------------------ */
@media all and (max-width: 1000px) {
	.banner_wrapper1 + .content_top_wrapper .content_top { padding-bottom: 60px; }
	.cgd-services__head { max-width: 90%; }
}
@media all and (max-width: 750px) {
	.cgd-services__head { width: 90%; max-width: 520px; }
}
@media all and (max-width: 640px) {
	.banner_wrapper1 + .content_top_wrapper .content_top { padding-bottom: 40px; }
}

/* 14. Header email/tel - keep on one line (iOS)
   ------------------------------------------------------------------ */
.header_right .textwidget ul li { white-space: nowrap; }
.header_right .textwidget ul li a { color: #fff; text-decoration: none; }

/* 15. Mobile hero - text and buttons centred vertically
   ------------------------------------------------------------------ */
@media all and (max-width: 640px) {
	.cgd-hero { align-items: center; background: rgba(20,12,8,.55); }
	.cgd-hero__inner { padding-bottom: 0; }
}

/* 16. Homepage testimonials slider
   ------------------------------------------------------------------ */
.cgd-testimonials { background: #fff; padding: 100px 0; }
.cgd-testimonials__inner { width: 900px; max-width: 90%; margin: 0 auto; text-align: center; }
.cgd-testimonials__title { margin: 0 0 30px; color: #b01c1c; font-family: 'CallunaBold', Georgia, serif; font-size: 32px; line-height: 36px; }
.cgd-testimonials__slides { display: grid; height: auto; margin-bottom: 34px; overflow: visible; position: relative; }
.cgd-testimonials .cgd-fader__slide { grid-area: 1 / 1; position: relative !important; width: 100% !important; height: auto !important; object-fit: initial; }
.cgd-quote { margin: 0; padding: 0; background: none; border: 0; }
.cgd-quote::before { content: "\201C"; display: block; height: 50px; color: #b8ab7c; font-family: Georgia, serif; font-size: 90px; line-height: 90px; }
.cgd-quote__text { margin: 0 0 20px; padding: 0 !important; color: #333; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 21px; line-height: 34px; }
.cgd-quote__by { display: block; }
.cgd-quote__name { display: block; color: #333; font-weight: bold; font-size: 17px; line-height: 24px; }
.cgd-quote__where { display: block; color: #9a8c5c; font-size: 15px; line-height: 22px; }

@media all and (max-width: 750px) {
	.cgd-testimonials { padding: 60px 0; }
	.cgd-testimonials__title { font-size: 26px; line-height: 30px; margin-bottom: 20px; }
	.cgd-quote__text { font-size: 18px; line-height: 29px; }
}

/* 17. Slider nav dots (testimonials)
   ------------------------------------------------------------------ */
.cgd-testimonials__slides { margin-bottom: 20px; }
.cgd-fader__dots { display: flex; justify-content: center; gap: 10px; margin: 0 0 30px; }
.cgd-fader__dot { width: 12px; height: 12px; padding: 0; border: 1px solid #b8ab7c; border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s; }
.cgd-fader__dot:hover, .cgd-fader__dot:focus-visible { background: #e6d8a8; }
.cgd-fader__dot.is-active { background: #b8ab7c; }
.cgd-fader__dot:focus-visible { outline: 2px solid #b01c1c; outline-offset: 2px; }

/* 18. Buttons - no gold border (outline buttons keep theirs)
   ------------------------------------------------------------------ */
.cgd-hero__btn, .cgd-btn { border-color: transparent; }
.cgd-btn--outline, .cgd-hero__btn--alt { border-color: #b8ab7c; }

/* 19. Inner page hero - full width (replaces .banner2 strip)
   ------------------------------------------------------------------ */
.cgd-page-hero { position: relative; height: clamp(220px, 25vw, 360px); overflow: hidden; background: #2b2421; }
.cgd-page-hero__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 55%; }
.cgd-page-hero__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(20,12,8,.7) 0%, rgba(20,12,8,.4) 45%, rgba(20,12,8,.1) 80%); }
.cgd-page-hero__inner { width: 1170px; max-width: 94%; margin: 0 auto; }
.cgd-page-hero__title { margin: 0; color: #fff; font-family: 'CallunaBold', Georgia, serif; font-size: 44px; line-height: 50px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

@media all and (max-width: 1000px) {
	.cgd-page-hero__inner { max-width: 90%; }
	.cgd-page-hero__title { font-size: 36px; line-height: 42px; }
}
@media all and (max-width: 640px) {
	.cgd-page-hero { height: 200px; }
	.cgd-page-hero__overlay { background: rgba(20,12,8,.5); }
	.cgd-page-hero__title { font-size: 30px; line-height: 36px; }
}

/* 20. Inner pages - content spacing and section heading
   ------------------------------------------------------------------ */
.cgd-page-hero + .content_top_wrapper .content_top { padding-top: 100px; }
.content_left .cgd-section-title { margin: 0 0 24px; color: #b01c1c; font-family: 'CallunaBold', Georgia, serif; font-weight: bold; font-size: 32px; line-height: 36px; }
@media all and (max-width: 1000px) {
	.cgd-page-hero + .content_top_wrapper .content_top { padding-top: 70px; }
}
@media all and (max-width: 640px) {
	.cgd-page-hero + .content_top_wrapper .content_top { padding-top: 40px; }
	.content_left .cgd-section-title { font-size: 26px; line-height: 30px; margin-bottom: 18px; }
}

/* 21. Inner page sidebar - Trade & Commercial block
   ------------------------------------------------------------------ */
.sidebar { padding-top: 16px; }
.sidebar .cgd-side-block h2 { color: #b9ac7d; font-family: 'CallunaBold', Georgia, serif; font-weight: normal; font-size: 21px; line-height: 26px; text-transform: uppercase; }
.sidebar .cgd-side-block p { font-size: 16px; line-height: 26px; color: #333; }
.sidebar .cgd-side-block b { font-size: 17px; line-height: 25px; }
@media all and (max-width: 750px) {
	.sidebar { margin-top: 30px; }
}

/* 22. NextGEN gallery - even grid, sharp thumbnails, styled pagination
   ------------------------------------------------------------------ */
.content_left .ngg-galleryoverview { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 30px !important; padding: 0 !important; overflow: visible !important; clear: both; }
.content_left .ngg-galleryoverview > .ngg-clear,
.content_left .ngg-galleryoverview > br,
.content_left .ngg-galleryoverview > .slideshowlink { display: none !important; }
.content_left .ngg-gallery-thumbnail-box { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.content_left .ngg-gallery-thumbnail { margin: 0 !important; padding: 0 !important; border: 0 !important; background: #f7f4ec; overflow: hidden; text-align: left !important; }
.content_left .ngg-gallery-thumbnail a { display: block; margin: 0 !important; padding: 0 !important; }
.content_left .ngg-gallery-thumbnail img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; transition: transform .4s ease; }
.content_left .ngg-gallery-thumbnail a:hover img,
.content_left .ngg-gallery-thumbnail a:focus img { transform: scale(1.05); }

/* Pagination (if used) */
.content_left .ngg-navigation { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 18px 0 0 !important; padding: 0 !important; font-size: 15px; }
.content_left .ngg-navigation a,
.content_left .ngg-navigation span { display: inline-block; min-width: 40px; margin: 0 !important; padding: 9px 12px !important; border: 0 !important; background: #f7f4ec !important; color: #333 !important; line-height: 20px; text-align: center; text-decoration: none !important; }
.content_left .ngg-navigation a:hover { background: #e6d8a8 !important; }
.content_left .ngg-navigation .current { background: #b01c1c !important; color: #fff !important; }
.content_left .ngg-navigation .ellipsis { background: none !important; }

.cgd-gallery-more { margin: 0 0 20px; padding: 0 !important; }

@media all and (max-width: 1000px) {
	.content_left .ngg-galleryoverview { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media all and (max-width: 640px) {
	.content_left .ngg-galleryoverview { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.cgd-gallery-preview .ngg-navigation { display: none !important; }

/* 23. Inner sidebar block - light background and padded content
   ------------------------------------------------------------------ */
.sidebar .cgd-side-block { background: #f7f4ec; padding: 0 0 28px; margin-bottom: 30px; }
.sidebar .cgd-side-block > :not(.cgd-side-block__img) { margin-left: 24px; margin-right: 24px; }
.sidebar .cgd-side-block--img h2 { padding-top: 24px; }
.sidebar .cgd-side-block p:last-of-type { padding-bottom: 18px; }
@media all and (max-width: 1000px) {
	.sidebar .cgd-side-block > :not(.cgd-side-block__img) { margin-left: 20px; margin-right: 20px; }
}

/* 24. Testimonials slider on inner pages - cream background
   ------------------------------------------------------------------ */
.content_top_wrapper + .cgd-testimonials { background: #f7f4ec; }

/* 25. Button hover - dark grey (matches enquiry banner)
   ------------------------------------------------------------------ */
.cgd-btn:hover, .cgd-btn:focus,
.cgd-hero__btn:hover, .cgd-hero__btn:focus { background: #2b2421; color: #fff !important; }
/* In the dark enquiry banner the red button turns white instead, so it stays visible */
.cgd-cta .cgd-btn:not(.cgd-btn--outline):hover,
.cgd-cta .cgd-btn:not(.cgd-btn--outline):focus { background: #fff; color: #2b2421 !important; }
.cgd-btn--outline:hover, .cgd-btn--outline:focus { background: #b8ab7c; color: #2b2421 !important; }

/* 26. Replaces the old jQuery menu script (removed from header.php)
   ------------------------------------------------------------------ */
.menu ul li:last-child,
.header_right ul li:last-child { background: none; }
