/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* Magazín /clanky/ – layout s obsahem vlevo a sidebarem vpravo */
.magazine-page .magazine-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.magazine-page .magazine-content {
    flex: 0 0 66.66666667%;
    max-width: 66.66666667%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.magazine-page .magazine-sidebar {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (max-width: 767.98px) {
    .magazine-page .magazine-content,
    .magazine-page .magazine-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ========== Stránka článku /clanek/ ========== */
.article-page .article-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.article-page .article-content {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.article-page .article-sidebar {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (max-width: 991.98px) {
    .article-page .article-content,
    .article-page .article-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Sidebar článku – karty */
.article-sidebar .widget--card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(3, 27, 78, 0.08);
    padding: 20px;
    margin-bottom: 24px;
}

.article-sidebar .widget--card .widget-title {
    padding: 0 0 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #3578fa;
}

.article-sidebar .widget--card .widget-title h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Seznam „Poslední články“ */
.article-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-sidebar-item {
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.article-sidebar-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.article-sidebar-item__link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.article-sidebar-item__link:hover {
    color: #3578fa;
}

.article-sidebar-item__link:hover .article-sidebar-item__title {
    color: #3578fa;
}

.article-sidebar-item__img {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.article-sidebar-item__body {
    flex: 1;
    min-width: 0;
}

.article-sidebar-item__title {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    color: #333;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.article-sidebar-item__body small {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
}

/* Seznam slevových kupónů */
.article-sidebar-coupons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-sidebar-coupons li {
    margin-bottom: 8px;
}

.article-sidebar-coupons li:last-child {
    margin-bottom: 0;
}

.article-sidebar-coupons a {
    display: block;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    color: #333;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.article-sidebar-coupons a:hover {
    background: #3578fa;
    color: #fff;
}

/* Článek – úpravy singlepost */
.article-page .singlepost {
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(3, 27, 78, 0.08);
}

.article-page .singlepost figure {
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.article-page .singlepost figure img {
    width: 100%;
    height: auto;
    display: block;
}

.article-page .singlepost h1 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.article-page .post-content {
    line-height: 1.75;
}

.article-page .post-content p {
    margin-bottom: 1rem;
}
