/* ==========================================================================
   PORTAL HOME TEMPLATE
   ========================================================================== */

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.portal-hero {
    margin-bottom: 40px;
}

.portal-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.portal-hero-post {
    display: flex;
    flex-direction: column;
}

.portal-hero-link {
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
}

.portal-hero-link img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portal-hero-link:hover img {
    transform: scale(1.05);
}

.portal-hero-content {
    padding: 0;
}

.portal-cat-tag {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
}

.portal-hero-title {
    font-family: 'Georgia', serif;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 15px;
    font-weight: 700;
}

.portal-hero-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-hero-title a:hover {
    color: #0056b3;
}

.portal-hero-excerpt {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px;
}

.portal-meta {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #666;
}

.portal-meta a {
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.portal-meta a:hover {
    text-decoration: underline;
}

/* Hero Sidebar */
.portal-hero-sidebar {
    background: #f8f8f8;
    padding: 20px;
}

.portal-sidebar-title {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.portal-sidebar-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.portal-sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.portal-sidebar-thumb {
    flex-shrink: 0;
    display: block;
    overflow: hidden;
}

.portal-sidebar-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portal-sidebar-thumb:hover img {
    transform: scale(1.05);
}

.portal-sidebar-content {
    flex: 1;
}

.portal-sidebar-post-title {
    font-family: 'Georgia', serif;
    font-size: 14px;
    line-height: 1.3;
    margin: 0 0 5px;
    font-weight: 700;
}

.portal-sidebar-post-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-sidebar-post-title a:hover {
    color: #0056b3;
}

.portal-meta-small {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #999;
}

/* Section Titles */
.portal-section-title {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #111;
}

/* General Sections */
.portal-news-grid,
.portal-featured,
.portal-category-section,
.portal-list-section,
.portal-final-section {
    margin-bottom: 50px;
}

/* 4 Column Grid */
.portal-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* 3 Column Grid */
.portal-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card Styles */
.portal-card {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.portal-card-thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 12px;
}

.portal-card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portal-card-thumb:hover img {
    transform: scale(1.05);
}

.portal-card-content {
    flex: 1;
}

.portal-cat-small {
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.portal-card-title {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 700;
}

.portal-card-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-card-title a:hover {
    color: #0056b3;
}

/* Featured Section */
.portal-featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.portal-large-card {
    display: flex;
    flex-direction: column;
}

.portal-large-card a {
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
}

.portal-large-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portal-large-card a:hover img {
    transform: scale(1.05);
}

.portal-large-title {
    font-family: 'Georgia', serif;
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 12px;
    font-weight: 700;
}

.portal-large-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-large-title a:hover {
    color: #0056b3;
}

.portal-large-content p {
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Featured Side */
.portal-featured-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portal-small-card {
    display: flex;
    gap: 12px;
}

.portal-small-thumb {
    flex-shrink: 0;
    display: block;
    overflow: hidden;
}

.portal-small-thumb img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portal-small-thumb:hover img {
    transform: scale(1.05);
}

.portal-small-content {
    flex: 1;
}

.portal-small-title {
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 700;
}

.portal-small-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-small-title a:hover {
    color: #0056b3;
}

/* List Section */
.portal-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.portal-list-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.portal-list-thumb {
    flex-shrink: 0;
    display: block;
    overflow: hidden;
}

.portal-list-thumb img {
    width: 150px;
    height: 110px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portal-list-thumb:hover img {
    transform: scale(1.05);
}

.portal-list-content {
    flex: 1;
}

.portal-list-title {
    font-family: 'Georgia', serif;
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-weight: 700;
}

.portal-list-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-list-title a:hover {
    color: #0056b3;
}

/* Responsive */
@media (max-width: 1024px) {
    .portal-hero-grid {
        grid-template-columns: 1fr;
    }

    .portal-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .portal-grid-4,
    .portal-grid-3,
    .portal-list-grid {
        grid-template-columns: 1fr;
    }

    .portal-hero-link img {
        height: 250px;
    }

    .portal-hero-title {
        font-size: 24px;
    }
}