/* Single post content styles - loaded after Tailwind to override base reset */

/* Author avatar - force circle */
.rounded-full img,
.rounded-full.overflow-hidden img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 9999px !important;
}

.prose {
  color: #1f2937;
  line-height: 1.625;
}

.prose p {
  margin-bottom: 1.5rem !important;
  font-size: 1rem;
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

.prose h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.5rem !important;
  margin-bottom: 0.75rem !important;
}

.prose h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}

.prose h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}

.prose ul {
  margin-bottom: 1.5rem !important;
  margin-left: 1.5rem !important;
  padding-left: 0.5rem !important;
  list-style-type: disc !important;
}

.prose ol {
  margin-bottom: 1.5rem !important;
  margin-left: 1.5rem !important;
  padding-left: 0.5rem !important;
  list-style-type: decimal !important;
}

.prose li {
  font-size: 1rem;
  line-height: 1.75;
  padding-left: 0.25rem !important;
  margin-bottom: 0.5rem !important;
}

.prose blockquote {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
  padding: 1.5rem !important;
  padding-left: 1.5rem !important;
  border-left: 4px solid #d22200;
  background-color: #f9fafb;
  font-style: italic;
  color: #374151;
}

.prose blockquote p {
  margin-bottom: 0 !important;
}

.prose blockquote p:last-child {
  margin-bottom: 0 !important;
}

.prose a {
  color: #d22200;
  text-decoration: underline;
  transition: color 0.15s;
}

.prose a:hover {
  color: #a81b00;
}

/* Share button icons - keep white, override prose link styles */
.prose .not-prose a,
.prose .not-prose a:hover,
.not-prose a,
.not-prose a:hover {
  color: white !important;
  text-decoration: none !important;
}

.prose .not-prose a svg,
.not-prose a svg {
  color: white !important;
  fill: white !important;
}

.prose .not-prose a[title="Email"] svg,
.not-prose a[title="Email"] svg {
  stroke: white !important;
  color: white !important;
}

.prose img {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  width: 100%;
  height: auto;
}

.prose figure {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.prose figcaption {
  margin-top: 0.75rem !important;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  font-style: italic;
}

.prose pre {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  padding: 1rem !important;
  background-color: #111827;
  color: #f3f4f6;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.875rem;
}

.prose code {
  background-color: #f3f4f6;
  color: #d22200;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.prose pre code {
  background-color: transparent;
  color: #f3f4f6;
  padding: 0;
}

.prose hr {
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.prose dl {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.prose dt {
  font-weight: 600;
  color: #111827;
  margin-top: 1rem !important;
}

.prose dd {
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.prose table {
  width: 100%;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  border-collapse: collapse;
}

.prose th {
  background-color: #f3f4f6;
  text-align: left;
  padding: 0.75rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
}

.prose td {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
}

.prose strong {
  font-weight: 700;
  color: #111827;
}

.prose em {
  font-style: italic;
}

/* Pagination styles */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition: all 0.15s;
}

.page-numbers:hover {
  background-color: #f9fafb;
  color: #d22200;
}

.page-numbers.current {
  background-color: #d22200;
  color: #fff;
  border-color: #d22200;
}

.page-numbers.current:hover {
  background-color: #a81b00;
  color: #fff;
}

.page-numbers.dots {
  border: none;
  background: transparent;
}

.page-numbers.dots:hover {
  background: transparent;
}

/* Global form styles - for contact pages and all forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1f2937;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #d22200;
  box-shadow: 0 0 0 3px rgba(210, 34, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

/* Form labels */
label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

/* Form buttons */
button[type="submit"],
input[type="submit"],
.wpcf7-submit,
.wpforms-submit,
.gform_button,
.frm_button_submit {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #d22200;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, transform 0.1s ease-in-out;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.wpcf7-submit:hover,
.wpforms-submit:hover,
.gform_button:hover,
.frm_button_submit:hover {
  background-color: #a81b00;
}

button[type="submit"]:active,
input[type="submit"]:active,
.wpcf7-submit:active,
.wpforms-submit:active,
.gform_button:active,
.frm_button_submit:active {
  transform: scale(0.98);
}

/* Form field spacing */
.wpcf7-form p,
.wpforms-field,
.gfield,
.frm_form_field {
  margin-bottom: 1.25rem;
}

/* Contact Form 7 specific */
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
}

.wpcf7-mail-sent-ok {
  background-color: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
}
