/* ==========================================================================
   mahatmama.com — site stylesheet
   Minimal, airy layout: centered puzzle-piece logo, pipe-divided nav,
   warm orange accent, soft gray type set in a rounded display face.
   ========================================================================== */

:root {
  --mm-orange:      #f0932b;
  --mm-orange-dark:  #d97b1c;
  --mm-gold:         #c9a227;
  --mm-text:         #6f6f6f;
  --mm-text-dark:    #555555;
  --mm-text-light:   #9a9a9a;
  --mm-rule:         #e2e2e2;
  --mm-bg:           #ffffff;
  --mm-pink:         #f6c9c9;
  --mm-blue:         #bfe3f0;
  --mm-max:          760px;

  --mm-font-display: 'Comfortaa', 'Varela Round', sans-serif;
  --mm-font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--mm-bg);
  color: var(--mm-text);
  font-family: var(--mm-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--mm-text);
  text-decoration: none;
}
a:hover { color: var(--mm-orange); }

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

/* -------------------------------------------------- layout shell */

.mm-page {
  max-width: var(--mm-max);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* -------------------------------------------------- header / logo */

.mm-header { text-align: center; margin-bottom: 8px; }

.mm-logo {
  display: inline-block;
  width: 84px;
  margin: 0 auto 22px;
}

.mm-logo img { width: 100%; height: auto; }

.mm-nav {
  font-size: 14px;
  color: var(--mm-text);
  margin-bottom: 18px;
}

.mm-nav a {
  padding: 0 12px;
  color: var(--mm-text);
  letter-spacing: 0.2px;
}

.mm-nav a.active,
.mm-nav a:hover { color: var(--mm-text-dark); }

.mm-nav .sep {
  color: var(--mm-rule);
}

.mm-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.mm-nav-list li { display: inline-flex; align-items: center; }

.mm-nav-list a {
  padding: 0 12px;
  color: var(--mm-text);
  letter-spacing: 0.2px;
}

.mm-nav-list a.active,
.mm-nav-list a:hover { color: var(--mm-text-dark); }

.mm-nav-list .sep {
  color: var(--mm-rule);
  padding: 0;
}

.mm-rule {
  border: none;
  border-top: 1px solid var(--mm-rule);
  margin: 0 0 40px;
}

/* -------------------------------------------------- typography */

h1, h2, h3, .mm-heading {
  font-family: var(--mm-font-display);
  font-weight: 400;
  color: var(--mm-text-dark);
  letter-spacing: 0.5px;
}

h1.mm-title {
  text-align: center;
  font-size: 26px;
  margin: 0 0 34px;
}

h2.mm-section {
  text-align: center;
  font-size: 22px;
  margin: 48px 0 22px;
}

h3.mm-sub {
  font-size: 16px;
  color: var(--mm-text-dark);
  margin: 0 0 6px;
}

p { margin: 0 0 14px; }

.mm-lede {
  text-align: center;
  color: var(--mm-text);
  margin-bottom: 6px;
}

.mm-tagline {
  text-align: center;
  font-family: var(--mm-font-display);
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--mm-text-light);
  margin: 26px 0 40px;
}
.mm-tagline .accent { color: var(--mm-gold); }

/* -------------------------------------------------- hero */

.mm-hero {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #3a3226, #6b5c46 55%, #2a2419);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
}

.mm-hero-caption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  color: #f2d98a;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 22px;
}

/* -------------------------------------------------- product grid */

.mm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mm-grid .mm-card {
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--mm-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 6px;
}

/* -------------------------------------------------- publication rows */

.mm-pub {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--mm-rule);
}
.mm-pub:first-of-type { border-top: none; }

.mm-pub .mm-thumb {
  width: 130px;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  background: var(--mm-blue);
}

.mm-pub h3 {
  text-transform: uppercase;
  font-family: var(--mm-font-body);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--mm-text-dark);
  margin-bottom: 8px;
}

.mm-pub p { font-size: 14px; }

.mm-pub .mm-avail {
  color: var(--mm-text-light);
  font-size: 13px;
}

/* -------------------------------------------------- info blocks */

.mm-block {
  background: var(--mm-blue);
  border-radius: 2px;
  padding: 40px;
  text-align: center;
  margin-bottom: 26px;
}

.mm-thumbstrip {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.mm-thumbstrip span {
  width: 44px;
  height: 34px;
  background: var(--mm-rule);
  border-radius: 2px;
  display: inline-block;
}

.mm-cta {
  color: var(--mm-orange-dark);
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  margin: 18px 0;
}

.mm-callout {
  text-align: center;
  font-size: 13px;
  color: var(--mm-text-light);
  margin-bottom: 18px;
}

.mm-btn {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 13px;
  margin: 4px 6px 4px 0;
}
.mm-btn:hover { background: var(--mm-orange); color: #fff; }

/* -------------------------------------------------- order steps */

.mm-steps { font-size: 14px; }
.mm-steps li { margin-bottom: 6px; }

.mm-note {
  font-size: 13px;
  color: var(--mm-text-light);
  margin-top: 24px;
}

/* -------------------------------------------------- footer */

.mm-footer {
  margin-top: 60px;
  padding-top: 18px;
  border-top: 1px solid var(--mm-rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--mm-text-light);
}

.mm-footer a { color: var(--mm-text-light); }
.mm-footer a:hover { color: var(--mm-orange); }

/* -------------------------------------------------- app grid (mobile applications page) */

.mm-apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.mm-app-card {
  border: 1px solid var(--mm-rule);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}

.mm-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--mm-orange), var(--mm-orange-dark));
  margin: 0 auto 14px;
}

.mm-store-links { margin-top: 14px; }

/* -------------------------------------------------- responsive */

@media (max-width: 620px) {
  .mm-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-pub { grid-template-columns: 96px 1fr; gap: 14px; }
  .mm-pub .mm-thumb { width: 96px; }
  .mm-apps { grid-template-columns: 1fr; }
  .mm-nav a { padding: 0 8px; display: inline-block; margin-bottom: 6px; }
  .mm-footer { flex-direction: column; gap: 6px; }
}

/* -------------------------------------------------- WordPress core compatibility */

.alignleft   { float: left; margin: 0 20px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 20px; }
.aligncenter { display: block; margin: 0 auto 16px; }

.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 12px;
  color: var(--mm-text-light);
  text-align: center;
  margin-top: 6px;
}

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

/* editable post/page content areas fall back to standard readable prose */
.mm-entry-content h2 { text-align: left; margin: 32px 0 14px; }
.mm-entry-content p  { font-size: 15px; }
.mm-entry-content img { border-radius: 2px; margin: 16px 0; }
