/* The five direct course buttons identify the existing picker.
   These styles and the intro disappear when a lesson is opened. */
.demo-entry { display: none; }
body:has(#root > main > button.kart:nth-of-type(5)) {
  background: #f7f5ef;
  color: #17352f;
}
body:has(#root > main > button.kart:nth-of-type(5)) .demo-entry {
  display: block;
  max-width: 1096px;
  margin: 0 auto;
  padding: 0 28px;
}
.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  border-bottom: 1px solid #d6ded5;
}
.demo-nav a { color: #17352f; text-decoration: none; }
.demo-brand { font: 750 25px Arial, sans-serif; letter-spacing: -1px; }
.demo-brand span { color: #5b6962; font-weight: 400; }
.demo-back { font-size: 13px; }
.demo-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-hero { padding: 43px 0 32px; }
.demo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #527846;
  margin: 0 0 15px;
}
.demo-hero h1 {
  font: 400 clamp(36px, 4.5vw, 49px)/1.12 Georgia, serif;
  letter-spacing: -1.5px;
  margin: 0 0 17px;
}
.demo-hero h1 em { font-style: normal; color: #527846; }
.demo-summary { max-width: 650px; color: #5b6962; font-size: 16px; line-height: 1.65; margin: 0; }
.demo-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 19px; font-size: 12px; color: #5b6962; }
.demo-facts span:first-child { color: #17352f; font-weight: 600; }
body:has(#root > main > button.kart:nth-of-type(5)) :focus-visible { outline-color: #527846; outline-offset: 4px; }
#root > main:has(> button.kart:nth-of-type(5)) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px !important;
  max-width: 1096px;
  min-height: 0 !important;
  margin: 0 auto;
  padding: 0 28px 54px !important;
  text-align: left !important;
  align-items: stretch !important;
}
#root > main:has(> button.kart:nth-of-type(5)) > p { display: none; }
#root > main:has(> button.kart:nth-of-type(5)) > button.kart {
  position: relative;
  max-width: none !important;
  width: 100%;
  min-height: 206px;
  padding: 25px 26px 65px;
  background: #fffef9;
  color: #17352f;
  border: 1px solid #d6ded5;
  border-radius: 9px;
  font: inherit;
  text-align: left;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
#root > main:has(> button.kart:nth-of-type(5)) > button.kart:hover {
  border-color: #98af8d;
  background: #f0f4e9;
  box-shadow: 0 4px 14px #17352f09;
}
#root > main:has(> button.kart:nth-of-type(5)) > button.kart > span:first-child { display: block !important; }
#root > main:has(> button.kart:nth-of-type(5)) > button.kart strong {
  display: block;
  font-family: Georgia, serif !important;
  font-size: 24px !important;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.45px;
  color: #17352f;
}
#root > main:has(> button.kart:nth-of-type(5)) > button.kart p {
  color: #5b6962 !important;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 11px !important;
}
#root > main:has(> button.kart:nth-of-type(5)) > button.kart > span > span {
  position: absolute;
  right: 26px;
  bottom: 22px;
  padding: 3px 9px !important;
  font-size: 11px !important;
  color: #37663d !important;
  background: #eaf0e3;
  border-color: #d4e1cd !important;
}
#root > main:has(> button.kart:nth-of-type(5)) > button.kart::after {
  content: "Dersi aç ↗";
  position: absolute;
  left: 26px;
  bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  color: #527846;
}
#root > main:has(> button.kart:nth-of-type(5)) > button.kart:nth-of-type(5) {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 23px 195px 23px 26px;
  background: #eaf0e3;
}
#root > main:has(> button.kart:nth-of-type(5)) > button.kart:nth-of-type(5) strong { font-size: 22px !important; }
#root > main:has(> button.kart:nth-of-type(5)) > button.kart:nth-of-type(5)::after {
  content: "Simülatörü aç ↗";
  left: auto;
  right: 26px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
@media (max-width: 650px) {
  body:has(#root > main > button.kart:nth-of-type(5)) .demo-entry { padding: 0 20px; }
  .demo-nav { padding: 21px 0; }
  .demo-hero { padding: 31px 0 26px; }
  .demo-hero h1 { letter-spacing: -1px; }
  .demo-summary { font-size: 15px; }
  .demo-facts { gap: 8px 16px; }
  #root > main:has(> button.kart:nth-of-type(5)) { grid-template-columns: 1fr; padding: 0 20px 36px !important; gap: 14px !important; }
  #root > main:has(> button.kart:nth-of-type(5)) > button.kart { min-height: 192px; padding: 22px 22px 61px; }
  #root > main:has(> button.kart:nth-of-type(5)) > button.kart strong { font-size: 23px !important; }
  #root > main:has(> button.kart:nth-of-type(5)) > button.kart::after { left: 22px; }
  #root > main:has(> button.kart:nth-of-type(5)) > button.kart > span > span { right: 22px; }
  #root > main:has(> button.kart:nth-of-type(5)) > button.kart:nth-of-type(5) { padding: 22px 22px 62px; }
  #root > main:has(> button.kart:nth-of-type(5)) > button.kart:nth-of-type(5)::after { left: 22px; right: auto; top: auto; bottom: 24px; transform: none; }
}
