/* ============================================================
   AmoozYar — Inline (Shortcode) Exam Pages CSS
   ============================================================ */

/* ---- صفحه شروع آزمون ---- */
.ay-start-wrap {
  max-width: 820px;
  margin: 30px auto;
  padding: 0 16px 60px;
  direction: rtl;
}

.ay-start-card {
  background: var(--ay-start-card-bg, #fff);
  border-radius: var(--ay-start-radius, 20px);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

/* هرو */
.ay-start-hero {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 30px 32px;
}
.ay-has-img .ay-start-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(.7);
}
.ay-start-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.85) 0%, rgba(15,23,42,.2) 100%);
}
.ay-no-img {
  background: linear-gradient(135deg, var(--ay-start-primary, #1e40af) 0%, #7c3aed 100%);
  min-height: 160px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.ay-start-hero-icon { font-size: 3rem; margin-bottom: 8px; }
.ay-start-hero-content { position: relative; z-index: 1; }
.ay-no-img .ay-start-hero-content { text-align: center; }

.ay-start-cat-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .78rem;
  margin-bottom: 8px;
}
.ay-start-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}
.ay-start-subtitle { color: rgba(255,255,255,.75); font-size: .88rem; margin: 0; }

/* بدنه */
.ay-start-body { padding: 28px 32px 32px; }

/* مشخصات */
.ay-start-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.ay-spec-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: box-shadow .15s;
}
.ay-spec-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.ay-spec-icon { display: block; font-size: 1.5rem; margin-bottom: 6px; }
.ay-spec-val  { display: block; font-size: 1.15rem; font-weight: 800; color: #1e293b; }
.ay-spec-lbl  { display: block; font-size: .73rem; color: #64748b; margin-top: 3px; }

/* توضیحات */
.ay-start-desc { margin-bottom: 24px; }
.ay-start-desc h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #1e293b; }
.ay-start-desc-body { font-size: .92rem; line-height: 1.8; color: #475569; }

/* اطلاعیه */
.ay-start-notice {
  display: flex;
  gap: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-right: 5px solid #f59e0b;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
}
.ay-notice-icon { font-size: 1.5rem; flex-shrink: 0; }
.ay-notice-text { font-size: .88rem; line-height: 1.7; color: #78350f; }
.ay-notice-text ul { margin: 8px 0 0; padding-right: 20px; }
.ay-notice-text li { margin-bottom: 5px; }

/* دکمه شروع */
.ay-start-actions { text-align: center; }
.ay-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--ay-start-success, #16a34a), #15803d);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(22,163,74,.35);
  transition: transform .15s, box-shadow .15s;
}
.ay-start-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(22,163,74,.45); }
.ay-start-btn:active { transform: none; }
.ay-start-btn-icon { font-size: 1.3rem; }
.ay-start-back-link {
  display: block;
  margin-top: 14px;
  color: #64748b;
  font-size: .85rem;
  text-decoration: none;
}
.ay-start-back-link:hover { color: var(--ay-start-primary, #2563eb); text-decoration: underline; }

/* ---- پاپ‌آپ تأیید ---- */
.ay-confirm-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.7);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  direction: rtl;
}
.ay-confirm-popup {
  background: var(--ay-start-card-bg, #fff);
  border-radius: var(--ay-start-radius, 20px);
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  animation: popIn .25s ease;
}
@keyframes popIn {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
.ay-confirm-icon  { font-size: 3rem; margin-bottom: 12px; }
.ay-confirm-popup h2 { font-size: 1.4rem; margin: 0 0 6px; color: #1e293b; }
.ay-confirm-exam-name { color: var(--ay-start-primary, #2563eb); font-weight: 600; margin-bottom: 16px; font-size: 1rem; }
.ay-confirm-details {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}
.ay-confirm-detail-item {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .88rem;
}
.ay-confirm-detail-item strong { display: block; font-size: 1rem; color: #1e293b; margin-top: 2px; }
.ay-confirm-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .87rem;
  line-height: 1.7;
  color: #78350f;
  margin-bottom: 22px;
  text-align: right;
}
.ay-confirm-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ay-confirm-yes {
  display: inline-block;
  background: linear-gradient(135deg, var(--ay-start-success, #16a34a), #15803d);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
  transition: opacity .15s;
}
.ay-confirm-yes:hover { opacity: .88; color: #fff; }
.ay-confirm-no {
  background: #e2e8f0;
  color: #475569;
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s;
}
.ay-confirm-no:hover { background: #cbd5e1; }

/* ---- اتاق آزمون inline ---- */
.ay-inline-exam-wrap {
  direction: rtl;
}

.ay-ie-header {
  background: #1e40af;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px 12px 0 0;
  gap: 12px;
  flex-wrap: wrap;
}
.ay-ie-exam-name { font-weight: 700; font-size: 1rem; }
.ay-ie-set-name  { font-size: .75rem; opacity: .75; }
.ay-ie-set-name code { background: rgba(255,255,255,.15); padding: 1px 5px; border-radius: 4px; }

.ay-ie-timer-box {
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 6px 16px;
  text-align: center;
  min-width: 100px;
}
.ay-ie-timer-digits { font-size: 1.7rem; font-weight: 800; letter-spacing: 2px; line-height: 1; }
.ay-ie-timer-label  { font-size: .65rem; opacity: .8; margin-top: 2px; }

.ay-ie-save-ind { font-size: .75rem; }
.ay-ie-offline  { background: #f59e0b; color: #fff; padding: 2px 8px; border-radius: 6px; font-size: .75rem; }

.ay-ie-progress-wrap {
  height: 7px;
  background: #e2e8f0;
  position: relative;
}
.ay-ie-progress-bar { height: 100%; background: #16a34a; transition: width .4s; }
.ay-ie-progress-label {
  position: absolute;
  left: 10px; top: 9px;
  font-size: .72rem;
  color: #64748b;
  white-space: nowrap;
}

.ay-ie-main { padding: 16px; min-height: 400px; }
.ay-ie-slide { animation: fadeUp .2s ease; }

.ay-ie-footer {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 12px 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ay-ie-grid {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  max-height: 80px;
  overflow-y: auto;
}

/* ---- thank you page box ---- */
.ay-thankyou-box {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #16a34a;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  margin: 24px 0;
  direction: rtl;
}
.ay-thankyou-icon { font-size: 2.5rem; margin-bottom: 10px; }
.ay-thankyou-box h3 { font-size: 1.2rem; margin-bottom: 8px; color: #1e293b; }
.ay-thankyou-box p  { color: #475569; margin: 5px 0; }
.ay-thankyou-btn {
  display: inline-block;
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 16px;
  transition: opacity .15s, transform .1s;
  box-shadow: 0 4px 14px rgba(22,163,74,.3);
}
.ay-thankyou-btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }

/* ---- order page exam box ---- */
.ay-order-exam-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-right: 5px solid #2563eb;
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 16px;
  direction: rtl;
}
.ay-order-exam-box h4 { margin: 0 0 10px; font-size: .95rem; }
.ay-order-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  margin-bottom: 10px;
  color: #475569;
}
.ay-order-timer-val { font-weight: 700; color: #1e293b; }
.ay-order-done  { color: #16a34a; font-weight: 600; margin-bottom: 8px; }
.ay-order-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: opacity .15s;
}
.ay-order-btn:hover { opacity: .88; color: #fff; }
.ay-btn-start    { background: #16a34a; }
.ay-btn-continue { background: #7c3aed; }

.ay-error-msg {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  color: #b91c1c;
  direction: rtl;
}

@media (max-width:600px) {
  .ay-start-body  { padding: 20px 18px 24px; }
  .ay-start-title { font-size: 1.3rem; }
  .ay-start-specs { grid-template-columns: repeat(2,1fr); }
  .ay-confirm-details { flex-direction: column; }
  .ay-ie-footer { flex-wrap: wrap; }
  .ay-ie-grid { max-height: 60px; }
}

/* ---- Bale connect box on start exam page ---- */
.ay-bale-connect-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.ay-bale-connect-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.ay-bale-icon    { font-size: 1.8rem; flex-shrink: 0; }
.ay-bale-text    { font-size: .88rem; line-height: 1.6; color: #1e3a8a; }
.ay-bale-text strong { display: block; font-size: .95rem; margin-bottom: 3px; }
.ay-bale-methods { display: flex; flex-direction: column; gap: 0; }
.ay-bale-method  { padding: 8px 0; }

.ay-bale-save-btn {
  background: #2563eb; color: #fff; border: none;
  padding: 8px 16px; border-radius: 7px; font-size: .88rem;
  font-weight: 600; cursor: pointer; white-space: nowrap;
}
.ay-bale-save-btn:hover { opacity: .88; }

.ay-bale-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1d4ed8; color: #fff; border-radius: 8px;
  padding: 8px 16px; text-decoration: none; font-size: .88rem; font-weight: 600;
}
.ay-bale-link-btn:hover { opacity: .88; color: #fff; }

.ay-bale-connected-box {
  display: flex; align-items: center; gap: 10px;
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: 10px; padding: 12px 16px;
  font-size: .88rem; color: #15803d; margin-bottom: 20px;
}

/* ---- ناوبری صفحات آزمون ---- */
.ay-page-top-nav {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 16px;
  background:#f8fafc;
  border-right:1px solid #e2e8f0;
  border-left:1px solid #e2e8f0;
}
.ay-page-nav-btn,
.ay-page-jump-btn {
  border:1px solid #e2e8f0;
  background:#fff;
  color:#334155;
  border-radius:9px;
  padding:7px 12px;
  font-size:.84rem;
  font-weight:700;
  cursor:pointer;
  transition:all .15s ease;
}
.ay-page-nav-btn:hover,
.ay-page-jump-btn:hover {
  border-color:#2563eb;
  color:#2563eb;
}
.ay-page-nav-btn:disabled {
  opacity:.45;
  cursor:not-allowed;
}
.ay-page-jump-wrap {
  display:flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  overflow-x:auto;
  padding:2px 0 4px;
}
.ay-page-jump-btn.ay-page-current {
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
}
.ay-page-ind-top {
  color:#475569 !important;
  background:#e2e8f0 !important;
}
@media(max-width:600px) {
  .ay-page-top-nav { gap:6px; padding:10px; }
  .ay-page-nav-btn, .ay-page-jump-btn { font-size:.76rem; padding:6px 9px; }
}

/* ============================================================
   AmoozYar Start Exam — v1.9.9 responsive polish
   ============================================================ */
.ay-start-wrap {
  max-width: 920px;
}
.ay-start-card {
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 18px 55px rgba(15,23,42,.12);
}
.ay-start-hero {
  min-height: 220px;
}
.ay-has-img .ay-start-hero-bg {
  transform: scale(1.04);
  filter: blur(2px) saturate(1.05) brightness(.72);
}
.ay-start-hero-overlay {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.2), transparent 28%),
    linear-gradient(to top, rgba(15,23,42,.9) 0%, rgba(15,23,42,.28) 100%);
}
.ay-start-cat-badge {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
}
.ay-start-title {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.ay-start-subtitle {
  font-size: .95rem;
  line-height: 1.9;
}
.ay-start-specs {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}
.ay-spec-item {
  box-shadow: 0 8px 22px rgba(15,23,42,.045);
}
.ay-start-desc,
.ay-start-notice,
.ay-bale-connect-box,
.ay-bale-connected-box {
  box-shadow: 0 8px 24px rgba(15,23,42,.045);
}
.ay-start-btn {
  min-width: 220px;
  justify-content: center;
}

@media (max-width: 600px) {
  .ay-start-wrap {
    margin: 16px auto;
    padding: 0 10px 34px;
  }
  .ay-start-hero {
    min-height: 170px;
    padding: 24px 18px;
  }
  .ay-start-body {
    padding: 18px 14px 22px;
  }
  .ay-start-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ay-spec-item {
    padding: 13px 8px;
  }
  .ay-spec-val {
    font-size: 1rem;
  }
  .ay-start-notice {
    flex-direction: column;
  }
  .ay-start-btn {
    width: 100%;
    min-width: 0;
    padding: 15px 20px;
  }
}


/* Polished thank-you exam cards */
.ay-thankyou-wrap {
  direction: rtl;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background: linear-gradient(135deg,#eff6ff 0%,#ffffff 55%,#f0fdf4 100%);
  box-shadow: 0 14px 36px rgba(15,23,42,.08);
}
.ay-thankyou-heading { display:flex;align-items:center;gap:14px;margin-bottom:18px; }
.ay-thankyou-heading-icon { width:52px;height:52px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-size:1.6rem;box-shadow:0 10px 24px rgba(37,99,235,.25); }
.ay-thankyou-heading h3 { margin:0 0 4px;font-size:1.25rem;color:#0f172a; }
.ay-thankyou-heading p { margin:0;color:#475569;font-size:.92rem;line-height:1.8; }
.ay-thankyou-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px; }
.ay-thankyou-card { display:flex;gap:14px;align-items:stretch;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:14px;box-shadow:0 8px 20px rgba(15,23,42,.05); }
.ay-thankyou-thumb { width:76px;height:76px;border-radius:16px;object-fit:cover;flex:0 0 76px;background:#f8fafc; }
.ay-thankyou-thumb-fallback { display:flex;align-items:center;justify-content:center;font-size:1.7rem;border:1px dashed #cbd5e1; }
.ay-thankyou-content { flex:1;min-width:0; }
.ay-thankyou-content h4 { margin:0 0 8px;color:#0f172a;font-size:1rem;line-height:1.5; }
.ay-thankyou-meta { display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px;color:#475569;font-size:.8rem; }
.ay-thankyou-meta span { background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px; }
.ay-thankyou-btn { display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 16px;border-radius:12px;text-decoration:none !important;color:#fff !important;font-weight:800;font-size:.9rem;transition:.18s ease; }
.ay-thankyou-btn-start { background:#16a34a;box-shadow:0 8px 18px rgba(22,163,74,.22); }
.ay-thankyou-btn-continue { background:#2563eb;box-shadow:0 8px 18px rgba(37,99,235,.22); }
.ay-thankyou-btn-report { background:#7c3aed;box-shadow:0 8px 18px rgba(124,58,237,.22); }
.ay-thankyou-btn:hover { transform:translateY(-1px);filter:brightness(.96); }
@media (max-width:600px){
  .ay-thankyou-wrap{padding:16px;border-radius:18px;}
  .ay-thankyou-heading{align-items:flex-start;}
  .ay-thankyou-card{flex-direction:column;}
  .ay-thankyou-thumb{width:100%;height:150px;flex-basis:auto;}
  .ay-thankyou-btn{width:100%;}
}

/* ============================================================
   AmoozYar Start Exam — v1.10.3 larger premium card
   ============================================================ */
.ay-start-wrap {
  max-width: 1120px !important;
  margin: 42px auto !important;
  padding: 0 20px 70px !important;
}
.ay-start-card {
  border-radius: 30px !important;
  border: 1px solid rgba(203,213,225,.95) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(37,99,235,.07), transparent 34%),
    var(--ay-start-card-bg, #fff) !important;
  box-shadow: 0 28px 85px rgba(15,23,42,.16) !important;
}
.ay-start-hero {
  min-height: 285px !important;
  padding: 42px 46px !important;
}
.ay-no-img {
  min-height: 250px !important;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, var(--ay-start-primary, #2563eb) 55%, #7c3aed 100%) !important;
}
.ay-start-title {
  font-size: clamp(1.75rem, 3vw, 2.7rem) !important;
  letter-spacing: -.02em;
}
.ay-start-subtitle {
  max-width: 760px;
  font-size: 1.03rem !important;
  color: rgba(255,255,255,.86) !important;
}
.ay-start-body {
  padding: 38px 46px 44px !important;
}
.ay-start-specs {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 34px !important;
}
.ay-spec-item {
  min-height: 112px;
  padding: 20px 14px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  box-shadow: 0 12px 30px rgba(15,23,42,.07) !important;
}
.ay-spec-icon { font-size: 1.8rem !important; }
.ay-spec-val { font-size: 1.25rem !important; }
.ay-spec-lbl { font-size: .78rem !important; }
.ay-start-desc {
  position: relative;
  margin-bottom: 30px !important;
  padding: 24px 26px !important;
  border: 1px solid #dbeafe;
  border-right: 6px solid var(--ay-start-primary, #2563eb);
  border-radius: 22px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 62%);
}
.ay-start-desc h3 {
  margin: 0 0 12px !important;
  font-size: 1.14rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}
.ay-start-desc-body {
  font-size: .98rem !important;
  line-height: 2 !important;
  color: #334155 !important;
}
.ay-start-desc-body p { margin-top: 0; }
.ay-start-notice {
  border-radius: 20px !important;
  padding: 20px 22px !important;
}
.ay-start-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.ay-start-btn {
  min-width: 280px !important;
  min-height: 58px;
  padding: 18px 42px !important;
  border-radius: 18px !important;
  font-size: 1.12rem !important;
  box-shadow: 0 14px 34px rgba(22,163,74,.32) !important;
}
.ay-start-back-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0 !important;
  padding: 0 18px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  font-weight: 800;
}
@media (max-width: 760px) {
  .ay-start-wrap {
    margin: 18px auto !important;
    padding: 0 10px 38px !important;
  }
  .ay-start-card { border-radius: 22px !important; }
  .ay-start-hero {
    min-height: 210px !important;
    padding: 28px 20px !important;
  }
  .ay-start-body {
    padding: 22px 14px 26px !important;
  }
  .ay-start-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .ay-start-desc,
  .ay-start-notice {
    padding: 18px 16px !important;
    border-radius: 18px !important;
  }
  .ay-start-actions { align-items: stretch; }
  .ay-start-btn,
  .ay-start-back-link {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* ============================================================
   AmoozYar Start Exam — v1.10.4 wider wrap + larger about box
   ============================================================ */
.ay-start-wrap {
  width: min(1220px, calc(100vw - 56px)) !important;
  max-width: min(1220px, calc(100vw - 56px)) !important;
  margin: 52px auto 92px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
.ay-start-card {
  width: 100% !important;
  overflow: hidden !important;
}
.ay-start-hero {
  min-height: 315px !important;
  padding: 52px 64px !important;
}
.ay-start-body {
  padding: 46px 64px 54px !important;
}
.ay-start-specs {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 18px !important;
  margin-bottom: 38px !important;
}
.ay-spec-item {
  min-height: 124px !important;
  padding: 24px 18px !important;
}
.ay-start-desc {
  min-height: 190px !important;
  padding: 34px 38px !important;
  margin-bottom: 34px !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 42px rgba(37,99,235,.08) !important;
}
.ay-start-desc h3 {
  font-size: 1.28rem !important;
  margin-bottom: 16px !important;
}
.ay-start-desc-body {
  font-size: 1.03rem !important;
  line-height: 2.15 !important;
}
.ay-start-notice {
  padding: 24px 28px !important;
  margin-bottom: 26px !important;
}
@media (max-width: 900px) {
  .ay-start-wrap {
    width: min(100%, calc(100vw - 24px)) !important;
    max-width: min(100%, calc(100vw - 24px)) !important;
    margin: 22px auto 46px !important;
    left: auto !important;
    transform: none !important;
  }
  .ay-start-hero { min-height: 220px !important; padding: 30px 22px !important; }
  .ay-start-body { padding: 24px 16px 30px !important; }
  .ay-start-desc { min-height: 0 !important; padding: 22px 18px !important; }
}


/* ============================================================
   AmoozYar Start Exam — v1.10.6 match theme content width
   The start card now uses 90% of the theme content box instead
   of forcing a viewport-based width.
   ============================================================ */
.entry-content.content-box .ay-start-wrap,
.entry-content .ay-start-wrap,
.content-box .ay-start-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: clamp(28px, 4vw, 56px) auto clamp(48px, 6vw, 96px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  display: flex !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
.entry-content.content-box .ay-start-card,
.entry-content .ay-start-card,
.content-box .ay-start-card {
  width: 90% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
.entry-content.content-box .ay-start-body,
.entry-content .ay-start-body,
.content-box .ay-start-body {
  padding-left: clamp(28px, 4.5vw, 72px) !important;
  padding-right: clamp(28px, 4.5vw, 72px) !important;
}
@media (min-width: 1024px) {
  .entry-content.content-box .ay-start-specs,
  .entry-content .ay-start-specs,
  .content-box .ay-start-specs {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  .entry-content.content-box .ay-start-wrap,
  .entry-content .ay-start-wrap,
  .content-box .ay-start-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px auto 46px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    display: block !important;
  }
  .entry-content.content-box .ay-start-card,
  .entry-content .ay-start-card,
  .content-box .ay-start-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .entry-content.content-box .ay-start-body,
  .entry-content .ay-start-body,
  .content-box .ay-start-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
