/*
 * NOUN Student Commons 5.12.1 — Compact Academic UX & Study Centre Directory.
 * Final layout/visibility boundary. /community/ home is intentionally excluded
 * from the global compact-page treatment.
 */

/* ---------------------------- Compact page rhythm ------------------------- */
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc512-workspace,.nsc5-main,.nsc590-guest-main) {
  scroll-margin-top: 86px;
}
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) .nsc512-workspace {
  gap: 16px !important;
}

/* 5.12.1 purpose-led heading: page title first, not a second homepage hero. */
html[data-theme] body.nsc5-document .nsc512-compact-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 6px 2px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--nsc512-border-soft) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme] body.nsc5-document .nsc512-compact-head > div { min-width: 0; max-width: 850px; }
html[data-theme] body.nsc5-document .nsc512-compact-head .nsc5-eyebrow { margin-bottom: 3px !important; }
html[data-theme] body.nsc5-document .nsc512-compact-head h1 {
  margin: 2px 0 3px !important;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}
html[data-theme] body.nsc5-document .nsc512-compact-head p {
  margin: 0 !important;
  max-width: 700px !important;
  font-size: .94rem !important;
  line-height: 1.5 !important;
}
html[data-theme] body.nsc5-document .nsc512-compact-head > :is(a,button) {
  flex: 0 0 auto;
  min-height: 42px !important;
  padding-block: 9px !important;
  white-space: nowrap;
}

/* Existing 5.12.0 directory hero is retained for compatibility but compacted. */
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) .nsc512-hero {
  align-items: center !important;
  padding: 18px 20px !important;
  gap: 18px !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  background: var(--nsc512-surface) !important;
}
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) .nsc512-hero-copy h1 {
  margin: 4px 0 5px !important;
  max-width: 780px !important;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem) !important;
  line-height: 1.08 !important;
}
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) .nsc512-hero-copy p {
  max-width: 720px !important;
  font-size: .94rem !important;
  line-height: 1.48 !important;
}

/* Older non-home workspaces receive the same compact treatment. */
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc5-page-head,.nsc590-guest-page-head,.nsc5-search-hero,.nsc574-messages-hero) {
  padding: 16px 18px !important;
  min-height: 0 !important;
  margin: 0 0 16px !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  background-image: none !important;
}
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc5-page-head,.nsc590-guest-page-head,.nsc5-search-hero,.nsc574-messages-hero) h1 {
  margin: 3px 0 5px !important;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
}
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc5-page-head,.nsc590-guest-page-head,.nsc5-search-hero,.nsc574-messages-hero) p {
  margin: 0 !important;
  max-width: 780px !important;
  font-size: .92rem !important;
  line-height: 1.48 !important;
}
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc512-course-hub-hero,.nsc512-person-hero,.nsc512-centre-hero,.nsc5-course-hero,.nsc5-circle-header) {
  padding: 17px 19px !important;
  min-height: 0 !important;
  gap: 16px !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}
html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc512-course-hub-hero,.nsc512-person-hero,.nsc512-centre-hero,.nsc5-course-hero,.nsc5-circle-header) h1 {
  margin-block: 4px !important;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important;
  line-height: 1.1 !important;
}

/* ------------------------ Study Circles: intent first ---------------------- */
html[data-theme] body.nsc5-document .nsc512-circle-tabs {
  width: 100%;
  padding: 4px !important;
  border-radius: 13px !important;
}
html[data-theme] body.nsc5-document .nsc512-circle-tabs a {
  min-height: 37px !important;
  padding: 7px 11px !important;
  font-size: .82rem !important;
}
html[data-theme] body.nsc5-document :is(.nsc512-circle-tools,.nsc512-people-tools,.nsc512-centre-tools) {
  position: relative;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-wrap: wrap;
}
html[data-theme] body.nsc5-document .nsc512-circle-search {
  display: flex !important;
  align-items: stretch !important;
  gap: 7px !important;
  width: min(100%, 430px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html[data-theme] body.nsc5-document .nsc512-circle-search > label {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 12px !important;
  border: 1px solid var(--nsc512-border) !important;
  border-radius: 12px !important;
  background: var(--nsc512-surface) !important;
  color: var(--nsc512-link) !important;
  -webkit-text-fill-color: var(--nsc512-link) !important;
}
html[data-theme] body.nsc5-document .nsc512-circle-search svg {
  flex: 0 0 auto !important;
  stroke: currentColor !important;
}
html[data-theme] body.nsc5-document .nsc512-circle-search input {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--nsc512-ink) !important;
  -webkit-text-fill-color: var(--nsc512-ink) !important;
}
html[data-theme] body.nsc5-document .nsc512-circle-search input::placeholder {
  color: var(--nsc512-muted) !important;
  -webkit-text-fill-color: var(--nsc512-muted) !important;
  opacity: 1 !important;
}
html[data-theme] body.nsc5-document .nsc512-circle-search > button {
  min-width: 72px !important;
  min-height: 42px !important;
  padding: 8px 12px !important;
  border: 1px solid var(--nsc512-border) !important;
  border-radius: 12px !important;
  background: var(--nsc512-alt) !important;
  color: var(--nsc512-ink) !important;
  -webkit-text-fill-color: var(--nsc512-ink) !important;
  font-weight: 800 !important;
}
html[data-theme] body.nsc5-document .nsc512-circle-search > button:hover { background: var(--nsc512-hover) !important; }

html[data-theme] body.nsc5-document .nsc512-filter-drawer {
  position: relative;
  flex: 0 0 auto;
  margin: 0 !important;
}
html[data-theme] body.nsc5-document .nsc512-filter-drawer > summary {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 8px 12px !important;
  list-style: none !important;
  cursor: pointer !important;
  border: 1px solid var(--nsc512-border) !important;
  border-radius: 12px !important;
  background: var(--nsc512-surface) !important;
  color: var(--nsc512-ink) !important;
  -webkit-text-fill-color: var(--nsc512-ink) !important;
  font-size: .84rem !important;
  font-weight: 800 !important;
}
html[data-theme] body.nsc5-document .nsc512-filter-drawer > summary::-webkit-details-marker { display: none !important; }
html[data-theme] body.nsc5-document .nsc512-filter-drawer > summary svg { stroke: var(--nsc512-link) !important; }
html[data-theme] body.nsc5-document .nsc512-filter-drawer-form {
  position: absolute !important;
  z-index: 35 !important;
  right: 0 !important;
  top: calc(100% + 7px) !important;
  width: min(680px, calc(100vw - 42px)) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 11px !important;
  padding: 15px !important;
  border: 1px solid var(--nsc512-border) !important;
  border-radius: 15px !important;
  background: var(--nsc512-surface) !important;
  box-shadow: var(--nsc512-shadow) !important;
}
html[data-theme] body.nsc5-document .nsc512-filter-drawer:not([open]) .nsc512-filter-drawer-form { display: none !important; }
html[data-theme] body.nsc5-document .nsc512-filter-drawer-form label {
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
  color: var(--nsc512-ink) !important;
  -webkit-text-fill-color: var(--nsc512-ink) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
}
html[data-theme] body.nsc5-document .nsc512-filter-drawer-form :is(input,select) {
  width: 100% !important;
  min-height: 42px !important;
  padding: 8px 10px !important;
  border: 1px solid var(--nsc512-border) !important;
  border-radius: 10px !important;
  background: var(--nsc512-alt) !important;
  color: var(--nsc512-ink) !important;
  -webkit-text-fill-color: var(--nsc512-ink) !important;
}
html[data-theme] body.nsc5-document .nsc512-filter-actions {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding-top: 3px;
}
html[data-theme] body.nsc5-document .nsc512-filter-actions a { font-weight: 800 !important; }
html[data-theme] body.nsc5-document .nsc512-results-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 38px !important;
  padding: 2px 2px 8px !important;
  border-bottom: 1px solid var(--nsc512-border-soft) !important;
}
html[data-theme] body.nsc5-document .nsc512-results-head > div { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
html[data-theme] body.nsc5-document .nsc512-results-head strong { font-size: 1.05rem !important; }
html[data-theme] body.nsc5-document .nsc512-results-head span,
html[data-theme] body.nsc5-document .nsc512-results-head small { color: var(--nsc512-muted) !important; -webkit-text-fill-color: var(--nsc512-muted) !important; font-size: .82rem !important; }
html[data-theme] body.nsc5-document .nsc512-results-head a { font-size: .84rem !important; font-weight: 800 !important; white-space: nowrap; }
html[data-theme] body.nsc5-document .nsc512-guest-callout-compact { padding: 13px 15px !important; }

/* --------------------------- Study Centre directory ------------------------ */
html[data-theme] body.nsc5-document .nsc512-my-centre {
  padding: 11px 14px !important;
  border-radius: 12px !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-card {
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 11px !important;
  padding: 15px !important;
  border-radius: 14px !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-card-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 11px !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-card-body { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
html[data-theme] body.nsc5-document .nsc512-centre-kicker {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-kicker span {
  padding: 3px 6px !important;
  border-radius: 999px !important;
  background: var(--nsc512-alt) !important;
  color: var(--nsc512-muted) !important;
  -webkit-text-fill-color: var(--nsc512-muted) !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-card h3 { margin: 0 !important; line-height: 1.25 !important; }
html[data-theme] body.nsc5-document .nsc512-centre-card p {
  margin: 0 !important;
  color: var(--nsc512-muted) !important;
  -webkit-text-fill-color: var(--nsc512-muted) !important;
  font-size: .8rem !important;
  line-height: 1.45 !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-card-stats { margin: 0 !important; gap: 8px !important; font-size: .74rem !important; }
html[data-theme] body.nsc5-document .nsc512-centre-open { margin-top: auto; font-size: .8rem !important; font-weight: 850 !important; }

html[data-theme] body.nsc5-document .nsc512-centre-context {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, .8fr) !important;
  gap: 15px !important;
  padding: 17px !important;
  border: 1px solid var(--nsc512-border-soft) !important;
  border-radius: 15px !important;
  background: var(--nsc512-surface) !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-context.is-compact { padding: 14px 15px !important; }
html[data-theme] body.nsc5-document .nsc512-centre-context-main { min-width: 0; display: grid; gap: 8px; }
html[data-theme] body.nsc5-document .nsc512-centre-context-title { display: flex; align-items: center; gap: 10px; }
html[data-theme] body.nsc5-document .nsc512-centre-context-title > span {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
  border-radius: 10px; background: var(--nsc512-accent) !important; color: var(--nsc512-link) !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-context-title svg { stroke: currentColor !important; }
html[data-theme] body.nsc5-document .nsc512-centre-context-title > div { min-width: 0; display: grid; gap: 1px; }
html[data-theme] body.nsc5-document .nsc512-centre-context-title small { font-size: .7rem !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 850; }
html[data-theme] body.nsc5-document .nsc512-centre-context-title strong { font-size: 1rem !important; }
html[data-theme] body.nsc5-document .nsc512-centre-context-main > p { margin: 0 !important; font-size: .86rem !important; line-height: 1.48 !important; }
html[data-theme] body.nsc5-document .nsc512-centre-facts { display: flex; flex-wrap: wrap; gap: 6px; }
html[data-theme] body.nsc5-document .nsc512-centre-facts span {
  padding: 5px 7px; border-radius: 8px; background: var(--nsc512-alt) !important;
  color: var(--nsc512-muted) !important; -webkit-text-fill-color: var(--nsc512-muted) !important;
  font-size: .72rem !important; font-weight: 750 !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-contact {
  min-width: 0; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 5px !important;
  padding-left: 15px; border-left: 1px solid var(--nsc512-border-soft) !important;
}
html[data-theme] body.nsc5-document .nsc512-centre-contact > small { font-size: .7rem !important; font-weight: 850 !important; text-transform: uppercase; letter-spacing: .05em; }
html[data-theme] body.nsc5-document .nsc512-centre-contact > a { max-width: 100%; overflow-wrap: anywhere; font-size: .84rem !important; font-weight: 800 !important; }
html[data-theme] body.nsc5-document .nsc512-centre-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 3px; }
html[data-theme] body.nsc5-document .nsc512-centre-links a { font-size: .76rem !important; font-weight: 800 !important; }
html[data-theme] body.nsc5-document .nsc512-centre-hero-compact { justify-content: flex-start !important; }

/* -------------------- Guest mobile header: no menu button ----------------- */
@media (max-width: 720px) {
  html body.nsc5-document.nsc590-guest-document .nsc590-guest-header-inner,
  html body.nsc5-document.nsc591-guest-document .nsc590-guest-header-inner,
  html body.nsc5-document.nsc592-guest-document .nsc590-guest-header-inner,
  html body.nsc5-document.nsc593-guest-document .nsc590-guest-header-inner,
  html body.nsc5-document.nsc594-guest-document .nsc590-guest-header-inner {
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 9px !important;
    width: calc(100% - 20px) !important;
    min-height: 62px !important;
  }
  html body.nsc5-document.nsc590-guest-document .nsc590-mobile-menu,
  html body.nsc5-document.nsc591-guest-document .nsc590-mobile-menu,
  html body.nsc5-document.nsc592-guest-document .nsc590-mobile-menu,
  html body.nsc5-document.nsc593-guest-document .nsc590-mobile-menu,
  html body.nsc5-document.nsc594-guest-document .nsc590-mobile-menu {
    display: none !important;
    visibility: hidden !important;
  }
  html body.nsc5-document.nsc590-guest-document .nsc590-guest-primary,
  html body.nsc5-document.nsc590-guest-document .nsc590-guest-auth { display: none !important; }
  html body.nsc5-document.nsc590-guest-document .nsc593-search-trigger,
  html body.nsc5-document.nsc591-guest-document .nsc593-search-trigger,
  html body.nsc5-document.nsc592-guest-document .nsc593-search-trigger,
  html body.nsc5-document.nsc593-guest-document .nsc593-search-trigger,
  html body.nsc5-document.nsc594-guest-document .nsc593-search-trigger {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 11px !important;
  }
  html body.nsc5-document.nsc590-guest-document .nsc593-search-trigger :is(span,kbd),
  html body.nsc5-document.nsc591-guest-document .nsc593-search-trigger :is(span,kbd),
  html body.nsc5-document.nsc592-guest-document .nsc593-search-trigger :is(span,kbd),
  html body.nsc5-document.nsc593-guest-document .nsc593-search-trigger :is(span,kbd),
  html body.nsc5-document.nsc594-guest-document .nsc593-search-trigger :is(span,kbd) { display: none !important; }
  html body.nsc5-document.nsc590-guest-document .nsc590-guest-brand { min-width: 0 !important; }

  html[data-theme] body.nsc5-document .nsc512-compact-head {
    align-items: flex-start !important;
    padding: 2px 0 10px !important;
  }
  html[data-theme] body.nsc5-document .nsc512-compact-head h1 { font-size: 1.65rem !important; }
  html[data-theme] body.nsc5-document .nsc512-compact-head p { font-size: .88rem !important; }
  html[data-theme] body.nsc5-document .nsc512-compact-head > :is(a,button) { min-height: 40px !important; padding: 8px 10px !important; font-size: .8rem !important; }

  html[data-theme] body.nsc5-document .nsc512-circle-tabs { margin-inline: 0 !important; }
  html[data-theme] body.nsc5-document :is(.nsc512-circle-tools,.nsc512-people-tools,.nsc512-centre-tools) { flex-wrap: nowrap !important; align-items: stretch !important; }
  html[data-theme] body.nsc5-document .nsc512-circle-search { width: auto !important; flex: 1 1 auto !important; min-width: 0 !important; }
  html[data-theme] body.nsc5-document .nsc512-circle-search > button { min-width: 64px !important; }
  html[data-theme] body.nsc5-document .nsc512-filter-drawer { flex: 0 0 auto !important; }
  html[data-theme] body.nsc5-document .nsc512-filter-drawer > summary { min-width: 42px !important; padding: 8px 10px !important; }
  html[data-theme] body.nsc5-document .nsc512-filter-drawer-form {
    position: fixed !important;
    z-index: 99995 !important;
    left: 10px !important;
    right: 10px !important;
    top: 78px !important;
    width: auto !important;
    max-height: calc(100vh - 150px) !important;
    overflow: auto !important;
    grid-template-columns: 1fr !important;
  }
  html[data-theme] body.nsc5-document .nsc512-centre-grid { grid-template-columns: 1fr !important; }
  html[data-theme] body.nsc5-document .nsc512-centre-context { grid-template-columns: 1fr !important; padding: 14px !important; }
  html[data-theme] body.nsc5-document .nsc512-centre-contact { padding: 11px 0 0 !important; border-left: 0 !important; border-top: 1px solid var(--nsc512-border-soft) !important; }
  html[data-theme] body.nsc5-document .nsc512-results-head { align-items: flex-start !important; }
  html[data-theme] body.nsc5-document .nsc512-results-head > small { text-align: right; max-width: 45%; }

  /* No non-home screen may consume a full mobile viewport with its intro. */
  html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc512-hero,.nsc512-course-hub-hero,.nsc512-person-hero,.nsc512-centre-hero,.nsc5-page-head,.nsc590-guest-page-head,.nsc5-search-hero,.nsc574-messages-hero,.nsc5-course-hero,.nsc5-circle-header) {
    padding: 13px 14px !important;
    border-radius: 13px !important;
  }
  html[data-theme] body.nsc5-document .nsc5-app[data-route]:not([data-route="home"]) :is(.nsc512-hero,.nsc512-course-hub-hero,.nsc512-person-hero,.nsc512-centre-hero,.nsc5-page-head,.nsc590-guest-page-head,.nsc5-search-hero,.nsc574-messages-hero,.nsc5-course-hero,.nsc5-circle-header) h1 {
    font-size: clamp(1.4rem, 7vw, 1.85rem) !important;
  }
}

@media (max-width: 420px) {
  html[data-theme] body.nsc5-document .nsc512-circle-search > button { min-width: 58px !important; padding-inline: 9px !important; font-size: .76rem !important; }
  html[data-theme] body.nsc5-document .nsc512-filter-drawer > summary span { display: none !important; }
  html[data-theme] body.nsc5-document .nsc512-results-head > small { display: none !important; }
  html[data-theme] body.nsc5-document .nsc512-centre-card { grid-template-columns: 38px minmax(0,1fr) !important; padding: 13px !important; }
  html[data-theme] body.nsc5-document .nsc512-centre-card-icon { width: 38px !important; height: 38px !important; }
}

/* Public academic directories use a useful reading width on guest screens too. */
html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route="study-centres"] .nsc590-guest-main,
html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route^="study-centre/"] .nsc590-guest-main,
html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route="courses"] .nsc590-guest-main,
html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route="circles"] .nsc590-guest-main,
html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route^="course/"] .nsc590-guest-main {
  width: min(calc(100% - 40px), 1320px) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}
@media (max-width:720px){
  html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route="study-centres"] .nsc590-guest-main,
  html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route^="study-centre/"] .nsc590-guest-main,
  html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route="courses"] .nsc590-guest-main,
  html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route="circles"] .nsc590-guest-main,
  html[data-theme] body.nsc591-guest-document .nsc590-guest-app[data-route^="course/"] .nsc590-guest-main { width: calc(100% - 20px) !important; }
}
