/* Confine widget typography to the general sidebar, outside MEMBER and WebMASTER. */
.sidebar-card.sking-widget {
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.sking-widget > .sidebar-header,
.sking-widget :where(.wp-block-heading, .wp-block-group > h2, .wp-block-group > h3) {
  display: block;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dcdcd5;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.sking-widget :where(p, figure, blockquote) {
  margin: 0 0 14px;
}

.sking-widget :where(p, figure, ul, ol):last-child {
  margin-bottom: 0;
}

.sking-widget :where(ul.wp-block-latest-posts, ol.wp-block-latest-comments, .wp-block-archives-list, .wp-block-categories-list, .wp-block-page-list),
.sking-widget:is(.widget_recent_entries, .widget_recent_comments, .widget_archive, .widget_categories, .widget_meta, .widget_pages, .widget_nav_menu, .widget_rss) :where(ul, ol) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sking-widget :where(.wp-block-latest-posts, .wp-block-latest-comments, .wp-block-archives-list, .wp-block-categories-list, .wp-block-page-list) > li,
.sking-widget:is(.widget_recent_entries, .widget_recent_comments, .widget_archive, .widget_categories, .widget_meta, .widget_pages, .widget_nav_menu, .widget_rss) li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #e9e9e3;
  line-height: 1.7;
}

.sking-widget :where(.wp-block-latest-posts, .wp-block-latest-comments, .wp-block-archives-list, .wp-block-categories-list, .wp-block-page-list) > li:last-child,
.sking-widget:is(.widget_recent_entries, .widget_recent_comments, .widget_archive, .widget_categories, .widget_meta, .widget_pages, .widget_nav_menu, .widget_rss) li:last-child {
  border-bottom: 0;
}

.sking-widget :where(.wp-block-categories-list, .wp-block-page-list) :where(.children, .wp-block-page-list),
.sking-widget:is(.widget_categories, .widget_pages, .widget_nav_menu) :where(.children, .sub-menu) {
  margin: 8px 0 0 12px;
}

.sking-widget :where(.wp-block-categories-list, .wp-block-page-list) :where(.children, .wp-block-page-list) > li {
  padding: 6px 0;
}

.sking-widget :where(a) {
  text-decoration: none;
  text-underline-offset: 3px;
}

.sking-widget :where(a):hover {
  color: #007864;
  text-decoration: underline;
}

.sking-widget :where(a, input, button, select, textarea):focus-visible {
  outline: 2px solid #007864;
  outline-offset: 3px;
}

.sking-widget :where(.post-date, .wp-block-latest-posts__post-date, .wp-block-latest-posts__post-author, .wp-block-latest-comments__comment-date, .rss-date) {
  display: block;
  margin-top: 4px;
  color: #555f70;
  font-size: 12px;
}

.sking-widget :where(.wp-block-latest-posts__post-excerpt, .wp-block-latest-posts__post-full-content, .wp-block-latest-comments__comment-excerpt, .rssSummary) {
  margin-top: 8px;
  font-size: 13px;
}

.sking-widget .wp-block-latest-comments :where(article, footer, p) {
  margin-bottom: 0;
}

.sking-widget .wp-block-latest-posts__featured-image {
  margin-bottom: 8px;
}

.sking-widget .wp-block-latest-posts__featured-image img {
  max-width: 100%;
  height: auto;
}

.sking-widget :where(.wp-block-tag-cloud, .tagcloud) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.sking-widget :where(.wp-block-tag-cloud, .tagcloud) a {
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid #dcdcd5;
  line-height: 1.5;
}

.sking-widget :where(select) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 9px;
  border: 1px solid #bfc5c5;
  border-radius: 0;
  background: #fff;
}

.sking-widget .search-form,
.sking-widget .wp-block-search__inside-wrapper {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.sking-widget .search-form > label {
  flex: 1;
  min-width: 0;
}

.sking-widget .wp-block-search__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.sking-widget :where(.search-field, .wp-block-search__input) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 9px 10px;
  border: 1px solid #bfc5c5;
  border-radius: 0;
  background: #fff;
  color: #273043;
}

.sking-widget .wp-block-search__input {
  flex: 1;
}

.sking-widget :where(.search-submit, .wp-block-search__button) {
  flex: 0 1 auto;
  min-height: 42px;
  max-width: 50%;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #273043;
  border-radius: 0;
  background: #273043;
  color: #fff;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.sking-widget :where(.search-submit, .wp-block-search__button):hover {
  background: #007864;
  border-color: #007864;
}

.sking-widget .wp-block-search__button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.sking-widget :where(.calendar_wrap, .wp-block-calendar) {
  max-width: 100%;
}

.sking-widget :where(.calendar_wrap, .wp-block-calendar) table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
}

.sking-widget :where(.calendar_wrap, .wp-block-calendar) caption {
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.sking-widget :where(.calendar_wrap, .wp-block-calendar) :where(th, td) {
  padding: 5px 2px;
  border: 1px solid #e9e9e3;
  text-align: center;
}

.sking-widget :where(.calendar_wrap, .wp-block-calendar) th {
  background: #f7f7f2;
  font-weight: 700;
}

.sking-widget :where(.calendar_wrap, .wp-block-calendar) #today {
  background: #007864;
  color: #fff;
}

.sking-widget .wp-calendar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
}

.sking-widget .rss-widget-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.sking-widget.widget_text :where(ul),
.sking-widget .wp-block-list:not(ol) {
  list-style: disc;
  padding-left: 1.4em;
}

.sking-widget.widget_text :where(ol),
.sking-widget ol.wp-block-list {
  list-style: decimal;
  padding-left: 1.4em;
}
