/* ═══════════════════════════════════════
   Blog Section — Leads Icon
   Inherits: Alata headings, Segoe UI body
   Palette: Gold #C4A95E, Dark #161616,
   Blue #0B60AB, Orange #F16B41
   ═══════════════════════════════════════ */

/* ── Blog Banner ── */
.articlesBanner {
    background-color: #161616;
    padding: 140px 0 64px;
    border-bottom: 8px solid #C4A95E;
}
.articlesBanner .bannerText {
    margin-left: 48px;
    margin-right: 48px;
}
.articlesBanner .bannerText h1 {
    font-family: 'Alata', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 1.15;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.articlesBanner .bannerText p {
    font-size: 18px;
    line-height: 28px;
    color: rgba(255,255,255,0.7);
    font-family: 'Segoe UI', sans-serif;
    max-width: 600px;
}

/* ── Category Filter ── */
.cat-filter {
    padding: 40px 0 0;
    text-align: center;
    background: #f9f8f5;
}
.cat-filter .cat-nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.cat-filter .cat-nav a {
    padding: 10px 24px;
    font-size: 14px;
    color: #666;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 500;
    transition: 0.25s all ease;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #ddd;
    background: #fff;
}
.cat-filter .cat-nav a:hover,
.cat-filter .cat-nav a.active {
    background: #C4A95E;
    border-color: #C4A95E;
    color: #fff;
}

/* ── Blog Feed Grid ── */
.articles-feed {
    padding: 48px 0 80px;
    background: #f9f8f5;
}

/* Featured / First Article (full width) */
.blog-featured {
    margin-bottom: 48px;
}
.blog-featured .article-card {
    display: flex;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: 0.3s box-shadow ease;
}
.blog-featured .article-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.blog-featured .article-card-img {
    width: 50%;
    min-height: 360px;
    flex-shrink: 0;
}
.blog-featured .article-card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured .article-card h3 {
    font-size: 28px;
    line-height: 1.3;
}
.blog-featured .excerpt {
    font-size: 17px;
    line-height: 26px;
    -webkit-line-clamp: 4;
}

/* Regular Cards */
.article-card {
    display: block;
    margin-bottom: 32px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: 0.3s all ease;
}
.article-card:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.article-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.article-card-img .lang-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}
.article-card-body {
    padding: 24px;
}
.article-card-cats {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.article-card-cats span {
    font-size: 12px;
    color: #C4A95E;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
}
.article-card h3 {
    font-family: 'Alata', sans-serif;
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.article-card:hover h3 {
    color: #C4A95E;
}
.article-card .excerpt {
    font-size: 15px;
    line-height: 24px;
    color: #666;
    font-family: 'Segoe UI', sans-serif;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #C4A95E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Alata', sans-serif;
    flex-shrink: 0;
}
.meta-text {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    font-family: 'Segoe UI', sans-serif;
}
.meta-text strong {
    color: #333;
    font-weight: 600;
}

/* ── Badges ── */
.badge-lang {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-en { background: #0B60AB; color: #fff; }
.badge-es { background: #F16B41; color: #fff; }

/* ══════════ BLOG POST VIEW ══════════ */
.article-view {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}
.article-view .av-cats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.article-view .av-cats span {
    font-size: 13px;
    color: #C4A95E;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
}
.article-view h1 {
    font-family: 'Alata', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.article-view .av-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #999;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 2px solid #C4A95E;
    flex-wrap: wrap;
}
.article-view .av-meta strong {
    color: #333;
}
.article-view .av-hero-img {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}
.article-view .av-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
}
.article-view .av-content p {
    margin-bottom: 24px;
}
.article-view .av-content h2 {
    font-family: 'Alata', sans-serif;
    font-size: 28px;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}
.article-view .av-content h2:after {
    content: " ";
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background-color: #0B60AB;
}
.article-view .av-content blockquote {
    border-left: 4px solid #C4A95E;
    padding: 16px 24px;
    margin: 32px 0;
    color: #444;
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
    background: #f9f8f5;
}

/* ── Author Box ── */
.author-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: #161616;
    margin: 56px 0 32px;
    border-left: 4px solid #C4A95E;
}
.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #C4A95E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Alata', sans-serif;
    flex-shrink: 0;
}
.author-info h4 {
    font-size: 20px;
    color: #fff;
    font-family: 'Alata', sans-serif;
    margin-bottom: 6px;
}
.author-info p {
    font-size: 14px;
    line-height: 22px;
    color: rgba(255,255,255,0.6);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}

/* ── Share Bar ── */
.share-bar {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    color: #555;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: 0.25s all ease;
    text-decoration: none;
}
.share-btn:hover {
    background: #C4A95E;
    border-color: #C4A95E;
    color: #fff;
    text-decoration: none;
}
.share-btn i { font-size: 16px; }
.views-count {
    font-size: 15px;
    color: #999;
    margin-top: 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* ── Responsive Blog ── */
@media (max-width: 991px) {
    .articlesBanner { padding: 120px 0 48px; }
    .articlesBanner .bannerText { margin: 0 24px; }
    .articlesBanner .bannerText h1 { font-size: 42px; }
    .blog-featured .article-card { flex-direction: column; }
    .blog-featured .article-card-img { width: 100%; min-height: 240px; }
    .blog-featured .article-card-body { padding: 28px; }
    .blog-featured .article-card h3 { font-size: 24px; }
    .article-view h1 { font-size: 34px; }
    .article-view .av-hero-img { height: 280px; }
    .author-box { flex-direction: column; text-align: center; }
}
@media (max-width: 767px) {
    .articlesBanner .bannerText h1 { font-size: 32px; }
    .articlesBanner .bannerText p { font-size: 16px; }
    .cat-filter .cat-nav { gap: 6px; }
    .cat-filter .cat-nav a { padding: 8px 16px; font-size: 13px; }
    .article-card-img { height: 180px; }
    .article-view h1 { font-size: 28px; }
    .article-view .av-content { font-size: 16px; line-height: 1.75; }
    .share-btn { padding: 8px 14px; font-size: 13px; }
}

/* ── Custom paginator (.lc-pagination) ────────────────────────────────────────
   Replaces Laravel's default Tailwind paginator that was rendering as giant
   unstyled SVG chevrons + bare HTML boxes. Lives next to the feed cards and
   inherits the gold/dark palette so it actually looks like part of the site.
   ───────────────────────────────────────────────────────────────────────────── */
.lc-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 48px 0 8px;
    font-family: 'Alata', sans-serif;
    font-size: 15px;
    line-height: 1;
}

/* Each page link / span / disabled element. */
.lc-pagination .lc-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #1a1a1a;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    user-select: none;
}

.lc-pagination a.lc-page:hover {
    border-color: #C4A95E;
    color: #C4A95E;
    text-decoration: none;
}

.lc-pagination a.lc-page:focus-visible {
    outline: 2px solid #C4A95E;
    outline-offset: 2px;
}

/* Current page — solid gold. */
.lc-pagination .lc-page-active,
.lc-pagination .lc-page-active:hover {
    background: #C4A95E;
    border-color: #C4A95E;
    color: #fff;
    cursor: default;
}

/* Disabled prev/next + "..." separators. */
.lc-pagination .lc-page-disabled,
.lc-pagination .lc-page-disabled:hover {
    background: #fafafa;
    border-color: #ebebeb;
    color: #bcbcbc;
    cursor: not-allowed;
    text-decoration: none;
}

/* Tighter on small screens — keeps the row from wrapping ugly. */
@media (max-width: 575px) {
    .lc-pagination {
        gap: 4px;
        margin-top: 32px;
    }
    .lc-pagination .lc-page {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }
}
