/*
 * The category list on the public rules page and the popup for each category
 * (contest_rules.php, ajax/ajax_content/view_category.php). Classes are ci-. The theme takes
 * the bullets and spacing off lists and paragraphs, so they're set here where needed.
 */

/* the list: name a bit bigger, description under it */
.ci-list { margin: 10px 0 0; padding: 0; }
.ci-list > li { list-style: none; padding: 14px 0; margin: 0; border-bottom: 1px solid rgba(32, 31, 29, .12); }
.ci-list > li:last-child { border-bottom: 0; }
.ci-list .ci-name { font-size: 20px; line-height: 1.35; font-weight: 600; color: #201f1d; text-decoration: none; }
.ci-list .ci-name:hover { color: #7d5411; text-decoration: underline; }
.ci-list .ci-name span { font-weight: 400; }
.ci-list .ci-list-desc { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: #444141; }
.ci-list .ci-more { display: inline-block; margin-top: 6px; font-size: 14px; color: #7d5411; text-decoration: underline; }

.ci-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; margin-left: 6px; }
.ci-head .ci-tags { display: flex; margin: 8px 0 0; }
.ci-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eae7e7; color: #444141; font-size: 12px; font-weight: 600; line-height: 1.5; }
.ci-tag-gold { background: #7d5411; color: #ffffff; }

/* the popup */
.ci-head { align-items: flex-start; }
.ci-kicker { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #7d5411; }
.ci-title { margin: 4px 0 0; font-size: 24px; line-height: 1.3; font-weight: 600; }
.ci-body { font-size: 16px; line-height: 1.6; color: #201f1d; }
.ci-body p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: inherit; }
.ci-desc { font-size: 17px !important; }
.ci-section { margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(32, 31, 29, .16); font-size: 19px; font-weight: 600; }
.ci-muted { color: #7d7979; }
.ci-note { font-size: 14px !important; color: #605d5d !important; }

.ci-challenge { margin: 16px 0; padding: 14px 18px; border: 1px solid #c9a86a; background: #fff8ec; border-radius: 4px; }
.ci-challenge h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: #7d5411; }
.ci-challenge p { margin: 0; }

.ci-places { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: 15px; }
.ci-places th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #605d5d; font-weight: 600; padding: 6px 10px; border-bottom: 1px solid rgba(32, 31, 29, .16); }
.ci-places td { padding: 9px 10px; border-bottom: 1px solid rgba(32, 31, 29, .1); vertical-align: top; }
.ci-trophy { display: block; font-size: 13px; color: #7d5411; }
.ci-criteria td:nth-child(2), .ci-criteria td:nth-child(3) { white-space: nowrap; }

.ci-classes { margin: 0 0 12px; padding-left: 1.4em; }
.ci-classes li { list-style: disc; margin: 0 0 4px; }

@media (max-width: 575px) {
    .ci-list .ci-name { font-size: 18px; }
    .ci-places th, .ci-places td { padding: 7px 6px; }
}
