.tips-page { padding-top: 72px; min-height: 100vh; }

.tips-hero {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: 60px 0 40px;
  text-align: center;
}

.tips-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.tips-hero p { color: rgba(255,255,255,0.7); }

.tips-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 200px);
}

.tips-sidebar {
  padding: 32px;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  border-right: 1px solid rgba(201, 169, 110, 0.15);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: var(--color-white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.chip:hover, .chip.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
}

.tips-list { display: flex; flex-direction: column; gap: 16px; }

.tip-card {
  display: flex;
  gap: 16px;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.tip-card:hover { box-shadow: var(--shadow-md); }

.tip-card.highlighted {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.3);
}

.tip-card-image {
  width: 120px;
  min-height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.tip-card-body {
  padding: 16px 16px 16px 0;
  flex: 1;
}

.tip-card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.tip-card-body p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tip-card-meta {
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-top: 8px;
  font-weight: 500;
}

.tip-card-contact {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.tip-card-contact a {
  color: var(--color-primary);
  text-decoration: none;
}

.tip-card-contact a:hover {
  text-decoration: underline;
}

.tip-book-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.tips-map {
  position: sticky;
  top: 72px;
  height: calc(100vh - 200px);
  background: #e8e4df;
}

#map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.villa-marker-dot,
.tip-marker-dot {
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.villa-marker-dot {
  width: 18px;
  height: 18px;
  background: #c9a96e;
  border: 2px solid #1a3a4a;
}

.tip-marker-dot {
  width: 14px;
  height: 14px;
  background: #1a3a4a;
  border: 2px solid #c9a96e;
}

.leaflet-popup-content strong {
  color: #1a3a4a;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-light);
  text-align: center;
  padding: 40px;
}

.tips-gate {
  display: flex;
  justify-content: center;
  padding: 48px 24px 64px;
}

.tips-gate.hidden,
#tips-content.hidden {
  display: none;
}

.tips-gate-box {
  width: 100%;
  max-width: 420px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px;
  text-align: center;
}

.tips-gate-box h2 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.tips-gate-box p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.tips-gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-gate-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 8px;
  font-size: 1rem;
}

.tips-gate-error {
  margin-top: 16px;
  color: #dc3545;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .tips-layout { grid-template-columns: 1fr; }
  .tips-map { position: relative; height: 350px; order: -1; }
  .tips-sidebar { max-height: none; padding: 20px 16px; }
  .tip-card { flex-direction: column; }
  .tip-card-image { width: 100%; height: 160px; }
}

@media (max-width: 480px) {
  .tips-hero { padding: 40px 0 24px; }
  .category-chips { gap: 6px; }
  .chip { padding: 6px 14px; font-size: 0.8rem; }
}
