/* MartinPlanet inner-page visual system */
body:not(.home) #primary,
body:not(.home) .site-main,
body:not(.home) main.site-main {
  background:
    radial-gradient(circle at 15% 0, rgba(67,112,205,.16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(108,236,255,.08), transparent 26%),
    #07111f;
  color:#eef7ff;
}

body:not(.home) .entry-content,
body:not(.home) .page-content {
  width:min(1180px, calc(100% - 36px));
  margin-inline:auto;
}

body:not(.home) .entry-header,
body:not(.home) .page-header {
  width:min(1180px, calc(100% - 36px));
  margin:0 auto 1.5rem;
  padding:clamp(1.5rem,4vw,3rem);
  border:1px solid rgba(108,236,255,.14);
  border-radius:18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(108,236,255,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 79% 33%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    linear-gradient(135deg,#0a1930,#112d4a 65%,#14223d);
  box-shadow:0 20px 55px rgba(0,0,0,.18);
}

body:not(.home) .entry-title,
body:not(.home) .page-title {
  margin:0;
  color:#fff;
  font-size:clamp(2rem,5vw,3.6rem);
  line-height:1.05;
}

body:not(.home) .entry-content > h2,
body:not(.home) .entry-content > h3,
body:not(.home) .page-content > h2,
body:not(.home) .page-content > h3 {
  color:#fff;
}

body:not(.home) .entry-content a:not(.wp-block-button__link),
body:not(.home) .page-content a:not(.wp-block-button__link) {
  color:#77e8ff;
}

body:not(.home) .sms-form,
body:not(.home) .mp-card,
body:not(.home) .mp-family-gallery > a,
body:not(.home) .mp-memory-media figure,
body:not(.home) .mp-event-card,
body:not(.home) .mp-timeline-card,
body:not(.home) .mp-owner-list article {
  border-color:rgba(108,236,255,.18)!important;
  background:linear-gradient(145deg,rgba(19,43,72,.98),rgba(9,25,44,.98))!important;
  box-shadow:0 16px 44px rgba(0,0,0,.18);
}

body:not(.home) .sms-form {
  color:#eef7ff;
  border-radius:18px;
}

body:not(.home) .sms-form h2,
body:not(.home) .sms-form h3,
body:not(.home) .mp-card h2,
body:not(.home) .mp-card h3,
body:not(.home) .mp-event-card h4,
body:not(.home) .mp-timeline-card h3 {
  color:#fff;
}

body:not(.home) .sms-form label,
body:not(.home) .sms-form p,
body:not(.home) .mp-card p,
body:not(.home) .mp-event-card p,
body:not(.home) .mp-timeline-card p {
  color:#bed0df;
}

body:not(.home) .sms-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body:not(.home) .sms-form textarea,
body:not(.home) .sms-form select,
body:not(.home) .mp-timeline__filters select,
body:not(.home) .mp-event-form input,
body:not(.home) .mp-event-form textarea,
body:not(.home) .mp-event-form select {
  min-height:46px;
  border:1px solid rgba(145,204,235,.42)!important;
  border-radius:10px!important;
  background:#f7fbff!important;
  color:#0a1930!important;
  box-shadow:inset 0 1px 2px rgba(0,10,25,.08);
}

body:not(.home) .sms-form button,
body:not(.home) .mp-timeline__filters button,
body:not(.home) .mp-event-form button,
body:not(.home) input[type="submit"].button,
body:not(.home) .wp-block-button__link {
  min-height:44px;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#2a93eb,#55c8ff)!important;
  color:#04101e!important;
  font-weight:800!important;
  box-shadow:0 10px 26px rgba(42,147,235,.18);
}

body:not(.home) .sms-notice {
  border-radius:12px;
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}

body:not(.home) .mp-family-gallery,
body:not(.home) .mp-card-grid {
  gap:1.15rem;
}

body:not(.home) .mp-family-gallery > a,
body:not(.home) .mp-card {
  border-radius:16px!important;
}

body:not(.home) .mp-family-gallery img,
body:not(.home) .mp-card img,
body:not(.home) .mp-memory-media img,
body:not(.home) .mp-memory-media video {
  border-radius:12px!important;
}

body:not(.home) .mp-timeline {
  color:#eef7ff;
}

body:not(.home) .mp-timeline__header {
  padding:clamp(1.4rem,4vw,2.5rem);
  border:1px solid rgba(108,236,255,.14);
  border-radius:18px;
  background:linear-gradient(135deg,#0b1930,#102b47);
  box-shadow:0 18px 48px rgba(0,0,0,.16);
}

body:not(.home) .mp-timeline__header h1,
body:not(.home) .mp-timeline__group h2 {
  color:#fff;
}

body:not(.home) .mp-timeline__header p,
body:not(.home) .mp-timeline-card__location {
  color:#bed0df;
}

body:not(.home) .mp-timeline__filters {
  border:1px solid rgba(108,236,255,.14);
  background:linear-gradient(145deg,#102640,#0b1b30)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.14);
}

body:not(.home) .mp-timeline__group {
  border-left-color:#61dfff!important;
}

body:not(.home) .mp-timeline-card__image {
  background:radial-gradient(circle at 50% 35%,rgba(82,119,210,.28),transparent 45%),#081729!important;
}

body:not(.home) .mp-calendar,
body:not(.home) .mp-event-form {
  border-color:rgba(108,236,255,.16)!important;
  box-shadow:0 20px 52px rgba(0,0,0,.18)!important;
}

body:not(.home) table {
  color:inherit;
}

body:not(.home) .sms-dashboard table,
body:not(.home) .mp-calendar table {
  border-collapse:separate;
}

body:not(.home) .sms-dashboard th,
body:not(.home) .sms-dashboard td {
  border-bottom-color:rgba(108,236,255,.13);
}

body:not(.home) .sms-status {
  border:1px solid rgba(255,255,255,.1);
}

body:not(.home) .mp-reaction,
body:not(.home) .mp-favorite-button {
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}

body:not(.home) .mp-reaction:hover,
body:not(.home) .mp-favorite-button:hover,
body:not(.home) .mp-owner-list article a:hover {
  border-color:rgba(108,236,255,.62);
  background:rgba(46,151,213,.16);
}

body:not(.home) .navigation.pagination .nav-links,
body:not(.home) .mp-timeline__pagination ul {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.45rem;
}

body:not(.home) .navigation.pagination a,
body:not(.home) .navigation.pagination span,
body:not(.home) .mp-timeline__pagination a,
body:not(.home) .mp-timeline__pagination span {
  border:1px solid rgba(108,236,255,.16);
  border-radius:9px;
  background:#0f263f!important;
  color:#dff8ff!important;
}

body:not(.home) .navigation.pagination .current,
body:not(.home) .mp-timeline__pagination .current {
  background:#2e9fe2!important;
  color:#04101e!important;
}

body:not(.home) :is(a,button,input,select,textarea):focus-visible {
  outline:3px solid #ffd966!important;
  outline-offset:3px!important;
}

@media(max-width:760px){
  body:not(.home) .entry-content,
  body:not(.home) .page-content,
  body:not(.home) .entry-header,
  body:not(.home) .page-header { width:min(100% - 24px,1180px); }
  body:not(.home) .entry-header,
  body:not(.home) .page-header { padding:1.25rem; border-radius:14px; }
  body:not(.home) .sms-form { padding:1.05rem; }
}

@media(prefers-reduced-motion:reduce){
  body:not(.home) *,
  body:not(.home) *::before,
  body:not(.home) *::after {
    scroll-behavior:auto!important;
  }
}
