/* SavePin Blog — Minimal utility CSS (replaces Tailwind Play CDN) */

/* ── Reset ──────────────────────────────────────────────── */
*,::before,::after{box-sizing:border-box}
html{line-height:1.5;-webkit-text-size-adjust:100%}
body{margin:0}
img,video{max-width:100%;display:block}

/* ── Display ─────────────────────────────────────────────── */
.block{display:block}.inline{display:inline}.inline-block{display:inline-block}
.inline-flex{display:inline-flex;align-items:center}.flex{display:flex}.grid{display:grid}.hidden{display:none}

/* ── Flex ────────────────────────────────────────────────── */
.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1 1 0%}
.flex-shrink-0{flex-shrink:0}.items-center{align-items:center}.items-start{align-items:flex-start}
.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.justify-start{justify-content:flex-start}

/* ── Gap ─────────────────────────────────────────────────── */
.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}
.gap-x-6{column-gap:1.5rem}.gap-y-2{row-gap:.5rem}

/* ── Grid ────────────────────────────────────────────────── */
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}

/* ── Sizing ──────────────────────────────────────────────── */
.w-full{width:100%}.w-10{width:2.5rem}.w-16{width:4rem}
.h-full{height:100%}.h-1{height:.25rem}.h-10{height:2.5rem}.min-h-screen{min-height:100vh}

/* ── Max-width ───────────────────────────────────────────── */
.max-w-4xl{max-width:56rem}.max-w-7xl{max-width:80rem}.max-w-xs{max-width:20rem}

/* ── Position ────────────────────────────────────────────── */
.relative{position:relative}.absolute{position:absolute}.sticky{position:sticky}
.top-0{top:0}.inset-0{inset:0}

/* ── Overflow / Object ───────────────────────────────────── */
.overflow-hidden{overflow:hidden}.object-cover{object-fit:cover}

/* ── Z-index ─────────────────────────────────────────────── */
.z-50{z-index:50}

/* ── Margin ──────────────────────────────────────────────── */
.mx-auto{margin-left:auto;margin-right:auto}
.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}
.mt-8{margin-top:2rem}.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}
.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}
.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}
.mr-1{margin-right:.25rem}.ml-auto{margin-left:auto}

/* ── Padding ─────────────────────────────────────────────── */
.p-4{padding:1rem}.p-6{padding:1.5rem}.p-10{padding:2.5rem}
.px-2\.5{padding-left:.625rem;padding-right:.625rem}
.px-3{padding-left:.75rem;padding-right:.75rem}
.px-4{padding-left:1rem;padding-right:1rem}
.px-5{padding-left:1.25rem;padding-right:1.25rem}
.px-6{padding-left:1.5rem;padding-right:1.5rem}
.px-8{padding-left:2rem;padding-right:2rem}
.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}
.py-1{padding-top:.25rem;padding-bottom:.25rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}
.py-3{padding-top:.75rem;padding-bottom:.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.py-6{padding-top:1.5rem;padding-bottom:1.5rem}
.py-10{padding-top:2.5rem;padding-bottom:2.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}
.py-14{padding-top:3.5rem;padding-bottom:3.5rem}
.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}
.pb-2{padding-bottom:.5rem}.pb-6{padding-bottom:1.5rem}

/* ── Typography ──────────────────────────────────────────── */
.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}
.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}
.font-medium{font-weight:500}.font-semibold{font-weight:600}
.font-bold{font-weight:700}.font-extrabold{font-weight:800}
.leading-tight{line-height:1.25}.leading-snug{line-height:1.375}.leading-relaxed{line-height:1.625}
.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}
.uppercase{text-transform:uppercase}.text-center{text-align:center}

/* ── Text color ──────────────────────────────────────────── */
.text-white{color:#fff}
.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}
.text-gray-700{color:#374151}.text-gray-800{color:#1f2937}.text-gray-900{color:#111827}
.text-red-600{color:#dc2626}

/* ── Background ──────────────────────────────────────────── */
.bg-white{background-color:#fff}.bg-gray-50{background-color:#f9fafb}
.bg-gray-900{background-color:#111827}.bg-gray-800{background-color:#1f2937}
.bg-red-50{background-color:#fef2f2}.bg-red-600{background-color:#dc2626}
.bg-white\/20{background-color:rgba(255,255,255,.2)}

/* ── Border ──────────────────────────────────────────────── */
.border{border-width:1px;border-style:solid;border-color:#e5e7eb}
.border-t{border-top:1px solid #e5e7eb}.border-b{border-bottom:1px solid #e5e7eb}
.border-gray-100{border-color:#f3f4f6}.border-gray-200{border-color:#e5e7eb}
.border-gray-800{border-color:#1f2937}.border-red-600{border-color:#dc2626}

/* ── Border radius ───────────────────────────────────────── */
.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}
.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}

/* ── Shadow ──────────────────────────────────────────────── */
.shadow-sm{box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}

/* ── Transition ──────────────────────────────────────────── */
.transition{transition-property:color,background-color,border-color,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}
.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}
.duration-300{transition-duration:300ms}

/* ── Hover ───────────────────────────────────────────────── */
.hover\:text-red-600:hover{color:#dc2626}
.hover\:text-white:hover{color:#fff}
.hover\:bg-red-700:hover{background-color:#b91c1c}
.hover\:shadow-md:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}
.hover\:scale-105:hover{transform:scale(1.05)}

/* ── Group hover ─────────────────────────────────────────── */
.group:hover .group-hover\:text-red-600{color:#dc2626}
.group:hover .group-hover\:bg-red-600{background-color:#dc2626}
.group:hover .group-hover\:text-white{color:#fff}
.group:hover .group-hover\:scale-105{transform:scale(1.05)}

/* ── Responsive: sm 640px ────────────────────────────────── */
@media(min-width:640px){
  .sm\:inline{display:inline}
  .sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
  .sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}
  .sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}
  .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm\:col-span-2{grid-column:span 2/span 2}
}

/* ── Responsive: md 768px ────────────────────────────────── */
@media(min-width:768px){
  .md\:flex-row{flex-direction:row}
  .md\:items-center{align-items:center}
  .md\:justify-between{justify-content:space-between}
  .md\:inline-block{display:inline-block}
}

/* ── Responsive: lg 1024px ───────────────────────────────── */
@media(min-width:1024px){
  .lg\:px-8{padding-left:2rem;padding-right:2rem}
  .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}
