:root {
  --ik-bg: #0c1421;
  --ik-bg-2: #111c2b;
  --ik-card: #121f31;
  --ik-card-soft: #16253a;
  --ik-line: rgba(143, 181, 224, 0.22);
  --ik-text: #eaf2ff;
  --ik-muted: #9eb2cc;
  --ik-accent: #1c8ba8;
  --ik-accent-2: #fa8950;
  --ik-shadow: 0 14px 40px rgba(2, 9, 20, 0.45);
}

body.et_extra {
  font-family: "Inter", "Open Sans", sans-serif;
  color: var(--ik-text);
  background:
    radial-gradient(760px 420px at 88% 2%, rgba(28, 139, 168, 0.22), transparent 70%),
    radial-gradient(580px 380px at 8% 76%, rgba(250, 137, 80, 0.18), transparent 66%),
    linear-gradient(180deg, var(--ik-bg), var(--ik-bg-2));
}

body.et_extra h1,
body.et_extra h2,
body.et_extra h3,
body.et_extra h4,
body.et_extra .post-title {
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.01em;
}

body.et_extra a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

body.et_extra a:hover {
  opacity: 0.95;
}

#top-header {
  background: rgba(8, 13, 24, 0.86) !important;
  border-bottom: 1px solid rgba(125, 166, 210, 0.2);
  backdrop-filter: blur(8px);
}

#top-header,
#top-header a,
#top-header #et-info,
#top-header .et-social-icons a {
  color: #b8cce8 !important;
}

#main-header-wrapper {
  padding-top: 12px;
  background: transparent !important;
}

#main-header {
  background: rgba(11, 18, 31, 0.86) !important;
  border: 1px solid rgba(120, 162, 209, 0.24);
  border-radius: 14px;
  box-shadow: var(--ik-shadow);
  backdrop-filter: blur(8px);
}

#et-navigation > ul > li > a {
  color: #d7e6fb !important;
  font-weight: 600;
}

#et-navigation > ul > li.current-menu-item > a,
#et-navigation > ul > li > a:hover {
  color: #ffffff !important;
}

#et-navigation ul.nav li ul {
  background: #101b2b;
  border-top-color: var(--ik-accent);
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(3, 8, 17, 0.42);
}

#et-navigation ul.nav li ul a {
  color: #cadbf3;
}

#main-content {
  margin-top: 22px;
}

#main-content .et_pb_row {
  width: min(1240px, 92%);
}

#main-content .et_pb_extra_module,
#main-content .et_pb_widget {
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.92), rgba(14, 25, 39, 0.94));
  border: 1px solid var(--ik-line);
  border-radius: 18px;
  box-shadow: var(--ik-shadow);
  overflow: hidden;
}

#main-content .et_pb_extra_module .module-head {
  border-bottom: 1px solid rgba(120, 165, 214, 0.22);
  background: rgba(11, 21, 36, 0.56);
}

#main-content .et_pb_extra_module .module-head h1,
#main-content .et_pb_extra_module .module-head h2,
#main-content .et_pb_extra_module .module-head h3 {
  color: #f4f8ff;
}

.featured-posts-slider-module .posts-slider-module-items article.et_pb_slide {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(123, 165, 216, 0.28);
  box-shadow: 0 20px 38px rgba(3, 8, 16, 0.45);
}

.featured-posts-slider-module .posts-slider-module-items article.et_pb_slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 25, 0.02) 24%, rgba(8, 14, 25, 0.84) 100%);
  pointer-events: none;
}

.featured-posts-slider-module article .post-content {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 26px 28px 30px;
}

.featured-posts-slider-module article .post-content .post-title a {
  color: #f3f9ff !important;
  font-weight: 700;
}

.posts-carousel-module .carousel-item,
.posts-carousel-module .carousel-item .post-content,
.post-module article,
.tabbed-post-module article,
.posts-blog-feed-module article {
  border-radius: 16px;
}

.posts-carousel-module .carousel-item,
.post-module article,
.tabbed-post-module article,
.posts-blog-feed-module article {
  background: linear-gradient(180deg, rgba(19, 33, 51, 0.94), rgba(15, 27, 43, 0.95));
  border: 1px solid rgba(122, 164, 214, 0.2);
  box-shadow: 0 14px 28px rgba(5, 10, 19, 0.32);
  overflow: hidden;
}

.post-module .post-title a,
.tabbed-post-module .post-title a,
.posts-blog-feed-module .post-title a,
.posts-carousel-module .post-title a {
  color: #f2f8ff !important;
}

.post-module .post-meta,
.post-module .post-meta a,
.tabbed-post-module .post-meta,
.tabbed-post-module .post-meta a,
.posts-blog-feed-module .post-meta,
.posts-blog-feed-module .post-meta a,
.posts-carousel-module .post-meta,
.posts-carousel-module .post-meta a {
  color: var(--ik-muted) !important;
}

.module .post-content p,
.module .post-content .excerpt,
.module .excerpt {
  color: #bfd0e6;
}

.et_pb_extra_overlay {
  background: linear-gradient(135deg, rgba(28, 139, 168, 0.24), rgba(250, 137, 80, 0.26));
}

/* Extra social icons (header/footer): replace font glyphs with stable SVG */
.et-extra-social-icons .et-extra-social-icon a.et-extra-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.et-extra-social-icons .et-extra-social-icon a.et-extra-icon::before {
  content: "" !important;
  display: inline-block !important;
  width: 22px;
  height: 22px;
  margin-top: 0;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 90% 90% !important;
}

.et-extra-social-icons .et-extra-social-icon.facebook a.et-extra-icon::before {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/telegram-icon.svg") !important;
}

.et-extra-social-icons .et-extra-social-icon.twitter a.et-extra-icon::before {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/vk-icon.svg") !important;
}

.et-extra-social-icons .et-extra-social-icon.googleplus a.et-extra-icon::before {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/dzen-icon.svg") !important;
}

#page-container .et-extra-social-icons .et-extra-social-icon a:hover {
  background-color: inherit !important;
}

/* Overlay icon */
.et_pb_extra_overlay {
  background-image: linear-gradient(135deg, rgba(28, 139, 168, 0.24), rgba(250, 137, 80, 0.26)),
    url("https://ikorchaga.ru/wp-content/uploads/2025/12/overlay-icon.svg") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: auto, 28px 28px !important;
}

.et_pb_extra_overlay::before,
.et_pb_extra_overlay::after {
  content: none !important;
  display: none !important;
}

.et_pb_widget .widgettitle {
  color: #f4f8ff;
  border-bottom: 1px solid rgba(122, 164, 214, 0.2);
}

.et_pb_widget,
.et_pb_widget p,
.et_pb_widget li,
.et_pb_widget a {
  color: #bfd2ea;
}

.et_pb_widget a:hover {
  color: #ffffff;
}

.wp-block-search__inside-wrapper,
.widget_search input[type="search"],
.widget_search .search-field {
  background: #0d1829 !important;
  border: 1px solid rgba(122, 164, 214, 0.32) !important;
  border-radius: 10px !important;
  color: #dfecff !important;
}

.wp-block-search__button,
.widget_search input[type="submit"],
.b-unisender-form__submit {
  background: linear-gradient(135deg, var(--ik-accent), #2494b1) !important;
  color: #edf9ff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.wp-block-search__button:hover,
.widget_search input[type="submit"]:hover,
.b-unisender-form__submit:hover {
  background: linear-gradient(135deg, #1a7f9a, #1f88a5) !important;
}

#main-content .et_pb_extra_column_sidebar .et_pb_widget + .et_pb_widget {
  margin-top: 24px;
}

#footer {
  margin-top: 44px;
  background: rgba(9, 15, 25, 0.92);
  border-top: 1px solid rgba(122, 164, 214, 0.2);
}

#footer a,
#footer p,
#footer-info {
  color: #a9bfdc !important;
}

#footer a:hover {
  color: #ffffff !important;
}

.post-meta .rating-stars,
.post-meta .rating-stars .filled {
  color: #ffbc5f !important;
}

.post-meta .rating-stars .rating-star,
.post-meta .rating-stars .rating-star-on,
.post-meta .rating-stars .rating-star-half,
.post-meta .rating-stars .rating-star-empty {
  color: #ffbc5f !important;
  opacity: 0.92;
}

.post-meta .rating-stars .rating-star-empty {
  opacity: 0.5;
}

.post-meta .rating-stars .post-meta-icon.rating-star {
  filter: invert(78%) sepia(67%) saturate(640%) hue-rotate(347deg) brightness(102%) contrast(98%);
}

/* Single post fixes: readable typography and dark content surfaces */
.single #content-area .single-post-module {
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.95), rgba(13, 23, 36, 0.96)) !important;
  border: 1px solid rgba(122, 164, 214, 0.24) !important;
  border-radius: 18px;
  box-shadow: var(--ik-shadow);
  overflow: hidden;
}

.single #content-area .single-post-module .post-header {
  padding: 28px 34px 16px;
  background: rgba(10, 18, 31, 0.68);
  border-bottom: 1px solid rgba(122, 164, 214, 0.2);
}

.single #content-area .single-post-module .entry-title {
  color: #f6fbff;
  line-height: 1.24;
}

.single #content-area .single-post-module .post-meta,
.single #content-area .single-post-module .post-meta a {
  color: var(--ik-muted) !important;
}

.single #content-area .single-post-module .post-thumbnail.header {
  margin-bottom: 0;
}

.single #content-area .single-post-module .post-thumbnail.header img {
  display: block;
  width: 100%;
}

.single #content-area .single-post-module .post-wrap {
  background: rgba(9, 17, 30, 0.82);
}

.single #content-area .single-post-module .post-content.entry-content {
  background: transparent !important;
  padding: 34px 38px 30px;
}

.single #content-area .single-post-module .post-content.entry-content .et-l--post .et_pb_section,
.single #content-area .single-post-module .post-content.entry-content .et-l--post .et_pb_row,
.single #content-area .single-post-module .post-content.entry-content .et-l--post .et_pb_column,
.single #content-area .single-post-module .post-content.entry-content .et-l--post .et_pb_module,
.single #content-area .single-post-module .post-content.entry-content .et-l--post .et_pb_text,
.single #content-area .single-post-module .post-content.entry-content .et-l--post .et_pb_text_inner {
  background: transparent !important;
}

.single #content-area .single-post-module .post-content.entry-content .et-l--post .et_pb_section {
  padding: 0 !important;
}

.single #content-area .single-post-module .post-content.entry-content,
.single #content-area .single-post-module .post-content.entry-content p,
.single #content-area .single-post-module .post-content.entry-content li,
.single #content-area .single-post-module .post-content.entry-content .et_pb_text_inner,
.single #content-area .single-post-module .post-content.entry-content .et_pb_text_inner p,
.single #content-area .single-post-module .post-content.entry-content .et_pb_bg_layout_light,
.single #content-area .single-post-module .post-content.entry-content .et_pb_bg_layout_light p {
  color: #cfdef1 !important;
}

.single #content-area .single-post-module .post-content.entry-content p,
.single #content-area .single-post-module .post-content.entry-content li {
  line-height: 1.75;
}

.single #content-area .single-post-module .post-content.entry-content h1,
.single #content-area .single-post-module .post-content.entry-content h2,
.single #content-area .single-post-module .post-content.entry-content h3,
.single #content-area .single-post-module .post-content.entry-content h4 {
  color: #f5faff !important;
}

.single #content-area .single-post-module .post-content.entry-content strong {
  color: #eef6ff;
}

.single #content-area .single-post-module .post-content.entry-content a {
  color: #93d8ff;
}

.single #content-area .single-post-module .post-content.entry-content blockquote {
  border-left: 3px solid rgba(139, 205, 255, 0.52);
  margin: 1.2rem 0;
  padding: 0.5rem 0 0.5rem 1rem;
  color: #dceafb !important;
}

.single .et_extra_other_module.related-posts {
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.95), rgba(13, 23, 36, 0.96)) !important;
  border: 1px solid rgba(122, 164, 214, 0.2);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(4, 10, 21, 0.3);
  padding: 0 0 14px;
}

.single .related-posts .related-posts-header {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(122, 164, 214, 0.2);
}

.single .related-posts .related-posts-header h3,
.single .related-posts .related-post .title a {
  color: #f4f9ff;
}

.single .related-posts .related-post .date {
  color: var(--ik-muted);
}

.single #comment-wrap,
.single #respond {
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.93), rgba(12, 22, 35, 0.95)) !important;
  border: 1px solid rgba(122, 164, 214, 0.2);
  border-radius: 14px;
}

.single #comment-wrap {
  margin-top: 24px;
  padding: 16px 18px 20px;
}

.single #comment-wrap,
.single #comment-wrap p,
.single #comment-wrap span,
.single #comment-wrap a,
.single #reply-title {
  color: #d0e0f5 !important;
}

/* Single post footer + navigation + comments form */
.single .post-footer .share-title,
.single .post-footer #rate-title {
  color: #bfd3eb !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.single .post-footer .social-share-link {
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(122, 164, 214, 0.24);
}

.single .post-footer .social-share-link .et-extra-icon {
  color: #e9f4ff !important;
}

.single .post-footer .rating-stars #rating-stars img.star-off {
  opacity: 0.86;
}

.single .post-nav .nav-link a,
.single .post-nav .nav-link .title {
  color: #d7e6fb !important;
}

.single .post-nav .nav-link .button {
  color: #e8f5ff !important;
  background: rgba(76, 184, 214, 0.18) !important;
  border: 1px solid rgba(122, 164, 214, 0.3);
  border-radius: 8px;
  font-weight: 700;
}

.single .post-nav .nav-link a:hover .button {
  background: rgba(76, 184, 214, 0.28) !important;
}

.single #respond,
.single #respond p,
.single #respond label,
.single #respond a {
  color: #d0e2f7 !important;
}

.single #respond .comment-form-comment label,
.single #respond .comment-form-author label,
.single #respond .comment-form-email label,
.single #respond .comment-form-url label {
  color: #d7e8fb !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.single #respond textarea,
.single #respond input[type="text"],
.single #respond input[type="email"],
.single #respond input[type="url"] {
  background: rgba(9, 18, 31, 0.9) !important;
  color: #e6f2ff !important;
  border: 1px solid rgba(122, 164, 214, 0.34) !important;
  border-radius: 10px !important;
}

.single #respond textarea::placeholder,
.single #respond input[type="text"]::placeholder,
.single #respond input[type="email"]::placeholder,
.single #respond input[type="url"]::placeholder {
  color: #8eabcf;
}

.single #respond input[type="submit"],
.single #respond .form-submit input,
.single #respond .submit {
  background: linear-gradient(135deg, var(--ik-accent), #2494b1) !important;
  color: #eef9ff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
}

.single #respond input[type="submit"]:hover,
.single #respond .form-submit input:hover,
.single #respond .submit:hover {
  background: linear-gradient(135deg, #1a7f9a, #1f88a5) !important;
}

/* Logged-in comment form in Extra can bypass #respond selectors; enforce via #commentform */
.single #commentform label {
  color: #d7e8fb !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.single #commentform textarea,
.single #commentform input[type="text"],
.single #commentform input[type="email"],
.single #commentform input[type="url"] {
  background: rgba(9, 18, 31, 0.9) !important;
  color: #e6f2ff !important;
  border: 1px solid rgba(122, 164, 214, 0.34) !important;
  border-radius: 10px !important;
}

.single #commentform input#submit,
.single #commentform input[type="submit"] {
  background: linear-gradient(135deg, #1c8ba8, #2494b1) !important;
  color: #eef9ff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
}

.single #commentform input#submit:hover,
.single #commentform input[type="submit"]:hover {
  background: linear-gradient(135deg, #1a7f9a, #1f88a5) !important;
}

/* Home feed fixes: unify cards, remove light blocks and align spacing */
#main-content .et_pb_extra_module .module-head {
  padding: 12px 16px;
}

#main-content .et_pb_extra_module .module-head h1 {
  margin: 0;
}

#main-content .et_pb_extra_module .module-filter {
  color: var(--ik-muted);
}

.post-module .main-post article,
.post-module .posts-list li article,
.tabbed-post-module .main-post article,
.tabbed-post-module .posts-list li article {
  background: linear-gradient(180deg, rgba(19, 33, 51, 0.94), rgba(15, 27, 43, 0.95));
  border: 1px solid rgba(122, 164, 214, 0.2);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(4, 10, 21, 0.25);
}

.posts-blog-feed-module.masonry .paginated_page {
  display: grid;
  gap: 18px;
}

.posts-blog-feed-module.masonry .paginated_page article {
  background: linear-gradient(180deg, rgba(19, 33, 51, 0.94), rgba(15, 27, 43, 0.95)) !important;
  border: 1px solid rgba(122, 164, 214, 0.2);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(4, 10, 21, 0.3);
  overflow: hidden;
}

.posts-blog-feed-module.masonry .paginated_page article .post-content {
  background: rgba(8, 17, 30, 0.72);
  padding: 14px 16px 16px;
}

.posts-blog-feed-module.masonry .post-title a,
.posts-blog-feed-module.masonry .post-title a.et-accent-color {
  color: #edf6ff !important;
}

.posts-blog-feed-module.masonry .excerpt,
.posts-blog-feed-module.masonry .excerpt p {
  color: #c5d6eb !important;
}

/* Search template fixes: readable heading + compact no-results state */
body.search #content-area > .et_pb_extra_column_main > h1 {
  color: #f3f9ff !important;
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

body.search #content-area .posts-blog-feed-module.standard.post-module.et_pb_extra_module.module {
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.94), rgba(13, 23, 36, 0.96));
  border: 1px solid rgba(122, 164, 214, 0.22);
  border-radius: 18px;
  box-shadow: var(--ik-shadow);
  flex: 0 0 auto !important;
  align-self: flex-start !important;
}

body.search #content-area .posts-blog-feed-module .post-title a {
  color: #eef6ff !important;
}

body.search #content-area .posts-blog-feed-module .post-meta,
body.search #content-area .posts-blog-feed-module .post-meta a,
body.search #content-area .posts-blog-feed-module .excerpt,
body.search #content-area .posts-blog-feed-module .excerpt p {
  color: #bfd2e8 !important;
}

body.search.search-no-results #content-area .posts-blog-feed-module .paginated_content,
body.search.search-no-results #content-area .posts-blog-feed-module .paginated_page {
  min-height: 0 !important;
  height: auto !important;
}

body.search.search-no-results #content-area .posts-blog-feed-module,
body.search.search-no-results #content-area .posts-blog-feed-module[style] {
  min-height: 0 !important;
  height: auto !important;
}

body.search.search-no-results #content-area .posts-blog-feed-module article.nopost {
  margin: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(132, 177, 224, 0.34);
  background: rgba(9, 18, 31, 0.56);
}

body.search.search-no-results #content-area .posts-blog-feed-module article.nopost h5 {
  color: #d8e7fa !important;
  font-size: 15px;
  letter-spacing: 0.03em;
  margin: 0;
  padding: 0;
}

/* Sidebar polish: social widget + subscription form */
.et_pb_extra_column_sidebar .widget_et_social_followers .widget_list li {
  padding: 14px 18px !important;
  align-items: center !important;
}

.et_pb_extra_column_sidebar .widget_et_social_followers .widget_list_social {
  display: flex !important;
  align-items: center !important;
  min-height: 42px;
}

.et_pb_extra_column_sidebar .widget_et_social_followers .widget_list_social .title {
  color: #dceafb !important;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sidebar social followers: square icon buttons with fixed SVG */
#et_social_followers-5 .widget_list > li {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

#et_social_followers-5 .widget_list > li > a.social-icon::before,
#et_social_followers-5 .widget_list > li > a.social-icon::after {
  content: none !important;
  display: none !important;
}

#et_social_followers-5 .widget_list > li > a.social-icon {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background-color: #2b3843 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 62% 62% !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

#et_social_followers-5 .widget_list > li > a.social-icon:hover {
  background-color: #3e5062 !important;
  transform: translateY(-1px);
}

#et_social_followers-5 .widget_list > li > a.social-icon.et-extra-icon-facebook {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/telegram-icon.svg") !important;
}

#et_social_followers-5 .widget_list > li > a.social-icon.et-extra-icon-googleplus {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/vk-icon.svg") !important;
}

#et_social_followers-5 .widget_list > li > a.social-icon.et-extra-icon-twitter {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/dzen-icon.svg") !important;
}

#et_social_followers-5 a.widget_list_social {
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
}

#et_social_followers-5 a.widget_list_social .title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.et_pb_extra_column_sidebar .b-unisender-form {
  margin: 0 !important;
  background: linear-gradient(180deg, rgba(17, 30, 47, 0.97), rgba(12, 23, 38, 0.98)) !important;
  border: 1px solid rgba(122, 164, 214, 0.24) !important;
  border-radius: 16px !important;
  color: #d7e6fb !important;
  box-shadow: 0 10px 22px rgba(4, 10, 21, 0.3);
}

.et_pb_extra_column_sidebar .b-unisender-form .b-unisender-form__title,
.et_pb_extra_column_sidebar .b-unisender-form .b-unisender-form__description,
.et_pb_extra_column_sidebar .b-unisender-form .b-unisender-field__label {
  color: #e4f0ff !important;
  background: transparent !important;
}

.et_pb_extra_column_sidebar .b-unisender-form .b-unisender-field__input {
  background: #0d1829 !important;
  color: #deebff !important;
  border: 1px solid rgba(122, 164, 214, 0.34) !important;
  border-radius: 10px !important;
}

.et_pb_extra_column_sidebar .b-unisender-form .b-unisender-form__submit-button {
  background: linear-gradient(135deg, var(--ik-accent), #2494b1) !important;
  color: #edf9ff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.et_pb_extra_column_sidebar .b-unisender-form .b-unisender-form__button-box svg {
  display: none !important;
}

/* Cards & meta for compact post lists */
.post-module .posts-list li article .post-content h3.entry-title a,
.tabbed-post-module .posts-list li article .post-content h3.entry-title a,
.et_extra_other_module .posts-list li article .post-content h3.entry-title a {
  color: #e9f3ff !important;
  font-weight: 700;
}

.post-module .posts-list li article .post-content,
.tabbed-post-module .posts-list li article .post-content,
.et_extra_other_module .posts-list li article .post-content {
  color: #d0e0f4 !important;
  padding: 10px 12px !important;
}

.post-module .posts-list li article .post-title,
.tabbed-post-module .posts-list li article .post-title,
.et_extra_other_module .posts-list li article .post-title {
  margin: 0 0 4px;
  line-height: 1.28;
}

.post-module .posts-list li article .post-meta,
.tabbed-post-module .posts-list li article .post-meta,
.et_extra_other_module .posts-list li article .post-meta {
  padding-left: 0 !important;
}

/* Hide noisy separators/text nodes in compact meta and keep date + stars clean */
.post-module .posts-list li article .post-meta p,
.tabbed-post-module .posts-list li article .post-meta p,
.et_extra_other_module .posts-list li article .post-meta p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0 !important;
  line-height: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-module .posts-list li article .post-meta p > a,
.tabbed-post-module .posts-list li article .post-meta p > a,
.et_extra_other_module .posts-list li article .post-meta p > a {
  display: none !important;
}

.post-module .posts-list li article .post-meta p > span.updated,
.tabbed-post-module .posts-list li article .post-meta p > span.updated,
.et_extra_other_module .posts-list li article .post-meta p > span.updated {
  display: inline-block;
  font-size: 12px !important;
  line-height: 1 !important;
  color: #a5bad6 !important;
}

.post-module .posts-list li article .post-meta p > span.rating-stars,
.tabbed-post-module .posts-list li article .post-meta p > span.rating-stars,
.et_extra_other_module .posts-list li article .post-meta p > span.rating-stars {
  display: inline-flex;
  align-items: center;
  font-size: 12px !important;
  line-height: 1 !important;
  margin-left: 0;
}

.post-module .posts-list li article .post-meta p > .comments-link,
.tabbed-post-module .posts-list li article .post-meta p > .comments-link,
.et_extra_other_module .posts-list li article .post-meta p > .comments-link {
  display: none !important;
}

/* Tabbed module visual reset (remove white tabs, improve active state) */
.tabbed-post-module.et_pb_extra_module {
  border-color: var(--ik-line) !important;
  border-top-color: var(--ik-line) !important;
}

.tabbed-post-module .tabs {
  background: rgba(11, 21, 36, 0.92) !important;
  border-bottom: 1px solid rgba(122, 164, 214, 0.22) !important;
}

.tabbed-post-module .tabs li {
  background: transparent !important;
  border-color: rgba(122, 164, 214, 0.22) !important;
  color: #9fb6d6 !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tabbed-post-module .tabs li.et-accent-color-parent-term {
  color: #9fb6d6 !important;
}

.tabbed-post-module .tabs li:hover {
  color: #dceafc !important;
  background: rgba(17, 31, 50, 0.74) !important;
}

.tabbed-post-module .tabs li a {
  color: #9fb6d6 !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tabbed-post-module .tabs li.active {
  background: rgba(17, 31, 50, 0.96) !important;
  color: #eef7ff !important;
  box-shadow: inset 0 -2px 0 #4cb8d6;
}

.tabbed-post-module .tabs li.active.et-accent-color-parent-term {
  color: #eef7ff !important;
}

.tabbed-post-module .tabs li.active a {
  color: #eef7ff !important;
}

.tabbed-post-module .tab-content article.nopost {
  margin: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(132, 177, 224, 0.34);
  background: rgba(9, 18, 31, 0.56);
}

.tabbed-post-module .tab-content article.nopost h5 {
  color: #d8e7fa !important;
  text-transform: none;
  letter-spacing: 0.02em;
}

.tabbed-post-module .tab-content,
.tabbed-post-module .tab-content p,
.tabbed-post-module .tab-content h5 {
  color: #d8e7fa !important;
}

/* Single share bar: explicit Extra selectors with data-network mapping */
.post-footer .social-icons.ed-social-share-icons {
  text-align: center !important;
  line-height: 1 !important;
}

.post-footer .social-icons.ed-social-share-icons .share-title {
  display: inline-block !important;
  vertical-align: middle !important;
  height: 30px !important;
  line-height: 30px !important;
  margin: 0 10px 0 0 !important;
  padding: 0 !important;
}

.post-footer .social-icons.ed-social-share-icons > a.social-share-link[data-network-name="basic_email"] {
  display: none !important;
}

.post-footer .social-icons.ed-social-share-icons > a.social-share-link {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  background-color: #cccccc !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
}

.post-footer .social-icons.ed-social-share-icons > a.social-share-link:hover {
  background-color: #2b3843 !important;
  box-shadow: 0 0 0 2px rgba(43, 56, 67, 0.25) inset !important;
  transform: translateY(-1px);
}

.post-footer .social-icons.ed-social-share-icons > a.social-share-link > span.et-extra-icon {
  display: none !important;
}

.post-footer .social-icons.ed-social-share-icons > a[data-network-name="facebook"] {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/telegram-icon.svg") !important;
}

.post-footer .social-icons.ed-social-share-icons > a[data-network-name="twitter"] {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/vk-icon.svg") !important;
}

.post-footer .social-icons.ed-social-share-icons > a[data-network-name="googleplus"] {
  background-image: url("https://ikorchaga.ru/wp-content/uploads/2025/11/dzen-icon.svg") !important;
}

/* Archive/category pages */
body.archive #content-area > .et_pb_extra_column_main > h1,
body.archive #content-area > .et_pb_extra_column_main > h1 span {
  color: #f3f9ff !important;
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.01em;
}

body.archive #content-area .posts-blog-feed-module.standard.post-module.et_pb_extra_module.module {
  flex: 0 0 auto !important;
  align-self: flex-start !important;
}

body.archive #content-area,
body.search #content-area {
  align-items: flex-start !important;
}

body.archive #content-area .posts-blog-feed-module.standard .read-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px !important;
  background: linear-gradient(135deg, rgba(76, 184, 214, 0.16), rgba(28, 139, 168, 0.26)) !important;
  border: 1px solid rgba(114, 174, 225, 0.35) !important;
  border-radius: 10px !important;
  color: #e6f4ff !important;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Static pages (/about, /contact): dark content surface + spacing + form contrast */
body.page-template-default #content-area {
  align-items: flex-start !important;
}

body.page-template-default .et_pb_extra_column_main article.page {
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.95), rgba(13, 23, 36, 0.97)) !important;
  border: 1px solid rgba(122, 164, 214, 0.24) !important;
  border-radius: 18px;
  box-shadow: var(--ik-shadow);
  overflow: hidden;
}

body.page-template-default .et_pb_extra_column_main article.page .entry-title {
  color: #f5faff !important;
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 26px 34px 18px !important;
  border-bottom: 1px solid rgba(122, 164, 214, 0.2);
  background: rgba(10, 18, 31, 0.56);
}

body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content {
  padding: 26px 34px 30px !important;
  color: #cfe0f4 !important;
}

body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content p,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content li,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content label {
  color: #cfe0f4 !important;
}

body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content h2,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content h3 {
  color: #edf6ff !important;
}

body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="text"],
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="email"],
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="url"],
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content textarea {
  background: rgba(9, 18, 31, 0.9) !important;
  color: #e6f2ff !important;
  border: 1px solid rgba(122, 164, 214, 0.34) !important;
  border-radius: 10px !important;
}

body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="text"]::placeholder,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="email"]::placeholder,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="url"]::placeholder,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content textarea::placeholder {
  color: #8eaacc;
}

body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="submit"],
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content button,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content .wpcf7-submit {
  background: linear-gradient(135deg, #1c8ba8, #2494b1) !important;
  color: #eef9ff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
  padding: 11px 18px !important;
}

body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content input[type="submit"]:hover,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content button:hover,
body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content .wpcf7-submit:hover {
  background: linear-gradient(135deg, #1a7f9a, #1f88a5) !important;
}

/* About page: remove empty white builder section in post content */
body.page-id-33 .et_pb_extra_column_main article.page .et-l--post .et_pb_section.et_pb_section_0 {
  background: transparent !important;
  min-height: auto !important;
  margin: 0 !important;
}

body.page-id-33 .et_pb_extra_column_main article.page .et-l--post .et_pb_section.et_pb_section_0:empty {
  display: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* Contact template (Extra page-template-contact) */
body.page-template-page-template-contact #content-area {
  align-items: flex-start !important;
}

body.page-template-page-template-contact .et_extra_other_module.contact-box {
  background: linear-gradient(180deg, rgba(18, 31, 49, 0.95), rgba(13, 23, 36, 0.97)) !important;
  border: 1px solid rgba(122, 164, 214, 0.24) !important;
  border-radius: 18px;
  box-shadow: var(--ik-shadow);
  overflow: hidden;
}

body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-content {
  padding: 0 34px 30px !important;
}

body.page-template-page-template-contact .et_extra_other_module.contact-box h2 {
  color: #f5faff !important;
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: -0.01em;
  margin: 0 -34px 20px !important;
  padding: 26px 34px 18px !important;
  border-bottom: 1px solid rgba(122, 164, 214, 0.2);
  background: rgba(10, 18, 31, 0.56);
}

body.page-template-page-template-contact .et_extra_other_module.contact-box .et-l--post .et_pb_section.et_pb_section_0 {
  display: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
}

body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form input[type="text"],
body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form input[type="email"],
body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form textarea {
  background: rgba(9, 18, 31, 0.9) !important;
  color: #e6f2ff !important;
  border: 1px solid rgba(122, 164, 214, 0.34) !important;
  border-radius: 10px !important;
}

body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form input::placeholder,
body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form textarea::placeholder {
  color: #8eaacc !important;
}

body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form .submit {
  background: linear-gradient(135deg, #1c8ba8, #2494b1) !important;
  color: #eef9ff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
  padding: 11px 18px !important;
}

body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form .submit:hover {
  background: linear-gradient(135deg, #1a7f9a, #1f88a5) !important;
}

/* Empty category (/category/razdely): fix text contrast + composition */
body.category-razdely #content-area {
  align-items: flex-start !important;
}

body.category-razdely .posts-blog-feed-module.standard.post-module.et_pb_extra_module.module {
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  min-height: 220px;
}

body.category-razdely .posts-blog-feed-module.standard.post-module article.nopost {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 14px;
  padding: 20px 22px !important;
  border: 1px dashed rgba(132, 177, 224, 0.34) !important;
  background: rgba(9, 18, 31, 0.58) !important;
}

body.category-razdely .posts-blog-feed-module.standard.post-module article.nopost h5 {
  color: #d8e7fa !important;
  text-transform: none;
  letter-spacing: 0.02em;
  margin: 0;
}

body.category-razdely .posts-blog-feed-module.standard.post-module article.nopost.ik-razdely-filled {
  display: block !important;
  min-height: auto !important;
  padding: 20px 22px !important;
}

body.category-razdely .ik-razdely-title {
  margin: 0 0 12px;
  color: #e6f2ff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

body.category-razdely .ik-razdely-note {
  margin: 0 0 16px;
  color: #a9c0dd;
  font-size: 14px;
  line-height: 1.45;
}

body.category-razdely .ik-razdely-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.category-razdely .ik-razdely-links a {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(122, 164, 214, 0.28);
  border-radius: 10px;
  color: #eaf4ff !important;
  background: rgba(11, 20, 33, 0.58);
  font-weight: 600;
  text-decoration: none;
}

body.category-razdely .ik-razdely-links a:hover {
  border-color: rgba(122, 164, 214, 0.5);
  background: rgba(14, 26, 43, 0.82);
}

/* Click/hover micro-animations for key controls */
#et-navigation > ul > li > a,
.tabbed-post-module .tabs li,
.post-footer .social-icons.ed-social-share-icons > a.social-share-link,
#et_social_followers-5 .widget_list > li > a.social-icon,
.single .post-nav .nav-link .button,
.widget_search input[type="submit"],
.b-unisender-form__submit,
.b-unisender-form__submit-button,
.single #commentform input#submit,
.single #commentform input[type="submit"],
body.page-template-default .entry-content input[type="submit"] {
  transition: transform 0.14s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.2s ease, border-color 0.2s ease !important;
  transform: translateZ(0);
}

#et-navigation > ul > li > a:hover,
.tabbed-post-module .tabs li:hover,
.post-footer .social-icons.ed-social-share-icons > a.social-share-link:hover,
#et_social_followers-5 .widget_list > li > a.social-icon:hover,
.single .post-nav .nav-link .button:hover,
.widget_search input[type="submit"]:hover,
.b-unisender-form__submit:hover,
.b-unisender-form__submit-button:hover,
.single #commentform input#submit:hover,
.single #commentform input[type="submit"]:hover,
body.page-template-default .entry-content input[type="submit"]:hover {
  transform: translateY(-1px);
}

#et-navigation > ul > li > a:active,
.tabbed-post-module .tabs li:active,
.post-footer .social-icons.ed-social-share-icons > a.social-share-link:active,
#et_social_followers-5 .widget_list > li > a.social-icon:active,
.single .post-nav .nav-link .button:active,
.widget_search input[type="submit"]:active,
.b-unisender-form__submit:active,
.b-unisender-form__submit-button:active,
.single #commentform input#submit:active,
.single #commentform input[type="submit"]:active,
body.page-template-default .entry-content input[type="submit"]:active {
  transform: translateY(1px) scale(0.98);
}

/* ==========================================================================
   [ADB] Final hardening pass: alignment, spacing and click states
   ========================================================================== */

/* Top utility bar: stable alignment for social icons + search */
#top-header .container {
  display: flex !important;
  align-items: center !important;
  gap: 16px;
  min-height: 36px;
}

#top-header #et-secondary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

#top-header #et-info {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px;
  padding: 0 !important;
}

#top-header #et-info .et-extra-social-icons {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

#top-header #et-info .et-extra-social-icons .et-extra-social-icon {
  margin: 0 !important;
  padding: 0 !important;
}

#top-header #et-info .et-extra-social-icons .et-extra-social-icon a.et-extra-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  background: rgba(90, 120, 154, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(132, 177, 224, 0.2);
}

#top-header #et-info .et-top-search,
#top-header #et-info .et-search-form {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

#top-header #et-info .et-top-search {
  min-height: 30px;
}

#top-header #et-info .et-search-field {
  height: 30px !important;
  padding: 0 12px !important;
  background: rgba(12, 24, 40, 0.9) !important;
  color: #deebff !important;
  border: 1px solid rgba(122, 164, 214, 0.32) !important;
  border-right: none !important;
  border-radius: 8px 0 0 8px !important;
}

#top-header #et-info .et-search-submit {
  height: 30px !important;
  min-width: 34px;
  border-radius: 0 8px 8px 0 !important;
  border: 1px solid rgba(122, 164, 214, 0.32) !important;
  border-left: none !important;
  background: rgba(17, 31, 50, 0.92) !important;
  color: #d4e5fb !important;
}

/* Sidebar social block: row geometry and text centering */
#et_social_followers-5 .widget_list > li {
  min-height: 64px;
  padding: 10px 14px !important;
  border-top: 1px solid rgba(122, 164, 214, 0.16);
}

#et_social_followers-5 .widget_list > li:first-child {
  border-top: 0;
}

#et_social_followers-5 a.widget_list_social {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  gap: 14px;
}

#et_social_followers-5 a.widget_list_social .title {
  color: #e7f3ff !important;
  font-size: 18px !important;
  letter-spacing: 0.05em !important;
  line-height: 1.12 !important;
}

/* Home/category list cards: remove uneven gutters and keep compact rhythm */
.post-module .posts-list,
.tabbed-post-module .posts-list {
  margin: 12px 0 0 !important;
  padding: 0 12px 12px !important;
  display: grid !important;
  gap: 10px;
}

.post-module .posts-list li,
.tabbed-post-module .posts-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.post-module .posts-list li article,
.tabbed-post-module .posts-list li article {
  margin: 0 !important;
}

.post-module .posts-list li article .post-content,
.tabbed-post-module .posts-list li article .post-content {
  padding: 10px 12px 11px !important;
}

/* Tabs: force dark active/non-active states, including admin sessions */
body.et_extra .tabbed-post-module .tabs li,
body.et-db #et-boc .tabbed-post-module .tabs li {
  background: rgba(12, 23, 37, 0.96) !important;
  border-right: 1px solid rgba(122, 164, 214, 0.2) !important;
}

body.et_extra .tabbed-post-module .tabs li > a,
body.et-db #et-boc .tabbed-post-module .tabs li > a {
  display: block;
  color: #9fb6d6 !important;
  background: transparent !important;
}

body.et_extra .tabbed-post-module .tabs li.active,
body.et-db #et-boc .tabbed-post-module .tabs li.active {
  background: rgba(17, 31, 50, 0.98) !important;
  color: #eef7ff !important;
  box-shadow: inset 0 -2px 0 #4cb8d6 !important;
}

body.et_extra .tabbed-post-module .tabs li.active > a,
body.et-db #et-boc .tabbed-post-module .tabs li.active > a {
  color: #eef7ff !important;
  background: transparent !important;
}

body.et_extra .tabbed-post-module .tabs li > span,
body.et-db #et-boc .tabbed-post-module .tabs li > span {
  color: inherit !important;
}

/* Tab content layout: always full-width main post, list below (no empty right half) */
.tabbed-post-module .tab-content > .main-post {
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
  margin-bottom: 12px !important;
}

.tabbed-post-module .tab-content > .main-post > article {
  width: 100% !important;
  max-width: none !important;
}

.tabbed-post-module .tab-content > .posts-list {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tabbed-post-module .tab-content > .posts-list > li {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.tabbed-post-module .tab-content > .posts-list > li:last-child {
  margin-bottom: 0 !important;
}

/* Archive/search "no posts": keep readable and visually consistent */
body.archive .posts-blog-feed-module.standard.post-module article.nopost,
body.search .posts-blog-feed-module.standard.post-module article.nopost {
  margin: 14px !important;
  padding: 16px 18px !important;
  border-radius: 12px;
  border: 1px dashed rgba(132, 177, 224, 0.34) !important;
  background: rgba(9, 18, 31, 0.58) !important;
}

body.archive .posts-blog-feed-module.standard.post-module article.nopost h5,
body.search .posts-blog-feed-module.standard.post-module article.nopost h5 {
  color: #d8e7fa !important;
  font-size: 15px;
  letter-spacing: 0.03em;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tab module content can inherit fixed heights from Extra; keep it natural */
.tabbed-post-module .tab-content,
.tabbed-post-module .tab-content .paginated_content,
.tabbed-post-module .tab-content .paginated_page {
  min-height: 0 !important;
  height: auto !important;
}

/* Single post footer: center and align social/rating cluster */
.single .post-footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px 24px !important;
  padding: 18px 24px 4px !important;
}

.single .post-footer .social-icons.ed-social-share-icons,
.single .post-footer .rating-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 !important;
}

.single .post-footer .rating-stars #rating-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
}

.single .post-footer .rating-stars #rating-stars img {
  width: 22px;
  height: 22px;
}

/* Single post previous/next: true two-column nav and button alignment */
.single .post-nav .nav-links {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 22px;
}

.single .post-nav .nav-link {
  flex: 1 1 0;
  min-width: 0;
}

.single .post-nav .nav-link:empty {
  display: none !important;
}

.single .post-nav .nav-link:not(:has(a)) {
  display: none !important;
}

.single .post-nav .nav-link a {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
}

.single .post-nav .nav-link .title {
  padding-top: 0 !important;
  line-height: 1.3;
  width: 100%;
}

.single .post-nav .nav-link-next {
  text-align: right;
}

.single .post-nav .nav-link-next a {
  align-items: flex-end !important;
  width: 100% !important;
}

.single .post-nav .nav-link-next .button {
  margin-left: auto;
}

.single .post-nav .nav-link-prev .title {
  text-align: left !important;
  width: 100% !important;
}

.single .post-nav .nav-link-next .title {
  text-align: right !important;
  width: 100% !important;
  margin-left: auto !important;
}

.single .post-nav .nav-link-prev:not(:has(a)) + .nav-link-next {
  margin-left: 0;
  flex: 1 1 100%;
  display: flex;
  justify-content: flex-end;
}

.single .post-nav .nav-link-prev:not(:has(a)) + .nav-link-next > a {
  width: auto !important;
  max-width: min(68%, 64ch);
}

.single .post-nav .nav-link-prev:not(:has(a)) + .nav-link-next .title {
  width: auto !important;
  text-align: right !important;
}

.single .post-nav .nav-link-next:not(:has(a)) {
  margin-right: auto;
  flex: 0 1 min(64ch, 68%);
}

@media (max-width: 980px) {
  #top-header {
    display: none;
  }

  #main-header-wrapper {
    padding-top: 6px;
  }

  #main-header {
    border-radius: 12px;
  }

  #main-content {
    margin-top: 14px;
  }

  #main-content .et_pb_row {
    width: min(1240px, 95%);
  }

  .featured-posts-slider-module article .post-content {
    padding: 18px 18px 22px;
  }

  .single #content-area .single-post-module .post-header {
    padding: 22px 20px 14px;
  }

  .single #content-area .single-post-module .post-content.entry-content {
    padding: 24px 20px;
  }

  body.search #content-area > .et_pb_extra_column_main > h1 {
    font-size: 24px;
  }

  body.page-template-default .et_pb_extra_column_main article.page .entry-title {
    padding: 22px 20px 14px !important;
  }

  body.page-template-default .et_pb_extra_column_main article.page .post-content.entry-content {
    padding: 22px 20px 24px !important;
  }

  .single .post-nav .nav-links {
    flex-direction: column;
    gap: 14px;
  }

  .single .post-nav .nav-link,
  .single .post-nav .nav-link-next {
    text-align: left;
  }

  .single .post-nav .nav-link-next a {
    align-items: flex-start;
  }

  .single .post-nav .nav-link-next .button {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  #main-header {
    border-radius: 10px;
  }

  #main-content .et_pb_extra_module,
  #main-content .et_pb_widget {
    border-radius: 14px;
  }

  .post-module article,
  .tabbed-post-module article,
  .posts-blog-feed-module article,
  .posts-carousel-module .carousel-item {
    border-radius: 12px;
  }

  body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-content {
    padding: 0 16px 18px !important;
  }

  body.page-template-page-template-contact .et_extra_other_module.contact-box h2 {
    margin: 0 -16px 14px !important;
    padding: 16px 16px 14px !important;
  }

  body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form .field {
    float: none !important;
    width: 100% !important;
    margin: 0 0 10px !important;
  }

  body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form input[type="text"],
  body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form input[type="email"] {
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    padding: 10px 12px !important;
  }

  body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form textarea {
    width: 100% !important;
    min-height: 150px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    padding: 10px 12px !important;
  }

  body.page-template-page-template-contact .et_extra_other_module.contact-box .contact-form.extra-contact-form .submit {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 8px !important;
  }

  body.category-razdely .ik-razdely-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   [ADB] UX hardening pass (topbar, tab widths, compact card spacing)
   ========================================================================== */

/* Top bar: avoid clipped right edge around search and icon fallback glyphs */
#top-header #et-info {
  padding-right: 6px !important;
}

#top-header #et-info .et-extra-social-icons .et-extra-social-icon a.et-extra-icon {
  font-size: 0 !important;
}

#top-header #et-info .et-top-search {
  margin-left: 2px !important;
}

#top-header #et-info .et-search-form {
  overflow: hidden;
  border-radius: 8px !important;
  border: 1px solid rgba(122, 164, 214, 0.32) !important;
  background: rgba(12, 24, 40, 0.92) !important;
}

#top-header #et-info .et-search-field {
  border: 0 !important;
  border-radius: 0 !important;
}

#top-header #et-info .et-search-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  min-width: 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
}

/* Sidebar subscribe card: remove visual double frame from widget wrapper */
#block-15.et_pb_widget {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Tabs: always stretch to full module width */
.tabbed-post-module .tabs {
  display: flex !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

.tabbed-post-module .tabs li {
  float: none !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tabbed-post-module .tabs li > a,
.tabbed-post-module .tabs li > span {
  width: 100% !important;
  text-align: center !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact list cards: stop meta/excerpt overlap and keep full width */
.post-module .posts-list,
.tabbed-post-module .posts-list {
  display: block !important;
}

.post-module .posts-list > li,
.tabbed-post-module .posts-list > li,
.et_extra_other_module .posts-list > li {
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.post-module .posts-list li article .post-meta p,
.tabbed-post-module .posts-list li article .post-meta p,
.et_extra_other_module .posts-list li article .post-meta p {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  column-gap: 7px !important;
  row-gap: 4px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  margin: 0 !important;
}

.post-module .posts-list li article .post-meta p > span.updated,
.tabbed-post-module .posts-list li article .post-meta p > span.updated,
.et_extra_other_module .posts-list li article .post-meta p > span.updated {
  line-height: 1.25 !important;
}

.post-module .posts-list li article .post-meta p > span.rating-stars,
.tabbed-post-module .posts-list li article .post-meta p > span.rating-stars,
.et_extra_other_module .posts-list li article .post-meta p > span.rating-stars {
  transform: translateY(1px);
}

@media (max-width: 767px) {
  /* Mobile: prevent half-width cards with empty right column in feed/masonry blocks */
  .posts-blog-feed-module article,
  .posts-blog-feed-module.masonry article,
  .posts-blog-feed-module .paginated_content article,
  .posts-blog-feed-module .paginated_page article {
    width: 100% !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   [ADB] Critical live fixes: header search, tab geometry, compact cards
   ========================================================================== */

/* Top-right search in utility bar: avoid clipping at right edge */
#top-header #et-info {
  padding-right: 10px !important;
  gap: 8px !important;
}

#top-header #et-info .et-top-search {
  overflow: visible !important;
}

#top-header #et-info .et-search-form {
  display: flex !important;
  align-items: center !important;
  width: 120px !important;
  max-width: 120px !important;
  overflow: hidden !important;
}

#top-header #et-info .et-search-submit {
  flex: 0 0 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
}

#top-header #et-info .et-search-submit::before {
  margin: 0 !important;
  line-height: 1 !important;
}

/* Sidebar wrapper around Unisender form: no extra frame */
.et_pb_extra_column_sidebar #block-15.et_pb_widget.widget_block {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Tabs: stretch full width and remove trailing blank segment */
.tabbed-post-module .tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.tabbed-post-module .tabs > ul {
  display: flex !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tabbed-post-module .tabs .tab-nav {
  display: none !important;
}

.tabbed-post-module .tabs li {
  float: none !important;
  width: 33.3333% !important;
  flex: 0 0 33.3333% !important;
  min-width: 0 !important;
}

.tabbed-post-module .tabs li > a,
.tabbed-post-module .tabs li > span {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Extra sets first tab-content as flex; keep only visible tab in block flow */
.tabbed-post-module .tab-content:not([style*="display:none"]):not([style*="display: none"]) {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
}

.tabbed-post-module .tab-content:not([style*="display:none"]):not([style*="display: none"]) > .main-post,
.tabbed-post-module .tab-content:not([style*="display:none"]):not([style*="display: none"]) > .posts-list {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tabbed-post-module .tab-content:not([style*="display:none"]):not([style*="display: none"]) > .posts-list > li {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Compact list cards: stable height + readable meta row */
.post-module .posts-list li article,
.tabbed-post-module .posts-list li article,
.et_extra_other_module .posts-list li article {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
}

.post-module .posts-list li article .post-content,
.tabbed-post-module .posts-list li article .post-content,
.et_extra_other_module .posts-list li article .post-content {
  min-height: 0 !important;
  height: auto !important;
}

.post-module .posts-list li article .post-meta p,
.tabbed-post-module .posts-list li article .post-meta p,
.et_extra_other_module .posts-list li article .post-meta p {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  column-gap: 7px !important;
  row-gap: 3px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.post-module .posts-list li article .post-meta p > span.updated,
.tabbed-post-module .posts-list li article .post-meta p > span.updated,
.et_extra_other_module .posts-list li article .post-meta p > span.updated {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.post-module .posts-list li article .post-meta p > span.rating-stars,
.tabbed-post-module .posts-list li article .post-meta p > span.rating-stars,
.et_extra_other_module .posts-list li article .post-meta p > span.rating-stars {
  font-size: 12px !important;
  line-height: 1 !important;
}

@media (max-width: 767px) {
  /* Mobile frame: prevent horizontal overflow from Extra row/column defaults */
  body.et_extra #main-content .container,
  body.et_extra #main-content .et_pb_section,
  body.et_extra #main-content .et_pb_row,
  body.et_extra #main-content .et_pb_column,
  body.et_extra #main-content .et_pb_column_4_4,
  body.et_extra #main-content .et_pb_extra_module {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.et_extra #main-content .et_pb_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.et_extra #main-content .et_pb_column {
    float: none !important;
    margin-right: 0 !important;
  }

  body.et_extra .posts-blog-feed-module .paginated_page,
  body.et_extra .posts-blog-feed-module .column,
  body.et_extra .posts-blog-feed-module article {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
  }
}

/* ==========================================================================
   [ADB] Live polish v2: home layout consistency + tabs/ripple + masonry fix
   ========================================================================== */

/* 1) Top search + icon: remove clipping and align icon center */
:is(body.home, body.blog) #top-header #et-info {
  padding-right: 12px !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-form {
  width: 132px !important;
  max-width: 132px !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-field {
  min-width: 96px !important;
  width: 96px !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-submit {
  width: 36px !important;
  min-width: 36px !important;
  border-left: 1px solid rgba(122, 164, 214, 0.26) !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-submit::before {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

/* 2) First slider: soften border glow/highlights */
:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide {
  border-color: rgba(96, 142, 189, 0.16) !important;
  box-shadow: 0 10px 22px rgba(4, 10, 21, 0.26) !important;
}

/* 3-4) Unified spacing and centering on homepage main/sidebar columns */
:is(body.home, body.blog) #content-area {
  display: flex !important;
  align-items: flex-start !important;
}

:is(body.home, body.blog) #content-area .et_pb_extra_column_main {
  width: calc(100% - 324px) !important;
  max-width: none !important;
  flex: 0 0 calc(100% - 324px) !important;
  float: none !important;
  margin: 0 22px 0 0 !important;
}

:is(body.home, body.blog) #content-area .et_pb_extra_column_sidebar {
  width: 302px !important;
  max-width: 302px !important;
  flex: 0 0 302px !important;
  float: none !important;
  margin: 0 !important;
}

:is(body.home, body.blog) #content-area .et_pb_extra_column_main > .et_pb_extra_module {
  margin-bottom: 22px !important;
}

:is(body.home, body.blog) #content-area .et_pb_extra_column_main > .et_pb_extra_module:last-child {
  margin-bottom: 0 !important;
}

/* 5) Tabs: prevent white flash on click (ripple layer) */
.tabbed-post-module .tabs li .ripple {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.tabbed-post-module .tabs li,
.tabbed-post-module .tabs li::before,
.tabbed-post-module .tabs li::after {
  transition: none !important;
}

.tabbed-post-module .tabs li:active,
.tabbed-post-module .tabs li.active:active,
.tabbed-post-module .tabs li:focus {
  background: rgba(17, 31, 50, 0.98) !important;
  color: #eef7ff !important;
}

/* 6) Last block (masonry feed): remove right empty area and normalize columns */
:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page {
  display: block !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page::after {
  content: "";
  display: block;
  clear: both;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column {
  float: left !important;
  width: 50% !important;
  margin: 0 !important;
  clear: none !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column:nth-child(2n + 1) {
  clear: left !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry article {
  width: calc(100% - 16px) !important;
  margin: 0 8px 16px !important;
  max-width: none !important;
}

/* Carousel module with short list: fill width consistently */
:is(body.home, body.blog) .posts-carousel-module .posts-slider-module-items.carousel-items {
  width: 100% !important;
}

:is(body.home, body.blog) .posts-carousel-module .carousel-group {
  width: 100% !important;
}

@media (max-width: 980px) {
  :is(body.home, body.blog) #content-area {
    display: block !important;
  }

  :is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column {
    width: 100% !important;
    clear: both !important;
  }

  :is(body.home, body.blog) .posts-blog-feed-module.masonry article {
    width: 100% !important;
    margin: 0 0 16px !important;
  }
}

@media (min-width: 981px) {
  /* Stretch lower feed sections into the freed sidebar zone to remove right-side emptiness */
  :is(body.home, body.blog) .tabbed-post-module,
  :is(body.home, body.blog) .posts-blog-feed-module.masonry {
    width: calc(100% + 324px) !important;
    margin-right: -324px !important;
  }
}

/* ==========================================================================
   [ADB] Live polish v3: stable tabs/search + carousel/masonry balance
   ========================================================================== */

/* Keep lower modules in main column (cancel experimental stretching) */
@media (min-width: 981px) {
  :is(body.home, body.blog) .et_pb_extra_column_main > .tabbed-post-module,
  :is(body.home, body.blog) .et_pb_extra_column_main > .posts-blog-feed-module.masonry,
  :is(body.home, body.blog) .et_pb_extra_column_main > .posts-carousel-module {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* Top search: force submit button into normal flow (theme sets absolute by default) */
:is(body.home, body.blog) #top-header #et-info .et-search-form {
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-submit {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-submit::before {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Featured slider: remove bright edge bleed and keep darker border */
:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide {
  border-color: rgba(85, 129, 173, 0.14) !important;
  box-shadow: 0 8px 18px rgba(3, 9, 19, 0.22) !important;
  overflow: hidden !important;
}

/* Tabs: never render white active/loading state */
:is(body.home, body.blog) .tabbed-post-module .tabs li,
:is(body.home, body.blog) .tabbed-post-module .tabs li:hover,
:is(body.home, body.blog) .tabbed-post-module .tabs li:focus,
:is(body.home, body.blog) .tabbed-post-module .tabs li:active,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active:hover,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active:focus,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active:active,
:is(body.home, body.blog) .tabbed-post-module .tabs li.et-accent-color-parent-term,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active.et-accent-color-parent-term {
  background: rgba(12, 23, 37, 0.96) !important;
  color: #a9bfdc !important;
  box-shadow: none !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs li.active {
  background: rgba(17, 31, 50, 0.98) !important;
  color: #eef7ff !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs li .ripple {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Better inner spacing for list rows inside tab modules */
:is(body.home, body.blog) .tabbed-post-module .posts-list {
  padding: 0 10px 10px !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list > li {
  margin: 0 0 10px !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list > li:last-child {
  margin-bottom: 0 !important;
}

/* Carousel cards: remove right-side empty track space when post count is short */
:is(body.home, body.blog) .posts-carousel-module .carousel-group {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: 12px !important;
}

:is(body.home, body.blog) .posts-carousel-module .carousel-group > article.carousel-item {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: 1 1 0 !important;
  margin: 0 !important;
}

/* Masonry: hide empty column and keep non-empty column(s) centered/full */
:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column:empty {
  display: none !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page:has(> .column:empty) > .column:not(:empty) {
  width: 100% !important;
  max-width: 100% !important;
}

/* If masonry degenerates into 2+1 cards, stack columns into one flow (no right-side void) */
:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page:has(> .column:nth-child(2) > article:nth-child(1)):not(:has(> .column:nth-child(2) > article:nth-child(2))) > .column {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ==========================================================================
   [ADB] Live polish v4: global geometry stabilization across all templates
   ========================================================================== */

/* 1) Top utility search: keep button inside form, no clipping on all pages */
#top-header #et-info {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-right: 12px !important;
}

#top-header #et-info .et-search-form {
  display: flex !important;
  align-items: center !important;
  width: 136px !important;
  max-width: 136px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  border: 1px solid rgba(122, 164, 214, 0.32) !important;
  background: rgba(12, 24, 40, 0.92) !important;
}

#top-header #et-info .et-search-field {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding-right: 6px !important;
}

#top-header #et-info .et-search-submit {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  margin: 0 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  min-width: 34px !important;
  line-height: 1 !important;
  border-left: 1px solid rgba(122, 164, 214, 0.26) !important;
}

#top-header #et-info .et-search-submit::before {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  transform: none !important;
  line-height: 1 !important;
}

/* 2) Main/sidebar column rhythm: same spacing on home, categories, pages, single */
#content-area.with_sidebar {
  display: flex !important;
  align-items: flex-start !important;
  gap: 22px !important;
}

#content-area.with_sidebar .et_pb_extra_column_main {
  float: none !important;
  margin: 0 !important;
  width: auto !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#content-area.with_sidebar .et_pb_extra_column_sidebar {
  float: none !important;
  margin: 0 !important;
  width: 302px !important;
  max-width: 302px !important;
  flex: 0 0 302px !important;
}

#content-area.with_sidebar .et_pb_extra_column_main > .et_pb_extra_module {
  margin-bottom: 22px !important;
}

#content-area.with_sidebar .et_pb_extra_column_main > .et_pb_extra_module:last-child {
  margin-bottom: 0 !important;
}

/* 3) Featured slider: reduce edge glow/white highlights */
.featured-posts-slider-module .posts-slider-module-items article.et_pb_slide {
  border-color: rgba(86, 130, 173, 0.12) !important;
  box-shadow: 0 6px 16px rgba(3, 9, 19, 0.2) !important;
  overflow: hidden !important;
}

.featured-posts-slider-module .posts-slider-module-items article.et_pb_slide::after {
  background: linear-gradient(180deg, rgba(8, 14, 25, 0.03) 28%, rgba(8, 14, 25, 0.84) 100%) !important;
}

/* 4) Tab module stability: no temporary white active states */
.tabbed-post-module .tabs li,
.tabbed-post-module .tabs li:hover,
.tabbed-post-module .tabs li:focus,
.tabbed-post-module .tabs li:active,
.tabbed-post-module .tabs li.et-accent-color-parent-term,
.tabbed-post-module .tabs li.et-accent-color-parent-term:hover,
.tabbed-post-module .tabs li.et-accent-color-parent-term:focus,
.tabbed-post-module .tabs li.et-accent-color-parent-term:active {
  background-color: rgba(12, 23, 37, 0.96) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #9fb6d6 !important;
  -webkit-tap-highlight-color: transparent;
}

.tabbed-post-module .tabs li.active,
.tabbed-post-module .tabs li.active:hover,
.tabbed-post-module .tabs li.active:focus,
.tabbed-post-module .tabs li.active:active,
.tabbed-post-module .tabs li.active.et-accent-color-parent-term {
  background-color: rgba(17, 31, 50, 0.98) !important;
  background-image: none !important;
  color: #eef7ff !important;
}

.tabbed-post-module .tabs li .ripple {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 5) Compact list rows inside tabs/posts-list */
.tabbed-post-module .posts-list {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  padding: 0 10px 10px !important;
}

.tabbed-post-module .posts-list > li {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 0 10px !important;
}

.tabbed-post-module .posts-list > li:last-child {
  margin-bottom: 0 !important;
}

.tabbed-post-module .posts-list li article {
  width: 100% !important;
  max-width: 100% !important;
}

/* 6) Last feed block: force one-column masonry to avoid empty right zone */
.posts-blog-feed-module.masonry .paginated_page {
  display: block !important;
}

.posts-blog-feed-module.masonry .paginated_page > .column {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.posts-blog-feed-module.masonry .paginated_page > .column + .column {
  display: none !important;
}

.posts-blog-feed-module.masonry article {
  width: 100% !important;
  max-width: 100% !important;
  left: auto !important;
  right: auto !important;
  margin: 0 0 16px !important;
}

.posts-blog-feed-module.masonry article:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 980px) {
  #top-header #et-info .et-search-form {
    width: 122px !important;
    max-width: 122px !important;
  }

  #content-area.with_sidebar {
    display: block !important;
  }

  #content-area.with_sidebar .et_pb_extra_column_main,
  #content-area.with_sidebar .et_pb_extra_column_sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  #content-area.with_sidebar .et_pb_extra_column_sidebar {
    margin-top: 20px !important;
  }
}

/* ==========================================================================
   [ADB] Live polish v5: tabs + nopost cleanup + masonry geometry final
   ========================================================================== */

/* 1) Top search button/icon alignment */
:is(body.home, body.blog) #top-header #et-info .et-search-form {
  height: 30px !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-field {
  height: 100% !important;
  line-height: 30px !important;
  padding: 0 8px 0 10px !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-submit {
  height: 100% !important;
}

:is(body.home, body.blog) #top-header #et-info .et-search-submit::before {
  font-size: 14px !important;
  line-height: 1 !important;
}

/* 2) Featured slider edge glow softening */
:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide {
  box-shadow: none !important;
  border-color: rgba(82, 122, 164, 0.2) !important;
}

:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide::after {
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.02) 24%, rgba(7, 13, 24, 0.86) 100%) !important;
}

/* 3) Tabs: stable width/alignment and no temporary white states */
:is(body.home, body.blog) .tabbed-post-module .tabs {
  overflow: hidden !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs > ul {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs .tab-nav {
  display: none !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs li > a,
:is(body.home, body.blog) .tabbed-post-module .tabs li > span {
  display: block !important;
  width: 100% !important;
  padding: 10px 14px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs li,
:is(body.home, body.blog) .tabbed-post-module .tabs li:hover,
:is(body.home, body.blog) .tabbed-post-module .tabs li:focus,
:is(body.home, body.blog) .tabbed-post-module .tabs li:active,
:is(body.home, body.blog) .tabbed-post-module .tabs li.et-accent-color-parent-term,
:is(body.home, body.blog) .tabbed-post-module .tabs li.et-accent-color-parent-term:hover,
:is(body.home, body.blog) .tabbed-post-module .tabs li.et-accent-color-parent-term:focus,
:is(body.home, body.blog) .tabbed-post-module .tabs li.et-accent-color-parent-term:active {
  background: rgba(12, 23, 37, 0.96) !important;
  background-image: none !important;
}

:is(body.home, body.blog) .tabbed-post-module .tabs li.active,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active:hover,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active:focus,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active:active,
:is(body.home, body.blog) .tabbed-post-module .tabs li.active.et-accent-color-parent-term {
  background: rgba(17, 31, 50, 0.98) !important;
  background-image: none !important;
}

/* 4) Hide empty tab placeholders and keep list spacing clean */
:is(body.home, body.blog) .tabbed-post-module .tab-content article.nopost,
:is(body.home, body.blog) .tabbed-post-module .posts-list > li:has(> article.nopost) {
  display: none !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list {
  padding: 0 10px 10px !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list > li {
  margin: 0 0 8px !important;
  padding: 0 !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list > li:last-child {
  margin-bottom: 0 !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list li article {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 8px 10px !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list li article .post-thumbnail {
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 56px !important;
}

:is(body.home, body.blog) .tabbed-post-module .posts-list li article .post-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* 5) Last block: override old 50% column geometry from previous polish blocks */
:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page {
  display: block !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: both !important;
  display: block !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column + .column,
:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column:empty {
  display: none !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > article,
:is(body.home, body.blog) .posts-blog-feed-module.masonry article {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  left: auto !important;
  right: auto !important;
  margin: 0 0 16px !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry article:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================================================
   [ADB] Live polish v6: clean card visual language (forum-inspired)
   ========================================================================== */

/* 1) Main/Sidebar rhythm */
:is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar {
  gap: 24px !important;
}

:is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar .et_pb_extra_column_main {
  min-width: 0 !important;
}

:is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar .et_pb_extra_column_sidebar {
  width: 300px !important;
  max-width: 300px !important;
  flex: 0 0 300px !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main > .et_pb_row {
  margin-bottom: 20px !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main > .et_pb_row:last-child {
  margin-bottom: 0 !important;
}

/* 2) Unified module shell */
:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main .et_pb_extra_module {
  border: 1px solid rgba(82, 130, 180, 0.28) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(9, 22, 39, 0.94) 0%, rgba(8, 18, 33, 0.97) 100%) !important;
  box-shadow: 0 12px 24px rgba(1, 6, 14, 0.28) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main .et_pb_extra_module .module-head {
  border-bottom: 1px solid rgba(82, 130, 180, 0.18) !important;
  padding: 10px 14px !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main .et_pb_extra_module .module-head h3 {
  font-size: 15px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
}

/* 3) Two-column content row: equal geometry, fewer offset glitches */
:is(body.home, body.blog) .et_pb_extra_column_main > .et_pb_row .et_pb_column_1_2 {
  width: calc(50% - 10px) !important;
  margin: 0 !important;
}

:is(body.home, body.blog) .et_pb_extra_column_main > .et_pb_row .et_pb_column_1_2 + .et_pb_column_1_2 {
  margin-left: 20px !important;
}

/* 4) Featured slider card */
:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide {
  border-radius: 14px !important;
  border-color: rgba(82, 130, 180, 0.24) !important;
  box-shadow: 0 10px 22px rgba(2, 8, 19, 0.25) !important;
}

:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide .post-content {
  padding: 12px 14px 14px !important;
}

/* 5) Compact cards in post-module lists */
:is(body.home, body.blog, body.archive, body.category) .post-module .posts-list {
  padding: 0 10px 10px !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-module .posts-list > li {
  margin: 0 0 8px !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-module .posts-list > li:last-child {
  margin-bottom: 0 !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-module .posts-list li article {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(82, 130, 180, 0.24) !important;
  border-radius: 10px !important;
  background: rgba(9, 22, 39, 0.74) !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-module .posts-list li article .post-thumbnail {
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 56px !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-module .posts-list li article .post-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
}

/* 6) Tabs as segmented control + cleaner content area */
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs {
  border-bottom: 1px solid rgba(82, 130, 180, 0.2) !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs > ul {
  gap: 0 !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li {
  border-right: 1px solid rgba(82, 130, 180, 0.2) !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li:last-child {
  border-right: 0 !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tab-content > .main-post {
  margin-bottom: 8px !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tab-content > .main-post > article {
  border-radius: 12px !important;
  overflow: hidden !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tab-content article.nopost {
  display: none !important;
}

/* 7) Masonry/feed -> stable grid without dead right area */
:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column {
  display: contents !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column + .column {
  display: contents !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page > .column:empty {
  display: none !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry article {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  border: 1px solid rgba(82, 130, 180, 0.24) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: rgba(9, 22, 39, 0.78) !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry article .post-content {
  padding: 10px 12px 12px !important;
}

/* 8) Sidebar visual consistency */
:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_sidebar .widget {
  border-radius: 12px !important;
  border: 1px solid rgba(82, 130, 180, 0.24) !important;
  background: linear-gradient(180deg, rgba(10, 22, 39, 0.9) 0%, rgba(8, 18, 33, 0.94) 100%) !important;
  box-shadow: 0 8px 18px rgba(1, 6, 14, 0.2) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_sidebar .widget:not(:last-child) {
  margin-bottom: 18px !important;
}

/* 9) Mobile */
@media (max-width: 980px) {
  :is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar .et_pb_extra_column_sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  :is(body.home, body.blog) .et_pb_extra_column_main > .et_pb_row .et_pb_column_1_2 {
    width: 100% !important;
    margin: 0 0 14px !important;
  }

  :is(body.home, body.blog) .et_pb_extra_column_main > .et_pb_row .et_pb_column_1_2 + .et_pb_column_1_2 {
    margin-left: 0 !important;
  }

  :is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   [ADB] Live polish v7: anti-nesting mode for cleaner homepage rhythm
   ========================================================================== */

/* Remove secondary nested lists inside modules (keep primary card only) */
:is(body.home, body.blog) .post-module .posts-list,
:is(body.home, body.blog) .tabbed-post-module .posts-list {
  display: none !important;
}

/* Keep only visible tab content pane and remove dead spacing */
:is(body.home, body.blog) .tabbed-post-module .tab-content {
  padding-bottom: 0 !important;
}

:is(body.home, body.blog) .tabbed-post-module .tab-content > .main-post {
  margin-bottom: 0 !important;
}

:is(body.home, body.blog) .tabbed-post-module .tab-content > .main-post > article {
  margin-bottom: 0 !important;
}

/* Primary cards in feed: more compact text to avoid crowding */
:is(body.home, body.blog) .posts-blog-feed-module.masonry article .post-title a {
  font-size: 25px !important;
  line-height: 1.2 !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry article .excerpt,
:is(body.home, body.blog) .posts-blog-feed-module.masonry article .excerpt p {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

@media (max-width: 980px) {
  :is(body.home, body.blog) .posts-blog-feed-module.masonry article .post-title a {
    font-size: 22px !important;
  }

  :is(body.home, body.blog) .posts-blog-feed-module.masonry article .excerpt,
  :is(body.home, body.blog) .posts-blog-feed-module.masonry article .excerpt p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}

/* ==========================================================================
   [ADB] Live polish v8: less gloomy palette (clean dark-blue + vivid accents)
   ========================================================================== */

:is(body.home, body.blog, body.archive, body.category) {
  background:
    radial-gradient(900px 520px at 12% 72%, rgba(51, 94, 142, 0.26) 0%, rgba(8, 19, 35, 0) 70%),
    radial-gradient(760px 420px at 82% 22%, rgba(36, 127, 191, 0.22) 0%, rgba(8, 19, 35, 0) 68%),
    linear-gradient(180deg, #081728 0%, #0b1d33 52%, #091a2d 100%) !important;
}

:is(body.home, body.blog, body.archive, body.category) #page-container {
  background: transparent !important;
}

:is(body.home, body.blog, body.archive, body.category) #top-header,
:is(body.home, body.blog, body.archive, body.category) #main-header {
  background: linear-gradient(180deg, rgba(13, 30, 52, 0.94) 0%, rgba(10, 24, 43, 0.96) 100%) !important;
  border-color: rgba(106, 155, 206, 0.26) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main .et_pb_extra_module,
:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_sidebar .widget {
  background: linear-gradient(180deg, rgba(14, 33, 58, 0.93) 0%, rgba(11, 26, 46, 0.95) 100%) !important;
  border-color: rgba(114, 164, 217, 0.34) !important;
  box-shadow: 0 10px 22px rgba(3, 10, 22, 0.2) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_module .module-head {
  background: rgba(16, 36, 62, 0.72) !important;
  border-bottom-color: rgba(114, 164, 217, 0.26) !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-title a,
:is(body.home, body.blog, body.archive, body.category) .entry-title a,
:is(body.home, body.blog, body.archive, body.category) h2.entry-title a {
  color: #c9ddfb !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-title a:hover,
:is(body.home, body.blog, body.archive, body.category) .entry-title a:hover,
:is(body.home, body.blog, body.archive, body.category) h2.entry-title a:hover {
  color: #7ed8ff !important;
}

:is(body.home, body.blog, body.archive, body.category) .excerpt,
:is(body.home, body.blog, body.archive, body.category) .excerpt p {
  color: #adc6e5 !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-meta,
:is(body.home, body.blog, body.archive, body.category) .post-meta a {
  color: #8fb0d2 !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li:hover,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li:focus {
  background: rgba(22, 45, 73, 0.92) !important;
  color: #aecded !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li.active,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li.active:hover,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li.active:focus {
  background: linear-gradient(180deg, rgba(36, 87, 136, 0.96) 0%, rgba(29, 73, 116, 0.98) 100%) !important;
  color: #f2f8ff !important;
  box-shadow: inset 0 -2px 0 rgba(126, 216, 255, 0.9) !important;
}

:is(body.home, body.blog, body.archive, body.category) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide,
:is(body.home, body.blog) .posts-blog-feed-module.masonry article {
  border-color: rgba(114, 164, 217, 0.32) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_widget #searchsubmit,
:is(body.home, body.blog, body.archive, body.category) .widget_search .searchsubmit,
:is(body.home, body.blog, body.archive, body.category) .et_pb_newsletter_button,
:is(body.home, body.blog, body.archive, body.category) input[type="submit"] {
  background: linear-gradient(180deg, #49b9e8 0%, #2f96c8 100%) !important;
  border: 0 !important;
  color: #f7fcff !important;
  box-shadow: 0 4px 10px rgba(25, 119, 168, 0.28) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_widget #searchsubmit:hover,
:is(body.home, body.blog, body.archive, body.category) .widget_search .searchsubmit:hover,
:is(body.home, body.blog, body.archive, body.category) .et_pb_newsletter_button:hover,
:is(body.home, body.blog, body.archive, body.category) input[type="submit"]:hover {
  background: linear-gradient(180deg, #5cc6f2 0%, #37a7d9 100%) !important;
}

/* ==========================================================================
   [ADB] Live polish v9: fresh editorial tech style (less gloomy, more premium)
   ========================================================================== */

:root {
  --adb-bg-0: #0d1f38;
  --adb-bg-1: #122a47;
  --adb-bg-2: #16365a;
  --adb-surface-0: rgba(18, 40, 68, 0.84);
  --adb-surface-1: rgba(23, 49, 82, 0.86);
  --adb-border-0: rgba(142, 197, 255, 0.32);
  --adb-text-0: #eff6ff;
  --adb-text-1: #c4dbf6;
  --adb-text-2: #99b9dd;
  --adb-accent-0: #6fd4ff;
  --adb-accent-1: #53b9ff;
  --adb-accent-2: #8be89f;
}

/* 1) Global atmosphere */
:is(body.home, body.blog, body.archive, body.category) {
  background:
    radial-gradient(1100px 620px at 10% 18%, rgba(111, 212, 255, 0.18) 0%, rgba(13, 31, 56, 0) 64%),
    radial-gradient(900px 500px at 90% 24%, rgba(139, 232, 159, 0.14) 0%, rgba(13, 31, 56, 0) 62%),
    linear-gradient(180deg, var(--adb-bg-0) 0%, var(--adb-bg-1) 52%, var(--adb-bg-2) 100%) !important;
}

:is(body.home, body.blog, body.archive, body.category) #page-container {
  background: transparent !important;
}

/* 2) Header */
:is(body.home, body.blog, body.archive, body.category) #top-header {
  background: linear-gradient(180deg, rgba(14, 33, 57, 0.95) 0%, rgba(12, 28, 49, 0.96) 100%) !important;
  border-bottom: 1px solid var(--adb-border-0) !important;
}

:is(body.home, body.blog, body.archive, body.category) #main-header {
  background: linear-gradient(180deg, rgba(16, 37, 64, 0.92) 0%, rgba(13, 30, 52, 0.94) 100%) !important;
  border: 1px solid var(--adb-border-0) !important;
  border-radius: 0 0 14px 14px !important;
  box-shadow: 0 10px 24px rgba(4, 14, 28, 0.22) !important;
}

/* 3) Main + sidebar geometry */
:is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar {
  gap: 26px !important;
}

:is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar .et_pb_extra_column_sidebar {
  width: 308px !important;
  max-width: 308px !important;
  flex: 0 0 308px !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main > .et_pb_row {
  margin-bottom: 22px !important;
}

/* 4) Unified module card look */
:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_main .et_pb_extra_module,
:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_sidebar .widget {
  background: linear-gradient(180deg, var(--adb-surface-1) 0%, var(--adb-surface-0) 100%) !important;
  border: 1px solid var(--adb-border-0) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow:
    0 12px 28px rgba(4, 12, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_module .module-head {
  background: linear-gradient(180deg, rgba(24, 52, 86, 0.78) 0%, rgba(20, 44, 74, 0.76) 100%) !important;
  border-bottom: 1px solid rgba(142, 197, 255, 0.22) !important;
  padding: 12px 16px !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_module .module-head h3 {
  font-family: "Sora", "Inter", sans-serif !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  color: var(--adb-text-0) !important;
}

/* 5) Typography refresh */
:is(body.home, body.blog, body.archive, body.category) .post-title a,
:is(body.home, body.blog, body.archive, body.category) .entry-title a,
:is(body.home, body.blog, body.archive, body.category) h2.entry-title a {
  font-family: "Sora", "Inter", sans-serif !important;
  font-weight: 700 !important;
  color: var(--adb-text-0) !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-title a:hover,
:is(body.home, body.blog, body.archive, body.category) .entry-title a:hover,
:is(body.home, body.blog, body.archive, body.category) h2.entry-title a:hover {
  color: var(--adb-accent-0) !important;
}

:is(body.home, body.blog, body.archive, body.category) .excerpt,
:is(body.home, body.blog, body.archive, body.category) .excerpt p {
  color: var(--adb-text-1) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

:is(body.home, body.blog, body.archive, body.category) .post-meta,
:is(body.home, body.blog, body.archive, body.category) .post-meta a {
  color: var(--adb-text-2) !important;
}

/* 6) Featured hero */
:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide {
  border-radius: 16px !important;
  border-color: rgba(142, 197, 255, 0.3) !important;
  box-shadow: 0 14px 30px rgba(4, 14, 28, 0.24) !important;
}

:is(body.home, body.blog) .featured-posts-slider-module .posts-slider-module-items article.et_pb_slide::after {
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.06) 22%, rgba(8, 18, 34, 0.82) 100%) !important;
}

/* 7) Tabs as premium segmented control */
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs {
  background: rgba(17, 38, 64, 0.62) !important;
  border-bottom: 1px solid rgba(142, 197, 255, 0.2) !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li {
  border-right: 1px solid rgba(142, 197, 255, 0.18) !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li:last-child {
  border-right: 0 !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li:hover,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li:focus {
  background: transparent !important;
  color: var(--adb-text-1) !important;
}

:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li.active,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li.active:hover,
:is(body.home, body.blog, body.archive, body.category) .tabbed-post-module .tabs li.active:focus {
  background: linear-gradient(180deg, rgba(74, 150, 222, 0.96) 0%, rgba(52, 122, 191, 0.98) 100%) !important;
  color: #f6fbff !important;
  box-shadow: inset 0 -2px 0 rgba(139, 232, 159, 0.8) !important;
}

/* 8) Anti-nesting still enabled for cleaner hierarchy */
:is(body.home, body.blog) .post-module .posts-list,
:is(body.home, body.blog) .tabbed-post-module .posts-list {
  display: none !important;
}

/* 9) Feed cards */
:is(body.home, body.blog) .posts-blog-feed-module.masonry .paginated_page {
  gap: 18px !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry article {
  border-radius: 14px !important;
  border: 1px solid rgba(142, 197, 255, 0.3) !important;
  background: linear-gradient(180deg, rgba(21, 47, 77, 0.82) 0%, rgba(16, 37, 62, 0.86) 100%) !important;
}

:is(body.home, body.blog) .posts-blog-feed-module.masonry article .post-content {
  padding: 12px 14px 14px !important;
}

/* 10) Sidebar widgets and CTA */
:is(body.home, body.blog, body.archive, body.category) .et_pb_extra_column_sidebar .widgettitle {
  color: var(--adb-text-0) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_widget input[type="search"],
:is(body.home, body.blog, body.archive, body.category) .et_pb_widget input[type="text"],
:is(body.home, body.blog, body.archive, body.category) .et_pb_widget input[type="email"] {
  background: rgba(15, 33, 56, 0.78) !important;
  border-color: rgba(142, 197, 255, 0.32) !important;
  color: var(--adb-text-0) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_widget #searchsubmit,
:is(body.home, body.blog, body.archive, body.category) .widget_search .searchsubmit,
:is(body.home, body.blog, body.archive, body.category) .et_pb_newsletter_button,
:is(body.home, body.blog, body.archive, body.category) input[type="submit"] {
  background: linear-gradient(180deg, var(--adb-accent-0) 0%, var(--adb-accent-1) 100%) !important;
  border: 0 !important;
  color: #052037 !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 14px rgba(83, 185, 255, 0.3) !important;
}

:is(body.home, body.blog, body.archive, body.category) .et_pb_widget #searchsubmit:hover,
:is(body.home, body.blog, body.archive, body.category) .widget_search .searchsubmit:hover,
:is(body.home, body.blog, body.archive, body.category) .et_pb_newsletter_button:hover,
:is(body.home, body.blog, body.archive, body.category) input[type="submit"]:hover {
  background: linear-gradient(180deg, #88dcff 0%, #66c8ff 100%) !important;
  transform: translateY(-1px);
}

/* 11) Mobile */
@media (max-width: 980px) {
  :is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar {
    gap: 16px !important;
  }

  :is(body.home, body.blog, body.archive, body.category) #content-area.with_sidebar .et_pb_extra_column_sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
}
