/* ===========================
   GENERAL STYLES
=========================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f6fa;
    color: #1f2937;
    line-height: 1.7;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.05em;
    font-family: 'Dyson Sans Modern', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
    background-color: #fff;
}

.navbar .nav-link {
    font-weight: 500;
    color: #1f2937;
}

.navbar .nav-link:hover {
    color: #4f46e5;
}

/* ===========================
   CARDS
=========================== */
.card {
    border-radius: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ===========================
   BUTTONS
=========================== */
.btn-gradient {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 0.75rem;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* ===========================
   FOOTER
=========================== */
footer {
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
}

/* ===========================
   BLOG CONTENT
=========================== */
.blog-content {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    word-break: break-word;
}

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.blog-content th,
.blog-content td {
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    text-align: left;
}

.blog-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Striped rows */
.blog-content tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Table caption */
.blog-content caption {
    caption-side: top;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Ordered lists indexing */
.blog-content ol {
    counter-reset: item;
    padding-left: 1.5rem;
}

.blog-content ol li {
    display: block;
    position: relative;
    counter-increment: item;
    margin-bottom: 0.5rem;
}

.blog-content ol li::before {
    content: counter(item) ". ";
    position: absolute;
    left: -1.5rem;
    font-weight: 600;
}

/* Trumbowyg editor minimum height */
.trumbowyg-editor {
    min-height: 400px;
}
