/*
Theme Name: Unsorted Life
Theme URI: http://localhost/unsortedlife/
Author: HADMEDIA
Author URI: https://hadmedia.net/
Description: Custom starter theme for the Unsorted Life WordPress site.
Version: 0.0.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: unsorted-life
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-logo, custom-menu, featured-images, translation-ready
*/

html {
  box-sizing: border-box;
  --ul-news-slider-height: 420px;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: var(--ul-font-body, Georgia, serif);
  background: #f6f1e8;
  color: #1f1a17;
  overflow-x: hidden;
}

body.ul-popout-open {
  overflow: hidden;
}

html.ul-popout-open,
body.ul-popout-open {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ul-menu__list a,
.ul-post-card__read-more,
.ul-news-slider__title,
.ul-news-slider__featured-title,
.ul-single-hero__title {
  font-family: var(--ul-font-heading, Georgia, serif);
}

.ul-topbar {
  padding: 0 20px;
}

.ul-topbar__inner {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 8px 24px;
  background: #ebe5d8;
  border: 1px solid #d8d1c7;
  border-bottom: 0;
}

.ul-topbar__text {
  margin: 0;
  font-size: 0.875rem;
}

.ul-header {
  padding: 0 20px;
}

.ul-menu {
  padding: 0 20px;
}

.ul-menu__inner {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0;
  background: #ffffff;
  border: 1px solid #d8d1c7;
  border-top: 0;
}

.ul-menu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ul-menu__list li {
  margin: 0;
  flex: 0 0 auto;
}

.ul-menu__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-right: 1px solid #d8d1c7;
  background: #ffffff;
  color: #1f1a17;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ul-menu__list li:last-child a {
  border-right: 0;
}

.ul-menu__home-link {
  min-width: 48px;
  padding: 0 12px;
}

.ul-menu__home-icon {
  font-size: 1rem;
  line-height: 1;
}

.ul-menu__list a:hover,
.ul-menu__list a:focus-visible {
  background: #f6f1e8;
}

.ul-menu__list .current-menu-item > a,
.ul-menu__list .current-menu-ancestor > a,
.ul-menu__list .current_page_item > a,
.ul-menu__list .current_page_ancestor > a {
  background: #ebe5d8;
  border-color: #d8d1c7;
}

.ul-main {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 20px 48px;
}

.ul-news-slider {
  padding: 0 20px;
  margin-top: 40px;
}

.ul-news-slider__inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.ul-news-slider__label {
  display: none;
}

.ul-news-slider__shell {
  position: relative;
  background: transparent;
}

.ul-news-slider__stage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  height: var(--ul-news-slider-height);
  overflow: hidden;
}

.ul-news-slider__featured {
  position: relative;
  display: block;
  height: var(--ul-news-slider-height);
  overflow: hidden;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.ul-news-slider__featured-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.ul-news-slider__featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(17, 24, 39, 0.45);
  color: #ffffff;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.ul-news-slider__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ul-news-slider__featured-title {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 700;
}

.ul-news-slider__side {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
  overflow: hidden;
}

.ul-news-slider__side-item {
  position: relative;
  display: block;
  text-decoration: none;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.ul-news-slider__side-item:last-child {
  border-bottom: 0;
}

.ul-news-slider__side-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
}

.ul-news-slider__side-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: rgba(17, 24, 39, 0.5);
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.2;
  max-height: 46%;
  overflow: hidden;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.ul-news-slider__shell.is-transitioning .ul-news-slider__featured,
.ul-news-slider__shell.is-transitioning .ul-news-slider__side-item {
  opacity: 0.72;
  transform: translateX(8px);
}

.ul-news-slider__shell.is-transitioning .ul-news-slider__featured-image,
.ul-news-slider__shell.is-transitioning .ul-news-slider__side-image {
  opacity: 0.78;
  transform: scale(1.02);
}

.ul-news-slider__shell.is-transitioning .ul-news-slider__featured-overlay,
.ul-news-slider__shell.is-transitioning .ul-news-slider__side-title {
  opacity: 0.82;
  transform: translateY(6px);
}

.ul-news-slider__controls {
  position: absolute;
  left: 16px;
  right: calc(33.333% + 16px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.ul-news-slider__button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid #d8d1c7;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  pointer-events: auto;
}

.ul-footer {
  padding: 0 20px 40px;
}

.ul-footer__topbar-inner,
.ul-footer__main-inner,
.ul-footer__copyright-inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.ul-footer__topbar-inner {
  padding: 8px 24px;
  background: #ebe5d8;
  border: 1px solid #d8d1c7;
  border-bottom: 0;
}

.ul-footer__topbar-text,
.ul-footer__copyright-text {
  margin: 0;
  font-size: 0.875rem;
}

.ul-footer__main-inner {
  padding: 18px 24px;
  background: #ffffff;
  border: 1px solid #d8d1c7;
}

.ul-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ul-footer__column {
  min-width: 0;
}

.ul-footer-widget {
  margin: 0;
}

.ul-footer-widget__title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.ul-footer-widget ul {
  margin: 0;
  padding-left: 18px;
}

.ul-footer-widget p:last-child {
  margin-bottom: 0;
}

.ul-footer__title {
  font-size: 1.4rem;
  font-weight: 700;
}

.ul-footer__copyright-inner {
  padding: 8px 24px;
  background: #ebe5d8;
  border: 1px solid #d8d1c7;
  border-top: 0;
}

.ul-single-hero {
  padding: 0 20px;
  margin-top: 40px;
}

.ul-single-hero__inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.ul-single-hero__article {
  margin: 0;
  border: 1px solid #d8d1c7;
  background: #ffffff;
  overflow: hidden;
}

.ul-single-hero__media {
  line-height: 0;
}

.ul-single-hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.ul-single-hero__content {
  padding: 24px;
}

.ul-single-hero__title {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.1;
}

body.ul-body--style-1 .ul-main {
  width: min(100%, 960px);
  max-width: 960px;
  background: #ffffff;
  border: 1px solid #d8d1c7;
  padding: 24px 24px 48px;
}

body.ul-body--style-2 .ul-main {
  width: min(100%, 960px);
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  background: #ffffff;
  border: 1px solid #d8d1c7;
  padding: 24px 24px 48px;
}

body.ul-body--style-2 .ul-main > :not(.ul-post-card) {
  grid-column: 1 / -1;
}

.ul-post-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 0;
  padding: 0;
  margin: 0 0 24px;
  border: 1px solid #d8d1c7;
  background: #ffffff;
}

.ul-post-card:last-child {
  margin-bottom: 0;
}

.ul-post-card__media {
  min-width: 0;
  align-self: start;
  height: 100%;
}

.ul-post-card__media-link {
  display: block;
  height: 100%;
}

.ul-post-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.ul-post-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 24px 24px 0;
}

.ul-post-card__content-inner {
  min-width: 0;
}

.ul-post-card__title {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ul-post-card__title a {
  text-decoration: none;
}

.ul-post-card__separator {
  width: 100%;
  height: 1px;
  margin: 16px 0;
  background: #d8d1c7;
}

.ul-post-card__excerpt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.ul-post-card__footer {
  margin-top: auto;
  margin: 0;
  padding: 0 0 24px;
  background: transparent;
  text-align: right;
}

.ul-post-card__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d8d1c7;
  background: #ebe5d8;
  color: #1f1a17;
  text-decoration: none;
  font-weight: 700;
}

body.ul-body--style-2 .ul-post-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr auto;
  margin: 0;
}

body.ul-body--style-2 .ul-post-card__media {
  height: auto;
}

body.ul-body--style-2 .ul-post-card__media-link {
  aspect-ratio: 4 / 3;
  height: auto;
}

body.ul-body--style-2 .ul-post-card__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.ul-body--style-2 .ul-post-card__content {
  display: contents;
}

body.ul-body--style-2 .ul-post-card__content-inner {
  display: contents;
}

body.ul-body--style-2 .ul-post-card__title {
  padding: 18px 18px 12px;
  font-size: 1.45rem;
  line-height: 1.2;
  -webkit-line-clamp: 3;
}

body.ul-body--style-2 .ul-post-card__separator {
  display: none;
}

body.ul-body--style-2 .ul-post-card__excerpt {
  padding: 0 18px 18px;
  font-size: 0.98rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ul-body--style-2 .ul-post-card__footer {
  padding: 0 18px 18px;
}

body.ul-body--style-2 .ul-post-card__read-more {
  width: 100%;
  min-height: 44px;
}

.ul-main--single {
  margin-top: 24px;
}

.ul-content-ad {
  margin: 0 0 24px;
}

.ul-content-ad--after {
  margin: 24px 0 0;
}

.ul-content-ad__inner {
  width: min(100%, 768px);
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: 2px solid #717d48;
  background: #ffffff;
}

.ul-content-ad__inner > * {
  max-width: 100%;
}

.ul-content-ad__placeholder {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.ul-inline-rectangle-ad {
  width: min(100%, 336px);
  margin: 24px auto;
}

.ul-inline-rectangle-ad__inner {
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: 2px solid #717d48;
  background: #ffffff;
}

.ul-inline-rectangle-ad__inner > * {
  max-width: 100%;
}

.ul-inline-rectangle-ad__placeholder {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.ul-single-layout {
  display: block;
}

.ul-single-has-sidebar .ul-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 24px;
}

.ul-single-has-sidebar .ul-single-post {
  padding-right: 24px;
  border-right: 1px solid #d8d1c7;
}

.ul-single-post {
  margin: 0;
}

.ul-single-post__content > :first-child {
  margin-top: 0;
}

.ul-single-post__content > :last-child {
  margin-bottom: 0;
}

.ul-single-sidebar {
  min-width: 0;
  position: sticky;
  top: 24px;
  align-self: start;
}

.ul-sidebar-widget {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid #d8d1c7;
  background: #ffffff;
}

.ul-sidebar-widget:last-child {
  margin-bottom: 0;
}

.ul-sidebar-widget__title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.ul-sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ul-sidebar-list__item + .ul-sidebar-list__item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d8d1c7;
}

.ul-sidebar-list__item a {
  text-decoration: none;
}

.ul-back-to-top {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 46px;
  height: 46px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #717d48;
  background: #717d48;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.ul-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ul-back-to-top:hover,
.ul-back-to-top:focus-visible {
  background: #5f6a3d;
}

.ul-floating-ads {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
}

.ul-floating-ad {
  position: fixed;
  top: 180px;
  width: 160px;
  margin: 0 !important;
  transform: none;
  pointer-events: auto;
}

.ul-floating-ad--left {
  left: max(20px, calc((100vw - 1320px) / 2));
}

.ul-floating-ad--right {
  right: max(20px, calc((100vw - 1320px) / 2));
  left: auto;
}

.ul-floating-ad__inner {
  width: 160px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: 2px solid #717d48;
  background: #ffffff;
}

.ul-floating-ad__inner > * {
  max-width: 100%;
}

.ul-floating-ad__placeholder {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.ul-content-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ul-content-hashtags__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d8d1c7;
  background: #ebe5d8;
  color: #1f1a17;
  font: inherit;
  line-height: 1.2;
  cursor: default;
}

.ul-comments {
  margin-top: 28px;
}

.ul-comments__inner {
  padding: 24px;
  border: 1px solid #d8d1c7;
  background: #ffffff;
}

.ul-comments__header {
  margin-bottom: 24px;
}

.ul-comments__eyebrow {
  margin: 0 0 8px;
  color: #717d48;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ul-comments__title,
.ul-comment-form__title {
  margin: 0;
  color: #1f1a17;
}

.ul-comments__list,
.ul-comments__list .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ul-comments__list .comment {
  margin: 0;
  padding: 0;
}

.ul-comments__list > .comment + .comment,
.ul-comments__list .children > .comment {
  margin-top: 18px;
}

.ul-comments__list .children {
  margin-top: 18px;
  margin-left: 28px;
}

.ul-comments__list article.comment-body {
  padding: 18px;
  border: 1px solid #d8d1c7;
  background: #fdfbf6;
}

.ul-comments__list .comment-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ul-comments__list .comment-author img {
  width: 56px;
  height: 56px;
  border: 1px solid #d8d1c7;
}

.ul-comments__list .fn {
  color: #1f1a17;
  font-style: normal;
  font-weight: 700;
}

.ul-comments__list .says {
  display: none;
}

.ul-comments__list .comment-metadata {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.ul-comments__list .comment-metadata a,
.ul-comments__list .reply a {
  color: #717d48;
  text-decoration: none;
}

.ul-comments__list .comment-content > :first-child {
  margin-top: 0;
}

.ul-comments__list .comment-content > :last-child {
  margin-bottom: 0;
}

.ul-comments__list .reply {
  margin-top: 14px;
}

.ul-comments .navigation.comment-navigation,
.ul-comments .comment-navigation {
  margin: 22px 0 0;
}

.ul-comments .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ul-comments .nav-links a,
.ul-comments .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d8d1c7;
  background: #f5f0e7;
  color: #1f1a17;
  text-decoration: none;
  font-weight: 700;
}

.ul-comments__closed {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #d8d1c7;
  background: #f5f0e7;
  color: #5a524b;
}

.ul-comment-form {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d8d1c7;
}

.ul-comment-form__title {
  margin-bottom: 10px;
}

.ul-comment-form__note {
  margin: 0 0 18px;
  color: #5a524b;
}

.ul-comment-form p {
  margin: 0 0 16px;
}

.ul-comment-form label {
  display: block;
  margin-bottom: 6px;
  color: #1f1a17;
  font-weight: 700;
}

.ul-comment-form input[type="text"],
.ul-comment-form input[type="email"],
.ul-comment-form input[type="url"],
.ul-comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d1c7;
  background: #fffdf8;
  color: #1f1a17;
  font: inherit;
}

.ul-comment-form textarea {
  min-height: 180px;
  resize: vertical;
}

.ul-comment-form .submit {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #717d48;
  background: #717d48;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ul-comment-form .submit:hover,
.ul-comment-form .submit:focus-visible {
  background: #5f6a3d;
}

.ul-content-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #d8d1c7;
}

.ul-content-pagination__label {
  color: #5a524b;
  font-weight: 700;
}

.ul-content-pagination__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ul-content-pagination__links a,
.ul-content-pagination__links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d8d1c7;
  background: #f5f0e7;
  color: #1f1a17;
  text-decoration: none;
  font-weight: 700;
}

.ul-content-pagination__links > span .ul-content-pagination__number {
  background: #717d48;
  color: #ffffff;
}

.ul-popout-ad[hidden] {
  display: none !important;
}

.ul-popout-ad {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(113, 125, 72, 0.5);
  pointer-events: auto;
}

.ul-popout-ad__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}

.ul-popout-ad__dialog {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 24px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ul-popout-ad__close {
  position: absolute;
  top: calc(50% - 140px + 10px);
  right: calc(50% - min(46vw, 168px) + 10px);
  width: 36px;
  height: 36px;
  border: 1px solid #d8d1c7;
  background: #ebe5d8;
  cursor: pointer;
  z-index: 2;
}

.ul-popout-ad__content {
  width: min(92vw, 336px);
  min-height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #d8d1c7;
  box-shadow: 0 20px 50px rgba(31, 26, 23, 0.18);
  pointer-events: auto;
}

.ul-popout-ad__placeholder {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  text-align: center;
}

.ul-popout-ad__placeholder-icon {
  font-size: 2rem;
  line-height: 1;
  color: #717d48;
}

.ul-header--style-1 .ul-header__inner {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: var(--ul-header-style-1-vertical-padding, 10px) 24px;
  background: #ffffff;
  border: 1px solid #d8d1c7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ul-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.ul-header__logo {
  display: block;
  max-width: 100%;
  max-height: 140px;
  height: auto;
}

.ul-header__brand-banner {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 140px;
  height: auto;
}

.ul-header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ul-header__title {
  font-size: 1.5rem;
  font-weight: 700;
}

.ul-header__description {
  margin: 0;
}

.ul-header__ad {
  width: 468px;
  max-width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  outline: 2px solid var(--ul-header-ads-border-color, #717d48);
  border-radius: var(--ul-header-ads-border-radius, 0);
}

.ul-header__ad > * {
  max-width: 100%;
}

.ul-header__ad-placeholder {
  font-size: 0.85rem;
  color: #6b7280;
}

.ul-pagination {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

.ul-pagination__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #d8d1c7;
}

.ul-pagination__number,
.ul-pagination__control,
.ul-pagination__dots,
.ul-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  color: #3b322d;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #d8d1c7;
  background: #f5f0e7;
}

.ul-pagination__control {
  min-width: 96px;
}

.ul-pagination__number:hover,
.ul-pagination__control:hover {
  background: #ebe5d8;
  color: #1f1a17;
}

.ul-pagination__number.is-current,
.ul-pagination .current {
  background: #717d48;
  border-color: #717d48;
  color: #ffffff;
}

.ul-pagination__dots {
  border-style: dashed;
}

.ul-lazy-load {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

.ul-lazy-load__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #3b322d;
  background: #f5f0e7;
  border: 1px solid #d8d1c7;
  font-weight: 700;
  text-align: center;
}

.ul-lazy-load.is-loading .ul-lazy-load__status {
  background: #ebe5d8;
}

.ul-lazy-load.has-error .ul-lazy-load__status {
  color: #991b1b;
  border-color: #d5a5a5;
  background: #fff1f1;
}

@media (max-width: 980px) {
  .ul-header--style-1 .ul-header__inner {
    width: min(100%, 960px);
  }
}

@media (max-width: 860px) {
  body.ul-body--style-2 .ul-main {
    grid-template-columns: 1fr;
  }

  .ul-post-card {
    grid-template-columns: 1fr;
  }

  .ul-single-has-sidebar .ul-single-layout {
    grid-template-columns: 1fr;
  }

  .ul-footer__columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ul-back-to-top {
    top: auto !important;
    left: auto !important;
    right: 16px !important;
    bottom: 16px !important;
  }

  .ul-header--style-1 .ul-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ul-header__ad {
    width: 100%;
    justify-content: flex-start;
  }

  .ul-news-slider__stage {
    grid-template-columns: 1fr;
  }

  .ul-news-slider__featured,
  .ul-news-slider__featured-image {
    min-height: 320px;
  }

  .ul-news-slider__side {
    grid-template-rows: none;
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 1px solid #d8d1c7;
  }
}

@media (max-width: 1400px) {
  .ul-floating-ads {
    display: none;
  }
}
