/* Contact Header */
.newspaper-contact-header {
  padding: 1rem;
  text-align: center;
}

.site-logo {
  height: 16.9375rem;
  width: 16.9375rem;/* 271px / 16 = 16.9375rem */
  display: block;
  margin: -2rem auto;
}

.newspaper-section-title {
  font-family: "Kelly Slab", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.newspaper-section-subtitle {
  margin: 0;
  font-family: "abel", sans-serif;
  font-size: 1.2rem;
}

/* Contact Form */
.newspaper-contact-form {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-input,
.subject-select,
.form-textarea {
  width: 100%;
  padding: 20px 15px;
  font-family: "Inter", sans-serif;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: #fff;
  box-sizing: border-box;
}

.form-input[name="email"] {
  background-color: #000;
  color: #fff;
}

.form-input,
.subject-select {
  height: 38px;
}

.form-textarea {
  min-height: 100px;
  max-height: 350px;
  height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.form-submit {
    grid-column: span 1;
    text-align: center;
  }

.subject-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.subject-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2rem !important; /* Extra space for arrow */
  cursor: pointer;
  transition: border-color 0.2s ease;
}

/* Focus state */
.subject-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem !important;
  cursor: pointer;
  border: 2px solid #000 !important;
  transition: all 0.2s ease;
  background-color: #f9f9f5 !important;
  font-size: 0.9rem;
}

/* Dropdown Options Container */
.subject-select option {
  font-family: "Luxurious Roman", serif !important;
  padding: 0.75rem 1rem !important;
  border-bottom: 1px dashed #ddd !important;
  position: relative;
}

/* Newspaper-inspired Option Colors */
.subject-select option {
  background-color: #fff9e6 !important; /* Vintage paper color */
  color: #222 !important;
}

/* Hover State - Red underline like newspaper headlines */
.subject-select option:hover {
  background-color: #fff0cc !important;
  color: #c00 !important;
  text-decoration: underline;
  text-decoration-color: #c00;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Selected Option - Bold like printed text */
.subject-select option:checked {
  background-color: #f5f5f0 !important;
  font-weight: 700 !important;
  color: #000 !important;
}

/* First Option - Newspaper Section Header Style */
.subject-select option[disabled][selected] {
  font-family: "Kelly Slab", sans-serif !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #777 !important;
  background-color: #f0f0f0 !important;
  border-bottom: 2px solid #000 !important;
}

/* Active Selection - Ink blot effect */
.subject-select option:active {
  background-color: #ffe6e6 !important;
}

/* Firefox Fixes */
@-moz-document url-prefix() {
  .subject-select {
    padding-right: 1.75rem !important;
    background-image: none !important;
  }
  .subject-select option {
    background-color: #fff9e6;
  }
}

/* Safari Fixes */
@media not all and (min-resolution:.001dpcm) {
  .subject-select {
    background-image: none !important;
    padding-right: 1.75rem !important;
  }
}

.form-submit {
  grid-column: span 2;
}

.submit-button {
  padding: 0.75rem 1.5rem;
  font-family: "Inter", sans-serif;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 8px;
  color: #000;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.button-icon {
  margin-right: 0.5rem;
}

/* Contact Info */
.contact-info {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.info-title {
  font-family: "Kelly Slab", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.info-icon {
  font-size: 1.5rem;
}

.info-text {
  font-family: "Luxurious Roman", serif;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-submit {
    grid-column: span 1;
    text-align: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .newspaper-contact-form {
      margin-bottom: 0 !important;
  }
}
