@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --background: #ffffff;
  --text-primary: #0f172a;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --primary: #2563eb;
  --accent: #f9fafb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, rgba(243, 244, 246, 0.4) 100%);
}

/* Header */
header {
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  width: 100%;
}

.logo a {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Main Layout */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 1.5rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: 1.45rem;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
  color: #4f46e5; /* Centered, clean indigo matching screenshot */
}

/* Search Bar */
.search-container {
  max-width: 580px;
  margin: 0 auto 5rem auto;
}

.search-form {
  position: relative;
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  color: #9ca3af; /* Muted gray search icon */
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 3.5rem; /* 56px height */
  padding: 0 7rem 0 3.25rem;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: 2px solid var(--border-color);
  outline: none;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
}

.search-button {
  position: absolute;
  right: 0.5rem;
  background: #0f172a; /* Dark navy button */
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.search-button:hover {
  background: #1e293b;
}

/* Discover Section */
.categories-title-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
}

.categories-title-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.categories-title-wrapper p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.category-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.category-header {
  padding: 1.25rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-primary);
}

/* Solid background colors for Card Headers matching screenshot */
.category-header.technology { background: #bfdbfe; color: #1e3a8a; }      /* Light Blue */
.category-header.health-wellness { background: #bbf7d0; color: #065f46; } /* Light Green */
.category-header.business { background: #e9d5ff; color: #5b21b6; }        /* Light Purple */
.category-header.education { background: #fed7aa; color: #9a3412; }       /* Light Orange/Peach */
.category-header.lifestyle { background: #fbcfe8; color: #9d174d; }       /* Light Pink */
.category-header.science { background: #ccfbf1; color: #0f766e; }         /* Light Teal/Cyan */

.category-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.suggestion-link {
  text-decoration: none;
  display: block;
}

.suggestion-item {
  width: 100%;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: #374151;
  font-size: 0.85rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.suggestion-item:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
}

/* Divider */
.section-divider {
  height: 1px;
  background-color: var(--border-color);
  max-width: 120px;
  margin: 5rem auto;
}

/* Articles Section */
.articles-title-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
}

.articles-title-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.articles-title-wrapper p {
  color: var(--text-muted);
  font-size: 1rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.article-card {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(15, 23, 42, 0.05);
}

.article-content-wrapper {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.badge {
  background: #f3e8ff;
  color: #6b21a8;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.article-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color 0.15s ease;
}

.article-card:hover h3 {
  color: var(--primary);
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.author-info {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 0.75rem;
}

.read-more-btn {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
}

.article-card:hover .read-more-btn {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.explore-all-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.explore-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.65rem 1.75rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
  text-decoration: none;
}

.explore-btn:hover {
  background: #f9fafb;
}

/* Detail View */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.15s ease;
}

.back-btn:hover {
  color: var(--text-primary);
}

.detail-container {
  max-width: 800px;
  margin: 0 auto;
}

.detail-header {
  margin-bottom: 2rem;
}

.detail-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.detail-content {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #374151;
}

.detail-content p {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: #f9fafb;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-disclaimers h3 {
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.footer-disclaimers p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-middle {
    flex-direction: row;
  }
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  line-height: 1.6;
}

/* Category Page Archive Layout */
.category-page-header {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.category-page-title {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  font-variation-settings: 'opsz' 72;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  text-transform: capitalize;
}

.category-page-subtitle {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.archive-article-item {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
}

.archive-image-link {
  display: block;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.archive-article-image {
  width: 100%;
  aspect-ratio: 1.62; /* Matches standard camera aspect ratio 16:10 */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.archive-article-image:hover {
  transform: scale(1.02);
}

.archive-article-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.625rem;
  letter-spacing: -0.015em;
  color: #111827;
}

.archive-article-title a {
  text-decoration: none;
  color: #0f172a;
  transition: color 0.15s ease;
}

.archive-article-title a:hover {
  color: var(--primary);
}

.archive-article-excerpt {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.pagination-btn {
  background-color: #2563eb; /* Royal blue */
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.15);
}

.pagination-btn:hover {
  background-color: #1d4ed8;
}

.pagination-btn:active {
  transform: scale(0.98);
}

body.category-page .app-container {
  background: #ffffff;
}

body.category-page main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

body.category-page .nav-links a {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

.category-archive-grid {
  gap: 2.5rem 2rem;
  margin-bottom: 0;
}

.category-incontent-disclaimers {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.category-incontent-disclaimers p {
  font-size: 0.7rem;
  line-height: 1.65;
  color: #9ca3af;
  text-align: justify;
  margin-bottom: 1rem;
}

.category-incontent-disclaimers p:last-child {
  margin-bottom: 0;
}

.category-incontent-disclaimers strong {
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.02em;
}

/* Article page — FindingJob */
body.article-page main {
  max-width: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

body.article-page .app-container {
  background: #ffffff;
}

body.article-page header {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  body.article-page header {
    margin-bottom: 1.25rem;
  }
}

.article-shell {
  width: 100%;
}

.article-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.article-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .article-inner {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

.article-title {
  font-size: 1.5rem;
  margin-top: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin-bottom: 0;
  text-align: center;
  text-transform: capitalize;
  color: var(--text-primary);
}

.article-title-divider {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #6b7280;
  font-weight: 700;
}

.article-ad-slot {
  display: flex;
  justify-content: center;
  margin: 1.25rem auto 0.75rem;
  width: 100%;
}

.article-ad-frame {
  box-sizing: border-box;
  width: 300px;
  min-height: 280px;
  padding: 10px 10px 12px;
  margin: 0 auto;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.article-ad-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  line-height: 1;
}

.article-ad-container {
  width: 300px;
  min-height: 250px;
  height: 250px;
  overflow: hidden;
  margin: 0 auto;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-ad-container iframe {
  display: block;
  max-width: 100%;
}

.article-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #374151;
  text-align: center;
  font-weight: 500;
  margin: 0 0 1.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .article-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .article-title {
    margin-top: 0;
    font-size: 2.25rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .article-title {
    font-size: 3rem;
  }
}

.post-body {
  display: flex;
  flex-direction: column;
}

.post-body > * + * {
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .post-body > * + * {
    margin-top: 1rem;
  }
}

.post-body p {
  color: #6b7280;
}

.post-body .post-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #374151;
}

.post-body .post-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #374151;
  line-height: 1.4;
  margin-top: 0.5rem;
}

.post-body .post-heading-2 {
  font-size: 1.375rem;
}

.post-body .post-heading-3 {
  font-size: 1.25rem;
}

.post-body .post-list {
  color: #6b7280;
}

.post-body .post-list ol,
.post-body .post-list ul {
  padding-left: 1.5rem;
  margin: 0;
}

.post-body .post-html {
  color: #6b7280;
}

.post-body .post-html p {
  margin: 0;
}

.post-body .post-separator {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

.post-body .post-quote {
  border-left: 4px solid #d1d5db;
  padding-left: 1rem;
  color: #374151;
  font-style: italic;
  margin: 0.5rem 0;
}

.post-body .post-list li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.post-body .post-list li:last-child {
  margin-bottom: 0;
}

.post-body strong {
  color: #374151;
  font-weight: 700;
}

.post-body code {
  font-size: 0.875em;
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.post-body figure {
  margin: 0;
}

.post-body img {
  width: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}

.post-body figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
  color: #6b7280;
}

.article-tags {
  margin-top: 2rem;
}

.article-tags p {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.article-tags span {
  margin-left: 1rem;
  font-weight: 400;
  color: #6b7280;
}

.article-divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 7rem 0 6rem;
}

.post-body a {
  color: var(--primary);
  text-decoration: underline;
}

.featured-topics-section {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.featured-topics-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.featured-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .featured-topics-grid {
    grid-template-columns: 1fr;
  }
}

.featured-topic-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid #2563eb;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.featured-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
}

.featured-topic-image {
  width: 100%;
  aspect-ratio: 1.62;
  overflow: hidden;
}

.featured-topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-topic-body {
  padding: 1.5rem;
  flex: 1;
}

.featured-topic-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.featured-topic-date {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.featured-topic-body p {
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-topics-grid .featured-topic-card:nth-child(3) {
  grid-column: 1;
}

.footer-disclaimers h3:first-child {
  margin-top: 2.5rem;
}

.footer-brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 1rem;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .footer-brand-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

.footer-brand-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-align: center;
  margin: 0;
  color: var(--text-primary);
}

@media (min-width: 1024px) {
  .footer-brand-title {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 0;
    padding-right: 1rem;
    flex: 0 0 auto;
  }
}

.footer-brand-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.footer-brand-links a {
  margin: 0 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  line-height: 1.5;
}

.footer-brand-links a:hover {
  text-decoration: underline;
}

.detail-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin-top: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-family: inherit;
}

.contact-submit-btn {
  position: static;
  width: fit-content;
  align-self: flex-start;
  padding: 0.75rem 2rem;
}

.footer-inner-divider {
  width: 80%;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0 1rem;
  text-align: center;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

/* Static / info pages (About, Privacy, Terms, Contact) */
body.static-page main {
  max-width: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.static-page-shell {
  background: #fff;
}

.detail-content h2,
.detail-content h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.contact-success-banner {
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid #a7f3d0;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

@media (max-width: 640px) {
  .detail-shell {
    padding: 1.5rem 1rem 3rem;
  }

  .detail-title {
    font-size: 1.75rem;
  }

  .contact-form-card {
    padding: 1.25rem;
  }
}
