/*
Theme Name: MISTYNE Canvas
Theme URI: https://www.mistyne.com/
Author: MISTYNE
Author URI: https://www.mistyne.com/
Description: A lightweight, production-ready WordPress theme optimized for responsive Elementor layouts.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mistyne-canvas
*/

:root {
  --swb-page-width: 1200px;
  --swb-text: #182230;
  --swb-muted: #667085;
  --swb-border: #e4e7ec;
  --swb-surface: #ffffff;
  --swb-background: #f8fafc;
  --swb-accent: #2563eb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--swb-text);
  background: var(--swb-background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--swb-accent);
}

.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;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: #fff;
  background: #101828;
  border-radius: 8px;
}

.swb-shell {
  width: min(calc(100% - 40px), var(--swb-page-width));
  margin-inline: auto;
}

.swb-site-header,
.swb-site-footer {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--swb-border);
}

.swb-site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--swb-border);
}

.swb-site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.swb-brand {
  color: var(--swb-text);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.swb-site-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swb-site-nav a {
  color: var(--swb-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.swb-site-nav a:hover,
.swb-site-nav a:focus-visible {
  color: var(--swb-text);
}

.swb-main {
  min-height: 60vh;
}

.swb-content {
  padding-block: clamp(48px, 7vw, 96px);
}

.swb-article {
  padding: clamp(24px, 4vw, 48px);
  background: var(--swb-surface);
  border: 1px solid var(--swb-border);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
}

.swb-entry-title {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.swb-site-footer {
  border-top: 1px solid var(--swb-border);
}

.swb-site-footer__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--swb-muted);
  font-size: 14px;
}

.elementor-page .swb-content,
.elementor-page .swb-article {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 767px) {
  .swb-shell {
    width: min(calc(100% - 28px), var(--swb-page-width));
  }

  .swb-site-header__inner,
  .swb-site-footer__inner {
    min-height: 64px;
  }

  .swb-site-nav {
    display: none;
  }
}
