@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  --am-brand: #842b6b;
  --am-brand-dark: #6e2d5c;
  --am-brand-light: #f3e8ef;
  --am-surface: #ffffff;
  --am-surface-muted: #f7f3f6;
  --am-text: #2d2430;
  --am-text-muted: #5c5160;
  --am-border: #e8dde4;
  --am-radius: 12px;
  --am-shadow: 0 8px 24px rgba(70, 24, 56, 0.08);
  --am-header-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--am-header-h) + 12px);
  overflow-x: clip;
  max-width: 100%;
}

body.am-body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--am-text);
  background: linear-gradient(180deg, var(--am-brand-light) 0%, #faf7f9 120px, #faf7f9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  max-width: 100%;
}

.am-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Header / Nav --- */
.am-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: var(--am-brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.am-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--am-header-h);
}

.am-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
  max-width: 220px;
}

.am-logo img {
  max-height: 44px;
  width: auto;
  display: block;
}

.am-logo-text {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.am-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.am-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.am-nav-link,
.am-nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.am-nav-link i,
.am-nav-more-btn i {
  width: 1.1rem;
  text-align: center;
  font-size: 0.95rem;
}

.am-nav-link:hover,
.am-nav-link:focus,
.am-nav-more-btn:hover,
.am-nav-more-btn:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

.am-nav-link.is-active {
  background: #fff;
  color: var(--am-brand) !important;
}

.am-nav-link-strong {
  font-weight: 700;
}

.am-nav-more-wrap {
  position: relative;
}

.am-nav-more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow);
  z-index: 1300;
}

.am-nav-more-panel .am-nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.am-nav-more-panel .am-nav-link {
  color: var(--am-text) !important;
  width: 100%;
  border-radius: 8px;
}

.am-nav-more-panel .am-nav-link:hover {
  background: var(--am-surface-muted);
  color: var(--am-brand) !important;
}

.am-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.am-nav-drawer,
.am-nav-backdrop {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Κλειστό μενού: ποτέ hit-test πάνω στη σελίδα (ακόμα κι αν το [hidden] αγνοηθεί από CSS) */
body.am-body:not(.am-nav-open) .am-nav-drawer,
body.am-body:not(.am-nav-open) .am-nav-backdrop {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* --- Main content --- */
.am-main {
  flex: 1 0 auto;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow-x: clip;
  min-width: 0;
}

.am-main > table {
  margin-bottom: 1.5rem;
  max-width: 100%;
  width: 100% !important;
  border-spacing: 0;
}

.am-body.am-landing .am-landing-banner {
  padding-top: calc(var(--am-header-h) + 1rem);
}

/* --- Landing: bootstrap θέτει html 10px → διόρθωση rem για μενού/κείμενο --- */
html.am-landing-root {
  font-size: 16px;
}

body.am-body.am-landing {
  background: linear-gradient(180deg, var(--am-brand-light) 0%, #faf7f9 160px, #faf7f9 100%) !important;
  color: var(--am-text);
}

.am-body.am-landing .am-header-inner {
  max-width: 1280px;
}

.am-body.am-landing .am-nav-link,
.am-body.am-landing .am-nav-more-btn {
  font-size: 0.95rem;
  padding: 0.52rem 0.9rem;
}

.am-body.am-landing .am-nav-link i,
.am-body.am-landing .am-nav-more-btn i {
  font-size: 1rem;
}

.am-body.am-landing .am-nav-link-strong {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.am-body.am-landing .am-nav-link-strong:hover,
.am-body.am-landing .am-nav-link-strong:focus {
  background: #fff;
  color: var(--am-brand) !important;
}

/* Γιατί εμάς — χωρίς λευκό panel */
.am-body.am-landing #services.am-landing-services {
  background: transparent !important;
  padding: 3.5rem 0 2.5rem !important;
}

.am-body.am-landing #services.am-landing-services .services-content h5 {
  color: var(--am-brand-dark);
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.am-body.am-landing #services.am-landing-services .services-content p {
  color: var(--am-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.am-body.am-landing #services.am-landing-services .services .icon {
  color: var(--am-brand);
}

/* Κάρτες Σεμινάρια / Μαθήματα */
.am-landing-quick-links {
  padding: 0 1rem 2.5rem;
}

.am-landing-quick-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.am-landing-quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow);
  text-decoration: none !important;
  color: inherit !important;
  min-height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.am-landing-quick-card:hover,
.am-landing-quick-card:focus {
  transform: translateY(-2px);
  border-color: var(--am-brand);
  box-shadow: 0 12px 28px rgba(70, 24, 56, 0.12);
}

.am-landing-quick-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--am-brand-light);
  color: var(--am-brand);
  font-size: 1.15rem;
}

.am-landing-quick-icon.is-gold {
  background: #fff6df;
  color: #9a7b1a;
}

.am-landing-quick-title {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.25rem;
  color: var(--am-brand-dark);
}

.am-landing-quick-text {
  margin: 0;
  color: var(--am-text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
  flex: 1 1 auto;
}

.am-landing-quick-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--am-brand);
  font-size: 0.92rem;
}

/* Επερχόμενα σεμινάρια grid */
.am-body.am-landing .am-landing-works {
  background: transparent !important;
  padding: 0 0 2.5rem;
}

.am-landing-section-head,
.am-landing-works-head {
  max-width: 920px;
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
  text-align: center;
}

.am-landing-section-title,
.am-landing-works-title {
  margin: 0 0 0.35rem;
  font-family: "Merriweather", Georgia, serif;
  color: var(--am-brand-dark);
  font-size: 1.65rem;
}

.am-landing-works-intro {
  margin: 0;
  color: var(--am-text-muted);
  line-height: 1.55;
}

.am-body.am-landing .am-landing-works .work {
  box-shadow: 0 0 0 1px var(--am-border);
  border-radius: 0;
}

.am-body.am-landing .am-landing-works .work .overlay {
  background: rgba(110, 45, 92, 0.88);
}

.am-body.am-landing .am-landing-works .work .overlay-caption2 {
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.65rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Επικοινωνία — χωρίς λευκό panel */
.am-body.am-landing #contact.am-landing-contact {
  background: transparent !important;
  padding: 3rem 0 3.5rem;
}

.am-body.am-landing #contact.am-landing-contact .conForm h5 {
  font-family: "Merriweather", Georgia, serif;
  color: var(--am-brand-dark);
  font-size: 1.65rem;
}

.am-body.am-landing #contact.am-landing-contact .conForm p {
  color: var(--am-text-muted);
  margin: 1rem 0 1.5rem;
}

.am-body.am-landing #contact.am-landing-contact .conForm input,
.am-body.am-landing #contact.am-landing-contact .conForm textarea {
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: 10px;
  border-bottom: 1px solid var(--am-border);
  color: var(--am-text);
}

.am-body.am-landing #contact.am-landing-contact .conForm .submitBnt {
  background: var(--am-brand);
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem;
  min-height: 46px;
}

.am-body.am-landing #contact.am-landing-contact .conForm .submitBnt:hover {
  background: var(--am-brand-dark);
}

.am-body.am-landing .banner-text .btn.btn-large {
  background: var(--am-brand);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.am-body.am-landing .banner-text .btn.btn-large:hover {
  background: var(--am-brand-dark);
  color: #fff;
}

.am-body a:not(.am-nav-link):not(.am-logo):not(.am-help-card):not(.btn) {
  color: var(--am-brand);
}

.am-body a:not(.am-nav-link):not(.am-logo):not(.am-help-card):hover {
  color: var(--am-brand-dark);
}

/* --- Classes / seminars grid (αντί για στήλες πίνακα) --- */
.am-body table.seminars-classes-grid {
  display: block;
  width: 100% !important;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  box-sizing: border-box;
}

.am-body table.seminars-classes-grid > tbody {
  display: block;
  width: 100%;
}

.am-body table.seminars-classes-grid > tbody > tr {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.am-body table.seminars-classes-grid > tbody > tr > td {
  display: block;
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  vertical-align: top;
  padding: 0;
  box-sizing: border-box;
}

.am-body .seminartable {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--am-surface);
  box-shadow: var(--am-shadow);
}

.am-body .seminartable th {
  background: var(--am-brand);
  color: #fff;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.am-body .seminartable th a.semtitle,
.am-body .seminartable th .semtitle {
  color: #fff !important;
  text-decoration: none !important;
}

.am-body .seminartable th a.semtitle:hover,
.am-body .seminartable th a.semtitle:focus {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.92;
}

.am-body .seminartable td {
  background: var(--am-surface) !important;
  color: var(--am-text);
  padding: 1rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

.am-body .seminartable td > table {
  max-width: 100%;
}

.am-body .seminartable img:not(.semimage) {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
}

.am-body .seminartable .semimage {
  float: left;
  display: block;
  width: auto;
  max-width: min(280px, 42%) !important;
  height: auto !important;
  padding: 0 1rem 0.75rem 0;
  border-radius: 8px;
  box-sizing: border-box;
}

.am-body .seminartable td > .sem_data {
  display: flow-root;
}

.am-body .desc_short {
  color: var(--am-text-muted);
  line-height: 1.55;
}

.am-body .desc_short p {
  margin: 0 0 0.65rem;
}

.am-body .desc_short p:last-child {
  margin-bottom: 0;
}

.am-body .desc_short ul,
.am-body .desc_short ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.35rem;
}

.am-body .desc_short ul {
  list-style: disc;
}

.am-body .desc_short ol {
  list-style: decimal;
}

.am-body .desc_short li {
  margin-bottom: 0.35rem;
  display: list-item;
}

.am-body .desc_short li:last-child {
  margin-bottom: 0;
}

.am-content-intro {
  display: flow-root;
  margin-bottom: 0.75rem;
}

.am-body .am-content-intro .desc_short ul,
.am-body .am-content-intro .desc_short ol {
  clear: left;
}

.am-body .am-card-desc .desc_short ul,
.am-body .am-card-desc .desc_short ol {
  margin: 0.35rem 0 0.5rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
}

.am-body .am-card-desc .desc_short li {
  margin-bottom: 0.25rem;
}

/* --- Κουμπιά ενεργειών κάρτας (μαθήματα, ημερομηνίες σεμιναρίων) --- */
.am-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.am-card-actions--inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 0.35rem;
}

.am-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none !important;
  border: 1px solid transparent;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.am-card-actions--inline .am-card-btn {
  width: auto;
  flex: 1 1 auto;
  min-width: min(100%, 9.5rem);
  min-height: 42px;
  padding: 0.6rem 0.95rem;
  font-size: 0.86rem;
}

.am-card-btn i {
  font-size: 1rem;
  flex-shrink: 0;
}

.am-card-btn--primary {
  background: var(--am-brand);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(132, 43, 107, 0.22);
}

.am-card-btn--primary:hover,
.am-card-btn--primary:focus {
  background: var(--am-brand-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(132, 43, 107, 0.28);
}

.am-card-btn--secondary {
  background: var(--am-surface);
  color: var(--am-brand) !important;
  border-color: var(--am-border);
}

.am-card-btn--secondary:hover,
.am-card-btn--secondary:focus {
  background: var(--am-brand-light);
  color: var(--am-brand-dark) !important;
  border-color: var(--am-brand);
}

.am-card-btn--ghost {
  background: transparent;
  color: var(--am-text-muted) !important;
  border-color: var(--am-border);
  font-size: 0.88rem;
  min-height: 42px;
}

.am-card-btn--ghost:hover,
.am-card-btn--ghost:focus {
  background: var(--am-surface-muted);
  color: var(--am-brand) !important;
  border-color: var(--am-brand);
}

.am-card-actions-hint {
  margin: 0.65rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--am-text-muted);
  background: var(--am-surface-muted);
  border-radius: 8px;
  border-left: 3px solid var(--am-brand);
}

.am-card-actions-hint i {
  color: var(--am-brand);
  margin-right: 0.35rem;
}

.am-card-actions-hint--notice {
  border-left-color: #c9a227;
  background: #fffbf0;
}

.am-classes-page-hint-wrap {
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.am-classes-page-hint-wrap .am-classes-page-hint {
  margin: 0;
}

.am-class-register-notes {
  max-width: 520px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.am-class-register-notes .am-class-register-hint {
  margin: 0;
  text-align: left;
}

.am-class-register-notes .am-class-register-hint a {
  font-weight: 600;
}

.am-form-actions {
  margin-top: 1.25rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.am-body .am-form-actions input[type="submit"],
.am-body input[type="submit"].am-card-btn-submit,
.am-body .seminartable input[type="submit"].priceoption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: var(--am-brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(132, 43, 107, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.am-body .am-form-actions input[type="submit"]:hover,
.am-body input[type="submit"].am-card-btn-submit:hover,
.am-body .seminartable input[type="submit"].priceoption:hover {
  background: var(--am-brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(132, 43, 107, 0.28);
}

.am-sem-date-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin-top: 0.35rem;
}

.am-discounts-link {
  margin-top: 0.35rem;
  text-decoration: none !important;
}

.am-discounts-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  margin-left: 0.35rem;
}

.am-sem-dates-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0.75rem auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  justify-content: center;
}

.am-body .seminardates.am-sem-dates-table {
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.am-body .seminardates {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--am-border);
  border-radius: 8px;
  font-size: 0.82rem;
  table-layout: auto;
}

.am-body .seminardates .am-sem-part-status-cell {
  min-width: 8.5rem;
}

.am-body .seminardates .am-sem-part-status-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.am-body .seminardates .am-sem-part-label {
  font-weight: 600;
  line-height: 1.35;
}

.am-body .seminardates .am-sem-part-status-stack .am-sem-status {
  display: inline-flex;
}

.am-body .seminardates .am-sem-part-status-stack .am-sem-status-label {
  white-space: nowrap;
}

.am-body .seminardates th {
  background: var(--am-brand-dark);
  color: #fff;
  padding: 0.45rem 0.5rem;
  white-space: nowrap;
  text-align: center;
  font-weight: 600;
}

.am-body .seminardates td {
  padding: 0.45rem 0.5rem;
  background: var(--am-surface-muted) !important;
  border-top: 1px solid var(--am-border);
  vertical-align: middle;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
}

.am-body .seminardates td .am-sem-date-actions {
  justify-content: flex-start;
  margin: 0;
}

.am-body .seminardates td .am-sem-date-actions .am-card-btn {
  width: 100%;
  max-width: 11rem;
}

.am-body .seminardates td.sem-part-online {
  color: #175cd3;
  font-weight: 600;
}

.am-body .seminardates td.sem-part-live {
  color: var(--am-brand-dark);
  font-weight: 600;
}

.am-body .oldprice {
  text-decoration: line-through;
  color: #b42318;
  font-weight: 500;
}

.am-body .newprice {
  font-weight: 700;
  color: #067647;
}

.am-body .seminardates .am-sem-datetime-cell {
  text-align: left;
}

.am-body .seminardates .am-sem-datetime-main {
  display: block;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.35;
  color: var(--am-brand-dark);
}

.am-body .seminardates .am-sem-datetime-missing {
  color: var(--am-text-muted);
  font-style: italic;
}

.am-body .seminardates .am-sem-datetime-sessions {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.am-body .seminardates .am-sem-datetime-sessions li {
  margin: 0 0 0.5rem;
  line-height: 1.4;
  font-size: 0.95em;
}

.am-body .seminardates .am-sem-datetime-sessions li:last-child {
  margin-bottom: 0;
}

.am-body .seminardates .am-sem-session-when {
  display: block;
  font-weight: 600;
  color: var(--am-brand-dark);
}

.am-body .seminardates .am-sem-cost-cell {
  min-width: 6.5rem;
}

.am-body .seminardates .am-sem-cost-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  line-height: 1.3;
}

.am-body .seminardates .am-sem-cost-value {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--am-brand-dark);
}

.am-body .seminardates .am-sem-cost-value--free {
  color: #067647;
}

.am-body .seminardates .am-sem-cost-early-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.am-body .seminardates .am-sem-cost-regular {
  font-size: 0.88em;
}

.am-body .seminardates .am-sem-cost-early-until {
  font-size: 0.82em;
  color: var(--am-text-muted);
}

.am-body .seminardates .am-sem-cost-vat {
  display: none;
}

.am-body .am-early-inline-price {
  font-size: 1.08em;
}

.am-body .am-early-inline-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  vertical-align: middle;
}

.am-body .am-early-promo {
  margin: 0.75rem 0 0.35rem;
  padding: 0.85rem 1rem;
  border: 2px solid #abefc6;
  border-radius: var(--am-radius);
  background: linear-gradient(135deg, #ecfdf3 0%, #f6fef9 100%);
  box-shadow: 0 2px 10px rgba(6, 118, 71, 0.08);
}

.am-body .am-early-promo-head {
  font-size: 1rem;
  color: #067647;
  margin-bottom: 0.35rem;
}

.am-body .am-early-promo-head i {
  margin-right: 0.25rem;
}

.am-body .am-early-promo-price {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
}

.am-body .am-early-promo-save {
  font-size: 0.92em;
  color: #067647;
  font-weight: 600;
}

.am-body .am-early-promo-deadline {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--am-text);
}

.am-body .am-early-promo-cta {
  margin: 0;
}

.am-body .am-early-promo-cta .am-card-btn {
  width: 100%;
  max-width: 20rem;
  justify-content: center;
}

.am-body .am-early-promo-cta-note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #067647;
}

.am-city-filter {
  text-align: center;
  margin: 0 0 1rem;
  color: var(--am-text-muted);
  font-size: 1rem;
  max-width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.am-city-filter a {
  font-weight: 600;
}

.am-card-desc {
  margin-bottom: 0.75rem;
}

.am-card-desc-preview {
  margin: 0;
}

.am-card-desc-extra {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--am-border);
}

.am-desc-more-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.am-desc-ellipsis {
  color: var(--am-text-muted);
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.am-desc-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0;
  margin-left: auto;
  border: 1px solid var(--am-border);
  background: var(--am-surface-muted);
  color: var(--am-brand);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.am-desc-toggle-btn:hover,
.am-desc-toggle-btn:focus {
  background: var(--am-brand-light);
  color: var(--am-brand-dark);
}

.am-body .discount_head,
.am-body .extra_head {
  font-weight: 700;
  color: var(--am-brand);
  margin: 0.75rem 0 0.35rem;
}

.am-body .discount_title {
  font-weight: 600;
  margin-top: 0.35rem;
}

.am-body .sem_data {
  line-height: 1.55;
}

.am-body .sem-hybrid-hint {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--am-text);
  background: var(--am-surface-muted);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
}

.am-body .sem-hybrid-hint a {
  font-weight: 600;
}

.am-body .semimage {
  float: left;
  display: block;
  width: auto;
  max-width: min(280px, 42%);
  height: auto;
  padding: 0 1rem 0.75rem 0;
  border-radius: 8px;
}

.am-card-hero {
  margin-bottom: 0.75rem;
}

.am-card-photo-stack {
  min-width: 0;
}

.am-card-photo-stack .semimage {
  float: none;
  max-width: min(280px, 100%);
  width: auto;
  padding: 0;
}

.am-card-hero-text {
  min-width: 0;
}

.am-body table.seminars-classes-grid .semimage {
  display: block;
  width: auto;
  height: auto;
  border-radius: 8px;
}

@media (min-width: 992px) {
  .am-body table.seminars-classes-grid .am-card-hero {
    display: grid;
    grid-template-columns: min(280px, 38%) 1fr;
    gap: 0.85rem 1.25rem;
    align-items: start;
    margin-bottom: 0.85rem;
  }

  .am-body table.seminars-classes-grid .am-card-photo-stack {
    grid-column: 1;
    grid-row: 1;
  }

  .am-body table.seminars-classes-grid .am-card-hero-text {
    grid-column: 2;
    grid-row: 1;
  }

  .am-body table.seminars-classes-grid .am-card-hero > .am-early-promo {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0.15rem 0 0;
    padding: 0.9rem 1.1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 1.25rem;
    row-gap: 0.35rem;
    align-items: center;
  }

  .am-body table.seminars-classes-grid .am-card-hero > .am-early-promo .am-early-promo-head {
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
  }

  .am-body table.seminars-classes-grid .am-card-hero > .am-early-promo .am-early-promo-price {
    grid-column: 1;
    margin: 0;
    font-size: 1.08rem;
  }

  .am-body table.seminars-classes-grid .am-card-hero > .am-early-promo .am-early-promo-deadline {
    grid-column: 1;
    margin: 0;
    font-size: 0.92rem;
  }

  .am-body table.seminars-classes-grid .am-card-hero > .am-early-promo .am-early-promo-cta,
  .am-body table.seminars-classes-grid .am-card-hero > .am-early-promo .am-early-promo-cta-note {
    grid-column: 2;
    grid-row: 2 / span 2;
    margin: 0;
    align-self: center;
    justify-self: end;
  }

  .am-body table.seminars-classes-grid .am-card-hero > .am-early-promo .am-early-promo-cta .am-card-btn {
    max-width: none;
    min-width: 12.5rem;
    white-space: nowrap;
  }

  .am-body table.seminars-classes-grid .am-card-hero > .sem-hybrid-hint {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
  }

  .am-body table.seminars-classes-grid .am-card-photo-stack .semimage {
    float: none;
    max-width: 100% !important;
    width: 100%;
    height: auto !important;
    padding: 0;
  }

  .am-body table.seminars-classes-grid .seminartable td > .semimage {
    float: left;
    max-width: min(220px, 34%) !important;
    height: auto !important;
    padding: 0 1rem 0.85rem 0;
  }

  .am-body table.seminars-classes-grid .am-card-desc {
    display: flow-root;
    margin-bottom: 0.75rem;
    min-width: 0;
  }

  .am-body table.seminars-classes-grid .am-card-desc-preview {
    margin: 0;
  }

  .am-body table.seminars-classes-grid .am-card-desc-extra:not([hidden]) {
    clear: both;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--am-border);
  }

  .am-body table.seminars-classes-grid .am-desc-toggle-btn {
    margin-top: 0.45rem;
  }

  .am-body table.seminars-classes-grid > tbody > tr > td {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }

  .am-body table.seminars-classes-grid.am-seminars-count-1 > tbody > tr > td,
  .am-body table.seminars-classes-grid.am-classes-count-1 > tbody > tr > td,
  .am-body table.seminars-classes-grid > tbody > tr > td:only-child {
    flex: 0 1 980px;
    width: 100%;
    max-width: 980px;
  }

  .am-body table.seminars-classes-grid.am-seminars-count-1 .seminartable,
  .am-body table.seminars-classes-grid.am-classes-count-1 .seminartable,
  .am-body table.seminars-classes-grid > tbody > tr > td:only-child .seminartable {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .am-body table.seminars-classes-grid.am-seminars-count-1 .am-sem-dates-wrap,
  .am-body table.seminars-classes-grid.am-classes-count-1 .am-sem-dates-wrap {
    width: 100%;
  }

  .am-body table.seminars-classes-grid.am-seminars-count-1 .seminardates.am-sem-dates-table,
  .am-body table.seminars-classes-grid.am-classes-count-1 .seminardates.am-sem-dates-table {
    width: 100%;
    max-width: 100%;
  }

  .am-body table.seminars-classes-grid > tbody > tr > td:last-child:nth-child(odd):not(:only-child) {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .am-body table.seminars-classes-grid > tbody > tr > td:last-child:nth-child(odd):not(:only-child) .seminartable {
    max-width: calc(50% - 0.5rem);
    margin-left: auto;
    margin-right: auto;
  }

  .am-body table.seminars-classes-grid .sem_data {
    margin-top: 0.15rem;
  }

  .am-body table.seminars-classes-grid .am-sem-dates-wrap {
    margin-top: 0.85rem;
    clear: both;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .am-body table.seminars-classes-grid .seminardates.am-sem-dates-table {
    font-size: 0.96rem;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    min-width: min(100%, 540px);
  }

  .am-body table.seminars-classes-grid .seminardates.am-sem-dates-table th {
    font-size: 0.92rem;
    padding: 0.65rem 0.75rem;
  }

  .am-body table.seminars-classes-grid .seminardates.am-sem-dates-table th,
  .am-body table.seminars-classes-grid .seminardates.am-sem-dates-table td {
    padding: 0.65rem 0.75rem;
  }

  .am-body table.seminars-classes-grid .seminardates .am-sem-datetime-main {
    font-size: 1.02rem;
  }

  .am-body table.seminars-classes-grid .seminardates .am-sem-cost-value {
    font-size: 1.08em;
  }

  .am-body table.seminars-classes-grid .seminardates.am-sem-dates-table tbody tr:nth-child(even) td {
    background: var(--am-surface) !important;
  }

  .am-body table.seminars-classes-grid .seminardates td .am-sem-date-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .am-body table.seminars-classes-grid .seminardates td .am-sem-date-actions .am-card-btn {
    max-width: none;
    width: 100%;
    min-width: 0;
    font-size: 0.84rem;
    line-height: 1.25;
    padding: 0.55rem 0.65rem;
    white-space: normal;
    text-align: center;
  }

  .am-body table.seminars-classes-grid .seminardates td .am-sem-date-actions .am-card-btn span {
    display: block;
  }

  .am-body table.seminars-classes-grid .am-sem-status {
    white-space: nowrap;
  }

  .am-body .seminardates .am-sem-part-status-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.5rem;
  }

  .am-body .seminardates .am-sem-part-status-stack .am-sem-part-label::after {
    content: "·";
    margin-left: 0.5rem;
    color: var(--am-text-muted);
    font-weight: 400;
  }
}

.am-body [id^="nanoGallery"] {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.am-body .nanoGalleryContainerParent,
.am-body .nanoGalleryContainer {
  max-width: 100% !important;
  box-sizing: border-box;
}

.am-body .regtable {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 0.5rem;
}

.am-body .regtable th {
  text-align: left;
  padding: 0.45rem 0.65rem 0.45rem 0;
  white-space: nowrap;
  vertical-align: middle;
}

.am-body .regtable td {
  padding: 0.45rem 0;
}

.am-body .regtable input.priceoption {
  width: 100%;
  max-width: 260px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--am-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.am-body .seminartable input[type="submit"].priceoption {
  display: block;
  margin: 1rem auto 0;
  max-width: 360px;
}

/* --- Help page cards --- */
.am-help-page {
  max-width: 920px;
  margin: 0 auto;
}

.am-help-intro {
  text-align: center;
  margin: 0 0 1.25rem;
  color: var(--am-text-muted);
  line-height: 1.6;
}

.am-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.am-help-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--am-surface);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow);
  text-decoration: none !important;
  color: inherit !important;
  min-height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.am-help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(70, 24, 56, 0.12);
}

.am-help-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
}

.am-help-card-icon.is-pink {
  background: linear-gradient(135deg, #e84545, #c0267a);
}

.am-help-card-icon.is-gold {
  background: linear-gradient(135deg, #d4b91c, #b8890d);
}

.am-help-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--am-text);
}

.am-help-card-text {
  margin: 0;
  color: var(--am-text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.am-help-card-cta {
  margin-top: auto;
  font-weight: 700;
  color: var(--am-brand);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- Footer --- */
.am-footer.footer {
  flex-shrink: 0;
  margin-top: 3rem;
  background: var(--am-brand-dark);
  padding: 1rem 0 1.25rem;
}

.am-footer.footer {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.am-footer.footer table {
  margin: 0 auto;
  max-width: 100%;
}

.am-footer.footer table img {
  max-width: 36px;
  height: auto;
}

.am-footer-phones {
  text-align: center;
  color: #fff;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.am-footer-phones a {
  color: #fff !important;
  text-decoration: underline;
}

/* --- Mobile (seminars.php): μία στήλη + card πίνακας ημερομηνιών --- */
@media (max-width: 991px) {
  .am-body table.seminars-classes-grid > tbody > tr > td {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }

  .am-body table.seminars-classes-grid > tbody > tr {
    gap: 0.75rem;
  }

  .am-body .semimage,
  .am-body .seminartable .semimage,
  .am-body table.seminars-classes-grid .semimage {
    float: none;
    max-width: min(280px, 100%) !important;
    width: auto;
    padding: 0 0 0.75rem 0;
  }

  .am-body .seminartable th a.semtitle {
    display: block;
    line-height: 1.35;
  }

  .am-sem-dates-wrap {
    overflow-x: visible;
  }

  .am-body .seminardates.am-sem-dates-table {
    display: block;
    border: 0;
    background: transparent;
  }

  .am-body .seminardates.am-sem-dates-table thead {
    display: none;
  }

  .am-body .seminardates.am-sem-dates-table tbody {
    display: block;
  }

  .am-body .seminardates.am-sem-dates-table tbody tr {
    display: block;
    margin-bottom: 0.85rem;
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    background: var(--am-surface);
    box-shadow: 0 2px 8px rgba(70, 24, 56, 0.06);
    overflow: hidden;
  }

  .am-body .seminardates.am-sem-dates-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .am-body .seminardates.am-sem-dates-table td {
    display: grid;
    grid-template-columns: 5.75rem 1fr;
    gap: 0.2rem 0.65rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    text-align: left;
    white-space: normal;
    word-break: normal;
    border-top: 1px solid var(--am-border);
  }

  .am-body .seminardates.am-sem-dates-table td:first-child {
    border-top: 0;
  }

  .am-body .seminardates.am-sem-dates-table td::before {
    font-weight: 600;
    font-size: 0.76rem;
    color: var(--am-text-muted);
    text-transform: none;
  }

  .am-body .seminardates.am-sem-dates-table td:nth-child(1)::before {
    content: "Ημ/νία & ώρα";
  }

  .am-body .seminardates.am-sem-dates-table td:nth-child(2)::before {
    content: "Περιοχή & κατάσταση";
  }

  .am-body .seminardates.am-sem-dates-table td:nth-child(3)::before {
    content: "Κόστος";
  }

  .am-body .seminardates.am-sem-dates-table td:nth-child(4) {
    grid-template-columns: 1fr;
    background: var(--am-surface-muted) !important;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .am-body .seminardates.am-sem-dates-table td:nth-child(4)::before {
    content: "Επιλογές";
    display: block;
    margin-bottom: 0.45rem;
  }

  .am-body .seminardates.am-sem-hybrid-table td:nth-child(2)::before {
    content: "Τρόπος & κατάσταση";
  }

  .am-body .seminardates.am-sem-hybrid-table td:nth-child(3)::before {
    content: "Κόστος";
  }

  .am-body .seminardates.am-sem-hybrid-table td:nth-child(4) {
    grid-template-columns: 1fr;
    background: var(--am-surface-muted) !important;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .am-body .seminardates.am-sem-hybrid-table td:nth-child(4)::before {
    content: "Επιλογές";
    display: block;
    margin-bottom: 0.45rem;
  }

  .am-body .seminardates.am-sem-hybrid-table td:nth-child(5)::before {
    content: "Λεπτομέρειες";
  }

  .am-body .seminardates.am-sem-hybrid-table td:nth-child(5) {
    grid-template-columns: 1fr;
    background: var(--am-surface-muted) !important;
  }

  .am-body .seminardates.am-sem-dates-table:not(.am-sem-hybrid-table) td:nth-child(5)::before {
    content: "Λεπτομέρειες";
  }

  .am-body .seminardates.am-sem-dates-table:not(.am-sem-hybrid-table) td:nth-child(5) {
    grid-template-columns: 1fr;
    background: var(--am-surface-muted) !important;
  }

  .am-body .seminardates.am-sem-hybrid-table td.sem-part-online {
    font-weight: 600;
  }

  .am-body .seminardates.am-sem-dates-table td[colspan] {
    grid-template-columns: 1fr;
  }

  .am-body .seminardates.am-sem-dates-table td[colspan]::before {
    content: "Ημ/νία & ώρα";
  }

  .am-body .seminardates td .am-sem-date-actions {
    width: 100%;
    max-width: none;
  }

  .am-body .seminardates td .am-sem-date-actions .am-card-btn {
    max-width: none;
    width: 100%;
  }

  .am-sem-date-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }
}

/* --- Mobile (navigation κ.λπ.) --- */
@media (max-width: 768px) {
  :root {
    --am-header-h: 58px;
  }

  .am-nav-list-main .am-nav-main-item {
    display: none;
  }

  .am-nav-more-wrap {
    display: none;
  }

  .am-nav-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
    z-index: 1450;
  }

  body.am-body.am-nav-open .am-nav-backdrop {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 18, 0.45);
    z-index: 1350;
  }

  body.am-body.am-nav-open .am-nav-drawer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    background: #fff;
    z-index: 1400;
    transform: translateX(0);
    transition: transform 0.22s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
  }

  .am-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--am-border);
    background: var(--am-brand);
    color: #fff;
  }

  .am-nav-drawer-title {
    font-family: "Merriweather", Georgia, serif;
    font-size: 0.95rem;
    font-weight: 700;
  }

  .am-nav-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
  }

  .am-nav-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
  }

  .am-nav-drawer-list .am-nav-link {
    width: 100%;
    color: var(--am-text) !important;
    border-radius: 10px;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.25rem;
  }

  .am-nav-drawer-list .am-nav-link.is-active,
  .am-nav-drawer-list .am-nav-link:hover {
    background: var(--am-surface-muted);
    color: var(--am-brand) !important;
  }

  .am-help-grid {
    grid-template-columns: 1fr;
  }

  .am-main {
    padding: 0.75rem 0.65rem 2rem;
  }

  .am-body .seminartable th {
    font-size: 0.92rem;
    padding: 0.65rem 0.75rem;
  }

  .am-body .seminartable td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .am-body .desc_short {
    font-size: 0.88rem;
  }

  .am-card-btn {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    font-size: 0.84rem;
  }

  .am-card-actions--inline {
    gap: 0.4rem;
  }

  .am-card-actions--inline .am-card-btn {
    min-height: 38px;
    min-width: 0;
    flex: 1 1 calc(50% - 0.25rem);
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
  }

  .am-card-btn i {
    font-size: 0.9rem;
  }

  .am-desc-toggle-btn {
    font-size: 0.82rem;
    padding: 0.35rem 0.7rem;
  }
}

@media (min-width: 769px) {
  .am-nav-drawer,
  .am-nav-backdrop {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  body.am-body:not(.am-landing) .am-nav-label {
    font-size: 0.82rem;
  }

  body.am-body:not(.am-landing) .am-nav-link,
  body.am-body:not(.am-landing) .am-nav-more-btn {
    padding: 0.4rem 0.55rem;
  }
}

@media (max-width: 640px) {
  .am-landing-quick-grid {
    grid-template-columns: 1fr;
  }
}

/* --- seminar_info (alex-modern) --- */
.am-seminar-info-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

.am-seminar-info-layout {
  width: 100% !important;
  max-width: 100%;
  border: 0 !important;
  border-collapse: collapse;
  border-spacing: 0;
}

.am-seminar-info-layout > tbody > tr > td {
  padding: 0;
}

.am-seminar-info-back {
  margin: 0 0 1rem;
}

.am-seminar-info-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--am-brand);
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.95rem;
}

.am-seminar-info-back a:hover,
.am-seminar-info-back a:focus {
  color: var(--am-brand-dark);
}

.am-seminar-info-hero {
  display: flow-root;
}

.am-seminar-info-card > tbody > tr:nth-child(n + 3):nth-child(odd) > th,
.am-seminar-info-card th#am-discounts,
.am-seminar-info-card tr#sem-places > th,
.am-seminar-info-card tr[id^="sem-place-"] > th {
  background: var(--am-surface-muted);
  color: var(--am-brand-dark);
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--am-border);
}

.am-seminar-info-card > tbody > tr:nth-child(n + 3):nth-child(even) > td,
.am-seminar-info-card tr[id^="sem-place-"] > td {
  padding: 1rem 1.15rem 1.25rem;
  line-height: 1.6;
}

.am-info-section-title {
  margin: 1.25rem 0 0.75rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--am-brand-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.am-info-section-title i {
  color: var(--am-brand);
  font-size: 1rem;
}

.am-info-dates-section {
  margin-top: 0.5rem;
}

.am-info-dates-wrap {
  margin-bottom: 0.25rem;
}

.am-info-online-section {
  margin: 1.15rem 0 0.5rem;
}

.am-info-callout {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  background: var(--am-surface-muted);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  line-height: 1.6;
}

.am-info-callout--online {
  border-left: 4px solid var(--am-brand);
}

.am-info-callout-title {
  margin: 0 0 0.65rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--am-brand-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.am-info-date-block {
  margin: 0.75rem 0 0.25rem;
  padding: 1rem 1.15rem;
  background: var(--am-surface-muted);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
}

.am-info-date-block .am-info-section-title {
  margin-top: 0;
}

.am-info-date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.am-info-date-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.am-info-date-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--am-text-muted);
}

.am-info-date-value,
.am-info-date-item .am-sem-status-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--am-text);
}

.am-info-date-item--status {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: var(--am-surface);
  border: 1px solid var(--am-border);
}

.am-sem-status-label {
  font-weight: 700;
}

.am-sem-status--full .am-sem-status-label {
  color: #b42318;
}

.am-sem-status--limited .am-sem-status-label {
  color: #b54708;
}

.am-sem-status--preorder .am-sem-status-label {
  color: #175cd3;
}

.am-sem-status--open .am-sem-status-label {
  color: #027a48;
}

.am-info-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.75rem 0 0.25rem;
}

.am-info-cta-note {
  margin: 0 0 0.35rem;
  color: var(--am-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.am-info-details-link .am-card-btn {
  width: auto;
  min-width: 0;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
}

.am-seminar-info-card tr[id^="sem-place-"] > td > table {
  width: 100%;
  border-collapse: collapse;
}

.am-seminar-info-card tr[id^="sem-place-"] > td > table td {
  padding: 0.35rem 0.75rem 0.35rem 0;
  vertical-align: top;
}

.am-seminar-info-card tr[id^="sem-place-"] img {
  max-width: min(220px, 100%) !important;
  height: auto !important;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.am-seminar-info-card tr[id^="sem-place-"] iframe {
  max-width: 100%;
  border: 0;
  border-radius: 8px;
  min-height: 220px;
}

.am-seminar-info-card .discount_title {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  color: var(--am-brand-dark);
  margin: 1rem 0 0.35rem;
}

.am-seminar-info-card .discount_title:first-child {
  margin-top: 0;
}

.am-seminar-info-card p[align="justify"],
.am-seminar-info-card div[align="center"] {
  text-align: left !important;
}

.am-seminar-info-card div[align="center"] b {
  display: block;
  margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
  .am-seminar-info-page {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .am-main:has(.am-seminar-info-page) {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .am-body .am-seminar-info-card {
    border-radius: 10px;
  }

  .am-body .am-seminar-info-card > tbody > tr:first-child > th,
  .am-body .am-seminar-info-card > tbody > tr:nth-child(2) > td,
  .am-seminar-info-card > tbody > tr:nth-child(n + 3):nth-child(odd) > th,
  .am-seminar-info-card > tbody > tr:nth-child(n + 3):nth-child(even) > td,
  .am-seminar-info-card tr[id^="sem-place-"] > td {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .am-info-date-block,
  .am-info-callout {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .am-body .am-seminar-info-card .semimage {
    float: none;
    max-width: min(280px, 100%) !important;
    margin: 0 auto 0.85rem;
    padding: 0;
  }

  .am-info-date-grid {
    grid-template-columns: 1fr;
  }
}

/* --- seminar_register (alex-modern) --- */
.am-register-layout {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  border: 0 !important;
}

.am-register-back {
  max-width: 720px;
  margin: 0.75rem auto 0.5rem;
  padding: 0 1rem;
}

.am-body .seminartable.am-register-card .semtitle {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.am-reg-summary {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 1.15rem 1.5rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.am-reg-summary-photo {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--am-surface-muted);
  box-shadow: 0 6px 20px rgba(70, 24, 56, 0.14);
}

.am-body .seminartable.am-register-card .am-reg-summary-photo .semimage,
.am-reg-summary .am-reg-summary-photo .semimage {
  float: none !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 200px;
  max-height: 340px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.am-reg-summary .semimage {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(70, 24, 56, 0.14);
  object-fit: cover;
}

.am-reg-summary-body {
  min-width: 0;
}

.am-reg-meta {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.am-reg-meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--am-text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.am-reg-meta li i {
  color: var(--am-brand);
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}

.am-reg-cost-line {
  padding: 0.75rem 0.9rem;
  background: var(--am-surface-muted);
  border: 1px solid var(--am-border);
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.am-reg-cost-line strong {
  color: var(--am-brand-dark);
}

.am-reg-cost-extra {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--am-text-muted);
}

.am-reg-intro {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--am-surface-muted);
  border-left: 4px solid var(--am-brand);
  border-radius: 0 10px 10px 0;
  color: var(--am-text);
  line-height: 1.55;
  font-size: 0.95rem;
}

.am-reg-form-card {
  margin-top: 0.75rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: var(--am-surface-muted);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.am-reg-form-title {
  margin: 0 0 0.85rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--am-brand-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.am-reg-form-title i {
  color: var(--am-brand);
  font-size: 0.95rem;
}

.am-body .regtable.am-reg-fields,
.am-body table.am-reg-fields {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--am-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(70, 24, 56, 0.05);
}

.am-body .regtable.am-reg-fields th,
.am-body table.am-reg-fields th {
  width: 32%;
  min-width: 118px;
  max-width: 160px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--am-brand-dark);
  background: var(--am-surface-muted);
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid var(--am-border);
}

.am-body .regtable.am-reg-fields td,
.am-body table.am-reg-fields td {
  padding: 0.7rem 0.9rem;
  vertical-align: middle;
  background: #fff;
  border-bottom: 1px solid var(--am-border);
}

.am-body .regtable.am-reg-fields tr:last-child th,
.am-body .regtable.am-reg-fields tr:last-child td,
.am-body table.am-reg-fields tr:last-child th,
.am-body table.am-reg-fields tr:last-child td {
  border-bottom: 0;
}

.am-body .regtable.am-reg-fields input.priceoption,
.am-body .regtable.am-reg-fields select.priceoption,
.am-body table.am-reg-fields input.priceoption,
.am-body table.am-reg-fields select.priceoption,
.am-body table.am-reg-fields textarea.priceoption {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--am-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.am-body .regtable.am-reg-fields input.priceoption:focus,
.am-body .regtable.am-reg-fields select.priceoption:focus,
.am-body table.am-reg-fields input.priceoption:focus,
.am-body table.am-reg-fields select.priceoption:focus,
.am-body table.am-reg-fields textarea.priceoption:focus {
  outline: none;
  border-color: var(--am-brand);
  box-shadow: 0 0 0 3px rgba(132, 43, 107, 0.12);
}

.am-field-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--am-text-muted);
}

.am-reg-pack-card {
  margin: 0 0 1.15rem;
  padding: 1rem 1.1rem;
  background: var(--am-surface-muted);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius);
}

.am-reg-pack-title {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--am-brand-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.am-reg-pack-title i {
  color: var(--am-brand);
}

.am-body table.pricetable.am-reg-pack,
.am-body table.pricetable.am-reg-participants {
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--am-border);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
}

.am-body table.pricetable.am-reg-pack th,
.am-body table.pricetable.am-reg-participants th {
  background: var(--am-brand-light);
  color: var(--am-brand-dark);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
}

.am-body table.pricetable.am-reg-pack td,
.am-body table.pricetable.am-reg-participants td {
  padding: 0.75rem 0.85rem;
  vertical-align: top;
  line-height: 1.5;
  font-size: 0.92rem;
}

.am-body table.pricetable.am-reg-pack tr:not(:first-child) td,
.am-body table.pricetable.am-reg-participants tr:not(:first-child) td {
  border-top: 1px solid var(--am-border);
}

.am-body table.pricetable.am-reg-pack tr:not(:first-child):hover,
.am-body table.pricetable.am-reg-participants tr:not(:first-child):hover {
  background: rgba(132, 43, 107, 0.04);
  cursor: pointer;
}

.am-body table.pricetable.am-reg-participants input.priceoption {
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--am-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

.am-reg-notes {
  margin-top: 1.15rem;
}

.am-reg-policy-callout {
  padding: 0.95rem 1.05rem 1rem;
  background: #fff;
  border: 1px solid var(--am-border);
  border-left: 4px solid var(--am-brand);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 3px 14px rgba(70, 24, 56, 0.06);
}

.am-reg-policy-title {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--am-brand-dark);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.am-reg-policy-title i {
  color: var(--am-brand);
  flex-shrink: 0;
}

.am-reg-policy-text {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--am-text);
  line-height: 1.6;
}

.am-reg-policy-extra {
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--am-border);
}

.am-reg-policy-extra-text {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: var(--am-text-muted);
  line-height: 1.55;
}

.am-reg-policy-member-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.am-reg-policy-member-action .am-card-btn {
  min-height: 40px;
}

.am-reg-notes p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--am-text-muted);
  line-height: 1.55;
}

.am-reg-notes p:last-child {
  margin-bottom: 0;
}

.am-reg-notes a {
  font-weight: 600;
}

.am-reg-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.25rem;
}

.am-reg-pay-actions .am-card-btn {
  flex: 1 1 200px;
  justify-content: center;
}

.am-reg-choice-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1rem 0 0.5rem;
}

.am-body input[type="submit"].am-card-btn-secondary,
.am-body input[type="button"].am-card-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--am-border);
  border-radius: 999px;
  background: #fff;
  color: var(--am-text);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.am-body input[type="submit"].am-card-btn-secondary:hover,
.am-body input[type="button"].am-card-btn-secondary:hover {
  background: var(--am-surface-muted);
  border-color: var(--am-brand);
  color: var(--am-brand-dark);
}

.am-body .success_head {
  margin: 0.75rem 0 0.65rem;
  padding: 0.85rem 1rem;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  border-radius: 10px;
  color: #027a48;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.am-body .success_text {
  margin: 0 0 0.75rem;
  color: var(--am-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.am-body .success_text a {
  font-weight: 600;
}

.am-body .error {
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
  color: #b42318;
  line-height: 1.5;
}

.am-body .ok,
.am-body .mynotice,
.am-body p.notice,
.am-body .notice {
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
  background: #eff8ff;
  border: 1px solid #b2ddff;
  border-radius: 10px;
  color: #175cd3;
  line-height: 1.55;
  font-size: 0.92rem;
}

.am-body .warning_text {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  background: #fffaeb;
  border: 1px solid #fedf89;
  border-radius: 10px;
  color: #b54708;
  line-height: 1.55;
}

.am-body .seminartable.am-register-card div[align="justify"] {
  text-align: left !important;
  margin-bottom: 0.85rem;
  line-height: 1.6;
  color: var(--am-text-muted);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .am-register-back {
    padding: 0 0.65rem;
  }

  .am-reg-summary {
    grid-template-columns: 1fr;
  }

  .am-reg-summary-photo {
    max-width: 100%;
    margin: 0 auto;
  }

  .am-body .seminartable.am-register-card .am-reg-summary-photo .semimage,
  .am-reg-summary .am-reg-summary-photo .semimage {
    min-height: 220px;
    max-height: 420px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .am-reg-summary .semimage {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .am-body .regtable.am-reg-fields th,
  .am-body table.am-reg-fields th {
    width: 34%;
    min-width: 96px;
    padding: 0.6rem 0.65rem;
    font-size: 0.85rem;
  }

  .am-body .regtable.am-reg-fields td,
  .am-body table.am-reg-fields td {
    padding: 0.6rem 0.65rem;
  }

  .am-reg-form-card {
    padding: 1rem;
  }

  .am-reg-pay-actions .am-card-btn {
    flex: 1 1 100%;
  }

  .am-reg-choice-btns {
    flex-direction: column;
  }

  .am-reg-choice-btns input[type="submit"],
  .am-reg-choice-btns input[type="button"] {
    width: 100%;
  }
}
