/* ---- NEWS STYLES ---- */

/* ── News Cards ─────────────────────────────────── */
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: var(--gold-bg);
}

.news-card-image {
    height: 240px;
    background: var(--ivory-dark);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.news-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-card:hover .news-card-image::after {
    opacity: 1;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.news-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: var(--gold);
}

.news-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.news-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.news-card:hover .news-read-more {
    gap: 10px;
    transform: translateX(3px);
}

/* News featured card (page 1) */
.news-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 56px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-featured-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    border-color: var(--gold-bg);
}

.news-featured-img {
    height: 480px;
    overflow: hidden;
    position: relative;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-featured-card:hover .news-featured-img img {
    transform: scale(1.05);
}

.news-featured-content {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--dark);
}

.news-featured-excerpt {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }

    .news-featured-img {
        height: 320px;
    }

    .news-featured-content {
        padding: 40px;
    }
}

/* News tag badges */
.news-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.news-tag-gold {
    background: var(--gold-light);
    color: var(--gold-dark);
}

.news-tag-dark {
    background: var(--dark);
    color: var(--white);
}

.news-tag-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

/* News list grid (news.php) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Pagination */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 64px;
}

.news-pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
}

.news-pag-btn:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.news-pag-active {
    background: var(--gold);
    color: var(--white) !important;
    border-color: var(--gold);
}

.news-pag-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* ── Article Detail Page ────────────────────────── */

/* Breadcrumb */
.article-breadcrumb {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.article-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: var(--gold);
}

.article-breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.4;
}

.article-breadcrumb span {
    color: var(--dark);
    font-weight: 600;
}

/* Hero image */
.article-hero-img {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
    background: var(--ivory-dark);
}

.article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article layout */
.article-page {
    padding: 80px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.article-main {
    max-width: 800px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.article-date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.article-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 32px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.article-lead {
    font-size: 1.25rem;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 48px;
    font-family: var(--font-serif);
    font-style: italic;
    opacity: 0.9;
    padding-left: 28px;
    border-left: 4px solid var(--gold);
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 28px;
}

.article-back {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.sidebar-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--dark);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.sidebar-related {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-article-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-article-item:hover .sidebar-article-title {
    color: var(--gold);
}

.sidebar-article-img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-article-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.sidebar-article-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
    transition: color 0.3s;
}

.sidebar-article-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.sidebar-cta-widget {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    border: none;
    color: var(--white);
    text-align: center;
}

.sidebar-cta-widget p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .article-sidebar {
        position: static;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-hero-img {
        height: 40vh;
        min-height: 300px;
    }

    .article-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .article-back {
        flex-direction: column;
    }

    .article-back .btn {
        width: 100%;
        justify-content: center;
    }
}



/* Review card */
.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
}

.review-card::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold-bg);
    position: absolute;
    top: 10px;
    left: 24px;
    line-height: 1;
}

.review-card p {
    font-size: 0.92rem;
    font-style: italic;
    margin-bottom: 16px;
}

.review-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gold);
}

.review-author::before {
    content: '— ';
}

/* Team card */
.team-card {
    text-align: left;
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.team-card .role {
    font-size: 0.82rem;
    color: var(--gold);
    font-style: italic;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 0.88rem;
    color: var(--text-light);
}


/* -------------------------------------- */

