/*
 * Burgess: WordPress-specific styles.
 * Core classes, pagination, comments and editor content that the static
 * template never needed.
 */

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #fff;
  clip: auto !important;
  clip-path: none;
  color: var(--theme-color2);
  display: block;
  font-size: 14px;
  height: auto;
  left: 5px;
  padding: 15px 23px 14px;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Admin bar: keep the fixed sticky header below it */
.admin-bar .sticky-header.fixed-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .sticky-header.fixed-header {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  .admin-bar .sticky-header.fixed-header {
    top: 0;
  }
}

/* Page title: real <h1> elements keep the template's look */
.page-title h1.title {
  margin-top: 0;
}

/* Alignment, captions, galleries */
.alignleft {
  float: left;
  margin: 0 30px 20px 0;
}
.alignright {
  float: right;
  margin: 0 0 20px 30px;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignwide,
.alignfull {
  clear: both;
}
.wp-caption {
  max-width: 100%;
  margin-bottom: 20px;
}
.wp-caption-text,
.wp-element-caption,
.gallery-caption {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.8;
}
.sticky,
.bypostauthor {
  display: block;
}

/* Editor content */
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
.entry-content img {
  max-width: 100%;
  height: auto;
}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure,
.entry-content table {
  margin-bottom: 20px;
}
.entry-content ul,
.entry-content ol {
  padding-left: 20px;
}
.entry-content ul {
  list-style: disc;
}
.entry-content ol {
  list-style: decimal;
}
.entry-content a {
  text-decoration: underline;
}
.entry-content blockquote {
  border-left: 4px solid var(--theme-color1);
  padding: 10px 0 10px 25px;
  font-style: italic;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.entry-content th,
.entry-content td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
}
.page-links {
  clear: both;
  margin-top: 20px;
}
.page-links a,
.page-links > span {
  display: inline-block;
  margin-left: 6px;
}

/* Pagination */
.burgess-pagination {
  margin-top: 40px;
}
.burgess-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.burgess-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  padding: 0 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--theme-color2);
  font-weight: 600;
  transition: all 300ms ease;
}
.burgess-pagination .page-numbers.current,
.burgess-pagination .page-numbers:hover {
  background-color: var(--theme-color1);
  border-color: var(--theme-color1);
  color: var(--theme-color2);
}

/* Listings */
.burgess-no-results {
  padding: 40px 0;
}
.burgess-no-results .sidebar__search-form,
.burgess-search-again .sidebar__search-form {
  max-width: 520px;
  margin: 20px auto 0;
}
.burgess-search-again {
  margin-bottom: 50px;
}

/* Search form outside the sidebar */
.sidebar__search-form {
  position: relative;
}

/* Comments */
.comment-one .comment-one__single .comment-one__single {
  margin-left: 40px;
}
.comment-one__image img {
  border-radius: 50%;
}
.comment-one__date {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 10px;
}
.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.comment-form .comment-reply-title small {
  margin-left: 10px;
  font-size: 14px;
}
.comment-form .logged-in-as {
  margin-bottom: 15px;
}

/* Contact form result notice */
#contact_form .alert {
  margin-bottom: 20px;
}

/* Widgets in the blog sidebar (classic and block widgets), boxed like the template's */
.sidebar .widget {
  position: relative;
  display: block;
  color: var(--theme-light-background-text-color);
  background-color: var(--theme-color-silver);
  border-radius: 10px;
  padding: 40px 30px 34px;
}
.sidebar .widget.widget_search,
.sidebar .widget:has(> .wp-block-search) {
  padding: 0;
  background: none;
}
.sidebar .widget h2,
.sidebar .widget .wp-block-heading,
.sidebar .widget .sidebar__title {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: var(--h4-font-weight);
}
.sidebar .widget ul,
.sidebar .widget ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar .widget li + li {
  margin-top: 12px;
}
.sidebar .widget a {
  color: inherit;
  font-weight: 500;
  transition: color 300ms ease;
}
.sidebar .widget a:hover {
  color: var(--theme-color2);
  text-decoration: underline;
}
.sidebar .widget .wp-block-latest-comments {
  padding: 0;
}
.sidebar .widget .wp-block-latest-comments__comment {
  line-height: 1.5;
  margin-bottom: 0;
}

/* Core search block / classic search widget, styled like the template's search */
.sidebar .wp-block-search__label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.sidebar .wp-block-search__inside-wrapper,
.sidebar .widget_search form {
  position: relative;
  display: block;
  border: none;
  padding: 0;
}
.sidebar .wp-block-search__input,
.sidebar .widget_search input[type="search"] {
  display: block;
  border: none;
  outline: none;
  background-color: var(--theme-color1);
  color: var(--theme-color1-text-color);
  font-size: 16px;
  font-weight: 500;
  height: 74px;
  width: 100%;
  padding: 0 130px 0 30px;
  border-radius: 10px;
}
.sidebar .wp-block-search__button,
.sidebar .widget_search button[type="submit"] {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background-color: var(--theme-color2);
  color: #fff;
  font-weight: 500;
}

/* Footer bottom menu */
.main-footer .footer-bottom ul {
  margin: 0;
  padding: 0;
}
