.org-mode[hidden] {
  display: none !important;
}

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

.org-visitor-hero {
  background: linear-gradient(135deg, var(--org-accent), var(--org-accent-dark));
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.org-visitor-hero h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.org-visitor-hero p {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 1rem;
  opacity: 0.96;
  line-height: 1.55;
}

.org-visitor-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.org-visitor-invite {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  gap: 0.6rem;
}

.org-visitor-invite input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.org-visitor-invite input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.org-visitor-invite input:focus-visible,
.org-visitor-invite button:focus-visible,
.org-member-tab:focus-visible,
.org-member-item a:focus-visible,
.org-member-footer button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.org-visitor-invite button {
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: var(--org-accent);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.org-visitor-invite button:hover {
  opacity: 0.94;
}

.org-visitor-error,
.org-visitor-success {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1rem;
}

.org-visitor-error {
  color: #fecaca;
}

.org-visitor-success {
  color: #dcfce7;
}

.org-visitor-modules {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.org-visitor-module {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.3rem;
}

.org-visitor-module-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--org-accent);
  margin-bottom: 0.45rem;
}

.org-visitor-module h3 {
  font-size: 1.07rem;
  margin: 0 0 0.5rem;
}

.org-visitor-module p {
  color: #475569;
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
  line-height: 1.5;
}

.org-visitor-module ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.org-visitor-module li {
  font-size: 0.85rem;
  color: #64748b;
  padding: 3px 0 3px 18px;
  position: relative;
}

.org-visitor-module li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--org-accent);
  opacity: 0.4;
}

.org-member-header {
  background-color: #f8fafc;
  border-bottom: 3px solid var(--org-accent);
  padding: 1.8rem 1.5rem;
}

.org-member-header .container {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.org-member-header img {
  max-height: 40px;
}

.org-member-header h1 {
  font-size: 1.75rem;
  margin: 0;
}

.org-member-header .badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--org-accent);
  color: #fff;
}

.org-member-featured {
  max-width: 1060px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.org-featured-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
}

.org-featured-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.org-featured-card p {
  margin: 0 0 0.55rem;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.45;
}

.org-featured-card a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--org-accent);
}

.org-member-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e2e8f0;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.org-member-tab {
  padding: 12px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
}

.org-member-tab:hover {
  color: #0f172a;
  background: #f8f8f8;
}

.org-member-tab.active {
  color: var(--org-accent);
  border-bottom-color: var(--org-accent);
  font-weight: 600;
}

.org-member-panel {
  display: none;
  max-width: 1060px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.org-member-panel.active {
  display: block;
}

.org-member-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.org-member-item:hover {
  border-color: var(--org-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.org-member-item-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--org-accent);
  margin-bottom: 4px;
}

.org-member-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.org-member-item p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0 0 10px;
  line-height: 1.5;
}

.org-member-item a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--org-accent);
  text-decoration: none;
}

.org-member-item a:hover {
  text-decoration: underline;
}

.org-member-footer {
  max-width: 1060px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.org-member-footer button {
  font-size: 0.85rem;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: inherit;
}

.org-member-footer button:hover {
  color: #c74a4a;
  background: #fff1f2;
}

.org-noscript {
  max-width: 1060px;
  margin: 1rem auto 0;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #854d0e;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .org-visitor-hero {
    padding: 3rem 1rem;
  }

  .org-visitor-invite {
    flex-direction: column;
  }

  .org-member-tab {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}
