/* assets/css/portal-page.css */

/* Basic Reset & Defaults (if not already globally handled) */
body {
    font-family: 'Sarabun', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6; color: #333; background-color: #f8f9fa; font-size: 16px;
    display: flex; flex-direction: column; min-height: 100vh;
}

/* Page Title Container (Copied from apply-page.css for consistency, adjust if needed) */
.page-title-container {
    background-color: #003366; /* Dark Blue */
    color: #fff;
    padding: 40px 0 30px;
    text-align: center;
}
.page-title-container h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.page-title-container .breadcrumbs ol {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
.page-title-container .breadcrumbs ol li {
    display: inline-block;
    font-size: 0.9rem;
}
.page-title-container .breadcrumbs ol li+li::before {
    content: "/";
    margin: 0 10px;
    color: rgba(255,255,255,0.7);
}
.page-title-container .breadcrumbs ol li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.page-title-container .breadcrumbs ol li.current {
    color: #fff;
    font-weight: 500;
}
.page-title-container p.subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 10px auto 0;
}

/* Main Content Section */
main.main {
    flex-grow: 1;
    padding: 40px 0;
}
.content-section {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}
.content-section h2 {
    color: #003366; /* Dark Blue */
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ad4e; /* FETP Orange */
}
.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Portal Card Styles */
.portal-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in the same row have same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.portal-card-icon {
    font-size: 3rem;
    color: #003366; /* Dark Blue */
    margin-bottom: 15px;
}
.portal-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #003366; /* Dark Blue */
    margin-bottom: 10px;
}
.portal-card-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take available space */
}
.btn-portal {
    background-color: #f0ad4e; /* FETP Orange */
    color: #003366; /* Dark Blue */
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.btn-portal:hover {
    background-color: #e69500; /* Darker Orange */
    color: #002244; /* Darker Blue */
}
.btn-portal i {
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .page-title-container h1 { font-size: 2.2rem; }
    .content-section h2 { font-size: 1.5rem; }
    .portal-card-title { font-size: 1.3rem; }
}
