/*
Theme Name: Legal Shield
Theme URI: https://yourcompany.com
Author: Your Company
Author URI: https://yourcompany.com
Description: Theme chuyên nghiệp dành cho công ty luật, chuyên về bảo vệ bản quyền và thông tin cá nhân trên môi trường online. Thiết kế hiện đại với landing page ấn tượng.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legal-shield
Tags: law, legal, professional, business, landing-page, responsive, custom-menu, custom-logo
*/

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

:root {
    --primary-color: #0d4f36;
    --secondary-color: #d4a574;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f5f7fa;
    --border-color: #e1e8ed;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========================================
   Container & Layout
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.wide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

@media (max-width: 768px) {
    .container,
    .wide-container {
        padding: 0 20px;
    }
}

/* ========================================
   Header Styles
======================================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-hover);
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.header-contact a {
    color: var(--white);
    margin-left: 20px;
}

.header-contact a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: 25px 0;
}

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

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
    max-width: 200px;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.site-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Navigation Menu
======================================== */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    margin: 0 15px;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px 18px;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-color);
}

/* Dropdown Menu */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: block;
}

.main-navigation li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.main-navigation .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
}

/* ========================================
   Hero Section (Landing Page)
======================================== */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d6a4f 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #b8985f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 168, 130, 0.4);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Services Section
======================================== */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

/* ========================================
   About Section
======================================== */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    height: 0;
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    margin: 30px 0;
}

.about-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.about-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--light-bg);
    padding: 45px 40px;
    border-radius: 10px;
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: start;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    background: var(--white);
    padding: 45px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    padding: 0 10px;
}

.footer-widget h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.25rem;
}

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

.footer-widget ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-widget a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* ========================================
   Blog & Posts
======================================== */
.content-area {
    padding: 60px 0;
    background: var(--light-bg);
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
}

.posts-container {
    display: grid;
    gap: 30px;
}

.post-article {
    background: var(--white);
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.post-article:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.post-thumbnail-wrapper {
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.post-article:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-content-wrapper {
    padding: 40px;
}

@media (max-width: 768px) {
    .post-content-wrapper {
        padding: 30px 25px;
    }
}

.post-title {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.8rem;
    line-height: 1.4;
}

.post-title a {
    color: var(--text-dark);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

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

.post-meta i {
    color: var(--primary-color);
}

.entry-content {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.entry-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: var(--transition);
}

.read-more:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Pagination */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 12px 18px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-dark);
    transition: var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========================================
   Sidebar
======================================== */
.sidebar {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .sidebar {
        padding: 25px;
    }
}

.widget {
    margin-bottom: 35px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 20px;
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Search Widget */
.widget_search .search-form {
    position: relative;
}

.widget_search input[type="search"] {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.widget_search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* ========================================
   Single Post Layout
======================================== */
.single-post-main .content-area {
    background: var(--light-bg);
}

.single-post-container {
    max-width: 900px;
    margin: 0 auto;
}

.single-post-article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.single-post-thumbnail {
    position: relative;
    padding-bottom: 50%; /* 2:1 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.single-post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single-post-content-wrapper {
    padding: 50px 60px;
}

@media (max-width: 768px) {
    .single-post-content-wrapper {
        padding: 35px 30px;
    }
}

.single-post-article .entry-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.single-post-article .entry-title {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .single-post-article .entry-title {
        font-size: 2rem;
    }
}

.single-post-article .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.single-post-article .post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post-article .post-meta i {
    color: var(--primary-color);
}

.single-post-article .entry-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.single-post-article .entry-content p {
    margin-bottom: 1.5em;
}

.single-post-article .entry-content h2,
.single-post-article .entry-content h3,
.single-post-article .entry-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--primary-color);
    font-weight: 700;
}

.single-post-article .entry-content h2 {
    font-size: 2rem;
}

.single-post-article .entry-content h3 {
    font-size: 1.6rem;
}

.single-post-article .entry-content h4 {
    font-size: 1.3rem;
}

.single-post-article .entry-content ul,
.single-post-article .entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.single-post-article .entry-content li {
    margin-bottom: 0.8em;
    line-height: 1.8;
}

.single-post-article .entry-content blockquote {
    margin: 2em 0;
    padding: 25px 30px;
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-light);
}

.single-post-article .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.single-post-article .entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.single-post-article .entry-content a:hover {
    color: var(--secondary-color);
}

.single-post-article .entry-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.single-post-article .tags-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.single-post-article .tags-links i {
    color: var(--primary-color);
}

.single-post-article .tags-links a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--light-bg);
    border-radius: 20px;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.9rem;
}

.single-post-article .tags-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.post-navigation a {
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    display: block;
}

.post-navigation a:hover {
    color: var(--primary-color);
}

.post-navigation .nav-previous {
    flex: 1;
    text-align: left;
}

.post-navigation .nav-next {
    flex: 1;
    text-align: right;
}

.post-navigation i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin: 50px 0;
}

.author-bio .author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-bio .author-info h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.author-bio .author-info a {
    color: var(--primary-color);
}

.author-bio .author-info a:hover {
    color: var(--secondary-color);
}

.author-bio .author-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .author-bio {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
    
    .author-bio .author-avatar {
        display: flex;
        justify-content: center;
    }
}

/* Comments Section */
.comments-area {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-top: 50px;
}

.comments-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    padding: 25px;
    margin-bottom: 25px;
    background: var(--light-bg);
    border-radius: 8px;
}

.comment-form {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 20px;
}

.comment-form textarea {
    min-height: 150px;
}

.comment-form input[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form input[type="submit"]:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .comments-area {
        padding: 30px 25px;
    }
}

/* ========================================
   Recent Posts Section (Homepage)
======================================== */
.recent-posts-section {
    background: var(--white);
}

.recent-post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recent-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.recent-post-image {
    position: relative;
    padding-bottom: 60%; /* 5:3 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.recent-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.recent-post-card:hover .recent-post-image img {
    transform: scale(1.08);
}

.recent-post-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.recent-post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.recent-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.recent-post-meta i {
    color: var(--primary-color);
}

.recent-post-title {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.recent-post-title a {
    color: var(--text-dark);
    transition: var(--transition);
}

.recent-post-title a:hover {
    color: var(--primary-color);
}

.recent-post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.recent-post-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: auto;
}

.recent-post-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.recent-post-link i {
    transition: var(--transition);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 992px) {
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .recent-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
    }
    
    .hero-section {
        height: 500px;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-posts-grid {
        grid-template-columns: 1fr !important;
    }
    
    .recent-post-content {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section {
        height: 450px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

