/* A20.15 — equal-sized directory advertisements, production calendar, consistent social marks. */
#cityCards, #regionCards {align-items:stretch;}
#cityCards .directory-card, #regionCards .directory-card,
#cityCards .ad-card--compact, #regionCards .ad-card--compact {
  box-sizing:border-box; height:130px; min-height:130px; max-height:130px;
}
#cityCards .ad-card--compact, #regionCards .ad-card--compact {
  padding:9px 14px; gap:4px; justify-content:space-between;
}
#cityCards .ad-card--compact::before, #regionCards .ad-card--compact::before {font-size:36px; right:13px;top:10px;}
#cityCards .ad-card--compact .ad-card-head, #regionCards .ad-card--compact .ad-card-head {gap:7px;flex-wrap:nowrap;min-height:21px;}
#cityCards .ad-card--compact .ad-badge, #regionCards .ad-card--compact .ad-badge {font-size:9px;padding:3px 6px;white-space:nowrap;}
#cityCards .ad-card--compact .ad-sponsor, #regionCards .ad-card--compact .ad-sponsor {font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#cityCards .ad-card--compact .ad-card-body, #regionCards .ad-card--compact .ad-card-body {flex:none;padding:0;gap:2px;}
#cityCards .ad-card--compact .ad-title, #regionCards .ad-card--compact .ad-title {font-size:14px;line-height:1.16;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
#cityCards .ad-card--compact .ad-description, #regionCards .ad-card--compact .ad-description,
#cityCards .ad-card--compact .ad-action, #regionCards .ad-card--compact .ad-action,
#cityCards .ad-card--compact .ad-card-image, #regionCards .ad-card--compact .ad-card-image {display:none;}
#cityCards .ad-card--compact .ad-card-footer, #regionCards .ad-card--compact .ad-card-footer {
  border-top:1px solid #cdbb99; padding-top:4px; display:block; font-size:8px; line-height:1.15;
}
#cityCards .ad-card--compact .ad-advertiser, #regionCards .ad-card--compact .ad-advertiser {display:block;font-size:8px;line-height:1.15;overflow-wrap:anywhere;}
#cityCards .ad-card--compact .ad-erid, #regionCards .ad-card--compact .ad-erid {display:block;text-align:right;overflow-wrap:anywhere;word-break:normal;margin:2px 0 0;}
#cityCards .directory-card, #regionCards .directory-card {padding:13px 18px;}
/* Render the same official vector marks in both colour schemes. */
.header-social-row .social-link, html[data-theme="dark"] .header-social-row .social-link {background:#fffaf0;border-color:#e1d1b0;}
.header-social-row .social-mark, html[data-theme="dark"] .header-social-row .social-mark {filter:none!important;opacity:1!important;}
.production-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0 10px;}
.production-stat {padding:10px 6px;border:1px solid #d4bea1;border-radius:12px;background:#fff9ef;text-align:center;}
.production-stat b {font:800 19px/1.1 Georgia,serif;display:block;color:#514131;}
.production-stat span {display:block;margin-top:4px;font-size:10px;color:#76654f;line-height:1.25;}
.production-note {font-size:10px;color:#806d56;line-height:1.45;margin:9px 0 0;}
.production-note a {text-decoration:underline;text-underline-offset:2px;}
.calendar-day.holiday:not(.selected) {background:#ffe4e8;border-color:#f0b6c4;}
.calendar-day.holiday:not(.selected) b {color:#9c2e50;}
.calendar-day.shortened:not(.selected) {background:#fff1c2;border-color:#dfbb60;}
.calendar-day.shortened:not(.selected) b {color:#965700;}
.calendar-day.weekend:not(.selected):not(.holiday) {background:#fff5f7;}
.calendar-day .production-label {font-size:8px;font-weight:700;margin-top:1px;line-height:1.1;}
.calendar-day.shortened .production-label {color:#925d09;}
.calendar-day.holiday .production-label {color:#a94a60;}
.legend-dot.holiday {background:#e98da1;}
.legend-dot.shortened {background:#e9b842;}
.calendar-legend {display:flex;flex-wrap:wrap;gap:8px 12px;}
html[data-theme="dark"] .production-stat {background:#2e3e3d;border-color:#847358;}
html[data-theme="dark"] .production-stat b {color:#f5ead6;}
html[data-theme="dark"] .production-stat span,html[data-theme="dark"] .production-note {color:#d9c9b1;}
html[data-theme="dark"] .calendar-day.holiday:not(.selected) {background:#593240;border-color:#ac657c;}
html[data-theme="dark"] .calendar-day.holiday:not(.selected) b {color:#ffd4df;}
html[data-theme="dark"] .calendar-day.shortened:not(.selected) {background:#5c4926;border-color:#b69b5b;}
html[data-theme="dark"] .calendar-day.shortened:not(.selected) b {color:#ffe2a1;}
@media(max-width:700px) {
 #cityCards .directory-card,#regionCards .directory-card,#cityCards .ad-card--compact,#regionCards .ad-card--compact {height:130px;min-height:130px;max-height:130px;}
 .production-stats {gap:5px;}
 .production-stat {padding:8px 3px;}
 .production-stat b {font-size:17px;}
 .production-stat span {font-size:9px;}
}
