/* Shared styles for the Playgramma marketing blog pages (o2c-blog.html,
   p2p-blog.html, mrp-blog.html, fi-blog.html, pm-blog.html,
   master-data-blog.html). Game-themed: the app's own sky gradient, orange /
   teal accents and Nunito type. Self-contained static pages served by path. */

:root {
  --sky-1: #aee7ff;
  --sky-2: #e8fbff;
  --orange: #ff9f43;
  --orange-dark: #e8842a;
  --teal: #2ec4b6;
  --teal-dark: #1fa396;
  --ink: #2d3142;
  --ink-soft: #5d6377;
  --card: #fff;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 26px 18px 48px;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%);
}

.blog {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(45, 49, 66, 0.16);
  padding: 30px 38px 30px;
}

.blog__back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--teal-dark);
  text-decoration: none;
}
.blog__back:hover { text-decoration: underline; }

.blog__brand {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--teal-dark);
}

.blog__kicker {
  display: inline-block;
  margin: 12px 0 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: #fff2df;
  padding: 6px 13px;
  border-radius: 999px;
}

.blog h1 {
  margin: 8px 0 12px;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 900;
  color: var(--ink);
}

.blog__lead {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink-soft);
}

/* hero image — the same card art the game uses for the module */
.blog__hero {
  margin: 0 0 26px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(40, 70, 100, 0.16);
}
.blog__hero img { display: block; width: 100%; height: auto; }

.blog h2 {
  margin: 30px 0 10px;
  font-size: 23px;
  font-weight: 900;
  color: var(--ink);
}
.blog h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 900; color: var(--ink); }

.blog p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; font-weight: 600; color: #454b59; }

/* "What you'll learn" highlight card */
.blog__learn {
  margin: 8px 0 6px;
  background: linear-gradient(180deg, #fff8ec, #fff2df);
  border: 1.5px solid #ffe4bd;
  border-radius: var(--radius);
  padding: 20px 24px 8px;
}
.blog__learn h2 { margin: 0 0 12px; font-size: 19px; color: var(--orange-dark); }
.blog__learn ul { margin: 0; padding: 0; list-style: none; }
.blog__learn li {
  position: relative;
  padding: 0 0 12px 30px;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 800;
  color: #3c4a60;
}
.blog__learn li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

/* step-by-step bullets — each begins with a bold term (+ SAP T-code) */
.blog__steps { margin: 4px 0 16px; padding-left: 0; list-style: none; }
.blog__steps li {
  position: relative;
  margin: 0 0 14px;
  padding: 14px 16px 14px 46px;
  background: #f6fbff;
  border: 1px solid #e3f0f8;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  color: #454b59;
  counter-increment: step;
}
.blog__steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.blog__steps { counter-reset: step; }
.blog__steps b { color: var(--ink); font-weight: 900; }
.blog__steps code {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  color: var(--orange-dark);
  background: #fff2df;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}

/* plain concept bullets */
.blog__points { margin: 4px 0 16px; padding-left: 20px; }
.blog__points li { margin: 0 0 10px; font-size: 15px; line-height: 1.65; font-weight: 600; color: #454b59; }
.blog__points b { color: var(--ink); font-weight: 900; }

/* play CTA */
.blog__cta {
  margin: 30px 0 8px;
  text-align: center;
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: 0 18px 44px rgba(31, 163, 150, 0.28);
}
.blog__cta h2 { margin: 0 0 8px; color: #fff; }
.blog__cta p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.95); font-weight: 700; }
.blog__btn {
  display: inline-block;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transition: transform .12s;
}
.blog__btn:hover { transform: translateY(-2px); }

/* cross-links to other module blogs */
.blog__more { margin-top: 30px; }
.blog__more h3 { margin: 0 0 12px; }
.blog__more-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.blog__more-grid a {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--teal-dark);
  text-decoration: none;
  background: #eefaf8;
  border: 1px solid #cdeee9;
  padding: 8px 14px;
  border-radius: 999px;
}
.blog__more-grid a:hover { background: #dff5f1; }

.blog__footer {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 2px solid #eef1f6;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* /blog index — module folds (image ↔ text) with a Read More button, */
/* mirroring the landing page's "What you'll learn" folds.            */
/* ------------------------------------------------------------------ */
.blog--index { max-width: 980px; }

.bloglist { margin-top: 6px; }
.bloglist__fold {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-top: 2px solid #eef4f9;
}
.bloglist__fold:first-child { border-top: none; padding-top: 14px; }
.bloglist__fold--rev .bloglist__media { order: 2; }

.bloglist__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(40, 70, 100, 0.15);
}
.bloglist__media img { display: block; width: 100%; height: auto; }

.bloglist__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: #e9faf7;
  padding: 5px 12px;
  border-radius: 999px;
}
.bloglist__text h2 { margin: 12px 0 8px; font-size: 26px; font-weight: 900; color: var(--ink); }
.bloglist__desc { margin: 0 0 14px; font-size: 15px; line-height: 1.6; font-weight: 600; color: var(--ink-soft); }

.bloglist__learn-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-dark);
}
.bloglist__list { margin: 0 0 18px; padding: 0; list-style: none; }
.bloglist__list li {
  position: relative;
  padding: 0 0 9px 28px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 700;
  color: #3c4a60;
}
.bloglist__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.bloglist__more {
  display: inline-block;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: 900;
  font-size: 14.5px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(232, 132, 42, 0.28);
  transition: transform .12s;
}
.bloglist__more:hover { transform: translateY(-2px); }

@media (max-width: 760px) {
  .bloglist__fold { grid-template-columns: 1fr; gap: 16px; }
  .bloglist__fold--rev .bloglist__media { order: 0; }
  .bloglist__text h2 { font-size: 22px; }
}

@media (max-width: 560px) {
  .blog { padding: 24px 20px; }
  .blog h1 { font-size: 28px; }
  .blog__lead { font-size: 15.5px; }
}
