/* Codex 2026-06-01: restrained news-portal polish after removing decorative banners. */
html body,
body.home,
body.custom-background {
  background: #f5f6f8 !important;
  color: #222;
}

.site-header,
.site-content,
.site-footer {
  background: #fff;
}

.site-header {
  border-bottom: 1px solid #dfe3e8;
}

.header-ad,
.content-ad .adwidget:empty,
.adwidget:empty,
.widget_ad.ad-widget,
.widget.widget_ad.ad-widget,
body.home .widget.widget_ad.ad-widget,
body.home .widget_ad.ad-widget,
.widget:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-content,
.container {
  max-width: 1120px;
}

.site-content {
  padding-top: 22px;
  padding-bottom: 18px;
}

.site-main,
.content-area {
  background: #fff;
}

.main-nav.container {
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #dfe3e8;
}

.main-menu {
  border-right-color: #e3e6eb;
}

.main-menu a {
  color: #20242a;
}

.main-menu a:hover {
  color: #b42318;
}

.home-content,
.home-right,
.sidebar,
.content-block,
.content-block-square,
.widget {
  min-height: 0;
}

.home .content-block,
.home .content-block-square {
  border-top: 1px solid #e3e7ed;
  padding-top: 12px;
  margin-top: 14px;
}

.home .content-block:first-child,
.home .content-block-square:first-child {
  margin-top: 0;
}

.home-content,
.home-right {
  margin-bottom: 14px;
}

.home .home-right,
.home .sidebar {
  border-left: 1px solid #edf0f3;
  padding-left: 16px;
}

.home .section-heading {
  height: auto;
  min-height: 34px;
  margin-bottom: 10px;
  padding: 0 0 8px;
  border-bottom: 2px solid #e4e7ec;
  position: relative;
}

.home .section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 38px;
  height: 2px;
  background: #c82127;
}

.home .section-title,
.home .section-heading h2,
.home .section-heading h3 {
  font-weight: 700;
  color: #1f2933;
  letter-spacing: 0;
}

.home .section-more a,
.home .section-heading a {
  color: #626b77;
}

.home .section-more a:hover,
.home .section-heading a:hover {
  color: #b42318;
}

.widget,
.entry,
.hentry {
  border-color: #e6e9ee;
}

.widget-damenhu-home-block-two,
.widget-damenhu-home-three-columns,
.widget_damenhu_views,
.widget_damenhu_popular {
  margin-top: 14px;
}

.featured-slider,
.featured-small,
.post-big,
.post-small {
  background: #fff;
}

.featured-slider,
.featured-small,
.post-big {
  margin-bottom: 12px;
}

.featured-small {
  min-height: 0;
}

.featured-small .entry-title,
.post-big .entry-title,
.post-small .entry-title {
  line-height: 1.55;
}

.entry-title,
.post-title,
.home-latest li,
.post-list li {
  letter-spacing: 0;
}

.entry-title a,
.post-title a,
.widget a {
  color: #20242a;
  text-decoration: none;
}

.entry-title a:hover,
.post-title a:hover,
.widget a:hover {
  color: #b42318;
}

.home .home-latest li,
.home .post-list li,
.home .post-small {
  border-bottom: 1px solid #edf0f3;
}

.home .home-latest li:last-child,
.home .post-list li:last-child,
.home .post-small:last-child {
  border-bottom: 0;
}

.home .home-latest li,
.home .post-list li {
  margin-bottom: 0;
  padding: 7px 0;
}

.home .post-list li {
  line-height: 1.45;
}

.thumbnail-wrap,
.entry-thumbnail,
.post-thumbnail,
.thumb,
.widget img {
  background: #f3f5f7;
}

.entry-thumbnail img,
.post-thumbnail img,
.thumbnail-wrap img,
.thumb img,
.featured-grid img,
.featured-slider img,
.featured-small img,
.post-big img,
.home-right img,
.sidebar img,
.widget-damenhu-home-block-two img,
.widget-damenhu-home-three-columns img {
  object-fit: cover;
  display: block;
}

.featured-slider img,
.attachment-featured_large_thumb {
  width: 100%;
}

.post-big img,
.featured-small img {
  border: 1px solid #eef1f5;
}

.site-header .search-form input[type="search"],
.site-header input[type="text"],
.search-input {
  border-color: #d8dde5;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.site-header .search-submit,
.site-header button[type="submit"],
.search-submit {
  background: #c82127;
}

.site-header .search-submit:hover,
.site-header button[type="submit"]:hover,
.search-submit:hover {
  background: #a91e22;
}

.footer-content {
  border-top: 1px solid #e4e7ec;
  padding-top: 16px;
}

.footer-partners {
  min-height: 0;
}

@media (max-width: 768px) {
  body {
    background: #fff;
  }

  .site-content,
  .container {
    width: auto;
    margin-left: 12px;
    margin-right: 12px;
  }

  .site-content {
    padding-top: 14px;
  }

  .home-right,
  .sidebar {
    border-left: 0;
    padding-left: 0;
  }

  .content-block,
  .content-block-square {
    margin-top: 12px;
    padding-top: 10px;
  }
}
