/* ===== Base ===== */
* { box-sizing: border-box; }

:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e5e7eb;

  /* Accent palette */
  --primary: #1d4ed8;     /* blue */
  --primarySoft: #eff6ff; /* light blue */
  --accent: #10b981;      /* green for highlights */
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(
  135deg,
  #f6f8ff 0%,
  #eef2ff 40%,
  #fdfbff 100%
);
  color: var(--text);
  line-height: 1.7;
}body::before {
  content: "";
  position: fixed;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(109, 140, 255, 0.15), transparent 70%);
  z-index: -1;
}

/* ===== Layout ===== */
header, main, footer{
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 18px;
}

header{
  padding-top: 44px;
  padding-bottom: 14px;
  text-align: center;
}

main{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* ===== Typography / hierarchy ===== */
h1{
  margin: 0 0 10px 0;
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

header p{
  margin: 0 0 16px 0;
  color: var(--muted);
}

main h1{
  font-size: 1.8rem;
  margin-top: 0;
}

h2{
  margin: 26px 0 12px;
  font-size: 1.25rem;
  color: var(--text);
}

/* ===== Navigation ===== */
nav{
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a{
  text-decoration: none;
  color: var(--primary);
  font-weight: 650;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primarySoft);
  border: 1px solid #dbeafe;
}

nav a:hover{
  background: #dbeafe;
}

/* ===== Post list (keep UL/LI structure!) ===== */
.post-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li{
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.post-list li:last-child{
  border-bottom: none;
}

.post-list a{
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

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

.date{
  color: #6b7280;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ===== Nice “featured” section look (optional headings) ===== */
hr{
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

/* ===== Images ===== */
.image-grid{
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.image-grid img{
  width: 210px;
  max-width: 46vw;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

/* ===== Links inside main ===== */
main a{
  color: var(--primary);
}

/* ===== Footer ===== */
footer{
  text-align: center;
  color: #64748b;
  padding-bottom: 40px;
}/* ===== Capstone Post Styling ===== */

.post-container {
  max-width: 800px;
  margin: 60px auto;
  background: var(--card);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.post-container h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary);
}

.post-container h2 {
  margin-top: 40px;
  color: var(--text);
}

.post-container h3 {
  margin-top: 25px;
  color: var(--primary);
}

.post-container .intro {
  font-size: 18px;
  font-weight: 500;
}

.tool-section {
  background-color: var(--primarySoft);
  padding: 20px;
  border-left: 4px solid var(--primary);
  margin-top: 20px;
  border-radius: 8px;
}

.post-container ul {
  margin-top: 10px;
  margin-bottom: 20px;
}

.post-container .conclusion {
  font-weight: 600;
  margin-top: 30px;
  font-size: 18px;
}/* ===== Table Styling Fix ===== */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 14px 16px;
  text-align: left;
}

th {
  background-color: var(--primarySoft);
  color: var(--text);
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #f9fbff;
}

td {
  border-bottom: 1px solid var(--border);
}/* ===== Homepage Hero Section ===== */

.hero {
  text-align: center;
  padding: 60px 20px 40px 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.hero h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.post-list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

.post-list a:hover {
  color: var(--primary);
}

.date {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}.ai-images h2 {
  text-align: center;
}h2 {
  text-align: center;
}.newsletter-intro {
  background: white;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}nav a {
  margin: 0 12px;
  font-weight: 500;
}/* ===== Artsy Background (soft paper + paint blobs) ===== */

/* subtle paper texture using layered gradients (no images needed) */
body{
  background:
    radial-gradient(circle at 12% 18%, rgba(16,185,129,0.10), transparent 40%),
    radial-gradient(circle at 88% 20%, rgba(29,78,216,0.12), transparent 42%),
    radial-gradient(circle at 20% 86%, rgba(244,114,182,0.10), transparent 40%),
    linear-gradient(135deg, #f6f8ff 0%, #eef2ff 40%, #fdfbff 100%);
}

/* floating blob highlights */
body::before,
body::after{
  content:"";
  position: fixed;
  width: 520px;
  height: 520px;
  z-index: -1;
  filter: blur(1px);
  opacity: 0.9;
  pointer-events: none;
}

body::before{
  top: -240px;
  left: -240px;
  background: radial-gradient(circle, rgba(29,78,216,0.20), transparent 65%);
}

body::after{
  bottom: -260px;
  right: -260px;
  background: radial-gradient(circle, rgba(16,185,129,0.18), transparent 65%);
}/* ===== Header / Nav polish ===== */
header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(246,248,255,0.75);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

nav{
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

nav a{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

nav a:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  background: white;
  text-decoration: none;
}/* ===== Post list as cards ===== */
.post-list li{
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

/* artsy accent stripe */
.post-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.9;
}

.post-list li:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}

.post-list a{
  font-size: 1.05rem;
}

.date{
  margin-top: 6px;
}/* ===== Hero artsy treatment ===== */
.hero h1{
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
  display: inline-block;
}

/* hand-drawn-ish underline */
.hero h1::after{
  content:"";
  display:block;
  height: 10px;
  margin: 10px auto 0;
  width: 70%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(29,78,216,0.25), rgba(16,185,129,0.25), rgba(244,114,182,0.22));
}.tagline{
  font-style: italic;
  opacity: 0.75;
  margin-top: 10px;
  font-size: 0.95rem;
}



