/* ==========================================================================
   MALDIVES TIMES - CUSTOM STYLES & EFFECT LILY
   ========================================================================== */

:root {
  --primary-cyan: #17a2b8;
  --primary-cyan-hover: #138496;
  --navy-dark: #0c2340;
  --navy-deep: #071626;
  --ocean-blue: #0284c7;
  --lagoon-teal: #0d9488;
  --sand-gold: #d97706;
  --sand-light: #fef3c7;
  --bg-light: #f4f8f9;
  --card-border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
p {
    padding: 10px 0px;
}
/* Serif font style for headings */
.font-serif {
  font-family: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
}

/* Lily hover effect like reference maldives-times.com */
.effect-lily {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.effect-lily img {
  transition: transform 0.45s ease-out, filter 0.45s ease;
}

.effect-lily:hover img {
  transform: scale(1.08);
}

.effect-lily figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 35, 64, 0.05) 0%, rgba(12, 35, 64, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: background 0.3s ease;
}

.effect-lily:hover figcaption {
  background: linear-gradient(180deg, rgba(12, 35, 64, 0.2) 0%, rgba(23, 162, 184, 0.9) 100%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Line clamps */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive safety enhancements */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}


a b {
    color: #159db3;
}

