/*
Theme Name: Mishkaat
Theme URI: https://mishkaat.cicorp.agency
Author: Ci CORP Agency
Author URI: https://cicorp.agency
Description: A lightweight agency WordPress framework that holds the lamp for the client's brand — guiding design consistency, content flexibility, and marketing readiness without the bloat of marketplace themes.
Version: 2.5.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mishkaat
Tags: agency, lightweight, responsive, custom-design, elementor-compatible, gutenberg-compatible

Mishkaat is a controlled internal agency WordPress framework built from _s foundation with Tailwind and design token system.
*/

/* Reset and normalize are handled by WordPress and Tailwind */
:root {
  --mk-shell-width: min(1200px, calc(100% - 2rem));
  --mk-shell-narrow-width: min(800px, calc(100% - 2rem));
  --mk-card-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --mk-card-border: var(--mk-color-border, rgba(255, 255, 255, 0.08));
  --mk-card-shadow:
    0 24px 60px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mk-color-primary, inherit);
  font-size: var(--mk-font-size-body, 16px);
  font-family:
    var(--mk-font-family, "Montserrat"),
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: var(--mk-line-height-body, 1.6);
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  letter-spacing: -0.03em;
  color: var(--mk-color-white, #ffffff);
}

h1 {
  font-size: clamp(2.6rem, 5vw, var(--mk-font-size-h1, 4.6rem));
  line-height: var(--mk-line-height-h1, 1.08);
}

h2 {
  font-size: clamp(2rem, 4vw, var(--mk-font-size-h2, 3.2rem));
  line-height: var(--mk-line-height-h2, 1.12);
}

h3 {
  font-size: clamp(1.6rem, 3vw, var(--mk-font-size-h3, 2.35rem));
  line-height: var(--mk-line-height-h3, 1.14);
}

h4 {
  font-size: clamp(1.3rem, 2vw, var(--mk-font-size-h4, 1.8rem));
  line-height: var(--mk-line-height-h4, 1.16);
}

h5 {
  font-size: clamp(1.12rem, 1.6vw, var(--mk-font-size-h5, 1.45rem));
  line-height: var(--mk-line-height-h5, 1.2);
}

h6 {
  font-size: var(--mk-font-size-h6, 1rem);
  line-height: var(--mk-line-height-h6, 1.24);
}

p,
ul,
ol,
dl,
table,
figure,
blockquote,
pre {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

a {
  color: var(--mk-color-primary-accent, #1a73e8);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

a:hover,
a:focus {
  color: var(--mk-color-white, #ffffff);
  text-decoration: underline;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.search-submit,
.comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  color: var(--mk-color-white, #ffffff);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.search-submit:hover,
.comment-form input[type="submit"]:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mk-color-primary, #e4e4e4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

input::placeholder,
textarea::placeholder {
  color: var(--mk-color-muted, #7f7f7f);
}

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 2px solid rgba(26, 115, 232, 0.7);
  outline-offset: 2px;
}

blockquote {
  padding: 1.4rem 1.4rem 1.4rem 1.6rem;
  border-left: 3px solid var(--mk-color-primary-accent, #1a73e8);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--mk-color-white, #ffffff);
}

code,
pre,
kbd,
samp {
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;
}

pre {
  overflow: auto;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.34);
  color: var(--mk-color-primary, #e4e4e4);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.75rem 1rem;
  overflow: visible;
  background: var(--mk-color-white, #ffffff);
  color: var(--mk-color-black, #0c0c0c);
  z-index: 9999;
}

.mk-container-boxed,
.mk-container-narrow {
  width: var(--mk-shell-width);
  margin-right: auto;
  margin-left: auto;
}

.mk-container-narrow {
  width: var(--mk-shell-narrow-width);
}

.site-header,
.site-footer {
  position: relative;
}

.site {
  position: relative;
  min-height: 100vh;
}

.site-header {
  border-bottom: 1px solid var(--mk-color-border, rgba(0,0,0,0.08));
  color: var(--mk-color-primary, inherit);
}

.site-header a,
.site-header nav a {
  color: var(--mk-color-primary, inherit);
  text-decoration: none;
}

.site-header.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header.site-header--transparent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 110;
  background: transparent;
  border-bottom-color: transparent;
}

.site-footer {
  border-top: 1px solid var(--mk-color-border, rgba(0,0,0,0.08));
}

.mk-header--classic,
.mk-header--modern,
.mk-header--plain,
.mk-header--stack-left,
.mk-header--stack-center,
.mk-header--stack-right,
.mk-header--magazine,
.mk-header--split-menu,
.mk-header--transparent,
.mk-header--simple,
.mk-header--empty,
.mk-header--below-slider,
.mk-footer--default,
.mk-footer--one-col,
.mk-footer--two-equal,
.mk-footer--three-equal,
.mk-footer--four-equal,
.mk-footer--five-equal,
.mk-footer--ratio-1-5-2-5-2-5,
.mk-footer--ratio-2-5-1-5-2-5,
.mk-footer--ratio-1-4-1-2,
.mk-footer--ratio-1-3-2-3,
.mk-footer--ratio-2-3-1-3 {
  --mk-layout-picker-ready: 1;
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1rem;
}

.mk-hf-builder {
  width: var(--mk-shell-width);
}

.mk-hf-row {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.mk-hf-column {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 1rem;
}

.mk-hf-column--fill,
.mk-hf-column--full {
  flex: 1 1 auto;
}

.mk-hf-element--text {
  max-width: 42ch;
  color: var(--mk-color-mid, #929292);
  font-size: 0.9rem;
}

.mk-hf-element--button .mk-btn {
  min-height: 2.6rem;
}

.mk-hf-element--search .search-form {
  max-width: 18rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mk-hf-element--search .search-form__inner {
  gap: 0.5rem;
}

.mk-hf-element--search .search-field {
  min-height: 2.6rem;
}

.mk-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mk-social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--mk-card-border);
  border-radius: 999px;
  color: var(--mk-color-primary, #e4e4e4);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 24rem;
}

.site-title,
.site-description,
.site-info {
  margin: 0;
}

.site-title a,
.custom-logo-link {
  color: inherit;
}

.custom-logo {
  display: block;
  width: auto;
  height: var(--mk-branding-logo-height, 40px);
  max-width: var(--mk-branding-logo-max-width, 200px);
  max-height: var(--mk-branding-logo-max-height, 48px);
}

.site-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-description {
  max-width: 36ch;
  color: var(--mk-color-mid, #929292);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-navigation .menu,
.footer-navigation .menu,
.mobile-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a,
.footer-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--mk-color-primary, #e4e4e4);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.footer-navigation a:hover,
.footer-navigation .current-menu-item > a,
.footer-navigation .current_page_item > a {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 3rem;
  min-height: 3rem;
  padding-inline: 1rem;
  border-radius: 1rem;
}

.menu-toggle__line {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.menu-toggle__label {
  display: none;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
  opacity: 0.65;
}

.mobile-navigation {
  display: none;
  padding: 0 1rem 1.1rem;
}

.mobile-navigation.is-open {
  display: block;
}

.mobile-navigation .menu {
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--mk-card-border);
  border-radius: 1.35rem;
  background: var(--mk-card-bg);
  box-shadow: var(--mk-card-shadow);
}

.mobile-navigation a {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mk-color-white, #ffffff);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-footer__inner {
  align-items: flex-start;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer__brand {
  max-width: 34rem;
}

.site-footer__title {
  margin: 0 0 0.5rem;
  color: var(--mk-color-white, #ffffff);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site.has-transparent-header .mk-layout-default,
.site.has-transparent-header .mk-layout-boxed,
.site.has-transparent-header .mk-layout-narrow,
.site.has-transparent-header .mk-layout-sidebar-left,
.site.has-transparent-header .mk-layout-sidebar-right,
.site.has-transparent-header .mk-layout-full-width {
  padding-top: 7rem;
}

.mk-layout-default,
.mk-layout-boxed,
.mk-layout-narrow,
.mk-layout-sidebar-left,
.mk-layout-sidebar-right,
.mk-layout-full-width {
  display: grid;
  gap: 2rem;
  padding: var(--mk-spacing-section, 2.2rem) 1rem 4rem;
}

.site-main,
.mk-content {
  min-width: 0;
}

.page-header {
  position: relative;
  padding: 0 0 1.25rem;
}

.page-header::after {
  content: "";
  display: block;
  width: min(14rem, 28vw);
  height: 1px;
  margin-top: 1.15rem;
  background: linear-gradient(90deg, rgba(26, 115, 232, 0.9), rgba(255, 255, 255, 0));
}

.archive-description,
.page-content,
.search-form,
.post-navigation,
.posts-navigation,
.comments-area,
.no-results,
.comment-respond,
article,
.widget-area > section {
  border: 1px solid var(--mk-card-border);
  border-radius: var(--mk-border-radius-card, 1.6rem);
  background: var(--mk-card-bg);
  box-shadow: var(--mk-card-shadow);
}

.posts-grid {
  display: grid;
  gap: 1.5rem;
}

.posts-grid article {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: var(--mk-spacing-card, 1.6rem);
}

.page-content,
.archive-description,
.search-form,
.post-navigation,
.posts-navigation,
.comments-area,
.comment-respond,
.no-results,
.widget-area > section {
  padding: var(--mk-spacing-card, 1.6rem);
}

.page-header,
.entry-header,
.entry-thumbnail,
.entry-summary,
.entry-content,
.entry-footer,
.entry-meta {
  margin-bottom: 1rem;
}

.entry-title,
.page-title,
.widget-title {
  margin: 0;
  color: var(--mk-color-white, #ffffff);
}

.entry-title a {
  color: inherit;
}

.entry-title a:hover {
  color: var(--mk-color-accent-hover, var(--mk-color-primary-accent, #1a73e8));
  text-decoration: none;
}

.entry-meta,
.entry-footer,
.site-description,
.site-info {
  color: var(--mk-color-muted, #7f7f7f);
  font-size: 0.9375rem;
}

.entry-footer,
.site-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.entry-meta a,
.entry-footer a,
.site-info a {
  color: inherit;
}

.entry-thumbnail {
  overflow: hidden;
  border-radius: var(--mk-border-radius-card, 1.2rem);
}

.entry-thumbnail img {
  width: 100%;
  transition: transform 0.45s ease;
}

.posts-grid article:hover .entry-thumbnail img {
  transform: scale(1.03);
}

.entry-summary > :last-child,
.entry-content > :last-child,
.archive-description > :last-child,
.page-content > :last-child,
.widget-area > section > :last-child {
  margin-bottom: 0;
}

.entry-content a:not(.wp-block-button__link),
.page-content a:not(.wp-block-button__link) {
  text-decoration: underline;
  text-decoration-color: rgba(26, 115, 232, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.page-links,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-links > *,
.nav-links > * {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.post-navigation .nav-links,
.posts-navigation .nav-links {
  justify-content: space-between;
}

.nav-subtitle {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--mk-color-muted, #7f7f7f);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-title {
  color: var(--mk-color-white, #ffffff);
  font-weight: 600;
}

.site-info__sep {
  color: var(--mk-color-faint, #444444);
}

.search-form {
  max-width: 38rem;
}

.search-form__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.search-form__inner .search-field {
  flex: 1 1 18rem;
}

.widget-area {
  display: grid;
  gap: 1rem;
}

.widget-area .widget-title {
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.widget-area ul,
.widget-area ol {
  padding-left: 1.25rem;
  color: var(--mk-color-primary, #e4e4e4);
}

.widget-area li + li {
  margin-top: 0.45rem;
}

.widget select {
  width: 100%;
}

.wp-caption,
.wp-block-image,
.gallery {
  margin-bottom: 1.5rem;
}

.wp-caption-text,
.gallery-caption {
  margin-top: 0.75rem;
  color: var(--mk-color-muted, #7f7f7f);
  font-size: 0.85rem;
}

.sticky > article,
article.sticky {
  border-color: rgba(26, 115, 232, 0.5);
}

.comments-area,
.comment-respond {
  margin-top: 1.5rem;
}

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

.comment-list .comment {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comment-list > .comment:first-child {
  border-top: 0;
  padding-top: 0;
}

.comment-meta {
  margin-bottom: 0.6rem;
  color: var(--mk-color-muted, #7f7f7f);
  font-size: 0.86rem;
}

.comment-author .fn {
  color: var(--mk-color-white, #ffffff);
  font-style: normal;
  font-weight: 600;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.comment-form label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--mk-color-primary, #e4e4e4);
  font-size: 0.84rem;
  font-weight: 500;
}

.comment-notes,
.logged-in-as {
  color: var(--mk-color-muted, #7f7f7f);
  font-size: 0.9rem;
}

.bypostauthor {
  position: relative;
}

.widget-area {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (min-width: 960px) {
  .mk-layout-sidebar-right,
  .mk-layout-sidebar-left {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .mk-layout-sidebar-left .site-main {
    order: 2;
  }

  .mk-layout-sidebar-left .mk-sidebar {
    order: 1;
  }
}

@media (max-width: 782px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
  }

  .mk-hf-row,
  .mk-hf-column {
    align-items: flex-start;
    width: 100%;
  }

  .mk-hf-row {
    flex-direction: column;
  }

  .mk-hf-column {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-navigation {
    display: block;
  }

  .mobile-navigation[hidden] {
    display: none;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .search-form__inner {
    flex-direction: column;
  }

  .post-navigation .nav-links,
  .posts-navigation .nav-links {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 783px) {
  .mobile-navigation {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .mk-layout-default,
  .mk-layout-boxed,
  .mk-layout-narrow,
  .mk-layout-sidebar-left,
  .mk-layout-sidebar-right,
  .mk-layout-full-width {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .posts-grid article,
  .page-content,
  .archive-description,
  .search-form,
  .post-navigation,
  .posts-navigation,
  .comments-area,
  .comment-respond,
  .no-results,
  .widget-area > section {
    padding: var(--mk-spacing-card, 1.25rem);
  }
}
