/* Editorial and service pages share the same blue, white, stainless visual language. */
.gp-page-hero {
  overflow: hidden;
  border-bottom: 1px solid #D6E8F6;
}
.gp-page-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: 11%;
  width: 14px;
  height: 180%;
  transform: rotate(24deg);
  background: rgba(21,132,217,.15);
  box-shadow: 30px 0 0 rgba(119,204,242,.20);
  pointer-events: none;
}
.gp-page-hero .gp-container { position: relative; z-index: 1; }
.gp-page-hero h1 { max-width: 780px; font-weight: 800; }
.gp-page-hero p { line-height: 1.6; }
.gp-page-content { width: min(100%,1120px); }
.gp-info-card {
  position: relative;
  overflow: hidden;
  border-color: #D7E9F6;
  border-radius: 13px;
  box-shadow: 0 8px 28px rgba(8,45,102,.04);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gp-info-card:hover {
  transform: translateY(-3px);
  border-color: #B6D9EF;
  box-shadow: 0 12px 30px rgba(8,45,102,.09);
}
.gp-info-card h2,.gp-info-card h3 { color: #082D66; }
.gp-intro-band {
  border-left-color: #1584D9;
  border-radius: 0 11px 11px 0;
  background: #F3FAFF;
}
.gp-page-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid #C9E5F5;
  background: linear-gradient(120deg,#EAF6FD,#CFEAFA);
}
.gp-page-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  right: 6%;
  width: 10px;
  height: 200%;
  transform: rotate(25deg);
  background: rgba(21,132,217,.28);
  pointer-events: none;
}
.gp-page-cta > * { position: relative; z-index: 1; }
.gp-page-cta .gp-button { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; }

/* Project and about pages use the previously generated kitchen photography. */
body.page-id-30 .gp-page-hero,
body.page-id-32 .gp-page-hero {
  display: flex;
  align-items: center;
  min-height: 355px;
  padding: 72px 0;
  color: #fff;
  background-position: center;
  background-size: cover;
}
body.page-id-30 .gp-page-hero {
  background-image: linear-gradient(90deg,rgba(5,31,74,.96),rgba(8,45,102,.78) 48%,rgba(8,45,102,.18)),url('campaign-projects.webp');
}
body.page-id-32 .gp-page-hero {
  background-image: linear-gradient(90deg,rgba(5,31,74,.95),rgba(8,45,102,.76) 48%,rgba(8,45,102,.18)),url('category-kitchen-projects.webp');
}
body:is(.page-id-30,.page-id-32) .gp-page-hero h1,
body:is(.page-id-30,.page-id-32) .gp-page-hero p { color: #fff; }
body:is(.page-id-30,.page-id-32) .gp-page-hero .gp-eyebrow { color: #A9D9FB; }
body:is(.page-id-30,.page-id-32) .gp-page-hero::after { background: rgba(119,204,242,.55); box-shadow: 24px 0 0 rgba(21,132,217,.65); }
body.page-id-30 .gp-content-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
body.page-id-30 .gp-content-grid .gp-info-card { padding: 23px 20px; border-top: 4px solid #1584D9; }
body.page-id-30 .gp-content-grid .gp-info-card h2 { font-size: 18px; line-height: 1.2; }
body.page-id-30 .gp-content-grid .gp-info-card p { font-size: 13px; line-height: 1.6; }

.gpb-project-ideas { position: relative; left: 50%; width: 100vw; margin-left: -50vw; padding: 20px 0 88px; background: #F8FBFF; }
.gpb-project-ideas .gp-shell { width: min(100% - 48px,1120px); }
.gpb-project-ideas-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.gpb-project-ideas-head h2 { margin: 8px 0 0; color: #082D66; font-size: clamp(25px,2.7vw,36px); line-height: 1.15; }
.gpb-project-ideas-head a { color: #1169B0; font-size: 12px; font-weight: 800; white-space: nowrap; }
.gpb-project-ideas-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.gpb-project-ideas-grid a { display: block; overflow: hidden; border: 1px solid #D6E8F6; border-radius: 13px; background: #fff; color: #082D66; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.gpb-project-ideas-grid a:hover { transform: translateY(-4px); box-shadow: 0 13px 29px rgba(8,45,102,.12); }
.gpb-project-ideas-grid img { display: block; width: 100%; height: 218px; object-fit: cover; }
.gpb-project-ideas-grid span { display: block; padding: 17px; }
.gpb-project-ideas-grid strong { display: block; font-size: 17px; line-height: 1.2; }
.gpb-project-ideas-grid small { display: block; margin-top: 7px; color: #5C718C; font-size: 12px; line-height: 1.45; }

/* Gutenberg guide index and article cards. */
body.blog .page-wrapper > .page-heading {
  min-height: 185px;
  margin: 0 0 34px;
  padding: 42px 0;
  color: #fff;
  background: linear-gradient(90deg,rgba(5,31,74,.96),rgba(8,45,102,.85) 55%,rgba(8,45,102,.42)),url('category-kitchen-projects.webp') center/cover no-repeat;
}
body.blog .page-heading .container { width: min(100% - 48px,1240px); max-width: none; margin-inline: auto; }
body.blog .page-heading .title { margin: 8px 0 0; color: #fff; font-size: clamp(31px,3vw,43px); font-weight: 800; line-height: 1.15; text-align: left; }
body.blog .page-heading .breadcrumbs,
body.blog .page-heading .breadcrumbs a { color: #CFEAFF; font-size: 11px; text-align: left; }
body.blog .content-page { width: min(100% - 48px,1240px); max-width: none; margin: 0 auto 70px; padding: 0; }
body.blog .hfeed.et_blog-ajax { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
body.blog article.blog-post { width: auto !important; max-width: none; min-width: 0; float: none !important; margin: 0 !important; overflow: hidden; border: 1px solid #D6E8F6; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(8,45,102,.055); }
body.blog article.blog-post > div { display: flex; flex-direction: column; height: 100%; }
body.blog article.blog-post .wp-picture { position: relative; height: 215px; margin: 0; overflow: hidden; }
body.blog article.blog-post .wp-picture > a { display: block; width: 100%; height: 100%; }
body.blog article.blog-post .wp-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.blog article.blog-post .blog-mask { display: none; }
body.blog article.blog-post .post-categories { position: absolute; top: 12px; left: 12px; z-index: 1; }
body.blog article.blog-post .post-categories a { display: inline-flex; padding: 5px 9px; border-radius: 5px; color: #082D66; background: rgba(255,255,255,.95); font-size: 10px; font-weight: 800; }
body.blog article.blog-post .post-data { display: flex; flex: 1; flex-direction: column; padding: 19px; }
body.blog article.blog-post .post-heading { margin: 0; }
body.blog article.blog-post .entry-title { margin: 0 0 10px; color: #082D66; font-size: 19px; font-weight: 800; line-height: 1.3; }
body.blog article.blog-post .entry-title a { color: #082D66; }
body.blog article.blog-post .entry-title a:hover { color: #1584D9; }
body.blog article.blog-post .meta-post { margin-bottom: 12px; color: #7189A1; font-size: 10px; }
body.blog article.blog-post .meta-post :is(.views-count,.meta-divider) { display: none; }
body.blog article.blog-post .content-article { display: -webkit-box; overflow: hidden; margin-top: auto; color: #5C718C; font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
body.page-id-31 .wp-block-group.alignfull.has-surface-background-color {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg,#082D66,#135EAE) !important;
}
body.page-id-31 .wp-block-group.alignfull.has-surface-background-color :is(h1,h2,p) { color: #fff !important; }
body.page-id-31 .wp-block-group.alignfull.has-surface-background-color::after {
  content: '';
  position: absolute;
  top: -35%;
  right: 15%;
  width: 12px;
  height: 180%;
  transform: rotate(24deg);
  background: rgba(119,204,242,.65);
  pointer-events: none;
}
body.page-id-31 .wp-block-query .wp-block-post {
  overflow: hidden;
  border: 1px solid #D6E8F6;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8,45,102,.045);
}
body.page-id-31 .wp-block-query .wp-block-post-featured-image { margin: 0; }
body.page-id-31 .wp-block-query .wp-block-post-featured-image img { display: block; width: 100%; height: 215px; border-radius: 0; object-fit: cover; }
body.page-id-31 .wp-block-query .wp-block-post-title,
body.page-id-31 .wp-block-query .wp-block-post-excerpt,
body.page-id-31 .wp-block-query .wp-block-post-date { padding-inline: 20px; }
body.page-id-31 .wp-block-query .wp-block-post-title { margin-top: 19px; color: #082D66; font-size: 20px; line-height: 1.25; }
body.page-id-31 .wp-block-query .wp-block-post-title a { color: #082D66; }
body.page-id-31 .wp-block-query .wp-block-post-excerpt { color: #5C718C; font-size: 13px; line-height: 1.65; }
body.page-id-31 .wp-block-query .wp-block-post-date { display: block; padding-bottom: 19px; color: #7A92AA; font-size: 11px; }
body.single-post .content-article { max-width: 900px; margin-inline: auto; }
body.single-post .entry-content { color: #344A63; font-size: 16px; line-height: 1.8; }
body.single-post .entry-content :is(h2,h3) { margin-top: 1.8em; color: #082D66; line-height: 1.25; }
body.single-post .entry-content img { border-radius: 12px; }
body.single-post .entry-content a { color: #1169B0; text-underline-offset: 3px; }

/* Forms and footer complete the shared component language. */
.gp-form-wrap { border-color: #D6E8F6; border-radius: 13px; box-shadow: 0 10px 30px rgba(8,45,102,.05); }
.gp-form-wrap :is(input:not([type="submit"]),textarea,select) { border-color: #CFE1EF; background: #fff; }
.gp-form-wrap :is(input,textarea,select):focus-visible { outline: 3px solid rgba(21,132,217,.28); outline-offset: 1px; }
.gp-site-footer { position: relative; overflow: hidden; background: linear-gradient(125deg,#061F49,#082D66); }
.gp-site-footer::before { content: ''; position: absolute; top: -120px; right: 11%; width: 12px; height: 620px; transform: rotate(24deg); background: rgba(119,204,242,.14); box-shadow: 34px 0 0 rgba(21,132,217,.14); pointer-events: none; }
.gp-footer-grid,.gp-footer-bottom { position: relative; z-index: 1; }
.gp-footer-grid h2 { margin-bottom: 17px; color: #fff; font-size: 13px; letter-spacing: .04em; }
.gp-footer-grid li { margin-bottom: 8px; }
.gp-footer-grid li a { display: inline-flex; padding: 3px 0; transition: color .18s ease, transform .18s ease; }
.gp-footer-grid li a:hover { transform: translateX(3px); }
.gp-footer-bottom { border-color: rgba(255,255,255,.16); }

@media(max-width:900px) {
  body.page-id-30 .gp-content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gpb-project-ideas-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.blog .hfeed.et_blog-ajax { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  body:is(.page-id-30,.page-id-32) .gp-page-hero { min-height: 300px; padding: 50px 0; }
  .gp-page-hero h1 { font-size: clamp(30px,8vw,42px); }
  .gp-page-hero p { font-size: 14px; }
  .gp-page-content { margin-top: 30px; }
  body.page-id-30 .gp-content-grid,.gpb-project-ideas-grid { grid-template-columns: 1fr; }
  .gpb-project-ideas { padding-bottom: 54px; }
  .gpb-project-ideas-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .gpb-project-ideas-grid img { height: 205px; }
  body.blog .page-heading .container,body.blog .content-page { width: min(100% - 28px,1240px); }
  body.blog .page-wrapper > .page-heading { min-height: 155px; margin-bottom: 22px; padding: 28px 0; }
  body.blog .hfeed.et_blog-ajax { grid-template-columns: 1fr; gap: 12px; }
  body.blog article.blog-post .wp-picture { height: 205px; }
}
@media(prefers-reduced-motion:reduce) {
  .gp-info-card,.gpb-project-ideas-grid a,.gp-footer-grid li a { transition: none; }
}
