/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Color Palette */
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-dark: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-accent: #cccccc;
    --accent-color: #8a6d3b;
    --accent-hover: #6b542f;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
    
    /* Light Theme Color Palette */
    --primary-light: #ffffff;
    --secondary-light: #f5f5f5;
    --accent-light: #e0e0e0;
    --text-primary-light: #212121;
    --text-secondary-light: #757575;
    --text-accent-light: #424242;
    --accent-color-light: #8a6d3b;
    --accent-hover-light: #6b542f;
    --border-color-light: #e0e0e0;
    --shadow-color-light: rgba(0, 0, 0, 0.1);
    
    /* Material Design Shadows */
    --material-shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --material-shadow-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --material-shadow-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --material-shadow-4: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    --material-shadow-5: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
    
    /* Material Design Spacing */
    --material-spacing-xs: 4px;
    --material-spacing-sm: 8px;
    --material-spacing-md: 16px;
    --material-spacing-lg: 24px;
    --material-spacing-xl: 32px;
    
    /* Material Design Colors */
    --material-primary: #1976d2;
    --material-secondary: #f50057;
    --material-success: #4caf50;
    --material-warning: #ff9800;
    --material-error: #f44336;
    
    /* Current theme variables */
    --primary-bg: var(--primary-dark);
    --secondary-bg: var(--secondary-dark);
    --accent-bg: var(--accent-dark);
    --text-primary-color: var(--text-primary);
    --text-secondary-color: var(--text-secondary);
    --text-accent-color: var(--text-accent);
    --accent-theme-color: var(--accent-color);
    --accent-theme-hover: var(--accent-hover);
    --border-theme-color: var(--border-color);
    --shadow-theme-color: var(--shadow-color);
    --material-shadow: var(--material-shadow-2);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--accent-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-theme-color);
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(138, 109, 59, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    text-align: center;
}

.lawyer-photo {
    position: relative;
    display: inline-block;
}

.lawyer-photo img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 20px 40px var(--shadow-color);
    border: 3px solid var(--accent-color);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--secondary-bg);
    transition: background-color 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--accent-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-theme-color);
    box-shadow: var(--material-shadow);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--primary-bg);
    transition: background-color 0.3s ease;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credential-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.credential-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    min-width: 30px;
    margin-top: 5px;
}

.credential-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.credential-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--secondary-bg);
    transition: background-color 0.3s ease;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    min-width: 30px;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    background-color: var(--accent-dark);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-theme-color);
    border-radius: 5px;
    background-color: var(--primary-bg);
    color: var(--text-primary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--material-shadow-1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(138, 109, 59, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background-color: var(--primary-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-theme-color);
    transition: background-color 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle-container {
    display: flex;
    align-items: center;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(20deg);
}

/* Material Design Card Styles */
.material-card {
    background: var(--accent-bg);
    border-radius: 8px;
    box-shadow: var(--material-shadow);
    transition: box-shadow 0.3s ease;
    border: 1px solid var(--border-theme-color);
}

.material-card:hover {
    box-shadow: var(--material-shadow-3);
}

/* Material Design Button Styles */
.material-btn {
    border-radius: 4px;
    padding: 12px 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--material-shadow-1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.material-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.material-btn:active::after {
    width: 300px;
    height: 300px;
}

.material-btn:hover {
    box-shadow: var(--material-shadow-2);
}

.material-btn:active {
    box-shadow: var(--material-shadow-1);
    transform: translateY(2px);
}

/* Material Design Input Styles */
.material-input {
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-bg);
    color: var(--text-primary-color);
    border-bottom: 2px solid var(--border-theme-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.material-input:focus {
    outline: none;
    border-bottom-color: var(--accent-theme-color);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--secondary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* News Page Specific Styles */
.news-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(138, 109, 59, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.news-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.news-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.news-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.news-categories {
    background-color: var(--secondary-dark);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-btn {
    padding: 10px 20px;
    background-color: var(--accent-dark);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--accent-color);
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.news-section {
    padding: 4rem 0;
    background-color: var(--primary-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background-color: var(--accent-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--accent-color);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-category-tag.company {
    background-color: #28a745;
}

.news-category-tag.events {
    background-color: #17a2b8;
}

.news-category-tag.updates {
    background-color: #ffc107;
    color: var(--primary-dark);
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-hover);
    gap: 10px;
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--secondary-dark);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form input::placeholder {
    color: var(--text-secondary);
}

/* News Page Responsive */
@media screen and (max-width: 768px) {
    .news-title {
        font-size: 2.2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-wrapper {
        justify-content: flex-start;
    }
    
    .category-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .news-hero {
        min-height: 300px;
        padding-top: 60px;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-subtitle {
        font-size: 1rem;
    }
    
    .news-section {
        padding: 2rem 0;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.news-preview {
    padding: 5rem 0;
    background-color: var(--secondary-dark);
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.news-preview-item {
    background-color: var(--accent-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.news-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
    border-color: var(--accent-color);
}

.news-preview-image {
    height: 180px;
    overflow: hidden;
}

.news-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-preview-item:hover .news-preview-image img {
    transform: scale(1.05);
}

.news-preview-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: block;
}

.news-preview-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-preview-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-preview-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Additional responsive fixes */
@media screen and (max-width: 768px) {
    .news-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* News Detail Page Styles */
.news-detail-hero {
    padding: 4rem 0 2rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.news-detail-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.news-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.news-date,
.news-author {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.news-category {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.news-category.legal {
    background-color: var(--accent-color);
    color: var(--text-primary);
}

.news-category.company {
    background-color: #28a745;
    color: var(--text-primary);
}

.news-category.events {
    background-color: #17a2b8;
    color: var(--text-primary);
}

.news-category.updates {
    background-color: #ffc107;
    color: var(--primary-dark);
}

.news-detail-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-detail-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.news-detail-content {
    padding: 3rem 0 5rem;
    background-color: var(--primary-dark);
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
}

.news-image-full {
    margin-bottom: 2rem;
}

.news-image-full img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.article-content {
    margin-bottom: 3rem;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-accent);
}

.article-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 1.8rem 0 1rem 0;
    color: var(--text-primary);
}

.article-content h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    color: var(--text-primary);
}

.article-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-accent);
}

.article-content ul li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.article-content blockquote {
    background-color: var(--secondary-dark);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-accent);
    position: relative;
}

.article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: 10px;
    color: var(--accent-color);
    opacity: 0.3;
}

.recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.recommendation-card {
    background-color: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.recommendation-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.recommendation-card ul {
    margin: 0;
}

.recommendation-card ul li {
    margin-bottom: 0.5rem;
}

.achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.achievement-item {
    background-color: var(--secondary-dark);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.achievement-item h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.achievement-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.share-section {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.share-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: var(--secondary-dark);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.share-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.share-btn.facebook:hover {
    background-color: #3b5998;
}

.share-btn.twitter:hover {
    background-color: #1da1f2;
}

.share-btn.linkedin:hover {
    background-color: #0077b5;
}

.share-btn.telegram:hover {
    background-color: #0088cc;
}

.related-news {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-news h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-item {
    background-color: var(--secondary-dark);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

/* News Detail Responsive */
@media screen and (max-width: 768px) {
    .news-detail-title {
        font-size: 2rem;
    }
    
    .news-detail-subtitle {
        font-size: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .news-image-full img {
        height: 300px;
    }
    
    .recommendations,
    .achievements {
        grid-template-columns: 1fr;
    }
    
    .social-share {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .news-detail-title {
        font-size: 1.6rem;
    }
    
    .news-detail-hero {
        padding: 3rem 0 1.5rem 0;
    }
    
    .news-image-full img {
        height: 250px;
    }
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}