.page-title {
  background: var(--yellow);
}
.page-title-text {
  color: var(--dark);
}

.press-intro {
  margin-top: 32px;
}

.press-intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 844px;
  gap: 4px;
}

.press-intro-content-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 24px;
  text-align: center;
  color: var(--dark);
}

.press-intro-content-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--dark);
}

.press-cards {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.press-cards-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--dark);
  max-width: 844px;
}

.press-cards-list {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.press-card {
  border-radius: 24px;
  padding: 16px 24px 24px;
  flex: 1;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.press-card-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 24px;
  color: var(--red);
}

.press-card-text {
  margin-top: 4px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: var(--dark);
}

.press-card-text p + p {
  margin-top: 8px;
}

.press-card-colored {
  margin-top: 12px;
  border: 1px solid var(--red);
  border-radius: 12px;
  padding: 12px;
  background: var(--light);
}

.press-card-button {
  margin-top: 16px;
  width: 100%;
}

.press-card-button .button {
  width: 100%;
}

.press-card:nth-child(2) .press-card-title {
  color: var(--blue);
}

.press-card-location {
  width: fit-content;
  margin-top: 8px;
  background: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 7px 12px 9px 11px;
}

.press-card-location-text {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 14px;
  line-height: 100%;
  color: var(--light);
}

.press-card-hint {
  margin-top: auto;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  color: #787878;
}

.location-address {
  display: flex;
  gap: 8px;
  max-width: 392px;
}

.location-address-icon {
  margin-top: 4px;
}

.location-address-text-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--dark);
}

.location-address-text-link {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.location-address-text-link:hover {
  opacity: 0.8;
}

.location-address-text-link-text {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 16px;
  color: var(--purple);
}

.press-card-address {
  margin: 16px 0;
}

.press-card:nth-child(3) .press-card-title {
  color: var(--yellow);
}

.press-card-contacts {
  margin-top: auto;
}

.press-card-contacts-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 14px;
  line-height: 143%;
  color: var(--dark);
}

.press-card-contacts-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  color: #787878;
  margin-top: 6px;
}

.press-card-contacts-list {
  margin-top: 6px;
  display: flex;
  gap: 6px;
}

.press-card-contacts-list-item {
  border-radius: 5px;
  padding: 7px 12px 9px 11px;
  background: var(--yellow);
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 14px;
  line-height: 100%;
  color: var(--dark);
}

.press-card-contacts-list-item:last-child {
  background: linear-gradient(203deg, #37aee2 0%, #1e96c8 100%);
  color: var(--light);
}

.press-card:last-child .press-card-text {
  margin-bottom: 24px;
}

@media screen and (max-width: 1000px) {
  .press-cards-list {
    flex-direction: column;
  }
  .press-card {
    width: 100%;
  }
}

/* ─── Accreditation Modal ──────────────────────────────────── */

.accred-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease;
}

.accred-modal.is-open {
  pointer-events: all;
  opacity: 1;
}

.accred-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 32, 32, 0.6);
  backdrop-filter: blur(4px);
}

.accred-modal-dialog {
  position: relative;
  background: var(--light);
  border-radius: 24px;
  padding: 36px 40px 40px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
}

.accred-modal.is-open .accred-modal-dialog {
  transform: translateY(0) scale(1);
}

.accred-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  padding: 0;
  border-radius: 50%;
}

.accred-modal-header {
  margin-bottom: 28px;
}

.accred-modal-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.15;
}

.accred-modal-subtitle {
  font-family: var(--font-family);
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.accred-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accred-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.accred-modal-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.accred-modal-field-full {
  grid-column: 1 / -1;
}

.accred-modal-label {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.accred-required {
  color: var(--red);
}

.accred-modal-input {
  width: 100%;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 200ms;
  appearance: none;
}

.accred-modal-input:focus {
  border-color: var(--red);
}

.accred-modal-input.has-error {
  border-color: var(--red);
  background: #fff8f7;
}

.accred-modal-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23202020' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.accred-modal-error {
  font-size: 12px;
  color: var(--red);
  min-height: 15px;
  padding-left: 2px;
}

.accred-modal-consent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accred-modal-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.accred-modal-consent-checkbox {
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  position: relative;
}

.accred-modal-consent-checkbox:checked {
  border-color: var(--red);
  background: var(--red);
}

.accred-modal-consent-checkbox:checked::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.accred-modal-consent-checkbox:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.accred-modal-consent-text {
  font-family: var(--font-family);
  font-size: 13px;
  color: #555;
  line-height: 1.45;
}

.accred-modal-consent-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s;
  display: inline;
}

.accred-modal-consent-link:hover {
  opacity: 0.75;
}

.accred-modal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.accred-modal-submit {
  padding: 10px 32px 14px;
}

.accred-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.accred-modal-cancel {
  font-family: var(--font-family);
  font-size: 14px;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* Success state */

.accred-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 16px 0 8px;
}

.accred-modal-success.is-visible {
  display: flex;
}

.accred-modal-success-icon {
  width: 56px;
  height: 56px;
}

.accred-modal-success-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 30px;
  color: var(--dark);
}

.accred-modal-success-text {
  font-family: var(--font-family);
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  max-width: 360px;
}

.accred-modal-success-close {
  margin-top: 4px;
  padding: 10px 32px 14px;
}

/* ─── Section title ────────────────────────────────────────── */

.accred-modal-section-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
  padding-top: 4px;
  border-top: 1px solid #e5e5e5;
}

/* ─── Textarea ──────────────────────────────────────────────── */

.accred-modal-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}

/* ─── Press group ───────────────────────────────────────────── */

.accred-press-member {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 12px;
}

.accred-press-member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accred-press-member-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 14px;
  color: var(--dark);
}

.accred-press-member-remove {
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
}

.accred-press-passport {
  margin-top: 0;
}

.accred-press-add-wrapper {
  margin-top: 4px;
}

.accred-press-add-btn {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  color: var(--red);
  background: none;
  border: 1px dashed var(--red);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition:
    background 200ms,
    color 200ms;
  width: 100%;
}

.accred-press-add-btn:hover {
  background: var(--red);
  color: var(--white);
}

@media screen and (max-width: 600px) {
  .accred-modal-dialog {
    padding: 28px 20px 32px;
  }

  .accred-modal-row {
    grid-template-columns: 1fr;
  }

  .accred-modal-title {
    font-size: 22px;
  }

  .accred-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .accred-modal-submit {
    width: 100%;
    justify-content: center;
  }
}
