/* Lịch chợ phiên Cao Bằng - [markets_calendar] */
.mc-page,.mc-page-head {
    --mc-green: #2f9e44;
    --mc-orange: #f08c00;
    --mc-blue: #1c7ed6;
    --mc-purple: #9c36b5;
    --mc-ink: #1f2a24;
    --mc-muted: #6b7a72;
    --mc-line: #e7ede9;
    padding: 32px 0 64px;
    background: #f6f9f7;
    color: var(--mc-ink);
}


.mc-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mc-muted); margin-bottom: 18px; }
.mc-breadcrumb a { color: var(--mc-muted); text-decoration: none; }
.mc-breadcrumb i { font-size: 10px; }
.mc-breadcrumb span { color: var(--mc-ink); font-weight: 600; }
section.mc-page-head{

}
.mc-hero {
   
}
.mc-hero-copy h1 { color: #078537; font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
.mc-hero-copy p { color: rgb(7 133 55);
    max-width: 480px;
    margin: 0;
    font-size: 14px;
    font-weight: bold; }
.mc-hero-stats {
    position: relative;
    margin-top: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}
.mc-hero-stats > div { display: flex; align-items: center; gap: 10px; }
.mc-hero-stats strong { display: block; font-size: 18px; line-height: 1.2; }
.mc-hero-stats small { color: var(--mc-muted); font-size: 12px; }
.mc-stat-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 16px; }
.mc-stat-icon.is-green { background: var(--mc-green); }
.mc-stat-icon.is-orange { background: var(--mc-orange); }
.mc-stat-icon.is-blue { background: var(--mc-blue); }
.mc-stat-icon.is-purple { background: var(--mc-purple); }

.mc-block { background: #fff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 22px; margin-bottom: 24px; }
.mc-section-head h2 { font-size: 19px; margin: 0 0 4px; }
.mc-day-subtitle { color: var(--mc-muted); font-size: 13px; margin: 0 0 16px; }

.mc-day-picker-wrap { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.mc-day-arrow { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--mc-line); background: #fff; cursor: pointer; color: var(--mc-ink); }
.mc-day-arrow:hover { background: #f1f6f2; }
.mc-day-picker { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 4px; flex: 1; }
.mc-day-picker::-webkit-scrollbar { height: 5px; }
.mc-day-card {
    flex: 0 0 auto;
    min-width: 108px;
    border: 1px solid var(--mc-line);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
    color: var(--mc-ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
.mc-day-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.06); }
.mc-day-card .mc-day-label { display: block; font-size: 12.5px; color: var(--mc-muted); font-weight: 600; }
.mc-day-card .mc-day-date { display: block; font-size: 15px; font-weight: 700; margin: 2px 0 6px; }
.mc-day-card .mc-day-count { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #eef3ef; color: var(--mc-muted); }
.mc-day-card.is-active { background: var(--mc-green); border-color: var(--mc-green); }
.mc-day-card.is-active .mc-day-label,
.mc-day-card.is-active .mc-day-date { color: #fff; }
.mc-day-card.is-active .mc-day-count { background: rgba(255,255,255,.25); color: #fff; }
.mc-day-card.is-busy .mc-day-count { background: #fff4e0; color: var(--mc-orange); font-weight: 700; }



.mc-filters {
    
}
.mc-filter-select, .mc-filter-search {margin-bottom: 15px;height: 48.75px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--mc-line); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--mc-muted); }
.mc-filter-select select, .mc-filter-search input {     width: calc(100% - 15px);border: 0; outline: none; background: transparent; font-size: 13px; color: var(--mc-ink); }
.mc-filter-search { flex: 1; min-width: 220px; padding-right: 6px; }
.mc-filter-search input { width: 100%; }
.mc-search-btn { flex-shrink: 0; border: 0; background: var(--mc-green); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.mc-search-btn:hover { opacity: .9; }
.mc-filter-clear { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mc-muted); text-decoration: none; padding: 8px 4px; }
.mc-filter-clear:hover { color: var(--mc-green); }

.mc-market-list { display: flex; flex-direction: column; gap: 12px; }
.mc-market-item {
    display: grid;
    grid-template-columns: 26px 64px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--mc-line);
    border-radius: 14px;
    text-decoration: none;
    color: var(--mc-ink);
}
.mc-market-item:hover { border-color: var(--mc-green); background: #f7fbf8; }
.mc-market-item[hidden] { display: none; }
.mc-market-rank { width: 24px; height: 24px; border-radius: 50%; background: #eef3ef; color: var(--mc-muted); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mc-market-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #eef3ef; }
.mc-market-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-market-body { min-width: 0; }
.mc-market-body strong { display: block; font-size: 15px; margin-bottom: 3px; }
.mc-market-loc { display: block; font-size: 12.5px; color: var(--mc-muted); margin-bottom: 6px; }
.mc-market-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--mc-muted); }
.mc-scale-badge { background: #eef3ef; border-radius: 999px; padding: 2px 9px; font-style: normal; }
.mc-market-hours { text-align: right; font-size: 12.5px; color: var(--mc-muted); white-space: nowrap; }
.mc-market-hours strong { display: block; color: var(--mc-ink); font-size: 14px; }
.mc-market-shift { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--mc-orange); }

.mc-show-all, .mc-show-more-region { display: block; width: 100%; text-align: center; margin-top: 14px; padding: 10px; border: 1px dashed var(--mc-line); border-radius: 10px; background: transparent; color: var(--mc-green); font-weight: 600; cursor: pointer; text-decoration: none; font-size: 13.5px; }
.mc-show-all:hover, .mc-show-more-region:hover { background: #f1f6f2; }

.mc-map-wrap { margin-top: 14px; }
.mc-map { width: 100%; height: 320px; border-radius: 14px; overflow: hidden; background: #eef3ef; }
.mc-view-all { margin-top: 12px; text-align: center; }
.mc-outline-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--mc-line); border-radius: 999px; padding: 9px 18px; text-decoration: none; color: var(--mc-ink); font-size: 13.5px; font-weight: 600; }
.mc-outline-btn:hover { border-color: var(--mc-green); color: var(--mc-green); }

.mc-info-card { background: #fff; border: 1px solid var(--mc-line); border-radius: 16px; padding: 20px; margin-bottom: 20px; }
.mc-info-card h3 { font-size: 16px; margin: 0 0 14px; }
.mc-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mc-month-head h3 { margin: 0; }
.mc-month-nav { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.mc-month-nav a { color: var(--mc-muted); text-decoration: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.mc-month-nav a:hover { background: #eef3ef; }

.mc-month-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mc-month-grid th { font-size: 11px; color: var(--mc-muted); font-weight: 600; padding-bottom: 8px; }
.mc-month-grid td { text-align: center; padding: 3px; }
.mc-cal-cell a, .mc-cal-cell span { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto; border-radius: 50%; font-size: 12.5px; text-decoration: none; color: var(--mc-ink); position: relative; }
.mc-cal-cell.is-muted span { color: #c7d0ca; }
.mc-cal-cell.is-today a { background: var(--mc-green); color: #fff; font-weight: 700; }
.mc-cal-cell.is-selected:not(.is-today) a { border: 1.5px solid var(--mc-green); }
.mc-dot { width: 4px; height: 4px; border-radius: 50%; margin-top: 1px; background: var(--mc-green); }
.mc-dot.is-many { background: var(--mc-orange); }
.mc-cal-cell.is-today .mc-dot { background: #fff; }
.mc-month-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--mc-muted); }
.mc-month-legend span { display: inline-flex; align-items: center; gap: 6px; }

.mc-region-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mc-region-list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; }
.mc-region-list li.is-active, .mc-region-list li:hover { background: #f1f6f2; }
.mc-region-list a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--mc-ink); }
.mc-region-list li.is-active a { color: var(--mc-green); font-weight: 600; }
.mc-region-list b { color: var(--mc-muted); font-weight: 600; font-size: 12px; }

.mc-article-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mc-article-list a { display: flex; gap: 10px; text-decoration: none; color: var(--mc-ink); }
.mc-article-list i { width: 32px; height: 32px; border-radius: 50%; background: #eef3ef; color: var(--mc-green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mc-article-list strong { display: block; font-size: 13.5px; }
.mc-article-list small { color: var(--mc-muted); font-size: 12px; }

.mc-cta { display: flex; align-items: center; gap: 18px; background: linear-gradient(90deg, #1b4332, #2f9e44); border-radius: 18px; padding: 22px 28px; color: #fff; flex-wrap: wrap; }
.mc-cta-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.mc-cta-copy { flex: 1; min-width: 220px; }
.mc-cta-copy strong { display: block; font-size: 16px; margin-bottom: 4px; }
.mc-cta-copy span { font-size: 13.5px; color: rgba(255,255,255,.85); }
.mc-cta-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--mc-green); text-decoration: none; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.mc-cta-btn:hover { opacity: .9; }

@media (max-width: 640px) {
    .mc-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .mc-market-item { grid-template-columns: 22px 52px 1fr; }
    .mc-market-hours { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 10px; margin-top: 6px; }
}
