/* ===============================================
   PAGES.CSS - STYLES FOR INNER PAGES
   =============================================== */

/* Main content area for all inner pages */
.page-content {
    padding-top: 150px; /* Adjust to be below the fixed header */
    padding-bottom: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    min-height: calc(100vh - 250px); /* Ensures content fills the screen down to the footer */
}

/* Header section for page titles */
.page-header {
    background: #2c5675;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Basic Laws Page --- */
.law-section .law-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-left: 5px solid #64b5f6;
    gap: 25px;
}

.law-card .law-icon i {
    font-size: 36px;
    color: #2c5675;
    padding-top: 5px;
}

.law-card .law-text h2 {
    color: #2c5675;
    margin-bottom: 10px;
}

.law-card .law-text p {
    color: #555;
    line-height: 1.7;
}

.disclaimer-box {
    background: #eef5fa;
    border: 1px solid #d1e3f0;
    border-left: 5px solid #28a745;
    padding: 20px;
    margin-top: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.disclaimer-box i {
    color: #28a745;
    font-size: 24px;
}

.disclaimer-box p {
    margin: 0;
    color: #333;
}

/* --- Publications Page --- */
.publication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.publication-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.publication-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.publication-category {
    background: #64b5f6;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start;
}

.publication-card.downloadable .publication-category {
    background: #28a745;
}

.publication-content h3 {
    color: #2c5675;
    margin-bottom: 15px;
    font-size: 20px;
}

.publication-content p {
    color: #555;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn-read-more, .btn-download {
    text-decoration: none;
    color: #2c5675;
    font-weight: bold;
    transition: color 0.3s;
    align-self: flex-start;
}

.btn-read-more:hover, .btn-download:hover {
    color: #64b5f6;
}

.btn-download {
    background: #2c5675;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-download:hover {
    background: #1e3a5f;
    color: white;
    transform: translateY(-2px);
}

/* --- Contact Page Specific --- */
.contact-page-section {
    padding: 60px 0;
}