/* Page Styles */

/* Page Hero Section */
.page-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Policy Page Hero (Simple Design) */
.policy-hero {
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.policy-hero .page-hero-content {
    text-align: center;
}

.policy-hero .page-title {
    color: #333;
    font-size: 36px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 104, 151, 0.8) 0%, rgba(14, 74, 109, 0.8) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin: 10px 0 5px;
    letter-spacing: 1px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #0058A2;
}

.breadcrumb-item::after {
    content: '>';
    margin: 0 10px;
    color: #999;
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

/* Page Content */
.page-content {
    padding: 60px 0 100px;
}

.page-article {
    text-align: left;
}

/* Policy Page Specific Styles */
.policy-content {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-top: 30px;
}

.policy-content h2 {
    font-size: 24px;
    color: #333;
    border-left: 4px solid #0058A2;
    padding-left: 15px;
    margin: 30px 0 20px;
}

.policy-content h3 {
    font-size: 18px;
    color: #555;
    margin: 25px 0 15px;
}

.policy-content p {
    font-size: 15px;
    line-height: 2;
    color: #555;
}

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

.policy-content li {
    font-size: 15px;
    line-height: 2;
    color: #555;
    margin-bottom: 10px;
}

.page-article h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

.page-article h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px;
}

.page-article p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.page-article ul,
.page-article ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-article li {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

/* Company Info */
.company-info {
    margin-top: 40px;
}

.info-logo {
    text-align: center;
    margin-bottom: 40px;
}

.info-logo img {
    max-width: 250px;
    height: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.info-table th {
    width: 180px;
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.info-table td {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Related Articles Section */
.related-articles {
    padding: 30px 0;
    background: #f8f9fa;
}

.related-articles .container {
    padding: 0 30px;
}

.related-articles .section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.no-articles {
    text-align: center;
    font-size: 16px;
    color: #999;
    padding-bottom: 20px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e5e5e5;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.article-content {
    padding: 20px;
}

.article-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-hero {
        height: 350px;
    }
    
    .page-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-articles {
        padding: 40px 0;
    }

    .related-articles .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .page-hero {
        height: 300px;
        margin-top: 60px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-content {
        padding: 40px 0 60px;
    }

    .page-article h2 {
        font-size: 26px;
    }

    .page-article h3 {
        font-size: 20px;
    }

    .page-article p,
    .page-article li {
        font-size: 15px;
    }

    .info-table {
        font-size: 14px;
    }

    .info-table th,
    .info-table td {
        padding: 15px;
        display: block;
        width: 100%;
    }

    .info-table th {
        background: #f8f9fa;
        border-bottom: none;
        font-weight: 700;
    }

    .info-table td {
        padding-top: 10px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 250px;
    }
    
    .page-category {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .breadcrumb {
        padding: 12px 0;
    }
    
    .breadcrumb-list {
        font-size: 12px;
    }
    
    .page-article h2 {
        font-size: 22px;
        margin: 30px 0 15px;
    }
    
    .page-article h3 {
        font-size: 18px;
        margin: 25px 0 12px;
    }
    
    .info-logo img {
        max-width: 200px;
    }
}