/* One shared content grid; coloured backgrounds remain full bleed. */
:root { --egn-content-max:1360px; --egn-content-gutter:32px; }
.egn-shell,
.egn-home .egn-shell,
.egn-flat-home-module,
.egn-content-section,
.egn-article,
.egn-archive,
.egn-not-found,
.elementor .e-con.egn-shell,
.elementor .e-con.egn-content-section {
  width:min(calc(100% - 2 * var(--egn-content-gutter)), var(--egn-content-max)) !important;
  max-width:var(--egn-content-max) !important;
  margin-inline:auto !important;
  box-sizing:border-box;
  min-width:0;
}
/* Interior PHP shell must not box already-boxed native sections. */
.egn-page.egn-interior.egn-shell {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0;
}
.elementor .e-con.egn-interior {
  width:100%;
  max-width:none;
  padding:0 !important;
}
.elementor .e-con.egn-content-section {
  padding-block:clamp(42px,7vw,88px) !important;
  padding-inline:0 !important;
}
.elementor .e-con.egn-interior-hero {
  padding-block:clamp(56px,9vw,130px) !important;
  padding-inline:max(var(--egn-content-gutter), calc((100% - var(--egn-content-max)) / 2)) !important;
}
.egn-news-zone {
  padding-inline:max(var(--egn-content-gutter), calc((100% - var(--egn-content-max)) / 2));
}
.site-analytics-privacy-link {
  padding-inline:max(var(--egn-content-gutter), calc((100% - var(--egn-content-max)) / 2));
}
.egn-home .egn-flat-home-module {
  padding:clamp(36px,5vw,64px) 0;
  gap:20px;
  --gap:20px;
  border-bottom:0;
}
.egn-home .egn-flat-home-module > .elementor-widget { width:100%; min-width:0; }
.egn-home .egn-flat-home-module h2 { font-size:clamp(40px,5vw,70px); line-height:.98; margin:0; }
.egn-home-updates-intro p { font-size:clamp(19px,2vw,25px); line-height:1.3; }
.egn-home .egn-flat-home-module .egn-news-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.egn-home .egn-flat-home-module .egn-news-card {
  padding:24px;
  border-top:6px solid var(--egn-yellow);
  box-shadow:0 5px 18px #062d7312;
  min-width:0;
}
.egn-home .egn-flat-home-module .egn-news-card h3 {
  font-size:clamp(26px,2.4vw,34px);
  line-height:1.08;
  letter-spacing:-.025em;
  margin:6px 0 14px;
}
.egn-home .egn-flat-home-module .egn-news-card p { line-height:1.45; }
.egn-home .egn-flat-home-module .egn-news-card .egn-text-link { margin-top:auto; padding-top:10px; }
.egn-home .egn-flat-home-module .egn-news-card__image { margin:-24px -24px 18px; }
.egn-home .egn-home-kings-title .elementor-heading-title {
  margin:16px 0 0;
  font-size:clamp(30px,3.5vw,46px);
  line-height:1.05;
}
.egn-home .egn-home-kings-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  width:100%;
  padding:0;
}
.egn-home .egn-home-king-card {
  width:100%;
  min-width:0;
  padding:24px;
  gap:12px;
  border-top:6px solid var(--egn-yellow);
  background:#edf5ff;
}
.egn-home .egn-home-king-photo { width:100%; }
.egn-home .egn-home-king-photo img {
  display:block;
  width:100%;
  height:340px;
  object-fit:contain;
  object-position:center;
}
.egn-home .egn-home-king-card h3 { font-size:clamp(28px,3vw,40px); line-height:1.08; margin:6px 0 0; }
.egn-home .egn-home-king-card p { margin:0; line-height:1.35; }
@media (min-width:768px) and (max-width:1024px) {
  .egn-home .egn-flat-home-module .egn-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .egn-home .egn-flat-home-module .egn-news-card:last-child { grid-column:1 / -1; }
}
@media (max-width:767px) {
  :root { --egn-content-gutter:18px; }
  .egn-home .egn-flat-home-module .egn-news-grid,
  .egn-home .egn-home-kings-grid { grid-template-columns:1fr; gap:20px; }
  .egn-home .egn-flat-home-module { padding:34px 0; gap:18px; }
  .egn-home .egn-flat-home-module .egn-news-card,
  .egn-home .egn-home-king-card { padding:20px; }
  .egn-home .egn-flat-home-module .egn-news-card__image { margin:-20px -20px 16px; }
  .egn-home .egn-home-king-photo img { height:300px; }
}
@media (max-width:340px) {
  :root { --egn-content-gutter:14px; }
  .egn-home .egn-home-king-photo img { height:270px; }
}
