/*
Theme Name: merakhazana
Author: MK
Version: 1.0.0
*/

:root {
  --mk-bg: #f6f5ef;
  --mk-surface: #ffffff;
  --mk-text: #111827;
  --mk-muted: #616b7f;
  --mk-accent: #0c8f8c;
  --mk-accent-strong: #0b6b68;
  --mk-secondary: #ff6f3f;
  --mk-border: rgba(17, 24, 39, 0.1);
  --mk-shadow: 0 14px 30px rgba(13, 20, 30, 0.08);
  --mk-shadow-soft: 0 8px 22px rgba(13, 20, 30, 0.06);
  --mk-radius: 20px;
  --mk-radius-sm: 12px;
  --mk-transition: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mk-text);
  background: var(--mk-bg);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(4px);
}

body::before {
  width: 440px;
  height: 440px;
  top: -140px;
  left: -110px;
  background: radial-gradient(circle at 30% 30%, rgba(12, 143, 140, 0.22), rgba(12, 143, 140, 0));
}

body::after {
  width: 460px;
  height: 460px;
  bottom: -180px;
  right: -120px;
  background: radial-gradient(circle at 70% 70%, rgba(255, 111, 63, 0.24), rgba(255, 111, 63, 0));
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #0c1526;
  letter-spacing: -0.01em;
}

h1,
.post h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
}

h3,
article h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

h4,
article h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

h5,
article h5 {
  font-size: 1.05rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--mk-text);
  text-decoration: none;
  transition: color var(--mk-transition), opacity var(--mk-transition);
}

a:hover,
a:focus {
  color: var(--mk-accent-strong);
}

.container {
  width: min(100%, 1300px);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#content[tabindex="-1"]:focus {
  outline: 0;
}

.site-header {
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header .navbar {
  padding: 0.9rem 0;
  background: rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.08);
}

.site-header .navbar-brand img {
  width: clamp(92px, 7vw, 115px);
  height: auto;
}

.site-header .navbar-nav {
  gap: 0.2rem;
}

header .navbar-nav .nav-link {
  color: #1f2937 !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.5rem 0.9rem !important;
}

header .navbar-nav li.current-menu-item .nav-link,
header .navbar-nav .nav-link:hover,
header .navbar-nav .nav-link:focus {
  color: #fff !important;
  background: linear-gradient(120deg, var(--mk-accent) 0%, var(--mk-accent-strong) 100%);
}

#mainNav > .gtranslate_wrapper,
#mainNav > div[id^="gtranslate"] {
  margin-left: 0.75rem;
}

.top-add-section,
.middle-add-section {
  text-align: center;
  margin: 0.9rem 0 1.2rem;
  padding: 0.65rem;
  border: 1px dashed rgba(17, 24, 39, 0.16);
  border-radius: var(--mk-radius-sm);
  background: rgba(255, 255, 255, 0.5);
}

.block-wrapper,
#content .block-wrapper {
  position: relative;
  padding-top: 1.1rem;
}

body.single-post .block-wrapper,
body.single-post #content.block-wrapper {
  padding-top: 0.15rem;
}

body.single-post .single-post-section {
  padding-top: 0.2rem;
  padding-bottom: 1.25rem;
}

body.single-post #content .single-layout > .main-content,
body.single-post #content .single-layout > .sidebar,
body.single-post #content .single-layout > [class*="col-lg-2"] {
  margin-top: 0 !important;
}

body.single-post .top-add-section {
  margin: 0.25rem 0 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.mk-page-intro {
  margin-bottom: 1.1rem;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border-radius: 24px;
  border: 1px solid rgba(12, 143, 140, 0.18);
  background:
    linear-gradient(140deg, rgba(12, 143, 140, 0.15), rgba(255, 111, 63, 0.14)),
    var(--mk-surface);
  box-shadow: var(--mk-shadow-soft);
}

.mk-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mk-accent-strong);
}

.mk-page-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
}

.mk-page-intro h1 {
  margin-bottom: 0.5rem;
}

.mk-page-intro p:last-child {
  margin-bottom: 0;
  color: #1f2b3f;
}

.mk-home-intro {
  margin-bottom: 1.4rem;
}

.mk-home-utility {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 1rem;
}

.mk-home-topics,
.mk-home-ticker {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  border-radius: 14px;
  border: 1px solid rgba(12, 143, 140, 0.18);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.52rem 0.72rem;
}

.mk-home-topics-label,
.mk-home-ticker-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(12, 143, 140, 0.12);
  color: var(--mk-accent-strong);
}

.mk-home-topics-list,
.mk-home-ticker-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.48rem;
  min-width: 0;
}

.mk-home-topics {
  overflow: hidden;
}

.mk-home-topics-list {
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.1rem;
}

.mk-home-topics-list li {
  margin: 0;
}

.mk-home-topics-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: #15203a;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.mk-home-topics-list a:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong));
}

.mk-home-ticker {
  gap: 0;
  overflow: hidden;
}

.mk-home-ticker-track {
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.mk-home-ticker-track::-webkit-scrollbar {
  display: none;
}

.mk-home-ticker-list li {
  margin: 0;
  padding: 0;
}

.mk-home-ticker-list li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.35);
  margin: 0 0.45rem 0.08rem 0.12rem;
}

.mk-home-ticker-list a {
  color: #1d2a41;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.mk-home-ticker-list a:hover {
  color: var(--mk-accent-strong);
}

.mk-home-featured {
  position: relative;
}

.mk-featured-thumb {
  min-height: clamp(250px, 42vw, 430px);
}

.mk-featured-content h2 {
  margin-bottom: 0.55rem;
}

.mk-home-latest {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% -8%, rgba(12, 143, 140, 0.24), rgba(12, 143, 140, 0)),
    linear-gradient(160deg, rgba(245, 251, 250, 0.96), rgba(255, 255, 255, 0.98));
}

.mk-home-latest::after {
  content: "";
  position: absolute;
  inset: auto -30px -45px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(15, 95, 111, 0.18), rgba(15, 95, 111, 0));
}

.mk-home-latest .widget-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.95rem;
}

.mk-home-latest .widget-title::after {
  content: "Trending";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 143, 140, 0.24);
  background: rgba(12, 143, 140, 0.1);
  color: #0c6669;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.mk-latest-list li {
  margin: 0;
}

.mk-latest-link {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  align-items: start;
  gap: 0.66rem;
  padding: 0.76rem 0.82rem;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(10, 24, 35, 0.04);
  transition: transform var(--mk-transition), border-color var(--mk-transition), box-shadow var(--mk-transition), background-color var(--mk-transition);
}

.mk-latest-link:hover {
  transform: translateX(3px);
  border-color: rgba(12, 143, 140, 0.34);
  background: rgba(12, 143, 140, 0.08);
  box-shadow: 0 12px 22px rgba(10, 24, 35, 0.08);
}

.mk-latest-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 143, 140, 0.28);
  background: linear-gradient(140deg, rgba(12, 143, 140, 0.18), rgba(12, 143, 140, 0.06));
  color: #0f5e6d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.mk-latest-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.32rem 0.66rem;
  width: 100%;
  min-width: 0;
}

.mk-latest-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  grid-column: 1;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #0b1324;
}

.mk-home-latest .mk-latest-body .mk-post-date {
  display: inline-grid;
  place-items: center;
  grid-column: 2;
  flex: 0 0 auto;
  margin: 0.05rem 0 0;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 94, 117, 0.2);
  background: rgba(248, 250, 252, 0.9);
  color: #5d6b82;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.mk-latest-item.is-top-story .mk-latest-link {
  border-color: rgba(12, 143, 140, 0.3);
  background:
    linear-gradient(125deg, rgba(12, 143, 140, 0.1), rgba(12, 143, 140, 0.03)),
    #fff;
}

.mk-latest-item.is-top-story .mk-latest-count {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0c8f8c, #0a6f77);
  box-shadow: 0 8px 15px rgba(12, 143, 140, 0.3);
}

.mk-home-sections {
  margin-bottom: 0.2rem;
}

/* Compact nav + refreshed homepage UI */
@media (min-width: 992px) {
  .site-header .navbar {
    padding: 0.58rem 0;
  }

  .site-header .navbar-brand img {
    width: clamp(82px, 6vw, 98px);
  }

  #mainNav {
    min-width: 0;
    gap: 0.4rem;
  }

  .site-header .navbar-nav {
    gap: 0.08rem;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: thin;
  }

  .site-header .navbar-nav::-webkit-scrollbar {
    height: 4px;
  }

  .site-header .navbar-nav::-webkit-scrollbar-thumb {
    background: rgba(12, 143, 140, 0.26);
    border-radius: 999px;
  }

  header .navbar-nav .nav-link {
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    padding: 0.4rem 0.62rem !important;
    white-space: nowrap;
  }

  #mainNav > .gtranslate_wrapper,
  #mainNav > div[id^="gtranslate"] {
    margin-left: 0.35rem;
  }
}

.top-add-section,
.middle-add-section {
  border-style: solid;
  border-color: rgba(12, 143, 140, 0.18);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(246, 252, 251, 0.82));
}

.mk-homepage {
  position: relative;
}

.mk-homepage::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -20px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 143, 140, 0.12), rgba(12, 143, 140, 0));
  pointer-events: none;
}

.mk-home-hero,
.mk-home-sections,
.mk-home-feed {
  position: relative;
  z-index: 1;
}

.mk-home-featured,
.mk-home-latest,
.mk-category-panel,
.mk-home-feed .mk-post-card {
  border-radius: 22px;
  border: 1px solid rgba(12, 143, 140, 0.17);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(245, 251, 250, 0.92)),
    #fff;
  box-shadow: 0 16px 34px rgba(10, 24, 35, 0.09);
}

.mk-home-latest .widget-title,
.mk-category-panel-head h3 a,
.mk-home-feed h2 {
  color: #0f1d35;
}

.mk-home-latest .widget-title,
.mk-home-feed h2 {
  position: relative;
  padding-left: 0.9rem;
}

.mk-home-latest .widget-title::before,
.mk-home-feed h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 72%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mk-accent), var(--mk-accent-strong));
}

.mk-featured-content h2 .mk-title-link {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.25;
}

.mk-category-item {
  border-radius: 14px;
  transition: transform var(--mk-transition), border-color var(--mk-transition), box-shadow var(--mk-transition), background-color var(--mk-transition);
}

.mk-category-item:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 143, 140, 0.28);
  box-shadow: 0 10px 22px rgba(10, 25, 35, 0.08);
  background: rgba(12, 143, 140, 0.06);
}

.mk-home-feed .row {
  --bs-gutter-y: 1.55rem;
}

.mk-category-panel {
  padding: 1.1rem;
}

.mk-category-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.mk-category-panel-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.mk-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mk-accent-strong);
}

.mk-mini-link::after {
  content: "\2192";
}

.mk-section-head {
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  padding-bottom: 0.55rem;
}

.mk-section-kicker {
  display: inline-flex;
  margin-bottom: 0.22rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #667286;
}

.mk-category-listing {
  display: grid;
  gap: 0.8rem;
}

.mk-category-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.mk-category-thumb {
  border-radius: 10px;
  overflow: hidden;
  min-height: 82px;
}

.mk-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-category-content h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  line-height: 1.35;
}

#content .main-content,
#content .sidebar,
#content .col-lg-9,
#content .col-lg-3 {
  margin-top: 0.4rem;
}

#content .main-content .row > [id^="mk_"] {
  display: flex;
}

.mk-home-feed .row > [id^="mk_"] {
  display: flex;
}

.mk-post-card,
#content .post-wrapper article.post,
#content .post-wrapper-2 article.post,
.blog-style-1 article,
.blog-style-2 article,
.blog-style-3 article {
  width: 100%;
  background: var(--mk-surface);
  border: 1px solid var(--mk-border);
  border-radius: var(--mk-radius);
  box-shadow: var(--mk-shadow-soft);
  overflow: hidden;
  transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

.mk-post-card:hover,
#content .post-wrapper article.post:hover,
#content .post-wrapper-2 article.post:hover,
.blog-style-1 article:hover,
.blog-style-2 article:hover,
.blog-style-3 article:hover {
  transform: translateY(-6px);
  box-shadow: var(--mk-shadow);
  border-color: rgba(12, 143, 140, 0.26);
}

.mk-post-thumb,
.post-thumb {
  position: relative;
  overflow: hidden;
}

.mk-post-card .mk-post-thumb,
.mk-post-card .post-thumb {
  margin: 0;
  line-height: 0;
}

.mk-post-card .mk-post-thumb > a,
.mk-post-card .post-thumb > a {
  display: block;
  line-height: 0;
}

.mk-post-thumb img,
.post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--mk-transition);
}

.mk-post-card:hover .mk-post-thumb img,
.post:hover .post-thumb img,
.blog-style-1 article:hover .post-thumb img,
.blog-style-2 article:hover .post-thumb img,
.blog-style-3 article:hover .post-thumb img {
  transform: scale(1.04);
}

.mk-post-content,
.post-content {
  padding: 1rem 1.1rem 1.2rem;
}

#content .main-content .row > [id^="mk_"] > .mk-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mk-home-feed .row > [id^="mk_"] > .mk-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#content .main-content .row > [id^="mk_"] > .mk-post-card .mk-post-thumb {
  aspect-ratio: 16 / 9;
}

.mk-home-feed .row > [id^="mk_"] > .mk-post-card .mk-post-thumb {
  aspect-ratio: 16 / 9;
}

#content .main-content .row > [id^="mk_"] > .mk-post-card .mk-post-thumb > a {
  display: block;
  height: 100%;
}

.mk-home-feed .row > [id^="mk_"] > .mk-post-card .mk-post-thumb > a {
  display: block;
  height: 100%;
}

#content .main-content .row > [id^="mk_"] > .mk-post-card .mk-post-content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  padding-top: 0.38rem;
}

.mk-home-feed .row > [id^="mk_"] > .mk-post-card .mk-post-content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  padding-top: 0.38rem;
}

#content .main-content .row > [id^="mk_"] > .mk-post-card .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.mk-home-feed .row > [id^="mk_"] > .mk-post-card .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

#content .main-content .row > [id^="mk_"] > .mk-post-card .mk-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.4em;
  margin-bottom: 0.85rem;
}

.mk-home-feed .row > [id^="mk_"] > .mk-post-card .mk-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.4em;
  margin-bottom: 0.85rem;
}

#content .main-content .row > [id^="mk_"] > .mk-post-card .mk-read-more {
  margin-top: auto;
}

.mk-home-feed .row > [id^="mk_"] > .mk-post-card .mk-read-more {
  margin-top: auto;
}

.mk-meta-row {
  margin-bottom: 0.55rem;
}

.post-meta,
.mk-category-list {
  margin-bottom: 0;
  font-size: 0.79rem;
  color: var(--mk-muted);
  letter-spacing: 0.02em;
}

.post-meta ul,
.mk-category-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.post-meta .badge,
.mk-chip,
.widget_tag_cloud a,
.tagcloud a {
  background: rgba(12, 143, 140, 0.12) !important;
  color: var(--mk-accent-strong) !important;
  border: 1px solid rgba(12, 143, 140, 0.24);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.35rem 0.68rem;
}

.post-meta .badge:hover,
.mk-chip:hover,
.widget_tag_cloud a:hover,
.tagcloud a:hover {
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong)) !important;
  color: #fff !important;
}

.widget_tag_cloud .tagcloud,
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.widget_tag_cloud a,
.tagcloud a {
  font-size: 0.95rem !important;
  line-height: 1.1;
  padding: 0.5rem 0.95rem;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mk-post-date,
.post-meta li {
  color: var(--mk-muted);
}

.mk-title-link,
.post .title a {
  display: inline;
  color: #0b1324;
  text-decoration: none;
}

.mk-title-link:hover,
.post .title a:hover {
  color: var(--mk-accent-strong);
}

.mk-excerpt,
.post-content p {
  margin-bottom: 0.7rem;
  color: #2f3848;
  line-height: 1.7;
}

.mk-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mk-accent-strong);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mk-read-more::after {
  content: "\2192";
  transition: transform var(--mk-transition);
}

.mk-read-more:hover::after {
  transform: translateX(4px);
}

.blog-style-1,
.blog-style-2,
.blog-style-3 {
  display: grid;
  gap: 1rem;
}

.blog-style-1 article,
.blog-style-2 article,
.blog-style-3 article {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: 0;
  padding: 0;
  border-bottom: 1px solid var(--mk-border);
}

.blog-style-1 article .post-thumb,
.blog-style-2 article .post-thumb,
.blog-style-3 article .post-thumb {
  margin: 0;
  flex: initial;
}

.blog-style-1 article .post-thumb,
.blog-style-2 article .post-thumb {
  min-height: 160px;
}

.blog-style-3 article .post-thumb {
  min-height: 180px;
}

.blog-style-1 article:nth-child(1),
.blog-style-2 article:nth-child(1),
.blog-style-3 article:nth-child(1) {
  grid-template-columns: 1fr;
}

.blog-style-1 article:nth-child(1) .post-thumb,
.blog-style-2 article:nth-child(1) .post-thumb,
.blog-style-3 article:nth-child(1) .post-thumb {
  min-height: 240px;
}

.post-wrapper,
.post-wrapper-2 {
  margin-top: 1.8rem;
}

.widgets {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--mk-border);
  border-radius: 16px;
  box-shadow: var(--mk-shadow-soft);
  margin-bottom: 1.1rem;
  padding: 1.1rem;
}

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

.widgets .title,
.widget-title {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.widgets li,
.widget_recent_entries li,
.widget_archive li,
.widget_categories li,
.widget_pages li,
.widget_meta li,
.widget_nav_menu li {
  margin-bottom: 0.55rem;
}

.widgets li:last-child,
.widget_recent_entries li:last-child,
.widget_archive li:last-child,
.widget_categories li:last-child,
.widget_pages li:last-child,
.widget_meta li:last-child,
.widget_nav_menu li:last-child {
  margin-bottom: 0;
}

.widgets li a,
.widget_recent_entries a,
.widget_archive a,
.widget_categories a,
.widget_pages a,
.widget_meta a,
.widget_nav_menu a {
  color: #172033;
  font-weight: 600;
}

.widgets.widget_recent_entries ul,
.widgets .rpwwt-widget ul,
.widgets .wpp-list {
  display: grid;
  gap: 0.8rem;
}

.widgets.widget_recent_entries ul li,
.widgets .rpwwt-widget ul li,
.widgets .wpp-list li {
  margin: 0;
}

.widgets.widget_recent_entries ul li > a,
.widgets .rpwwt-widget ul li > a,
.widgets .wpp-list li > a,
.widgets .wpp-list li {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 12px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.82);
}

.widgets.widget_recent_entries ul li img,
.widgets .rpwwt-widget ul li img,
.widgets .wpp-thumbnail,
.widgets img.wpp-thumbnail {
  width: 108px !important;
  height: 80px !important;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 !important;
}

.widgets .rpwwt-post-title,
.widgets .wpp-post-title,
.widgets.widget_recent_entries ul li > a {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a2438;
}

.widgets.widget_recent_entries ul li > a:hover,
.widgets .rpwwt-widget ul li > a:hover,
.widgets .wpp-list li > a:hover,
.widgets .wpp-list li:hover {
  border-color: rgba(12, 143, 140, 0.28);
  background: rgba(12, 143, 140, 0.08);
  transform: translateY(-1px);
}

/* Popular posts style refresh (single card per row) */
.sidebar .widgets .wpp-list {
  display: grid;
  gap: 0.7rem;
}

.sidebar .widgets .wpp-list li {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.8rem !important;
  padding: 0.5rem !important;
  border: 1px solid rgba(17, 24, 39, 0.1) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  transition: transform var(--mk-transition), border-color var(--mk-transition), box-shadow var(--mk-transition), background-color var(--mk-transition);
}

.sidebar .widgets .wpp-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 143, 140, 0.35) !important;
  background: rgba(12, 143, 140, 0.08) !important;
  box-shadow: 0 10px 18px rgba(10, 24, 35, 0.08);
}

.sidebar .widgets .wpp-list li > a {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  transform: none !important;
}

.sidebar .widgets .wpp-list li > a:first-child,
.sidebar .widgets .wpp-list li > a.wpp-thumbnail {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 12px !important;
}

.sidebar .widgets .wpp-list li > a.wpp-post-title,
.sidebar .widgets .wpp-list li > a:not(.wpp-thumbnail) {
  color: #111c33;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.28;
}

.sidebar .widgets .wpp-list li img.wpp-thumbnail,
.sidebar .widgets .wpp-list li a.wpp-thumbnail img,
.sidebar .widgets .wpp-list li > a:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 12px;
}

.sidebar .widgets .wpp-list li .wpp-meta,
.sidebar .widgets .wpp-list li .post-stats,
.sidebar .widgets .wpp-list li .wpp-date {
  grid-column: 2;
  margin: 0.1rem 0 0 !important;
  font-size: 0.78rem;
  font-weight: 600;
  color: #667286;
}

.widgets.widget_categories {
  background:
    linear-gradient(180deg, rgba(12, 143, 140, 0.08) 0%, rgba(12, 143, 140, 0) 90%),
    rgba(255, 255, 255, 0.92);
}

.widget_categories ul {
  display: grid;
  gap: 0.55rem;
}

.widget_categories li {
  margin: 0;
}

.widget_categories .cat-item > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  transition: transform var(--mk-transition), background-color var(--mk-transition), border-color var(--mk-transition), color var(--mk-transition);
}

.widget_categories .cat-item > a::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong));
  box-shadow: 0 0 0 3px rgba(12, 143, 140, 0.15);
}

.widget_categories .cat-item.cat-parent > a::after {
  content: "Parent";
  margin-left: auto;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mk-accent-strong);
  background: rgba(12, 143, 140, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.widget_categories li img {
  width: 18px;
  margin-right: 0;
}

.widget_categories .children {
  margin-top: 0.3rem;
  margin-left: 0.9rem;
  padding-left: 0.75rem;
  border-left: 2px dashed rgba(12, 143, 140, 0.32);
}

.widget_categories .children .cat-item > a {
  padding: 0.58rem 0.7rem;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(12, 143, 140, 0.05);
}

.widget_categories .children .cat-item.cat-parent > a::after {
  display: none;
}

.widget_categories li a:hover,
.widget_categories li.current-cat > a,
.widgets li a:hover,
.widget_recent_entries a:hover,
.widget_archive a:hover,
.widget_pages a:hover,
.widget_meta a:hover,
.widget_nav_menu a:hover {
  background: rgba(12, 143, 140, 0.1);
  color: var(--mk-accent-strong);
}

.widget_categories li a:hover,
.widget_categories li.current-cat > a {
  border-color: rgba(12, 143, 140, 0.3);
  transform: translateX(2px);
}

/* Sidebar category widget (right column) - fresh card style */
.sidebar .widgets.widget_categories:not(.mk-cat-widget) {
  position: relative;
  border-radius: 22px;
  padding: 1.2rem 1rem 1.05rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(12, 143, 140, 0.14), rgba(12, 143, 140, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 249, 0.95));
  border: 1px solid rgba(12, 143, 140, 0.2);
  box-shadow: 0 12px 24px rgba(12, 30, 32, 0.08);
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget)::before {
  display: none;
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget) .widget-title {
  margin-top: 0;
  margin-bottom: 0.95rem;
  font-size: 1.35rem;
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget) > ul {
  gap: 0.5rem;
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget) .cat-item > a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 13px;
  padding: 0.62rem 0.72rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget) .cat-item > a::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 9px;
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong));
  box-shadow: 0 0 0 4px rgba(12, 143, 140, 0.12);
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget) .cat-item > a:hover,
.sidebar .widgets.widget_categories:not(.mk-cat-widget) .cat-item.current-cat > a {
  background: rgba(12, 143, 140, 0.1);
  border-color: rgba(12, 143, 140, 0.32);
  color: var(--mk-accent-strong);
  transform: translateX(3px);
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget) .children {
  margin-top: 0.25rem;
  margin-left: 0.85rem;
  padding-left: 0.62rem;
  border-left: 2px dashed rgba(12, 143, 140, 0.28);
}

.sidebar .widgets.widget_categories:not(.mk-cat-widget) .children .cat-item > a {
  font-size: 0.91rem;
  font-weight: 600;
  background: rgba(12, 143, 140, 0.05);
}

/* Category block widget (Gutenberg widgets) */
.sidebar .widgets.widget_block:has(.wp-block-categories-list),
.sidebar .widgets.widget_block .wp-block-group:has(.wp-block-categories-list) {
  position: relative;
  border-radius: 22px;
  padding: 1.15rem 1rem 1rem;
  background:
    radial-gradient(circle at 100% 0, rgba(12, 143, 140, 0.12), rgba(12, 143, 140, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 249, 0.95));
  border: 1px solid rgba(12, 143, 140, 0.22);
  box-shadow: 0 12px 24px rgba(12, 30, 32, 0.08);
}

.sidebar .widgets.widget_block:has(.wp-block-categories-list)::before,
.sidebar .widgets.widget_block .wp-block-group:has(.wp-block-categories-list)::before {
  display: none;
}

.sidebar .widgets.widget_block .wp-block-heading,
.sidebar .widgets.widget_block h2:has(+ .wp-block-categories-list) {
  margin-top: 0;
  margin-bottom: 0.95rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.sidebar .wp-block-categories-list,
.sidebar .wp-block-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.sidebar .wp-block-categories-list li,
.sidebar .wp-block-categories li {
  margin: 0;
}

.sidebar .wp-block-categories-list li > a,
.sidebar .wp-block-categories li > a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.72rem;
  border-radius: 13px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: #15203a;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.32;
  transition: transform var(--mk-transition), border-color var(--mk-transition), background-color var(--mk-transition), color var(--mk-transition);
}

.sidebar .wp-block-categories-list li > a::before,
.sidebar .wp-block-categories li > a::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 9px;
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong));
  box-shadow: 0 0 0 4px rgba(12, 143, 140, 0.12);
}

.sidebar .wp-block-categories-list li > a:hover,
.sidebar .wp-block-categories li > a:hover,
.sidebar .wp-block-categories-list li.current-cat > a,
.sidebar .wp-block-categories li.current-cat > a {
  background: rgba(12, 143, 140, 0.1);
  border-color: rgba(12, 143, 140, 0.32);
  color: var(--mk-accent-strong);
  transform: translateX(3px);
}

.sidebar .wp-block-categories-list .children,
.sidebar .wp-block-categories .children {
  margin-top: 0.2rem;
  margin-left: 0.85rem;
  padding-left: 0.65rem;
  border-left: 2px dashed rgba(12, 143, 140, 0.28);
}

.sidebar .wp-block-categories-list .children li > a,
.sidebar .wp-block-categories .children li > a {
  font-size: 0.91rem;
  font-weight: 600;
  background: rgba(12, 143, 140, 0.05);
}

/* Sidebar latest posts (recent entries) - modern media card stack */
.sidebar .widgets.widget_recent_entries {
  border-radius: 22px;
  padding: 0.95rem;
  background:
    radial-gradient(circle at 100% 0, rgba(12, 143, 140, 0.14), rgba(12, 143, 140, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 249, 0.95));
  border: 1px solid rgba(12, 143, 140, 0.2);
  box-shadow: 0 12px 24px rgba(12, 30, 32, 0.08);
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list {
  display: grid;
  gap: 0.72rem;
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li {
  margin: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.78rem;
  align-items: center;
  padding: 0.48rem;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.11);
  background: rgba(255, 255, 255, 0.95);
  transition: transform var(--mk-transition), border-color var(--mk-transition), box-shadow var(--mk-transition), background-color var(--mk-transition);
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 143, 140, 0.34);
  background: rgba(12, 143, 140, 0.08);
  box-shadow: 0 10px 18px rgba(10, 24, 35, 0.08);
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li .wp-block-latest-posts__featured-image {
  float: none;
  margin: 0 !important;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li > a.wp-block-latest-posts__post-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111c33;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.28;
  text-decoration: none;
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li > a.wp-block-latest-posts__post-title:hover {
  color: var(--mk-accent-strong);
}

.sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li > a.wp-block-latest-posts__post-title:first-child:last-child {
  -webkit-line-clamp: 2;
  grid-column: 1 / -1;
  padding: 0.68rem 0.82rem !important;
  border: 1px solid rgba(12, 143, 140, 0.22) !important;
  border-radius: 12px !important;
  background: linear-gradient(120deg, rgba(12, 143, 140, 0.11), rgba(12, 143, 140, 0.03)) !important;
  color: #0f2740;
}

/* Contact page */
.mk-contact-page {
  max-width: 1120px;
  margin: 0 auto;
}

.mk-contact-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.1rem;
  padding: clamp(1.2rem, 4vw, 1.9rem);
  border-radius: 22px;
  border: 1px solid rgba(12, 143, 140, 0.22);
  background:
    radial-gradient(circle at 90% 0, rgba(12, 143, 140, 0.2), rgba(12, 143, 140, 0)),
    linear-gradient(130deg, #0f5f6f, #15344f 48%, #1b2541);
  box-shadow: 0 14px 34px rgba(10, 25, 35, 0.2);
}

.mk-contact-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.mk-contact-kicker {
  margin: 0 0 0.48rem;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(226, 250, 246, 0.95);
}

.mk-contact-title {
  margin: 0 0 0.62rem;
  color: #f8fdff;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.1;
}

.mk-contact-subtitle {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 62ch;
  color: rgba(225, 237, 243, 0.94);
  font-size: 1.02rem;
  line-height: 1.62;
}

.mk-contact-info-stack {
  display: grid;
  gap: 0.95rem;
  height: 100%;
}

.mk-contact-card {
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(12, 30, 32, 0.08);
  padding: 1rem;
}

.mk-contact-card h3 {
  margin: 0 0 0.72rem;
  font-size: 1.16rem;
}

.mk-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.mk-contact-list li {
  margin: 0;
  padding: 0.65rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(247, 250, 252, 0.92);
  display: grid;
  gap: 0.1rem;
}

.mk-contact-list .mk-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #4c5d75;
}

.mk-contact-list a,
.mk-contact-list span {
  color: #0f1c33;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.mk-contact-list a:hover {
  color: var(--mk-accent-strong);
}

.mk-contact-form-wrap {
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background:
    radial-gradient(circle at 100% 0, rgba(12, 143, 140, 0.11), rgba(12, 143, 140, 0)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(12, 30, 32, 0.09);
  padding: clamp(1rem, 3vw, 1.25rem);
}

.mk-contact-form-wrap h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.28rem, 2.6vw, 1.6rem);
}

.mk-contact-content {
  margin-bottom: 0.8rem;
  color: #40526a;
}

.mk-contact-content > *:last-child {
  margin-bottom: 0;
}

.mk-contact-form-wrap .wpcf7 form {
  display: grid;
  gap: 0.72rem;
}

.mk-contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
}

.mk-contact-form-wrap .wpcf7 p {
  margin: 0;
}

.mk-contact-form-wrap .wpcf7 label {
  display: block;
  margin: 0 0 0.32rem;
  color: #21324a;
  font-weight: 700;
}

.mk-contact-form-wrap .wpcf7 input[type="text"],
.mk-contact-form-wrap .wpcf7 input[type="email"],
.mk-contact-form-wrap .wpcf7 input[type="tel"],
.mk-contact-form-wrap .wpcf7 input[type="url"],
.mk-contact-form-wrap .wpcf7 select,
.mk-contact-form-wrap .wpcf7 textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.68rem 0.86rem;
  box-shadow: none;
  transition: border-color var(--mk-transition), box-shadow var(--mk-transition);
}

.mk-contact-form-wrap .wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.mk-contact-form-wrap .wpcf7 input[type="text"]:focus,
.mk-contact-form-wrap .wpcf7 input[type="email"]:focus,
.mk-contact-form-wrap .wpcf7 input[type="tel"]:focus,
.mk-contact-form-wrap .wpcf7 input[type="url"]:focus,
.mk-contact-form-wrap .wpcf7 select:focus,
.mk-contact-form-wrap .wpcf7 textarea:focus {
  border-color: rgba(12, 143, 140, 0.52);
  box-shadow: 0 0 0 0.2rem rgba(12, 143, 140, 0.14);
  outline: none;
}

.mk-contact-form-wrap .wpcf7 .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mk-contact-form-wrap .wpcf7 .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.mk-contact-form-wrap .wpcf7 .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  margin: 0;
  padding: 0.4rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(250, 252, 254, 0.92);
  font-weight: 600;
  cursor: pointer;
}

.mk-contact-form-wrap .wpcf7 input[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0.62rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong));
  color: #f8fffd;
}

.mk-contact-form-wrap .wpcf7 input[type="submit"]:hover {
  filter: brightness(0.96);
}

.mk-contact-form-wrap .wpcf7-not-valid-tip {
  margin-top: 0.28rem;
  font-size: 0.8rem;
}

.mk-contact-form-wrap .wpcf7 form .wpcf7-response-output {
  margin: 0.18rem 0 0;
  border-radius: 10px;
  font-size: 0.9rem;
}

.mk-contact-fallback {
  margin: 0;
  padding: 0.82rem 0.92rem;
  border-radius: 12px;
  border: 1px dashed rgba(12, 143, 140, 0.36);
  background: rgba(12, 143, 140, 0.08);
  color: #1d3554;
  font-weight: 600;
}

.mk-contact-fallback a {
  color: var(--mk-accent-strong);
  text-decoration: underline;
}

.mk-contact-page-simple {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.mk-contact-page-simple::before,
.mk-contact-page-simple::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.mk-contact-page-simple::before {
  width: 220px;
  height: 220px;
  top: -24px;
  left: -28px;
  background: radial-gradient(circle, rgba(12, 143, 140, 0.17), rgba(12, 143, 140, 0));
}

.mk-contact-page-simple::after {
  width: 240px;
  height: 240px;
  right: -36px;
  bottom: -34px;
  background: radial-gradient(circle, rgba(245, 86, 51, 0.16), rgba(245, 86, 51, 0));
}

.mk-contact-page-simple .mk-contact-form-wrap {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 55px rgba(10, 25, 35, 0.14);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 252, 0.88)),
    radial-gradient(circle at 8% 0, rgba(12, 143, 140, 0.1), rgba(12, 143, 140, 0));
}

.mk-contact-page-simple .mk-contact-form-wrap.mk-contact-form-only {
  padding: clamp(1rem, 3.2vw, 1.65rem);
}

.mk-contact-page-simple .mk-contact-content {
  margin-bottom: 0;
}

.mk-contact-page-simple .wpcf7 form {
  display: grid;
  gap: 0.9rem;
}

.mk-contact-page-simple .wpcf7 h3 {
  margin: 0.15rem 0 0.45rem !important;
  color: #0e1930;
  font-size: clamp(1.95rem, 3.7vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mk-contact-page-simple .wpcf7 .form-group .form-label p {
  margin: 0 0 0.2rem;
  color: #1e2d46;
  font-size: 1.03rem;
  font-weight: 700;
}

.mk-contact-page-simple .wpcf7 p {
  margin: 0;
}

.mk-contact-page-simple .wpcf7 label.form-label,
.mk-contact-page-simple .wpcf7 .form-label {
  display: block;
  margin: 0 0 0.46rem;
  color: #283852;
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.mk-contact-page-simple .wpcf7 .form-control,
.mk-contact-page-simple .wpcf7 input[type="text"],
.mk-contact-page-simple .wpcf7 input[type="email"],
.mk-contact-page-simple .wpcf7 input[type="tel"],
.mk-contact-page-simple .wpcf7 input[type="url"],
.mk-contact-page-simple .wpcf7 select,
.mk-contact-page-simple .wpcf7 textarea {
  min-height: 62px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(17, 24, 39, 0.14) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px rgba(10, 22, 32, 0.04) !important;
  padding: 0.78rem 1rem !important;
  font-size: 1rem;
  color: #172744;
}

.mk-contact-page-simple .wpcf7 textarea {
  min-height: 140px !important;
}

.mk-contact-page-simple .wpcf7 .form-control::placeholder,
.mk-contact-page-simple .wpcf7 input::placeholder,
.mk-contact-page-simple .wpcf7 textarea::placeholder {
  color: #7c8797;
  opacity: 1;
}

.mk-contact-page-simple .wpcf7 .form-control:focus,
.mk-contact-page-simple .wpcf7 input[type="text"]:focus,
.mk-contact-page-simple .wpcf7 input[type="email"]:focus,
.mk-contact-page-simple .wpcf7 input[type="tel"]:focus,
.mk-contact-page-simple .wpcf7 input[type="url"]:focus,
.mk-contact-page-simple .wpcf7 select:focus,
.mk-contact-page-simple .wpcf7 textarea:focus {
  border-color: rgba(12, 143, 140, 0.6) !important;
  box-shadow: 0 0 0 0.24rem rgba(12, 143, 140, 0.16), 0 14px 26px rgba(12, 143, 140, 0.14) !important;
}

.mk-contact-page-simple .wpcf7 .radio p {
  margin: 0;
}

.mk-contact-page-simple .wpcf7 .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.mk-contact-page-simple .wpcf7 .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.mk-contact-page-simple .wpcf7 .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 35, 58, 0.16);
  background: rgba(255, 255, 255, 0.85);
  color: #20324c;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--mk-transition), border-color var(--mk-transition), box-shadow var(--mk-transition), background-color var(--mk-transition), color var(--mk-transition);
}

.mk-contact-page-simple .wpcf7 .wpcf7-radio .wpcf7-list-item label:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 143, 140, 0.45);
}

.mk-contact-page-simple .wpcf7 .wpcf7-radio .wpcf7-list-item label input[type="radio"] {
  accent-color: var(--mk-accent-strong);
}

.mk-contact-page-simple .wpcf7 .wpcf7-radio .wpcf7-list-item label:has(input[type="radio"]:checked) {
  border-color: rgba(12, 143, 140, 0.6);
  background: rgba(12, 143, 140, 0.13);
  color: #0d3f4d;
  box-shadow: 0 8px 18px rgba(12, 143, 140, 0.14);
}

.mk-contact-page-simple .wpcf7 .d-grid {
  margin-top: 0.2rem;
}

.mk-contact-page-simple .wpcf7 input[type="submit"] {
  min-height: 56px !important;
  width: 100%;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(95deg, #f07345 0%, #e65f38 48%, #d94827 100%) !important;
  box-shadow: 0 14px 28px rgba(230, 95, 56, 0.28);
  color: #fff !important;
  font-size: 1.04rem;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

.mk-contact-page-simple .wpcf7 input[type="submit"]:hover {
  filter: none !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(230, 95, 56, 0.34);
}

/* Keep only "Contact Information" section on contact page form */
.mk-contact-page-simple .wpcf7 form .col-12 > h2.text-center.mb-4,
.mk-contact-page-simple .wpcf7 form .col-12 > p.text-center,
.mk-contact-page-simple .wpcf7 form .col-md-12.mb-3:has([data-name="monthly_deposit"]),
.mk-contact-page-simple .wpcf7 form .col-md-12.mb-3:has([data-name="business_duration"]),
.mk-contact-page-simple .wpcf7 form .col-md-12.mb-3:has([data-name="credit_score"]),
.mk-contact-page-simple .wpcf7 form .col-md-12.mb-3:has([data-name="bank_balance"]),
.mk-contact-page-simple .wpcf7 form .mb-3:has([data-name="bankruptcy"]),
.mk-contact-page-simple .wpcf7 form .mb-3:has([data-name="loan_default"]),
.mk-contact-page-simple .wpcf7 form .mb-3:has([data-name="modified_loan"]),
.mk-contact-page-simple .wpcf7 form .mb-3:has([data-name="profitable_tax"]),
.mk-contact-page-simple .wpcf7 form .form-group.mb-3:has([data-name="best_time"]),
.mk-contact-page-simple .wpcf7 form > p:has(small) {
  display: none !important;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea,
.form-control {
  border: 1px solid rgba(17, 24, 39, 0.14) !important;
  border-radius: 12px !important;
  min-height: 48px;
  box-shadow: none !important;
}

input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus,
.form-control:focus {
  border-color: rgba(12, 143, 140, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(12, 143, 140, 0.13) !important;
}

button,
.btn,
input[type="submit"] {
  border-radius: 12px !important;
  font-weight: 700;
  border: 0;
}

.btn-danger,
.btn-primary,
input[type="submit"] {
  background: linear-gradient(120deg, var(--mk-secondary), #f55633) !important;
}

.btn-danger:hover,
.btn-primary:hover,
input[type="submit"]:hover {
  filter: brightness(0.95);
}

nav.pagination {
  margin: 1.6rem 0 1.1rem;
  display: flex;
  justify-content: center;
}

nav.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  list-style: none;
  margin: 0;
  padding-left: 0 !important;
}

nav.pagination ul.page-numbers li {
  display: flex;
}

nav.pagination ul.page-numbers li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  min-height: 2.45rem;
  padding: 0.35rem 0.68rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid var(--mk-border);
  color: #1f2937;
  background: #fff;
}

nav.pagination ul.page-numbers li a:hover,
nav.pagination ul.page-numbers li .current {
  color: #fff;
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong));
  border-color: transparent;
}

body.single-post .single-layout {
  align-items: flex-start;
}

body.single-post .sidebar-first {
  position: sticky;
  top: 24px;
  z-index: 20;
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding-right: 0.2rem;
}

.mk-single-article,
.post-single-wrapper {
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--mk-shadow);
  padding: clamp(1rem, 3vw, 2.2rem);
}

.post-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.16;
  margin-bottom: 0.9rem;
}

.mk-single-meta {
  border-top: 1px solid var(--mk-border);
  border-bottom: 1px solid var(--mk-border);
  padding: 0.8rem 0;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

body.single-post .post-thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}

body.single-post .post-thumb img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.post-single-wrapper .post-content.design,
.entry-content {
  font-size: 1.08rem;
  color: #1f2937;
}

.post-single-wrapper .post-content.design h2,
.post-single-wrapper .post-content.design h3,
.post-single-wrapper .post-content.design h4,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.55rem;
}

.post-single-wrapper .post-content.design a,
.entry-content a {
  color: var(--mk-accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.post-single-wrapper .post-content.design a:hover,
.entry-content a:hover {
  color: #f55633;
}

.nextprev {
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  padding: 0;
}

.mk-post-nav-card {
  display: block;
  height: 100%;
  border: 1px solid rgba(12, 143, 140, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(12, 143, 140, 0.08), rgba(12, 143, 140, 0.03)),
    rgba(255, 255, 255, 0.95);
  padding: 0.95rem 1.05rem;
  transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition), background-color var(--mk-transition);
}

.mk-post-nav-card:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 143, 140, 0.4);
  box-shadow: 0 10px 24px rgba(10, 25, 35, 0.08);
}

.mk-post-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mk-accent-strong);
  margin-bottom: 0.4rem;
}

.mk-post-nav-prev .mk-post-nav-label::before,
.mk-post-nav-next .mk-post-nav-label::after {
  font-size: 0.9rem;
  line-height: 1;
}

.mk-post-nav-prev .mk-post-nav-label::before {
  content: "\2190";
}

.mk-post-nav-next .mk-post-nav-label::after {
  content: "\2192";
}

.mk-post-nav .title {
  margin: 0;
  color: #0d1730;
  font-size: 1.15rem;
  line-height: 1.35;
}

.mk-post-nav-next {
  text-align: right;
}

@media (max-width: 768px) {
  .mk-post-nav-next {
    text-align: left;
  }
}

#related_posts {
  margin-top: 1.8rem;
  margin-bottom: 1.9rem;
  padding: 1rem;
  border: 1px solid rgba(12, 143, 140, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(12, 143, 140, 0.12), rgba(12, 143, 140, 0)),
    rgba(255, 255, 255, 0.85);
}

#related_posts > h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
}

#related_posts article {
  margin-bottom: 0.8rem;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  align-items: center;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.45rem;
  box-shadow: 0 8px 18px rgba(11, 24, 35, 0.05);
  transition: transform var(--mk-transition), box-shadow var(--mk-transition), border-color var(--mk-transition);
}

#related_posts article:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 143, 140, 0.3);
  box-shadow: 0 12px 26px rgba(11, 24, 35, 0.09);
}

#related_posts article:nth-child(1) {
  grid-template-columns: 112px minmax(0, 1fr) !important;
}

#related_posts article .post-thumb,
#related_posts article:nth-child(1) .post-thumb {
  min-height: auto !important;
  width: 112px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
}

#related_posts article .post-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

#related_posts article .post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#related_posts article .post-content {
  padding: 0.2rem 0.35rem 0.2rem 0.8rem;
}

#related_posts .mk-related-title {
  display: block;
  margin: 0;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  line-height: 1.3;
  color: #111c33;
}

#related_posts .mk-related-title:hover {
  color: var(--mk-accent-strong);
}

#related_posts .mk-related-meta ul {
  margin-top: 0.25rem;
}

#related_posts .mk-related-meta li span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #667286;
  letter-spacing: 0.01em;
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f2233;
  background: rgba(12, 143, 140, 0.11);
  border: 1px solid rgba(12, 143, 140, 0.2);
}

.social-share a:hover {
  background: linear-gradient(120deg, var(--mk-accent), var(--mk-accent-strong));
  color: #fff;
}

.format-quote .design {
  color: #0d6e6b;
  font-size: 1.35rem;
}

.format-quote .design strong {
  color: #0c1526;
}

.ai-sticky-widget {
  position: sticky;
  top: 96px;
  z-index: 1020;
}

.also-read {
  background: rgba(12, 143, 140, 0.08);
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(12, 143, 140, 0.2);
  border-radius: 14px;
  display: block;
}

.also-read ul {
  margin: 0;
  padding: 0;
}

.also-read ul li {
  display: block;
}

.also-read ul li a {
  display: block;
  padding: 0.45rem 0;
}

.search-page .card {
  border: 1px solid var(--mk-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--mk-shadow-soft);
}

.search-page .card .card-title {
  font-size: 1.3rem;
}

.section-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, #ffffff 100%) !important;
  border-top: 1px solid var(--mk-border) !important;
  margin-top: 2.6rem;
}

.section-footer .widgets {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 1rem;
  padding: 0;
}

.section-footer .widgets,
.section-footer .widgets.widget_block,
.section-footer .widgets .wp-block-group,
.section-footer .widgets .wp-widget-group__inner-blocks {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.section-footer .widgets ul,
.section-footer .widgets li {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.section-footer .widgets li a,
.section-footer .widget_archive a,
.section-footer .widget_recent_entries a,
.section-footer .widget_pages a,
.section-footer .widget_meta a,
.section-footer .widget_nav_menu a {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.section-footer .widget_categories .cat-item > a,
.section-footer .wp-block-categories-list li > a,
.section-footer .wp-block-categories li > a {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.section-footer .widget_categories .cat-item > a::before,
.section-footer .widget_categories .cat-item > a::after,
.section-footer .wp-block-categories-list li > a::before,
.section-footer .wp-block-categories li > a::before {
  display: none !important;
}

.section-footer .widget_categories .children,
.section-footer .wp-block-categories-list .children,
.section-footer .wp-block-categories .children {
  margin-top: 0.2rem;
  margin-left: 0.7rem;
  padding-left: 0.7rem;
  border-left: 0 !important;
}

.section-footer .widget_tag_cloud a,
.section-footer .tagcloud a {
  display: inline !important;
  padding: 0 !important;
  margin: 0 0.55rem 0.45rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.9rem !important;
  color: var(--mk-muted) !important;
}

.section-footer .widgets .title,
.section-footer .widget-title {
  margin-bottom: 0.55rem;
}

.section-footer .widgets li a:hover,
.section-footer .widget_recent_entries a:hover,
.section-footer .widget_archive a:hover,
.section-footer .widget_categories a:hover,
.section-footer .widget_pages a:hover,
.section-footer .widget_meta a:hover,
.section-footer .widget_nav_menu a:hover {
  background: transparent;
}

.footer-top {
  padding-top: 0.5rem;
}

ins.adsbygoogle {
  display: block !important;
  max-width: 100%;
  overflow: visible !important;
}

.footer-bottom {
  font-size: 0.92rem;
  color: var(--mk-muted);
  border-color: var(--mk-border) !important;
}

.footer-menu ul,
.footer-bottom .menu {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.footer-menu ul a,
.footer-bottom .menu a {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
}

.footer-menu ul a:hover,
.footer-bottom .menu a:hover {
  color: var(--mk-accent-strong);
}

.text-md-right {
  text-align: right;
}

body.admin-bar .site-header.sticky-top {
  top: 32px;
}

body.admin-bar.single-post .sidebar-first {
  top: 56px;
  max-height: calc(100vh - 76px);
}

@keyframes mk-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#content .main-content .row > [id^="mk_"],
.blog-style-1 article,
.blog-style-2 article,
.blog-style-3 article,
.search-page .card {
  animation: mk-fade-up 0.5s ease both;
}

@media (max-width: 1199px) {
  body {
    font-size: 16.5px;
  }

  #content .main-content .row > [id^="mk_"] {
    margin-bottom: 0.4rem;
  }
}

@media (max-width: 991px) {
  .site-header .navbar {
    padding: 0.75rem 0;
  }

  header .navbar-nav .nav-link {
    border-radius: 10px;
    padding: 0.65rem 0.78rem !important;
    margin-bottom: 0.3rem;
  }

  .blog-style-1 article,
  .blog-style-2 article,
  .blog-style-3 article {
    grid-template-columns: 1fr;
  }

  .blog-style-1 article .post-thumb,
  .blog-style-2 article .post-thumb,
  .blog-style-3 article .post-thumb,
  .blog-style-1 article:nth-child(1) .post-thumb,
  .blog-style-2 article:nth-child(1) .post-thumb,
  .blog-style-3 article:nth-child(1) .post-thumb {
    min-height: 210px;
  }

  .mk-single-article,
  .post-single-wrapper {
    padding: 1rem;
  }

  .mk-home-latest {
    padding: 1rem;
  }

  .mk-home-utility {
    gap: 0.58rem;
  }

  .mk-home-topics,
  .mk-home-ticker {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .mk-home-topics-list,
  .mk-home-ticker-track {
    width: 100%;
  }

  .mk-featured-thumb {
    min-height: 280px;
  }

  .sidebar {
    margin-top: 1.1rem;
  }
}

@media (max-width: 768px) {
  .mk-homepage::before {
    display: none;
  }

  .mk-home-topics,
  .mk-home-ticker {
    padding: 0.48rem 0.55rem;
    border-radius: 12px;
  }

  .mk-home-topics-label,
  .mk-home-ticker-label {
    font-size: 0.64rem;
    padding: 0.28rem 0.5rem;
  }

  .mk-home-topics-list a,
  .mk-home-ticker-list a {
    font-size: 0.82rem;
  }

  .mk-latest-link {
    grid-template-columns: 1.9rem minmax(0, 1fr);
    gap: 0.52rem;
    padding: 0.6rem 0.68rem;
  }

  .mk-home-latest .widget-title::after {
    display: none;
  }

  .mk-home-latest .mk-latest-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.18rem;
  }

  .mk-home-latest .mk-latest-body .mk-post-date {
    grid-column: 1;
    justify-self: start;
    white-space: nowrap;
  }

  .mk-latest-count {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.78rem;
    border-radius: 999px;
  }

  .mk-section-head {
    padding-bottom: 0.42rem;
  }

  .mk-section-kicker {
    font-size: 0.64rem;
  }

  .mk-category-panel-head {
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
  }

  .mk-mini-link {
    font-size: 0.68rem;
  }

  .mk-contact-page-simple {
    max-width: 100%;
  }

  .mk-contact-page-simple::before,
  .mk-contact-page-simple::after {
    display: none;
  }

  .mk-contact-page-simple .mk-contact-form-wrap.mk-contact-form-only {
    border-radius: 20px;
    padding: 0.92rem !important;
  }

  .mk-contact-page-simple .wpcf7 h3 {
    font-size: clamp(1.55rem, 9vw, 2rem);
    margin-bottom: 0.35rem !important;
  }

  .mk-contact-page-simple .wpcf7 .form-control,
  .mk-contact-page-simple .wpcf7 input[type="text"],
  .mk-contact-page-simple .wpcf7 input[type="email"],
  .mk-contact-page-simple .wpcf7 input[type="tel"],
  .mk-contact-page-simple .wpcf7 input[type="url"],
  .mk-contact-page-simple .wpcf7 select,
  .mk-contact-page-simple .wpcf7 textarea {
    min-height: 54px !important;
    border-radius: 14px !important;
    font-size: 0.98rem;
  }

  .mk-contact-page-simple .wpcf7 .wpcf7-radio .wpcf7-list-item label {
    padding: 0.48rem 0.76rem;
  }

  .mk-contact-page-simple .wpcf7 input[type="submit"] {
    min-height: 52px !important;
    border-radius: 14px !important;
  }

  .mk-contact-hero {
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 0.82rem;
  }

  .mk-contact-kicker {
    font-size: 0.68rem;
  }

  .mk-contact-subtitle {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .mk-contact-card,
  .mk-contact-form-wrap {
    border-radius: 14px;
    padding: 0.9rem;
  }

  .mk-contact-list li {
    padding: 0.58rem 0.62rem;
  }

  h1,
  .post h1 {
    font-size: clamp(1.75rem, 10vw, 2.15rem);
  }

  .mk-post-content,
  .post-content {
    padding: 0.95rem;
  }

  .top-add-section,
  .middle-add-section {
    margin-top: 0.55rem;
  }

  .mk-single-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-category-item {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .mk-category-thumb {
    min-height: 74px;
  }

  #related_posts article,
  #related_posts article:nth-child(1) {
    grid-template-columns: 84px minmax(0, 1fr) !important;
  }

  #related_posts article .post-thumb,
  #related_posts article:nth-child(1) .post-thumb {
    width: 84px;
    border-radius: 10px;
  }

  #related_posts {
    padding: 0.75rem;
  }

  #related_posts article {
    padding: 0.35rem;
  }

  #related_posts article .post-content {
    padding-left: 0.62rem;
  }

  #related_posts .mk-related-title {
    font-size: 1rem;
  }

  .widgets.widget_recent_entries ul li > a,
  .widgets .rpwwt-widget ul li > a,
  .widgets .wpp-list li > a,
  .widgets .wpp-list li {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.45rem;
  }

  .widgets.widget_recent_entries ul li img,
  .widgets .rpwwt-widget ul li img,
  .widgets .wpp-thumbnail,
  .widgets img.wpp-thumbnail {
    width: 84px !important;
    height: 64px !important;
    border-radius: 8px;
  }

  .sidebar .widgets .wpp-list li {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 0.6rem !important;
    padding: 0.45rem !important;
  }

  .sidebar .widgets .wpp-list li > a:first-child,
  .sidebar .widgets .wpp-list li > a.wpp-thumbnail {
    width: 76px;
    height: 76px;
  }

  .sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list {
    gap: 0.62rem;
  }

  .sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 0.64rem;
    padding: 0.42rem;
  }

  .sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li .wp-block-latest-posts__featured-image {
    width: 82px;
    height: 82px;
  }

  .sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li > a.wp-block-latest-posts__post-title {
    font-size: 0.98rem;
    line-height: 1.3;
    padding: 0 !important;
  }

  .sidebar .widgets.widget_recent_entries .wp-block-latest-posts__list > li > a.wp-block-latest-posts__post-title:first-child:last-child {
    padding: 0.6rem 0.72rem !important;
  }

  .widget_categories .cat-item.cat-parent > a::after {
    display: none;
  }

  .footer-menu ul,
  .footer-bottom .menu {
    justify-content: center;
  }

  .footer-bottom,
  .text-md-right {
    text-align: center;
  }

  body::before,
  body::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
