/* Trend Monitor — journal theme */

body {
    font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
    background-color: #f8f9fa;
    color: #212529;
}

h1, h2, h3, h4, h5, h6,
.tm-brand,
.tm-article-title {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar */
.tm-navbar {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.tm-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.tm-brand i {
    color: #e94560;
    margin-right: .25rem;
}

.tm-brand-accent {
    color: #e94560;
}

.tm-navbar .nav-link {
    font-family: 'PT Serif', serif;
    font-size: 1rem;
}

.tm-navbar .nav-link:hover {
    color: #e94560 !important;
}

/* Page header */
.tm-page-header {
    border-bottom: 3px double #dee2e6;
    padding-bottom: 1rem;
}

.tm-page-header h1 {
    font-size: 2.2rem;
}

/* Cards */
.tm-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12) !important;
}

.tm-card-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.tm-card-meta {
    font-size: .8rem;
}

.tm-card-title {
    color: #212529;
}

.tm-card-title:hover {
    color: #e94560;
}

.tm-read-more {
    font-size: .9rem;
    color: #e94560;
    font-weight: 700;
    text-decoration: none;
}

.tm-read-more:hover {
    text-decoration: underline;
}

/* Article page */
.tm-article-title {
    font-size: 2.4rem;
    line-height: 1.25;
}

.tm-article-meta {
    font-size: .95rem;
}

.tm-article-meta i {
    margin-right: .35rem;
}

.tm-article-content {
    font-size: 1.1rem;
    line-height: 1.75;
}

.tm-article-content p {
    margin-bottom: 1.1rem;
}

.tm-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.tm-article-content blockquote {
    border-left: 4px solid #e94560;
    padding-left: 1rem;
    color: #6c757d;
    font-style: italic;
}

.tm-article-content h2,
.tm-article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tm-article-content ul,
.tm-article-content ol {
    padding-left: 1.5rem;
}

.tm-article-content a {
    color: #e94560;
}

/* Footer */
.tm-footer {
    background: #fff;
}

/* Responsive */
@media (max-width: 767.98px) {
    .tm-article-title {
        font-size: 1.8rem;
    }

    .tm-page-header h1 {
        font-size: 1.7rem;
    }

    .tm-card-img {
        height: 160px;
    }
}
