/* ==========================================================================
   Euroforum Blog Styles
   Used on: .blog (cmsblogpost.html, cmsblogvakgebied.html)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.blog-hero {
}

.blog-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.blog-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.blog-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.blog-hero .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.blog-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Meta bar (reading time, category)
   -------------------------------------------------------------------------- */

.blog-meta-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* On white background (e.g. inside cards) */
.blog-card .blog-meta-reading-time {
    color: #6c757d;
}

/* --------------------------------------------------------------------------
   Featured image
   -------------------------------------------------------------------------- */

.blog-featured-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Article content typography
   -------------------------------------------------------------------------- */

.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.blog-content blockquote {
    border-left: 4px solid rgb(0, 167, 216);
    padding-left: 1.25rem;
    color: #555;
    font-style: italic;
    margin-left: 0;
}

/* --------------------------------------------------------------------------
   Tags
   -------------------------------------------------------------------------- */

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-tag {
    background-color: rgb(0, 167, 216);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.35em 0.75em;
    border-radius: 50rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Author card
   -------------------------------------------------------------------------- */

.blog-author-card,
.blog-advisor-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid rgb(0, 167, 216);
}

.blog-advisor-card {
    border-left-color: #6c757d;
}

.blog-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-author-name,
.blog-advisor-name {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.blog-advisor-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
}

.blog-linkedin-link {
    font-size: 0.9rem;
    color: #0077b5;
    text-decoration: none;
}

.blog-linkedin-link:hover {
    color: #005885;
    text-decoration: underline;
}

.blog-advisor-email {
    font-size: 0.9rem;
    color: rgb(0, 167, 216);
}

.blog-advisor-tekst {
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #dee2e6;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Vakgebied index badges
   -------------------------------------------------------------------------- */

.blog-vakgebied-badge {
    display: inline-block;
    margin: 0 0.4rem 0.5rem 0;
    padding: 0.55em 1.1em;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.15s ease;
}

.blog-vakgebied-badge:hover {
    opacity: 0.82;
    color: #fff !important;
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   Vakgebied card (blog post — below advisor)
   -------------------------------------------------------------------------- */

.blog-vakgebied-card {
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    color: #fff;
}

.blog-vakgebied-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.blog-vakgebied-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-vakgebied-card-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.blog-vakgebied-card-link {
    display: inline-block;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 1px;
}

.blog-vakgebied-card-link:hover {
    color: #fff !important;
    border-bottom-color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Blog index card grid (cmsblogvakgebied.html)
   -------------------------------------------------------------------------- */

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.blog-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.blog-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
}

.blog-card-img {
    height: 190px;
    object-fit: cover;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
}

.blog-read-more {
    color: rgb(0, 167, 216);
    white-space: nowrap;
}

.blog-card:hover .blog-read-more {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Vakgebied tiles (blog index)
   -------------------------------------------------------------------------- */

.blog-vakgebied-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: filter 0.2s ease, transform 0.2s ease;
    min-height: 80px;
}

.blog-vakgebied-tile:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.blog-vakgebied-tile-title {
    flex: 1;
    line-height: 1.3;
}

.blog-vakgebied-tile-arrow {
    margin-left: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.blog-vakgebied-tile:hover .blog-vakgebied-tile-arrow {
    transform: translateX(4px);
    opacity: 1;
}
