:root {
    --dark-bg: #0A0A0A;
    --dark-card-bg: #1A1A1A;
    --light-text: #E0E0E0;
    --white-text: #FFFFFF;
    --accent-color: #7B6E9D;
    --hover-accent: #9A8BBF;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {color: var(--white-text);}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--white-text);
    margin-bottom: 25px;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {padding: 80px 0; text-align: center;}

header {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); 
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

header .logo img {height: 60px; margin-left: 20px;}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-right: 20px;
}

header nav ul li {margin-left: 35px;}

header nav ul li a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}
td{padding-right: 25px;}
th{padding-bottom: 15px;}
header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after, header nav ul li a.active::after {width: 100%;}
header nav ul li a.active {color: var(--white-text);}

.hero {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('./bck.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 180px 20px;
    color: var(--white-text);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.2em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    padding: 18px 35px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    background-color: var(--hover-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.post-grid, .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.post-card, .category-item {
    background-color: var(--dark-card-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.post-card:hover, .category-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    background-color: #252525;
}

.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.post-card h3 {
    margin-top: 0;
    font-size: 1.6em;
    line-height: 1.3;
    text-align: left;
    margin-bottom: 10px;
}

.post-card p {
    font-size: 1em;
    color: var(--light-text);
    text-align: left;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 0.85em;
    color: var(--accent-color);
    text-align: left;
    margin-top: 15px;
}

.post-card .read-more-btn {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.post-card .read-more-btn:hover {
    color: var(--white-text);
    text-decoration: underline;
}

.category-item {text-align: center; padding: 30px;}

.category-item h3 {font-size: 1.8em; margin-bottom: 10px;}

.category-item p {
    font-size: 1.05em;
    color: var(--light-text);
    margin-bottom: 0;
}

.about-us p {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
    line-height: 1.8;
}

.post-content-section {padding: 60px 0; background-color: var(--dark-bg);}

.post-header {
    text-align: center;
    margin-bottom: 50px;
    position: unset;
    padding-top: 40px;
}

.post-header h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.post-meta-single {
    font-size: 1em;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.post-body {
    font-size: 1.15em;
    text-align: justify;
    margin-bottom: 60px;
    width: 80%; 
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}
.post-body > p > img, .post-body > img{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.post-body p {margin-bottom: 1.8em;}

.post-body h2, .post-body h3, .post-body h4 {
    text-align: left;
    margin-top: 2.5em;
    margin-bottom: 1em;
    color: var(--white-text);
    font-weight: 700;
}

.post-body ul, .post-body ol {
    margin-bottom: 1.8em;
    padding-left: 30px;
    list-style-type: disc;
}

.post-body strong {color: var(--white-text); font-weight: 700;}

.post-body a {
    color: var(--hover-accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-body a:hover {color: var(--white-text);}

.related-posts {
    background-color: var(--dark-card-bg);
    border-top: 1px solid var(--dark-bg);
    padding: 80px 0;
}

.related-posts h2 {text-align: center; margin-bottom: 40px;}

footer {
    background-color: var(--dark-card-bg);
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid var(--dark-bg);
    margin-top: 80px;
}

footer .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

footer .footer-nav ul li {margin: 0 20px;}

footer .footer-nav ul li a {
    font-weight: 400;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

footer .footer-nav ul li a:hover {color: var(--white-text);}

.social-icons {margin-bottom: 30px;}

.social-icons a {
    display: inline-block;
    margin: 0 15px;
    font-size: 1.8em;
    color: var(--light-text);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {color: var(--hover-accent); transform: scale(1.1);}

footer p {font-size: 0.9em; color: var(--accent-color);}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    header .logo {margin-bottom: 10px;}
    header .logo img {height: 50px; margin-left: 15px;}
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-right: 0;
        width: 100%;
        padding: 0 15px;
    }
    header nav ul li {margin: 5px 15px;}
    .hero {padding: 120px 15px;}
    .hero h1 {font-size: 2.8em;}
    .hero p {font-size: 1.1em;}
    section {padding: 60px 0;}
    .post-grid, .categories-grid {grid-template-columns: 1fr; gap: 25px;}
    .post-card, .category-item {padding: 20px;}
    .post-card img {height: 180px;}
    .post-card h3 {font-size: 1.4em;}
    .category-item h3 {font-size: 1.6em;}
    .about-us p, .post-body {font-size: 1em; line-height: 1.7;}
    .post-header h1 {font-size: 2.2em;}
    .post-featured-image {height: 300px;}
    footer .footer-nav ul {flex-direction: column; align-items: center;}
    footer .footer-nav ul li {margin-bottom: 10px;}
}

@media (max-width: 480px) {
    header .logo img {height: 45px;}
    header nav ul li {margin: 5px 10px; font-size: 0.9em;}
    .hero {padding: 100px 10px;}
    .hero h1 {font-size: 2.2em;}
    .hero p {font-size: 0.95em;}
    .btn {padding: 12px 25px; font-size: 0.9em;}
    .post-card h3 {font-size: 1.2em;}
    .post-card p {font-size: 0.9em;}
    .post-header h1 {font-size: 1.8em;}
    .post-featured-image {height: 220px;}
    .social-icons a {font-size: 1.3em; margin: 0 8px;}
}