@charset "utf-8";

/* Shared compact customer header actions. */
body.coco-customer-page > header.coco-unified-header,
body.coco-customer-page #container > header.coco-unified-header {
  grid-template-columns: minmax(0, 1fr) 54px 54px !important;
  gap: 14px !important;
}

body.coco-customer-page.coco-member-news-enabled > header.coco-unified-header,
body.coco-customer-page.coco-member-news-enabled #container > header.coco-unified-header {
  grid-template-columns: minmax(0, 1fr) 54px 54px 54px !important;
}

body.coco-customer-page header.coco-unified-header > .coco-public-language-control,
body.coco-customer-page header.coco-unified-header > .qr-language-control,
body.coco-customer-page header.coco-unified-header > .coco-my-menu-trigger,
body.coco-customer-page header.coco-unified-header > .coco-news-trigger,
body.coco-customer-page header.coco-unified-header .coco-public-language-button,
body.coco-customer-page header.coco-unified-header .qr-language-button {
  box-sizing: border-box !important;
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  margin: 0 !important;
  padding: 3px !important;
  align-self: center !important;
  justify-self: center !important;
  place-items: center !important;
}

/* The language wrapper is only a grid cell; padding belongs to its button. */
body.coco-customer-page header.coco-unified-header > .coco-public-language-control,
body.coco-customer-page header.coco-unified-header > .qr-language-control {
  padding: 0 !important;
}

body.coco-customer-page header.coco-unified-header > .coco-public-brand { order: 0; }
body.coco-customer-page header.coco-unified-header > .coco-public-language-control,
body.coco-customer-page header.coco-unified-header > .qr-language-control { order: 1; }
body.coco-customer-page header.coco-unified-header > .coco-news-trigger { order: 2; }
body.coco-customer-page header.coco-unified-header > .coco-my-menu-trigger { order: 3; }

.coco-news-trigger {
  position: relative;
  display: grid;
  place-items: center;
  color: #231815;
  text-decoration: none;
  background: var(--coco-customer-recess);
  border: 0;
  box-shadow:
    inset 4px 4px 8px var(--coco-customer-deep),
    inset -4px -4px 8px var(--coco-customer-light);
  outline: 1px solid var(--coco-customer-gold-line);
  outline-offset: -4px;
}

.coco-news-trigger img,
body.coco-customer-page header.coco-unified-header .coco-public-language-button img,
body.coco-customer-page header.coco-unified-header .qr-language-button img,
body.coco-customer-page header.coco-unified-header .coco-person-icon,
body.coco-customer-page header.coco-unified-header .coco-person-icon img {
  display: block;
  width: 47px !important;
  height: 47px !important;
  object-fit: contain;
}

.coco-news-trigger:focus-visible {
  outline: 3px solid rgba(29, 157, 134, .25);
  outline-offset: 2px;
}

.coco-news-main {
  width: min(100% - 32px, 920px);
  margin: 34px auto 90px;
}

.coco-news-shell {
  padding: clamp(24px, 5vw, 54px);
  background: var(--coco-customer-recess);
  box-shadow:
    inset 6px 6px 13px var(--coco-customer-deep),
    inset -6px -6px 13px var(--coco-customer-light);
  outline: 1px solid var(--coco-customer-gold-line);
  outline-offset: -4px;
}

.coco-news-head {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--coco-customer-gold-line);
}

.coco-news-head p,
.coco-news-head h1 {
  margin: 0;
}

.coco-news-head p {
  color: var(--coco-customer-green);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.coco-news-head h1 {
  color: var(--coco-customer-ink);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.coco-news-state {
  margin: 0;
  padding: 18px;
  color: var(--coco-customer-muted);
  line-height: 1.8;
  background: rgba(255, 255, 255, .58);
  outline: 1px solid var(--coco-customer-gold-line);
  outline-offset: -4px;
}

.coco-news-state.is-error {
  color: #9f3829;
}

.coco-news-state a {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 18px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: #f16f50;
}

.coco-news-list {
  display: grid;
  gap: 18px;
}

.coco-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow:
    inset 4px 4px 9px var(--coco-customer-deep),
    inset -4px -4px 9px var(--coco-customer-light);
  outline: 1px solid var(--coco-customer-gold-line);
  outline-offset: -4px;
}

.coco-news-card-content {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.coco-news-card time {
  color: var(--coco-customer-green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.coco-news-card h2 {
  margin: 0;
  color: var(--coco-customer-ink);
  font-size: 1.24rem;
  line-height: 1.5;
}

.coco-news-card-body {
  margin: 0;
  color: var(--coco-customer-muted);
  font-size: .92rem;
  line-height: 1.95;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.coco-news-card-link {
  width: fit-content;
  padding: 10px 15px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  background: #f16f50;
}

.coco-news-card-image {
  aspect-ratio: 1;
  align-self: start;
  overflow: hidden;
  background: #fff;
  outline: 1px solid var(--coco-customer-gold-line);
  outline-offset: -4px;
}

.coco-news-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  body.coco-customer-page > header.coco-unified-header,
  body.coco-customer-page #container > header.coco-unified-header {
    grid-template-columns: minmax(0, 1fr) 46px 46px !important;
    gap: 10px !important;
    padding-inline: 12px !important;
  }

  body.coco-customer-page.coco-member-news-enabled > header.coco-unified-header,
  body.coco-customer-page.coco-member-news-enabled #container > header.coco-unified-header {
    grid-template-columns: minmax(0, 1fr) 46px 46px 46px !important;
  }

  body.coco-customer-page header.coco-unified-header > .coco-public-language-control,
  body.coco-customer-page header.coco-unified-header > .qr-language-control,
  body.coco-customer-page header.coco-unified-header > .coco-my-menu-trigger,
  body.coco-customer-page header.coco-unified-header > .coco-news-trigger,
  body.coco-customer-page header.coco-unified-header .coco-public-language-button,
  body.coco-customer-page header.coco-unified-header .qr-language-button {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    padding: 2px !important;
  }

  body.coco-customer-page header.coco-unified-header > .coco-public-language-control,
  body.coco-customer-page header.coco-unified-header > .qr-language-control {
    padding: 0 !important;
  }

  .coco-news-trigger img,
  body.coco-customer-page header.coco-unified-header .coco-public-language-button img,
  body.coco-customer-page header.coco-unified-header .qr-language-button img,
  body.coco-customer-page header.coco-unified-header .coco-person-icon,
  body.coco-customer-page header.coco-unified-header .coco-person-icon img {
    width: 42px !important;
    height: 42px !important;
  }

  body.coco-customer-page header.coco-unified-header > .coco-public-brand {
    grid-template-columns: 104px auto !important;
    gap: 6px !important;
  }

  body.coco-customer-page header.coco-unified-header .cocoicotto-header-logo {
    width: 104px !important;
    max-width: 104px !important;
  }

  body.coco-customer-page header.coco-unified-header
    .coco-public-brand.cocoicotto-wordmark-brand > span > strong {
    width: 74px !important;
  }

  .coco-news-main {
    width: min(100% - 24px, 920px);
    margin-top: 20px;
  }

  .coco-news-shell {
    padding: 20px 15px;
  }

  .coco-news-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .coco-news-card-image {
    grid-row: 1;
    width: 100%;
  }
}
