/* Highlight the supplied KTC campaign, with readable dates outside the poster. */
body.site-v2.corporate-site main > #ktc-promotion { background:#f2f7fb; scroll-margin-top:100px; }
.ktc-promo-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:28px; }
.ktc-promo-badge { display:inline-block; padding:7px 18px; border-radius:999px; background:#a71835; color:#fff; font-size:16px; font-weight:400; }
.ktc-promo-feature { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:36px; align-items:center; margin-bottom:36px; }
body.site-v2.corporate-site #ktc-promotion h2 { font-size:clamp(26px,3vw,38px); line-height:1.5; margin:0 0 18px; }
.ktc-promo-feature figure { margin:0; min-width:0; }
.ktc-promo-feature img { width:100%; height:auto; display:block; border-radius:12px; border:1px solid #d9e4ef; }
.ktc-promo-feature figcaption { text-align:center; padding-top:12px; font-size:14px; }
.ktc-promo-feature .button { margin-top:12px; }
.ktc-promo-offers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ktc-promo-offers article { min-width:0; padding:24px; background:#fff; border:1px solid #d7e4ee; border-radius:14px; box-shadow:0 5px 18px #103b6008; }
.ktc-promo-offers h4 { margin:0; color:#103b60; font-size:20px; font-weight:500; line-height:1.5; }
body.site-v2.corporate-site #ktc-promotion .ktc-promo-rate { margin:12px 0; color:#30318b; font-size:38px; font-weight:500; line-height:1.4; }
.ktc-promo-rate span { font-size:19px; font-weight:400; }
.ktc-promo-offers dl { margin:16px 0; font-size:16px; line-height:1.8; }
.ktc-promo-offers dl > div { display:grid; grid-template-columns:120px minmax(0,1fr); gap:12px; margin:8px 0; }
.ktc-promo-offers dt { font-weight:300; }
.ktc-promo-offers dd { margin:0; font-weight:400; overflow-wrap:anywhere; }
body.site-v2.corporate-site #ktc-promotion .ktc-promo-reference { font-size:14px; font-weight:300; margin:0; }
.ktc-promo-previous { margin-top:24px; padding-block:18px; border-block:1px solid #cadbe8; }
.ktc-promo-previous summary { cursor:pointer; color:#103b60; font-weight:400; line-height:1.8; }
body.site-v2.corporate-site #ktc-promotion .ktc-promo-terms { font-size:15px; line-height:1.8; margin-bottom:0; }
@media(max-width:900px) { .ktc-promo-feature { grid-template-columns:1fr; gap:24px; } }
@media(max-width:600px) {
 .ktc-promo-offers { grid-template-columns:1fr; }
 .ktc-promo-offers article { padding:20px; }
 .ktc-promo-offers dl > div { grid-template-columns:1fr; gap:0; margin-block:12px; }
}

/* Responsive crop of the owner-provided portrait for the news cover. */
body.site-v2.corporate-site[data-route="privileges"] main > .page-intro {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:420px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#103b60;
}
body.site-v2[data-route="privileges"] .page-intro::before,
body.site-v2[data-route="privileges"] .page-intro::after {
  content:"";
  display:block;
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:-1;
}
body.site-v2[data-route="privileges"] .page-intro::before {
  left:auto;
  right:max(0px,calc((100vw - 1360px)/2));
  width:min(740px,60vw);
  background:url('assets/farm-news-hero.jpg') center 58% / cover no-repeat;
}
body.site-v2[data-route="privileges"] .page-intro::after {
  background:linear-gradient(90deg,#103b60 0%,#103b60 36%,#103b60e6 44%,#103b6000 64%,#103b6000 88%,#103b60 100%);
}
body.site-v2.corporate-site[data-route="privileges"] .page-intro :is(h1,p) { max-width:49%; color:#fff; }
@media(max-width:1000px) {
  body.site-v2[data-route="privileges"] .page-intro::before { width:66%; right:0; background-position:center 56%; }
  body.site-v2[data-route="privileges"] .page-intro::after { background:linear-gradient(90deg,#103b60 0%,#103b60f5 35%,#103b6000 70%); }
}
@media(max-width:600px) {
  body.site-v2.corporate-site[data-route="privileges"] main > .page-intro { min-height:520px; justify-content:flex-end; padding-block:360px 32px; }
  body.site-v2[data-route="privileges"] .page-intro::before { width:100%; background-position:center 58%; }
  body.site-v2[data-route="privileges"] .page-intro::after { background:linear-gradient(180deg,#103b6000 0%,#103b6000 52%,#103b60e8 77%,#103b60 100%); }
  body.site-v2.corporate-site[data-route="privileges"] .page-intro :is(h1,p) { max-width:100%; }
}

/* Give the featured story a full content row; keep gallery scrolling inside it. */
body[data-route="privileges"] #news .news-layout {
  grid-template-columns:minmax(0,1fr);
  gap:24px;
}
body[data-route="privileges"] #news .news-update-feature {
  width:100%;
  min-width:0;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:center;
  gap:36px;
  padding:32px;
  background:#fff;
  color:#000;
  border:1px solid #dce8f1;
  border-radius:16px;
  box-shadow:0 8px 22px #164c7512;
}
body[data-route="privileges"] #news :is(.news-update-media,.news-update-copy,.news-update-gallery-track,.news-update-gallery-item,.news-list,.news-item) { min-width:0; max-width:100%; }
body[data-route="privileges"] #news .news-update-gallery {
  background:#f1f6fa;
  border:1px solid #dce8f1;
  box-shadow:none;
}
body[data-route="privileges"] #news .news-update-gallery-track { flex:none; }
body[data-route="privileges"] #news .news-update-gallery-item { grid-template-rows:auto auto; }
body[data-route="privileges"] #news .news-update-gallery-item img {
  width:100%;
  height:480px;
  min-height:0;
  max-height:none;
  object-fit:contain;
}
body.site-v2.corporate-site #news .news-update-feature :is(p,li,figcaption) { color:#000; font-weight:300; }
body.site-v2.corporate-site #news .news-update-copy h3 { color:#103b60; font-size:clamp(24px,2.4vw,32px); line-height:1.5; margin:16px 0; }
body[data-route="privileges"] #news .news-update-copy { padding-block:0; overflow-wrap:anywhere; }
body[data-route="privileges"] #news .news-update-copy :is(time,.text-link) { color:#075da2; font-weight:400; }
body[data-route="privileges"] #news .news-update-copy .text-link { display:inline-block; line-height:1.8; }
body[data-route="privileges"] #news .news-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
body[data-route="privileges"] #news .news-item { padding:24px; }
@media(max-width:1000px) {
  body[data-route="privileges"] #news .news-update-feature { gap:24px; padding:24px; }
  body[data-route="privileges"] #news .news-update-gallery-item img { height:380px; }
  body[data-route="privileges"] #news .news-list { grid-template-columns:1fr; }
}
@media(max-width:700px) {
  body[data-route="privileges"] #news .news-update-feature { grid-template-columns:minmax(0,1fr); padding:18px; gap:24px; }
  body[data-route="privileges"] #news .news-update-gallery-item img { height:clamp(280px,100vw,450px); }
  body[data-route="privileges"] #news .news-update-gallery-head { padding:12px; gap:8px; }
  body.site-v2.corporate-site #news .news-update-gallery-head p { font-size:14px; }
  body[data-route="privileges"] #news .news-update-gallery-track { padding-inline:12px; }
  body[data-route="privileges"] #news .news-item { padding:20px; }
}
