.widcc-hub {
  color: #09213c;
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: clamp(640px, 72vh, 860px);
  scroll-behavior: smooth;
}

.widcc-member-login {
  display: flex;
  justify-content: center;
  padding: 64px 20px;
}

.widcc-member-login-inner {
  width: min(100%, 520px);
  padding: 32px;
  background: #ffffff;
  border: 1px solid rgba(0, 169, 132, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(9, 33, 60, 0.08);
}

.widcc-member-login h1,
.widcc-member-hero h1,
.widcc-member-resources h2 {
  margin: 0 0 12px;
  color: #09213c;
  line-height: 1.08;
}

.widcc-member-login h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.post-content .widcc-hub .widcc-member-login h1,
.widcc-hub .widcc-member-login h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.widcc-member-login p,
.widcc-member-intro p,
.widcc-resource-card p {
  margin: 0 0 18px;
  line-height: 1.55;
}

.widcc-member-login-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.widcc-member-password-row {
  display: flex;
  gap: 10px;
}

.widcc-member-password-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.widcc-member-password-row input {
  width: 100%;
  min-width: 0;
  padding: 12px 52px 12px 14px;
  border: 1px solid rgba(9, 33, 60, 0.24);
  border-radius: 4px;
  font-size: 16px;
}

.widcc-member-password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: calc(100% - 2px);
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(9, 33, 60, 0.16);
  border-radius: 0 4px 4px 0;
  background: #ffffff;
  color: #09213c;
  cursor: pointer;
}

.widcc-member-password-row button,
.widcc-resource-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid #00a984;
  border-radius: 4px;
  background: #00a984;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.widcc-member-password-row button.widcc-member-password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 44px;
  min-height: 0;
  height: calc(100% - 2px);
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(9, 33, 60, 0.16);
  border-radius: 0 4px 4px 0;
  background: #ffffff;
  color: #09213c;
}

.widcc-member-password-row .widcc-member-password-toggle:hover,
.widcc-member-password-row .widcc-member-password-toggle:focus {
  background: #f6faf8;
  color: #000000;
}

.widcc-member-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 4px solid #b32d2e;
  background: #fff5f5;
  color: #7a1f1f;
}

.widcc-member-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid rgba(9, 33, 60, 0.1);
}

.widcc-member-kicker {
  margin: 0 0 8px;
  color: #008469;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widcc-member-intro {
  max-width: 780px;
}

.widcc-member-resources {
  padding: 32px 0 56px;
}

.widcc-member-section-heading {
  margin-bottom: 32px;
}

.widcc-resource-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 48px;
}

.widcc-resource-category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(9, 33, 60, 0.18);
  border-radius: 4px;
  background: #ffffff;
  color: #09213c;
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.widcc-resource-category-nav a:hover,
.widcc-resource-category-nav a:focus {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
}

.widcc-resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.widcc-resource-category-section {
  margin-top: 28px;
  scroll-margin-top: 120px;
}

.widcc-resource-category-section:first-of-type {
  margin-top: 0;
}

.widcc-resource-category-section h3 {
  margin: 0 0 12px;
  color: var(--awb-text-color);
  font-family: var(--h2_typography-font-family);
  font-size: 1.75em;
  font-style: var(--h2_typography-font-style, normal);
  font-weight: var(--h2_typography-font-weight);
  letter-spacing: var(--h2_typography-letter-spacing);
  line-height: var(--h2_typography-line-height);
  text-transform: var(--h2_typography-text-transform);
}

.post-content .widcc-hub .widcc-resource-category-section > h3,
.widcc-hub .widcc-resource-category-section > h3 {
  color: #008469 !important;
  font-family: var(--h2_typography-font-family) !important;
  font-size: 1.25em !important;
  font-style: var(--h2_typography-font-style, normal) !important;
  font-weight: var(--h2_typography-font-weight) !important;
  letter-spacing: var(--h2_typography-letter-spacing) !important;
  line-height: var(--h2_typography-line-height) !important;
  text-transform: var(--h2_typography-text-transform) !important;
}

.widcc-resource-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 2rem;
  border: 1px solid rgba(9, 33, 60, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 33, 60, 0.06);
}

.widcc-resource-card h3 {
  margin: 0 0 10px;
  color: #000000;
  font-family: var(--body_typography-font-family, inherit);
  font-size: 1.15em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.post-content .widcc-hub .widcc-resource-card > .widcc-resource-card-content > h3,
.widcc-hub .widcc-resource-card > .widcc-resource-card-content > h3 {
  color: #000000 !important;
  font-family: var(--body_typography-font-family, inherit) !important;
  font-size: 1.15em !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

.widcc-resource-embed {
  margin: 0 0 16px;
}

.widcc-resource-embed-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #000000;
  cursor: pointer;
  overflow: hidden;
}

.widcc-resource-embed-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #111111;
}

.widcc-resource-embed-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, opacity 180ms ease;
}

.widcc-resource-embed-trigger:hover img,
.widcc-resource-embed-trigger:focus img {
  opacity: 0.82;
  transform: scale(1.02);
}

.widcc-resource-embed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-weight: 700;
}

.widcc-resource-embed-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  transform: translate(-50%, -50%);
}

.widcc-resource-embed-play::before {
  content: "";
  display: block;
  margin-left: 5px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid #ffffff;
}

.widcc-embed-modal[hidden] {
  display: none;
}

.widcc-embed-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.widcc-embed-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
}

.widcc-embed-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
}

.widcc-embed-modal-close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.widcc-embed-modal-frame {
  background: #000000;
}

.widcc-embed-modal-frame iframe,
.widcc-embed-modal-frame video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: calc(100vh - 112px);
}

body.widcc-embed-modal-open {
  overflow: hidden;
}

.widcc-resource-download {
  align-self: flex-start;
  gap: 8px;
  max-width: 100%;
  text-align: left;
}

.widcc-resource-download-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
}

.widcc-resource-download span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.widcc-resource-download:hover,
.widcc-resource-download:focus {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
}

.widcc-resource-download-icon {
  color: inherit;
  font-size: 1.1em;
  line-height: 1;
}

.widcc-resource-file-meta {
  color: rgba(9, 33, 60, 0.68);
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.35;
}

.widcc-member-empty {
  padding: 22px;
  border: 1px dashed rgba(9, 33, 60, 0.24);
  border-radius: 8px;
  background: #fbfdfc;
}

@media (max-width: 1024px) {
  .widcc-resource-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .widcc-hub {
    min-height: clamp(520px, 68vh, 720px);
  }

  .widcc-resource-list {
    grid-template-columns: 1fr;
  }

  .widcc-member-login {
    padding: 32px 14px;
  }

  .widcc-member-login-inner {
    padding: 22px;
  }

  .widcc-member-password-row {
    flex-direction: column;
  }

  .widcc-member-password-row button {
    width: 100%;
  }

  .widcc-member-password-row button.widcc-member-password-toggle {
    width: 44px;
  }
}
