/* Homepage — light, simple, informative */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
  --en-header-h: 52px;
  --en-wash: #f7fbff;
  --en-soft: #eef5ff;
  --en-line: #d7e3f4;
  --en-ink: #24324a;
  --en-muted: #4f5f78;
  --en-navy: #15233f;
  --en-blue: #1a73e8;
  --en-blue-deep: #0b57d0;
  --en-red: #ea4335;
  --en-yellow: #c89000;
  --en-green: #1e8e3e;
  --en-page: 1120px;
  --en-hero: 1180px;
  --en-search: 920px;
}

.en-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  line-height: 1;
}

.en-home .en-wordmark {
  font-size: 1.02rem !important;
}

.en-home .en-brand-mark,
.en-home img.en-brand-mark {
  height: 26px !important;
  max-height: 26px !important;
}

.en-home .en-wordmark-product {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0f1b33 !important;
}

.en-accent {
  color: var(--en-blue) !important;
}

.en-chip {
  display: inline-block;
  font-weight: 700 !important;
  white-space: nowrap;
}

.en-chip-red { color: var(--en-red) !important; }
.en-chip-yellow { color: var(--en-yellow) !important; }
.en-chip-blue { color: var(--en-blue) !important; }
.en-chip-green { color: var(--en-green) !important; }
.en-chip-orange { color: #e37400 !important; }

.super_container.en-home,
.en-home {
  padding-top: var(--en-header-h) !important;
  background: #ffffff !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

html,
body.en-home-body,
body.en-public {
  min-height: 100% !important;
  height: auto !important;
}

body.en-home-body,
body.en-public {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

.en-home .header,
.en-home .header.en-site-header,
.en-home header.header {
  height: var(--en-header-h) !important;
  min-height: var(--en-header-h) !important;
  max-height: var(--en-header-h) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--en-line) !important;
  box-shadow: none !important;
}

.en-home .header_content,
.en-home .en-header-bar {
  height: var(--en-header-h) !important;
  min-height: var(--en-header-h) !important;
  max-height: var(--en-header-h) !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

/* Light, compact auth button */
.en-home .en-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

.en-home .en-country-item {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}

.en-home .en-country-bar {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  position: relative !important;
  white-space: nowrap !important;
}

.en-home .en-country-current {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #202124 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.en-home .en-country-pin {
  color: #5f6368 !important;
  font-size: 0.85rem !important;
}

.en-home .en-country-name {
  color: #202124 !important;
}

.en-home .en-country-sep {
  color: #9aa0a6 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  user-select: none !important;
}

.en-home .en-country-change {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #1a73e8 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.en-home .en-country-change:hover,
.en-home .en-country-change:focus {
  color: #174ea6 !important;
  text-decoration: none !important;
  outline: none !important;
}

.en-home .en-country-locate {
  font-size: 0.85rem !important;
}

.en-home .en-country-panel {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 13000 !important;
  min-width: 180px !important;
  padding: 6px 0 !important;
  border: 1px solid #dadce0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(32, 33, 36, 0.16) !important;
}

.en-home .en-country-panel[hidden] {
  display: none !important;
}

.en-home .en-country-options {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.en-home .en-country-option {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: #202124 !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.en-home .en-country-option:hover,
.en-home .en-country-option:focus {
  background: #f1f3f4 !important;
  outline: none !important;
}

.en-home .en-country-option.is-active {
  color: #1a73e8 !important;
  background: #e8f0fe !important;
}

/* Keep JSF select for ajax binding; hide from layout */
.en-home .en-country-select,
.en-home select.en-country-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.en-home .en-home-browse-form {
  margin: 0 !important;
}

.en-home .en-exam-grid-wrap {
  width: 100%;
  margin: 8px auto 0;
}

.en-home .en-exam-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.en-home .en-exam-link {
  display: block !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
  margin: 0 !important;
}

.en-home .en-exam-card {
  width: 100% !important;
  height: 100% !important;
  min-height: 132px !important;
  margin: 0 !important;
  padding: 18px 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border: 1px solid #d5e5ff !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #15233f !important;
  box-shadow: 0 6px 16px rgba(21, 35, 63, 0.05) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.en-home .en-exam-card-title {
  display: block;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #15233f !important;
}

.en-home .en-exam-link:hover .en-exam-card {
  border-color: #1a73e8 !important;
  box-shadow: 0 10px 24px rgba(26, 115, 232, 0.12) !important;
  transform: translateY(-2px);
}

.en-home .en-exam-card p {
  margin: 6px 0 0 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #4f5f78 !important;
  line-height: 1.4 !important;
}

.en-home .en-empty {
  margin: 12px 0 0;
  color: #5f6b7c;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .en-home .en-exam-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .en-home .en-exam-grid {
    grid-template-columns: 1fr;
  }
}

.en-home a.en-header-auth,
.en-home a.en-header-auth:link,
.en-home a.en-header-auth:visited,
.en-home .en-header-auth,
.en-home .main_nav_item a.en-header-auth {
  min-height: 28px !important;
  padding: 0 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: var(--en-blue) !important;
  background: #eff6ff !important;
  border: 1px solid #cfe0ff !important;
  box-shadow: none !important;
  border-radius: 999px !important;
}

.en-home a.en-header-auth:hover,
.en-home .en-header-auth:hover,
.en-home .main_nav_item a.en-header-auth:hover {
  background: #1a73e8 !important;
  border-color: #1a73e8 !important;
  color: #fff !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}



/* ---- Professional index v60 ---- */
.en-pro-wrap {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.en-pro-hero {
  background:
    linear-gradient(180deg, #eef5ff 0%, #f7fbff 55%, #ffffff 100%);
  border-bottom: 1px solid #e2eaf5;
}

.en-pro-hero-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 48px 28px 52px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.en-pro-hero-copy {
  text-align: left;
  justify-self: stretch;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-right: 12px;
  box-sizing: border-box;
}

.en-pro-kicker {
  margin: 0 0 14px !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #1a73e8 !important;
  text-align: left !important;
}

.en-pro-hero h1 {
  margin: 0 0 16px !important;
  max-width: none;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  color: #15233f !important;
  text-align: left !important;
}

.en-pro-h1-line {
  display: block;
}

.en-pro-accent {
  color: #1a73e8 !important;
}

.en-pro-lead {
  margin: 0 0 28px !important;
  max-width: 100%;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: #4f5f78 !important;
  font-weight: 400 !important;
  text-align: left !important;
}

/* One continuous paragraph: chips + body wrap only when the line is full. */
.en-pro-lead-exams,
.en-pro-lead-body {
  display: inline;
  max-width: 100%;
}

.en-pro-lead-exams {
  white-space: normal;
  overflow: visible;
  box-sizing: border-box;
}

.en-pro-lead-exams .en-pro-dot,
.en-pro-lead-exams .en-chip,
.en-pro-lead-body .en-chip {
  white-space: nowrap;
  display: inline;
}

.en-pro-lead-body {
  overflow-wrap: normal;
  word-break: normal;
}

.en-pro-lead-body #en-pro-active-inline {
  font-weight: 700 !important;
}

.en-pro-lead-exams .en-chip {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700 !important;
  line-height: inherit;
  vertical-align: baseline;
}

.en-pro-lead-exams .en-chip:hover,
.en-pro-lead-exams .en-chip:focus,
.en-pro-lead-exams .en-chip.is-active {
  text-decoration: underline;
  outline: none;
}

.en-pro-dot {
  color: #9aa8bc !important;
  font-weight: 500 !important;
  margin: 0 0.15em;
}

.en-pro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.en-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.en-pro-btn-primary {
  background: #1a73e8 !important;
  border: 1px solid #0b57d0 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.28);
}

.en-pro-btn-primary:hover {
  background: #0b57d0 !important;
  color: #fff !important;
}

.en-pro-btn-secondary {
  background: #fff !important;
  border: 1px solid #d5dde8 !important;
  color: #15233f !important;
  box-shadow: none;
}

.en-pro-btn-secondary:hover {
  border-color: #1a73e8 !important;
  color: #0b57d0 !important;
}

.en-pro-hero-figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #e8f1fc;
  justify-self: stretch;
}

.en-pro-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 0;
  box-shadow: none;
}

/* ---- What you can do here ---- */
.en-do {
  padding: 28px 0 48px;
  background: transparent;
  border-bottom: none;
}

.en-do-head {
  text-align: left;
  margin: 0 0 28px;
  max-width: 40rem;
}

.en-do-head h2 {
  margin: 0 0 10px !important;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #15233f !important;
  line-height: 1.2 !important;
}

.en-do-head p {
  margin: 0 !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 1.02rem !important;
  color: #6b778c !important;
  line-height: 1.5 !important;
}

.en-do-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.en-do-card {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 12px;
  padding: 26px 24px 28px;
  box-shadow: 0 6px 18px rgba(21, 35, 63, 0.04);
  text-align: left;
}

.en-do-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 0 16px;
  border-radius: 50%;
  color: #fff;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.en-do-num-1 { background: #ea4335; }
.en-do-num-2 { background: #1a73e8; }
.en-do-num-3 { background: #1e8e3e; }

.en-do-card h3 {
  margin: 0 0 8px !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  color: #15233f !important;
  line-height: 1.3 !important;
}

.en-do-card p {
  margin: 0 !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  color: #5f6b7c !important;
}

@media (max-width: 900px) {
  .en-do-grid {
    grid-template-columns: 1fr;
  }
}

.en-pro-panel {
  padding: 8px 0 40px;
  background: #fff;
}

.en-pro-panel-head {
  margin: 0 0 22px;
  max-width: 40rem;
}

.en-pro-panel-head h2 {
  margin: 0 0 6px !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
  color: #15233f !important;
}

.en-pro-panel-head p {
  margin: 0 !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  color: #4f5f78 !important;
}

.en-pro-panel .en-home-search-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.en-pro-panel .en-search-panel {
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  background: #f8fbff;
  box-shadow: none;
  padding: 24px;
}

.en-pro-panel .en-search-intro {
  display: none;
}

.en-expert {
  padding: 8px 0 56px;
  background: #fff;
}

.en-expert-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 28px 0 0;
  border-top: 1px solid #e8eef6;
}

.en-expert-copy {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 44rem;
  text-align: left;
}

.en-expert-label {
  margin: 0 0 8px !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #5b9ef5 !important;
  line-height: 1 !important;
}

.en-expert-copy h2 {
  margin: 0 0 8px !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #15233f !important;
  line-height: 1.25 !important;
}

.en-expert-lead {
  margin: 0 !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  color: #6b778c !important;
}

.en-expert-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #d5dde8;
  background: #fff;
  color: #15233f !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color 0.12s ease, color 0.12s ease;
}

.en-expert-btn:hover {
  border-color: #1a73e8;
  color: #0b57d0 !important;
}

@media (max-width: 640px) {
  .en-expert-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .en-expert-btn {
    width: 100%;
  }
}

/* Search form controls */
.en-home-search-shell {
  width: min(100%, var(--en-search)) !important;
  max-width: var(--en-search) !important;
  margin: 0 auto;
  box-sizing: border-box;
}

.en-search-panel {
  background: #fff;
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  padding: 24px;
}

.en-search-intro {
  margin-bottom: 16px;
}

.en-search-intro h3 {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 650 !important;
  color: #15233f !important;
  margin: 0 0 4px !important;
}

.en-search-intro p {
  margin: 0 !important;
  color: #4f5f78 !important;
  font-size: 0.95rem !important;
}

.en-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.en-field label {
  display: block;
  margin: 0 0 6px;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #24324a;
}

.en-optional {
  font-weight: 500;
  color: #7a879c;
}

.en-select,
.en-home select.en-select {
  width: 100% !important;
  min-height: 42px !important;
  border: 1px solid #c9d9f2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 0 12px !important;
  color: #15233f !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
}

.en-search-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.en-btn-search,
.en-home .en-btn-search,
.en-home input.en-btn-search {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  border: 1px solid #0b57d0 !important;
  background: #1a73e8 !important;
  color: #fff !important;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.en-btn-search:hover,
.en-home .en-btn-search:hover {
  background: #0b57d0 !important;
}

@media (max-width: 900px) {
  .en-pro-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 40px;
  }
  .en-pro-hero h1 {
    max-width: none;
  }
  .en-search-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .en-pro-wrap {
    padding: 0 16px;
  }
  .en-pro-actions {
    width: 100%;
  }
  .en-pro-btn {
    width: 100%;
  }
  .en-pro-panel .en-search-panel {
    padding: 16px;
  }
  .en-home .header_content,
  .en-home .en-header-bar {
    padding: 0 14px !important;
  }
}