/* Shared Hexagon brand and Kakao contact treatment */
.brand {
  display: flex !important;
  position: relative;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0 !important;
  width: 190px;
  height: 40px;
}

/* Use the same top/left origin for branding on the index and detail views. */
.wrap {
  max-width: 1040px !important;
  padding: 34px 0 70px !important;
}

.nav,
.wrap > header {
  align-items: flex-start !important;
}

.brand img,
.wrap > header .logo {
  display: block;
  width: 190px !important;
  height: 40px !important;
  object-fit: contain;
  object-position: left center;
  content: url("images/hexagon-logo.svg");
}

.wrap > header {
  position: relative;
  height: 40px;
  min-height: 40px;
  padding-bottom: 0;
}

.wrap > header::after {
  content: none;
}

.kakao-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid #846617;
  border-radius: 16px;
  background: #1b2138;
}

.kakao-notice strong,
.kakao-notice span { display: block; }
.kakao-notice strong { color: #ffb735; font-size: 15px; }
.kakao-notice span { margin-top: 7px; color: #aeb9d2; font-size: 12px; }
.kakao-notice a {
  flex: 0 0 auto;
  padding: 13px 17px;
  border-radius: 10px;
  background: #fee500;
  color: #191919;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 720px) {
  .wrap { padding: 28px 20px 48px !important; }
  .page { width: min(100% - 40px, 620px) !important; padding-top: 28px !important; }
  .brand { width: 170px; height: 36px; }
  .brand img,
  .wrap > header .logo { width: 170px !important; height: 36px !important; }
  .wrap > header { height: 36px; min-height: 36px; padding-bottom: 0; }
  .kakao-notice { display: block; padding: 20px 17px; }
  .kakao-notice a { display: flex; justify-content: center; margin-top: 16px; }
}
