:root {
    --primary-dark: #263143;
    --primary-accent: #FAA200;
    --primary-light: #f8f9fa;
    --text-dark: #343a40;
    --text-light: #6c757d;
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url('../app/Comuns/font/montserrat/Montserrat-Light.otf');
}
@font-face {
    font-family: 'Montserrat-Medium';
    src: url('../app/Comuns/font/montserrat/Montserrat-Medium.otf');
}
@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../app/Comuns/font/montserrat/Montserrat-Bold.otf');
}


body {
    background-color: #f8f9fa;
    color: var(--text-dark);
    font-family: 'Montserrat-Light'; /*'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    line-height: 1.7;
}

/* h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
} */

/* Navbar customization */
.navbar-custom {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.85);
    transition: all 0.3s;
    font-weight: 500;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-accent);
}

.btn-custom {
    background-color: var(--primary-accent);
    color: var(--primary-dark);
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: #e09300;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hero section */
.post-hero {
    background-color: var(--primary-dark);
    padding: 100px 0 50px;
    color: white;
    margin-bottom: 60px;
}

.post-hero .post-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.post-meta {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.post-meta span {
    margin-right: 15px;
    display: inline-block;
}

.post-meta i {
    margin-right: 5px;
    color: var(--primary-accent);
}

.post-category {
    background-color: var(--primary-accent);
    color: var(--primary-dark);
    padding: 5px 15px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
}

/* Main content */
.post-content {
    margin-bottom: 60px;
}

.featured-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
}

.post-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.post-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-accent);
}

.post-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-accent);
    padding: 20px 30px;
    margin: 40px 0;
    background-color: #f8f9fa;
    font-style: italic;
    font-size: 1.2rem;
}

.post-content ul, .post-content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-tags {
    margin: 50px 0;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-tag {
    display: inline-block;
    background-color: #e9ecef;
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.post-tag:hover {
    background-color: var(--primary-accent);
    color: var(--primary-dark);
    text-decoration: none;
}

.vighapp-highlight {
    background-color: rgba(250, 162, 0, 0.1);
    border-left: 4px solid var(--primary-accent);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.vighapp-highlight h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.vighapp-highlight p {
    margin-bottom: 15px;
}

.toc {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.toc h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.toc ul {
    padding-left: 20px;
    margin: 0;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: var(--primary-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.toc a:hover {
    color: var(--primary-accent);
    text-decoration: none;
}

.sticky-toc {
    position: sticky;
    top: 20px;
}

/* Sidebar */
.sidebar-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar-card .card-header {
    background-color: var(--primary-dark);
    color: white;
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
    padding: 15px 20px;
}

.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

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

.sidebar-list li:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
}

.sidebar-list a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

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

.popular-post {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-post-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 15px;
}

.popular-post-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-accent);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-hero {
        padding: 80px 0 30px;
    }
    
    .post-hero .post-title {
        font-size: 2rem;
    }
}