/* vi-line-entry.css */
.entry-page {
  position: relative;
  min-height: 100vh;
  background: #f6f7fb;
  color: #101828;
}

.entry-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(246, 247, 251, 0.94), rgba(255, 255, 255, 0.86)),
    url("../../media/rogo2.jpg") center 44% / min(74vw, 900px) auto no-repeat;
  opacity: 1;
  pointer-events: none;
}

.entry-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(0, 87, 255, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(0, 87, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 87, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}

.entry-main {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

.entry-page footer {
  position: relative;
  z-index: 1;
}


/* Entry page header/footer alignment */
body.entry-page > nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
}

body.entry-page .nav-links {
  z-index: 1001;
}

body.entry-page footer {
  position: relative;
  z-index: 1;
}

body.entry-page .footer-social img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.entry-hero {
  padding: clamp(74px, 10vw, 132px) 24px 34px;
}

.entry-hero-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.entry-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue, #0057ff);
  font-family: var(--mono, monospace);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.entry-label::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--blue, #0057ff);
}

.entry-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #061846;
}

.entry-lead {
  color: #4b5565;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.9;
}

.entry-lead span {
  color: #c62828;
  font-weight: 700;
}

.entry-form-section {
  padding: 0 24px clamp(84px, 12vw, 132px);
}

.entry-form-card {
  width: min(1040px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 24, 40, 0.12);
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.12);
  backdrop-filter: blur(10px);
}

.entry-form-head {
  padding: 28px clamp(22px, 4vw, 44px);
  background: linear-gradient(135deg, #061846, #0b3a94);
  color: #fff;
}

.entry-form-head h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: 0.04em;
}

.entry-form-head p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.8;
}

.entry-fields {
  padding: clamp(24px, 4vw, 44px);
}

.entry-field {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(16, 24, 40, 0.1);
}

.entry-field:first-child {
  padding-top: 0;
}

.entry-field-label {
  padding-top: 13px;
  color: #1d2939;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.required,
.privacy-check b {
  color: #d92d20;
  font-size: 12px;
  font-weight: 700;
}

.entry-field input,
.entry-field select,
.entry-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 24, 40, 0.18);
  border-radius: 0;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.entry-field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.8;
}

.entry-field input::placeholder,
.entry-field textarea::placeholder {
  color: #a1a8b3;
}

.entry-field input:focus,
.entry-field select:focus,
.entry-field textarea:focus,
.privacy-check input:focus-visible,
.entry-radio input:focus-visible {
  outline: none;
  border-color: var(--blue, #0057ff);
  box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.12);
}

.entry-field-note {
  margin-top: 8px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.entry-birthday {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.entry-birthday select {
  width: auto;
  min-width: 112px;
}

.entry-birthday span {
  color: #475467;
  font-size: 14px;
}

.entry-fieldset {
  border-right: 0;
  border-left: 0;
  border-top: 0;
  margin: 0;
}

.entry-fieldset .entry-field-label {
  float: none;
}

.entry-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  min-height: 52px;
  align-items: center;
}

.entry-radio,
.privacy-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.entry-radio input,
.privacy-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue, #0057ff);
  flex: 0 0 auto;
}

.privacy-box {
  margin: 0 clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px);
  border: 1px solid rgba(16, 24, 40, 0.12);
  background: #fff;
}

.privacy-box-title {
  padding: 16px 20px;
  background: #eef2f7;
  color: #1d2939;
  font-weight: 700;
  border-bottom: 1px solid rgba(16, 24, 40, 0.1);
}

.privacy-box-body {
  max-height: 170px;
  overflow-y: auto;
  padding: 18px 20px;
  color: #475467;
  font-size: 14px;
  line-height: 1.9;
}

.privacy-box-body p + p {
  margin-top: 12px;
}

.privacy-check {
  display: flex;
  padding: 16px 20px;
  border-top: 1px solid rgba(16, 24, 40, 0.1);
  background: #fbfcfe;
}

.entry-submit-area {
  padding: 0 clamp(24px, 4vw, 44px) clamp(32px, 5vw, 52px);
  text-align: center;
}

.entry-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(100%, 360px);
  min-height: 60px;
  padding: 0 34px;
  border: 0;
  background: var(--blue, #0057ff);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.entry-submit-btn:hover,
.entry-submit-btn:focus-visible {
  background: var(--blue-dark, #003baa);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 87, 255, 0.22);
  outline: none;
}

.entry-submit-btn span {
  font-size: 20px;
  line-height: 1;
}

.entry-mail-note {
  margin: 18px auto 0;
  max-width: 720px;
  color: #667085;
  font-size: 13px;
  line-height: 1.8;
}

.entry-mail-note a {
  color: var(--blue, #0057ff);
  font-weight: 700;
  word-break: break-all;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .entry-page::before {
    background-size: min(92vw, 760px) auto;
    background-position: center 38%;
  }

  .entry-field {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .entry-page::before {
    background:
      linear-gradient(120deg, rgba(246, 247, 251, 0.96), rgba(255, 255, 255, 0.9)),
      url("../../media/rogo2.jpg") center 112px / 84vw auto no-repeat;
  }

  .entry-main {
    padding-top: 56px;
  }

  
.entry-hero {
    padding: 64px 18px 26px;
  }

  .entry-form-section {
    padding: 0 14px 76px;
  }

  .entry-form-card {
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
  }

  .entry-form-head {
    padding: 22px 18px;
  }

  .entry-fields {
    padding: 22px 18px;
  }

  .entry-field {
    display: block;
    padding: 18px 0;
  }

  .entry-field-label {
    display: block;
    padding-top: 0;
    margin-bottom: 10px;
  }

  .entry-birthday {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .entry-birthday select {
    min-width: 0;
    width: 100%;
  }

  .entry-radio-group {
    min-height: auto;
  }

  .privacy-box {
    margin: 0 18px 22px;
  }

  .privacy-box-title,
  .privacy-box-body,
  .privacy-check {
    padding-right: 16px;
    padding-left: 16px;
  }

  .entry-submit-area {
    padding: 0 18px 32px;
  }

  .entry-submit-btn {
    width: 100%;
    min-width: 0;
    padding: 0 20px;
  }
}

@media (max-width: 420px) {
  .entry-birthday {
    grid-template-columns: 1fr auto;
  }

  .entry-birthday span:nth-of-type(1),
  .entry-birthday span:nth-of-type(2),
  .entry-birthday span:nth-of-type(3) {
    min-width: 1.5em;
  }
}
