/* Kariera V2 article page. Purpose-built stylesheet, independent of legacy _article.css. */
.v2-article-page.container-lg {
    max-width: 1150px;
    margin: 25px auto 80px;
    font-size: 14px;
    min-width: 0;
}
.v2-article-page .articles { min-width: 0; }

/* Promoted jobs, compact on desktop and mobile. */
.v2-article-page .v2-promoted-jobs { margin: 0 0 16px; }
.v2-article-page .v2-promoted-heading {
    display: block;
    background: #420095;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.v2-article-page .v2-promoted-heading:hover { background: #5b1fa7; color: #fff; }
.v2-article-page .v2-promoted-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.v2-article-page .v2-promoted-card {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid #e5ddee;
    border-radius: 7px;
    background: #fff;
    color: #191122;
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.v2-article-page .v2-promoted-card:hover { color: #420095; border-color: #bd9ee7; background: #faf7fe; }
.v2-article-page .v2-promoted-card > img { flex: 0 0 54px; width: 54px; height: 54px; object-fit: contain; border-radius: 5px; }
.v2-article-page .v2-promoted-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.v2-article-page .v2-promoted-company { font-size: 11px; line-height: 1.25; color: #726b7d; overflow-wrap: anywhere; }
.v2-article-page .v2-promoted-title { font-weight: 700; line-height: 1.28; font-size: 12px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Article lead block is intentionally the existing visual language. */
.v2-article-page .article { margin-bottom: 34px; }
.v2-article-page .main-article-wrapper {
    background: #f2f1fd;
    border-radius: 5px;
    padding: 2rem;
    font-family: 'Roboto Condensed', sans-serif;
}
.v2-article-page .main-article-content { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.v2-article-page .main-article-image { width: 100%; height: auto; border-radius: 5px; object-fit: cover; }
.v2-article-page .main-article-title { display: block; font: 700 1.9rem/1.3 'Playfair Display',serif; margin-bottom: 15px; }
.v2-article-page .main-article-title a { color: #0c0910; text-decoration: none; }
.v2-article-page .main-article-hover-group:hover .main-article-title a { color: #5d22a7; text-decoration: underline; }
.v2-article-page .main-article-hover-group:hover .main-article-image { filter: brightness(.85); }
.v2-article-page .main-article-category { color: #742dcd; font-size: .85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
.v2-article-page .main-article-category:hover { color: #742dcd; }
.v2-article-page .main-article-subtitle { color: #555; font-size: 1rem; margin-bottom: 15px; }
.v2-article-page .main-article-author { font: bold .9rem 'Roboto Condensed',sans-serif; color: #111; text-transform: uppercase; }
.v2-article-page .main-article-date, .v2-article-page .main-article-date a { color: #7c7f83; font-size: .85rem; }

/* Article body. Keeps the existing readable typography without legacy global CSS. */
.v2-article-page .article .the_content { overflow-wrap: break-word; }
.v2-article-page .article .the_content p,
.v2-article-page .article .the_content li,
.v2-article-page .article .the_content p strong,
.v2-article-page .article .the_content p em,
.v2-article-page .article .the_content p span {
    font: inherit;
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 1.25rem;
    line-height: 1.55;
}
.v2-article-page .article .the_content p { margin-bottom: 14px; }
.v2-article-page .article .the_content p span { line-height: inherit; }
.v2-article-page .article .the_content h2 { font-size: 20px; line-height: 1.3; font-weight: 700; padding: 8px 0; }
.v2-article-page .article .the_content h3 { font-size: 19px; line-height: 1.35; font-weight: 700; }
.v2-article-page .article .the_content ol, .v2-article-page .article .the_content ul { padding: 0 0 12px 25px; margin: 0; }
.v2-article-page .article .the_content ul li { list-style: disc; }
.v2-article-page .article .the_content ol li { list-style: decimal; }
.v2-article-page .article .the_content a:not(.btn) { border-bottom: 3px solid #d1b4f8; box-shadow: inset 0 -4px 0 #d1b4f8; text-decoration: none; }
.v2-article-page .article .the_content a:not(.btn):hover { background: #d1b4f8; }
.v2-article-page .article .the_content img { max-width: 100%; height: auto; }
.v2-article-page .article .the_content iframe { max-width: 100%; }
.v2-article-page .article .the_content blockquote { margin: 18px 0; padding: 5px 24px; border-left: 3px solid #c0a4e2; font-size: 1.15rem; font-style: italic; }
.v2-article-page .article .the_content .tags { margin: 22px 0; font-size: 14px; }
.v2-article-page .article .the_content .tags a { display: inline-block; margin-right: 7px; }
.v2-article-page .article .the_content table { max-width: 100%; }
.v2-article-page .article .the_date, .v2-article-page .article .the_date a { color: #747474; font-size: 11px; }

/* Article photo gallery (existing bootstrap carousel markup). */
.v2-article-page .article .carousel { position: relative; padding-bottom: 62px; margin: 15px 0; }
.v2-article-page .article .carousel-inner { min-height: 140px; }
.v2-article-page .article .carousel-item { text-align: center; }
.v2-article-page .article .carousel-item img { max-width: 100%; max-height: 450px; width: auto; height: auto; border-radius: 5px; }
.v2-article-page .article .carousel-indicators-wrapper { position: absolute; left: 0; right: 0; bottom: 0; }
.v2-article-page .article .carousel-indicators-container { width: 90%; height: 52px; overflow: hidden; margin: auto; }
.v2-article-page .article .carousel-indicators { position: relative; inset: auto; display: flex; gap: 5px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.v2-article-page .article .carousel-indicators li[data-bs-target] { cursor: pointer; width: 65px; height: 45px; flex: 0 0 65px; margin: 0; opacity: .65; background: transparent; border: none; }
.v2-article-page .article .carousel-indicators li.active { opacity: 1; }
.v2-article-page .article .carousel-indicators li img { display: block; width: 65px; height: 42px; object-fit: cover; border: 2px solid transparent; border-radius: 4px; }
.v2-article-page .article .carousel-indicators li.active img { border-color: #420095; }
.v2-article-page .article .carousel-control-prev-icon,
.v2-article-page .article .carousel-control-next-icon { background-color: #420095; border-radius: 4px; }

/* Original video-play placeholder and weather modules. */
.v2-article-page .video-play { position: relative; cursor: pointer; }
.v2-article-page .video-play img { display: block; max-width: 100%; }
.v2-article-page .video-play .play-button { position: absolute; inset: 0; background: rgba(0,0,0,.4) url(/images/play_button.png) no-repeat center; }
.v2-article-page .airquality .location { font-size: 13px; }
.v2-article-page .article .table-weather:not(.table-weather-small) td:nth-child(even) { display: none; }

/* 'Load more' is not a large promotional card. */
.v2-article-page .v2-article-more-wrap { display: flex; justify-content: center; margin: 26px 0 35px; }
.v2-article-page .v2-article-more { color: #420095; background: #fff; border: 1px solid #420095; font-weight: 700; font-size: 14px; border-radius: 6px; padding: 10px 20px; }
.v2-article-page .v2-article-more:hover { background: #420095; color: #fff; }
.v2-article-page .v2-article-more[disabled] { opacity: .55; cursor: default; }

@media (max-width: 767.98px) {
    .v2-article-page.container-lg { margin: 12px auto 40px; padding-left: 12px; padding-right: 12px; }
    .v2-article-page .v2-promoted-jobs { margin-bottom: 12px; }
    .v2-article-page .v2-promoted-heading { font-size: 12px; margin-bottom: 7px; padding: 7px; }
    .v2-article-page .v2-promoted-grid { grid-template-columns: 1fr; gap: 6px; }
    .v2-article-page .v2-promoted-card { min-height: 56px; padding: 5px 8px; gap: 9px; }
    .v2-article-page .v2-promoted-card > img { width: 45px; height: 45px; flex-basis: 45px; }
    .v2-article-page .v2-promoted-company { font-size: 10px; }
    .v2-article-page .v2-promoted-title { font-size: 11px; -webkit-line-clamp: 2; }
    .v2-article-page .main-article-wrapper { padding: 15px; }
    .v2-article-page .main-article-title { font-size: 1.5rem; }
    .v2-article-page .article .the_content p,
    .v2-article-page .article .the_content li,
    .v2-article-page .article .the_content p strong,
    .v2-article-page .article .the_content p em,
    .v2-article-page .article .the_content p span { font-size: 1.12rem; }
}
