.amp-page {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #1f2937;
}

.amp-hero {
  background: linear-gradient(135deg, #172a74 0%, #21a9af 100%);
  color: #fff;
  padding: 56px 0 40px;
}

.amp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.amp-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.amp-hero p {
  opacity: 0.92;
  margin-bottom: 18px;
}

.amp-hero-search {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 180px 180px auto;
  gap: 10px;
}

.amp-hero-search input,
.amp-hero-search select {
  border: none;
  border-radius: 10px;
  padding: 11px 12px;
}

.amp-find-btn {
  border: none;
  border-radius: 10px;
  background: #10b981;
  color: white;
  font-weight: 700;
  padding: 10px 16px;
}

.amp-trust {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amp-trust span {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.amp-hero-visual {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  min-height: 210px;
  background: rgba(255, 255, 255, 0.14);
}

.amp-hero-visual img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.amp-sticky-filters {
  position: sticky;
  top: 78px;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.amp-sticky-inner {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(140px, 1fr));
  gap: 10px;
}

.amp-sticky-inner input,
.amp-sticky-inner select {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 8px 10px;
}

.amp-main {
  padding: 24px 0 42px;
}

.amp-category-nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.amp-cat-btn {
  border: 1px solid #dbe3f0;
  background: #f8fbff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.amp-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

.amp-sidebar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  height: fit-content;
}

.amp-sidebar h5 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.amp-sidebar label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.amp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.amp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.amp-card-top {
  padding: 12px;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.amp-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eff6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #172a74;
  font-weight: 700;
}

.amp-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.amp-badge {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
}

.amp-sponsored {
  background: #fef3c7;
  color: #92400e;
}

.amp-featured {
  background: #ede9fe;
  color: #5b21b6;
}

.amp-card-body {
  padding: 12px;
}

.amp-card-body h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.amp-meta {
  font-size: 0.82rem;
  color: #4b5563;
  margin-bottom: 4px;
}

.amp-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.amp-tools span {
  font-size: 0.72rem;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  padding: 3px 8px;
}

.amp-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.amp-actions a {
  flex: 1;
  text-align: center;
  border-radius: 10px;
  font-size: 0.82rem;
  padding: 8px 10px;
  text-decoration: none;
  font-weight: 700;
}

.amp-actions button {
  flex: 1;
  text-align: center;
  border-radius: 10px;
  font-size: 0.82rem;
  padding: 8px 10px;
  font-weight: 700;
  border: none;
}

.amp-view {
  border: 1px solid #172a74;
  color: #172a74;
}

.amp-join {
  background: #172a74;
  color: #fff;
}

.amp-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.amp-pagination button {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 6px 10px;
  background: white;
}

.amp-trust-strip,
.amp-faq,
.amp-upsell {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
}

.amp-upsell {
  background: linear-gradient(135deg, #172a74, #1f5ca8);
  color: #fff;
}

@media (max-width: 992px) {
  .amp-hero-grid,
  .amp-layout {
    grid-template-columns: 1fr;
  }
  .amp-sticky-inner,
  .amp-hero-search {
    grid-template-columns: 1fr 1fr;
  }
  .amp-sidebar {
    order: 2;
  }
}
