/* SMART questionnaire readability improvements */

/* Question text */
.gform_wrapper .gfield_label {
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Radio button / checkbox labels */
.gform_wrapper .gfield_radio label,
.gform_wrapper .gfield_checkbox label {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Progress bar text */
.gform_wrapper .gf_progressbar_title {
    font-size: 1rem;
}
/* SMART Dashboard: force shortcode output to use the normal content width */
.entry-content .smart-primary-style {
  display: block !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto 1.5rem !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}
/* Dashboard: primary style line should sit in the same content column */
.smart-primary-style {
  display: block;
  max-width: 760px;
  margin: 0 auto 1.5rem;
  padding: 0 20px;
}
/* SMART: force shortcode output to align with theme content width */
.smart-primary-style {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* SMART Primary Retirement Style (Dashboard, Search, Results) */
.smart-primary-style {
    font-size: 1.5rem;       /* visibly larger than body text */
    font-weight: 700;        /* bold */
    margin: 1rem 0 2rem 0;   /* spacing above and below */
    line-height: 1.3;
}
/* SMART Dashboard: align style shortcodes to the same content column */
.entry-content .smart-primary-style,
.entry-content .smart-primary-style-description,
.entry-content .smart-secondary-style {
  display: block;
  max-width: 760px;
  margin: 0 auto 1.5rem;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
}
/* SMART Dashboard – Retirement style emphasis */

/* Primary retirement style name */
.smart-primary-style1 {
    font-weight: 700;
}

/* Secondary retirement style names */
.smart-secondary-style {
    font-weight: 700;
}
/* SMART Footprint: force the footprint block to sit in the normal content column */
.entry-content .smart-primary-footprint,
.entry-content .smart-footprint,
.entry-content .smart-footprint-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}
/* SMART Register form refinements */

.smart-auth-form input[type="text"],
.smart-auth-form input[type="email"] {
    width: 100%;
    max-width: 420px;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.smart-auth-form p {
    margin-bottom: 14px;
}

.smart-auth-form button {
    margin-top: 10px;
    padding: 10px 18px;
    font-size: 15px;
}
/* Main menu text size */
.main-navigation a {
    font-size: 14px;
}

/* If your theme uses a different wrapper */
nav a {
    font-size: 14px;
}
/* Hide automatic page title on Your Retirement Style page only */
.page-your-retirement-style .entry-title {
    display: none;
}
/* Hide ONLY the theme's page title (not your content headings) */
.page .entry-title {
  display: none !important;
}
/* SMART mini-nav styling — Your Retirement Style page only */
.page-your-retirement-style .smart-nav{
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  white-space: nowrap;       /* prevents "Searc h" and "Lo g out" */
  font-size: 14px;
  line-height: 1;
  margin: 0;
}

.page-your-retirement-style .smart-nav a{
  color: #2b2b2b;            /* charcoal */
  text-decoration: none;
  font-weight: 500;
}

.page-your-retirement-style .smart-nav a:hover{
  text-decoration: underline;
}

.page-your-retirement-style .smart-nav-sep{
  color: #b5b5b5;
  margin: 0;
}
.smart-nav {
  outline: 3px solid red !important;
}
/* Layout fix: align title + SMART nav on one row */
.page-your-retirement-style .entry-content > .wp-block-group:first-child {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

/* Prevent nav from collapsing */
.page-your-retirement-style .smart-nav {
  max-width: none;
  white-space: nowrap;
}

/* Make nav visually subordinate */
.page-your-retirement-style .smart-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #2b2b2b;
}
/* FORCE SMART nav to never split words like "Searc h" or "Lo g out" */
.page-your-retirement-style .smart-nav,
.page-your-retirement-style .smart-nav * {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Make sure the links aren’t inheriting red */
.page-your-retirement-style .smart-nav a {
  color: #2b2b2b !important;
  text-decoration: none !important;
}
/* SMART mini-nav (all pages where it appears) */
.smart-nav{
  float: right;              /* pushes it to the right of the heading area */
  margin-top: 6px;
  padding: 0;
  background: transparent;
  border: 0;

  font-size: 14px;
  line-height: 1.2;

  white-space: nowrap;       /* prevents “Searc h” / “Lo g out” */
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.smart-nav a{
  color: #2b2b2b;            /* charcoal */
  text-decoration: none;
  font-weight: 500;
}

.smart-nav a:hover{
  text-decoration: underline;
}

.smart-nav-sep{
  color: #b5b5b5;
  margin: 0 8px;
}

/* If anything forces links to wrap, this hard-stops it */
.smart-nav *{
  white-space: nowrap;
}
/* === SMART header layout (title + mini-nav) === */
.smart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Ensure title block behaves properly */
.smart-header-row h1,
.smart-header-row h2 {
  margin: 0;
}

/* SMART mini navigation */
.smart-header-row .smart-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
}

/* Menu links */
.smart-header-row .smart-nav a {
  color: #2b2b2b;      /* charcoal */
  text-decoration: none;
  font-weight: 500;
}

.smart-header-row .smart-nav a:hover {
  text-decoration: underline;
}

/* Separators */
.smart-header-row .smart-nav-sep {
  color: #b5b5b5;
}

/* Responsive: stack nicely on small screens */
@media (max-width: 768px) {
  .smart-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .smart-header-row .smart-nav {
    font-size: 13px;
  }
}
/* SMART header row: title left, nav right */
.smart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Ensure heading doesn’t wrap awkwardly */
.smart-header-row h1,
.smart-header-row h2 {
  margin: 0;
  white-space: nowrap;
}

/* Nav styling */
.smart-header-row .smart-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 14px;
}

.smart-header-row .smart-nav a {
  color: #2b2b2b;
  text-decoration: none;
  font-weight: 500;
}

.smart-header-row .smart-nav a:hover {
  text-decoration: underline;
}

.smart-header-row .smart-nav-sep {
  color: #b5b5b5;
}
/* SMART header navigation bar */
.smart-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px 0;
  font-size: 14px;
  line-height: 1;
}

.smart-nav a {
  color: #2b2b2b; /* charcoal */
  text-decoration: none;
  font-weight: 500;
}

.smart-nav a:hover {
  text-decoration: underline;
}

.smart-nav-sep {
  color: #b5b5b5;
}
/* SMART header (title + menu on one line) */
.smart-header-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:24px;
  margin:0 0 18px 0;
}

.smart-header-title{
  margin:0;
}

/* Force the nav to sit to the right and stay on one line */
.smart-nav-wrap{
  margin-left:auto;
  white-space:nowrap;
}

/* Override theme link styling inside the SMART nav */
.smart-nav-wrap .smart-nav{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  line-height:1;
}

.smart-nav-wrap .smart-nav a{
  color:#2b2b2b !important;
  text-decoration:none !important;
  font-weight:500;
}

.smart-nav-wrap .smart-nav a:hover{
  text-decoration:underline !important;
}

/* Make the separators subtle and not “blocky” */
.smart-nav-wrap .smart-nav-sep{
  color:#b5b5b5;
  margin:0 6px;
}
/* SMART top mini-nav: one clean line above the heading */
.smart-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.2;
  margin: 0 0 18px 0;
  padding: 0;
}

/* Remove underline + keep it charcoal */
.smart-nav a {
  color: #2b2b2b;
  text-decoration: none;
  font-weight: 500;
}

.smart-nav a:hover {
  text-decoration: underline;
}

/* Make separators subtle */
.smart-nav-sep {
  color: #bdbdbd;
}
/* FORCE remove underline from top utility links */
.page-your-retirement-style .smart-nav a,
.page-your-retirement-style .smart-top-links a,
.page-your-retirement-style a.smart-nav-link,
.page-your-retirement-style a {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Optional: hover underline only */
.page-your-retirement-style .smart-nav a:hover,
.page-your-retirement-style .smart-top-links a:hover {
  text-decoration: underline;
}
a {
    text-decoration: none;
}
a {
    text-decoration: none !important;
}
/* SMART Balance (actual) - horizontal bars */
.smart-balance-block{
  margin: 18px 0 24px;
}

.smart-balance-title{
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #2b2b2b;
}

.smart-balance-subtitle{
  margin: 0 0 16px;
  color: #5b5b5b;
  font-size: 15px;
  line-height: 1.4;
}

.smart-balance-rows{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.smart-balance-row{
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  align-items: center;
  column-gap: 16px;
}

.smart-balance-label{
  font-size: 18px;
  font-weight: 500;
  color: #2b2b2b;
}

.smart-balance-track{
  height: 14px;
  background: #e9e9e9;
  border-radius: 999px;
  overflow: hidden;
}

.smart-balance-fill{
  height: 100%;
  background: #1f1f1f;
  border-radius: 999px;
}

.smart-balance-value{
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  color: #2b2b2b;
}

/* Mobile */
@media (max-width: 700px){
  .smart-balance-row{
    grid-template-columns: 110px 1fr 44px;
  }
  .smart-balance-label{ font-size: 16px; }
}
/* SMART Plan Summary 5-column layout */
.smart-plan-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.smart-plan-column {
  background: #fafafa;
  padding: 14px;
  border-radius: 6px;
}

.smart-plan-column-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
}

.smart-plan-item {
  font-size: 12px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.smart-plan-empty {
  font-size: 12px;
  color: #bbb;
}

/* Responsive */
@media (max-width: 1024px) {
  .smart-plan-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

.smart-sticky-menu {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999;
background: rgba(245, 245, 247, 0.88) !important;
	backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.smart-sticky-menu a {
    font-size: 15px !important;
    color: #1d1d1f !important;
}
/* Sticky navigation inside each Smart category */
/* SMART category navigation */

.smart-view-nav {
    position: sticky;
  top: 12px;
    z-index: 99999;

    width: 100%;
    box-sizing: border-box;

    background: rgba(245, 245, 247, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 0 22px;
    margin: 0 0 24px 0;

    border: none !important;
}

.smart-view-tabs {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 34px;
    min-height: 52px;
}

.smart-view-tab,
.smart-view-back {
    appearance: none;
    -webkit-appearance: none;

    background: transparent !important;
    border: 0 !important;

    padding: 14px 0 12px 0 !important;
    margin: 0 !important;

    font-family: inherit;
    font-size: 17px !important;
    line-height: 22px !important;
    font-weight: 600 !important;

    color: #555 !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
}

.smart-view-tab.is-active {
    color: #006b57 !important;
    box-shadow: inset 0 -3px 0 #006b57;
}

.smart-view-back {
    margin-left: auto !important;
    color: #333 !important;
}

.smart-view-tab:hover,
.smart-view-back:hover {
    color: #006b57 !important;
}

@media (max-width: 600px) {
    .smart-view-nav {
        padding: 0 14px;
    }

    .smart-view-tabs {
        gap: 20px;
    }

    .smart-view-tab,
    .smart-view-back {
        font-size: 15px !important;
    }
}
/* SMART homepage Explore grid — match hero width */
.smart-explore-grid {
    width: 100% !important;
    max-width: 1024px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.smart-explore-grid > .wp-block-columns {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.smart-explore-grid .wp-block-image,
.smart-explore-grid .wp-block-image img {
    width: 100% !important;
    max-width: none !important;
}
/* ==================================================
   SMART GLOBAL NAVIGATION
   Home · Your Diary · Help and Tips
   ================================================== */

.smart-global-nav {
    display: flex;
    align-items: center;
    gap: 36px;

    width: 100%;
    min-height: 50px;
    box-sizing: border-box;

    padding: 0 24px;

    /*
     * White breathing space above the navigation.
     * Gives separation from the browser/favourites area.
     */
margin: 0 0 26px 0;

    /*
     * Light Apple-style translucent surface
     */
    background: rgba(250, 250, 252, 0.82);

    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);

    /*
     * Stay visible while scrolling
     */
    position: sticky;
top: 12px;
z-index: 9999;

    border: 0;
    border-radius: 0;
    box-shadow: none;
}


/* ==================================================
   NAVIGATION LINKS
   ================================================== */

.smart-global-nav a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 50px;

    color: #1d1d1f !important;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Text",
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size: 15px;
    font-weight: 400;
    line-height: 1;

    text-decoration: none !important;
    white-space: nowrap;

    transition: opacity 0.18s ease;
}


/* Current page */

.smart-global-nav a.is-active {
    font-weight: 500;
}


/* Fine active-page indicator */

.smart-global-nav a.is-active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #1d1d1f;

    border-radius: 2px;
}


/* Desktop hover */

.smart-global-nav a:hover {
    opacity: 0.62;
}


/* ==================================================
   MOBILE / iPHONE
   ================================================== */

@media (max-width: 600px) {

    .smart-global-nav {
        gap: 24px;

        min-height: 48px;

        padding: 0 16px;

        /*
         * Retain visible breathing room above
         * the navigation on initial page load
         */
        margin-top: 12px;
        margin-bottom: 20px;

        /*
         * Protect against cramped navigation
         * on smaller phones
         */
        overflow-x: auto;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .smart-global-nav::-webkit-scrollbar {
        display: none;
    }


    .smart-global-nav a {
        min-height: 48px;

        font-size: 15px;
    }
}
/* =========================================================
   SMART HOME — MOBILE V1
   Mobile only. Desktop remains unchanged.
   ========================================================= */

@media (max-width: 600px) {

  /* ---------- HERO ---------- */

  #home + .smart-global-nav + .wp-block-image {
    margin-top: 0;
    margin-bottom: 18px;
  }

  #home + .smart-global-nav + .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
  }


  /* ---------- 70% MESSAGE ---------- */

  #home + .smart-global-nav + .wp-block-image
  + .has-text-align-center {
    font-size: 30px !important;
    line-height: 1.13 !important;
    padding-left: 14px;
    padding-right: 14px;
  }

  #home + .smart-global-nav + .wp-block-image
  + .has-text-align-center
  + .has-text-align-center {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-top: 8px !important;
  }


  /* ---------- DIVIDER ---------- */

  .wp-block-separator.is-style-wide {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }


  /* ---------- EXPLORE ---------- */

  .wp-block-separator.is-style-wide
  + .has-text-align-center {
    font-size: 32px !important;
    line-height: 1.15 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }


  /* ---------- FIND ANYTHING ---------- */

  .smart-anything-box {
    margin: 0 0 22px !important;
    padding: 18px 16px 15px !important;
    border-radius: 14px;
  }

  .smart-anything-box h2 {
    font-size: 26px !important;
    line-height: 1.15;
    margin-bottom: 5px;
  }

  .smart-anything-box p {
    font-size: 15px !important;
    line-height: 1.35;
    margin-bottom: 14px !important;
  }

  .smart-anything-input-wrap input {
    min-height: 52px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 16px;
  }

  .smart-anything-ask {
    min-height: 52px;
    padding: 12px 18px;
    font-size: 16px;
  }

  .smart-mic-status {
    min-height: 10px;
    margin-top: 4px;
  }


  /* ---------- CATEGORY INTRO ---------- */

  .smart-anything-box
  + .has-text-align-center {
    font-size: 25px !important;
    line-height: 1.18 !important;
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 6px !important;
    margin-bottom: 16px !important;
  }


  /* ---------- CATEGORY TILES ---------- */

  .smart-explore-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .smart-explore-grid .wp-block-columns {
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  .smart-explore-grid .wp-block-image {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  .smart-explore-grid .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
  }

}
/* SMART MOBILE HOMEPAGE — V2 REFINEMENTS */

@media (max-width: 600px) {

  /* 70% headline */
  #home + .smart-global-nav + .wp-block-image
  + .has-text-align-center {
    font-size: 26px !important;
    line-height: 1.18 !important;
  }

  /* Divider */
  .wp-block-separator.is-style-wide {
    border-top: 1px solid #d0d0d0 !important;
    border-bottom: 0 !important;
    opacity: 1;
    margin-top: 14px !important;
    margin-bottom: 14px !important;
  }

  /* Explore heading */
  .wp-block-separator.is-style-wide
  + .has-text-align-center {
    font-size: 28px !important;
    margin-bottom: 12px !important;
  }

  /* Find Anything box */
  .smart-anything-box {
    padding-top: 16px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
  }

  /* Remove unused microphone status space */
  .smart-mic-status:empty {
    display: none;
  }

  /* Keep status visible when needed */
  .smart-mic-status:not(:empty) {
    min-height: 18px;
    margin-top: 8px;
  }

}
/* SMART MOBILE — CATEGORY INTRO */

@media (max-width: 600px) {
  .smart-anything-box + .has-text-align-center {
    font-size: 21px !important;
    line-height: 1.25 !important;
    margin-top: 8px !important;
    margin-bottom: 14px !important;
  }
}
/* SMART MOBILE — CATEGORY HEADING SIZE */

@media (max-width: 600px) {
  .smart-anything-box + p.has-text-align-center {
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    margin-top: 8px !important;
    margin-bottom: 14px !important;
  }
}
/* SMART MOBILE — FINAL HEADING HIERARCHY */

@media (max-width: 600px) {

  /* Main Explore heading */
  .wp-block-separator.is-style-wide
  + p.has-text-align-center {
    font-size: 38px !important;
    line-height: 1.15 !important;
    margin-top: 8px !important;
    margin-bottom: 20px !important;
  }

  /* Find Anything heading */
  .smart-anything-box h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }

  /* Category introduction */
  .smart-anything-box
  + p.has-text-align-center {
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

  /* Override the bold text inside the category heading */
  .smart-anything-box
  + p.has-text-align-center strong {
    font-weight: 500 !important;
  }

}
    font-size: 21px !important;
/* SMART MOBILE — CATEGORY INTRO FINAL SIZE */

@media (max-width: 600px) {

  p.smart-category-intro {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-top: 20px !important;
    margin-bottom: 18px !important;
  }

  p.smart-category-intro strong {
    font-weight: 600 !important;
  }

}
/* SMART MOBILE — INTERESTS HEADING */

@media (max-width: 600px) {

  p.has-text-align-center:has(+ .smart-explore-grid) {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

}
/* SMART — Explore / Saved button colour fix */

/* Normal and selected states */
.smart-gateway,
.smart-gateway:hover,
.smart-gateway:focus,
.smart-gateway:active {
  background: #f5f5f3 !important;
  color: #1d1d1f !important;
}

/* Selected card — SMART green */
.smart-gateway.is-active,
.smart-gateway.is-active:hover,
.smart-gateway.is-active:focus,
.smart-gateway.is-active:active {
  background: #edf5f0 !important;
  border-color: #4f8069 !important;
  color: #1d1d1f !important;
}

/* Keep all text visible */
.smart-gateway .smart-gateway-message,
.smart-gateway .smart-gateway-message:hover {
  color: #1d1d1f !important;
}

/* Selected heading and arrow */
.smart-gateway.is-active .smart-gateway-label,
.smart-gateway.is-active .smart-gateway-arrow {
  color: #35664f !important;
}

/* Unselected heading and arrow */
.smart-gateway:not(.is-active) .smart-gateway-label,
.smart-gateway:not(.is-active) .smart-gateway-arrow {
  color: #1d1d1f !important;
}

/* Keyboard focus */
.smart-gateway:focus-visible {
  outline: 3px solid #4f8069 !important;
  outline-offset: 3px;
}
/* SMART PAGE 6848 — REDUCE TOP WHITE SPACE */

body.page-id-6848 .entry-content {
    margin-top: 20px !important;
}

body.page-id-6848 .entry-header {
    display: none !important;
}
/* SMART PAGE 6848 — REDUCE REMAINING TOP SPACE */

body.page-id-6848 .site-content {
    padding-top: 0 !important;
}

body.page-id-6848 .content-area {
    padding-top: 0 !important;
}

body.page-id-6848 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-6848 .smart-global-nav {
    margin-top: 0 !important;
}
/* SMART SAVED — COMPACT DIARY DESIGN */

/* Outer activity list */
#sld-app .sld-month-block > .sld-list {
    background: #f1f1ef !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Individual activities */
#sld-app .sld-things-item {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Clearly visible dividing lines */
#sld-app .sld-things-item + .sld-things-item {
    border-top: 1px solid #ffffff !important;
}

/* Compact activity content */
#sld-app .sld-things-item .sld-activity-main {
    padding: 9px 38px 8px 12px !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Dates */
#sld-app .sld-things-item .sld-activity-date {
    font-size: 13px !important;
    line-height: 1.25 !important;
    color: #777 !important;
    margin-bottom: 3px !important;
}

/* Activity titles */
#sld-app .sld-things-item .sld-activity-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-bottom: 3px !important;
}

/* Descriptions */
#sld-app .sld-things-item .sld-activity-description {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #666 !important;
    margin: 0 !important;
}

/* Book and other actions */
#sld-app .sld-things-controls {
    margin-top: 5px !important;
    padding: 0 !important;
}

#sld-app .sld-things-controls .sld-book {
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Position activity controls */
#sld-app .sld-things-item .sld-card-chevron {
    top: 8px !important;
    right: 10px !important;
}

#sld-app .sld-things-more {
    right: 10px !important;
    bottom: 7px !important;
}
/* SMART SAVED — SOFT GREY ACTIVITY SEPARATORS */

#sld-app .sld-things-item + .sld-things-item {
    border-top: 1px solid #d4d4d1 !important;
}

/* Keep the list continuous without individual card borders */

#sld-app .sld-things-item {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Slightly tighter spacing between activities */

#sld-app .sld-things-item .sld-activity-main {
    padding-top: 8px !important;
    padding-bottom: 7px !important;
}
/* SMART Saved — Dividing lines between activities */

#sld-app article.sld-activity-item {
    border-bottom: 1px solid #aaaaaa !important;
    padding-bottom: 18px !important;
    margin-bottom: 18px !important;
}

#sld-app article.sld-activity-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}
/* SMART Retirement — hide headers when a page is embedded */

@media screen {

  html:has(body) {
    /* Keep normal WordPress styling */
  }

  body:where(.page-id-0) {
    /* No changes to the main page */
  }

}

/* Hide headers only inside an iframe */

@media screen {

  html:where(:not(:root)) #wpadminbar,
  html:where(:not(:root)) #masthead {
    display: none !important;
  }

}