/* ===== style.css START ===== */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }


svg:not(:root) {
    overflow-clip-margin: content-box;
    overflow: hidden;
    fill: none;
 
}
body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
   color: var(--text-dark);
  background-color: var(--bg-gray);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
   font-weight: var(--weight-medium);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  color: var(--text-dark-28);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-top: 0;
  margin-bottom: var(--space-md);
}


h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
}

h6 {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin-top: 0;
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
 
}


a { color: var(--primary-orange); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.button.button-primary{
  background-color:var(--primary-orange);
  color:var(--white);
  padding:12px 24px;
  border-radius:var(--radius);
  border:none;
  font-weight:var(--weight-bold);

     
    font-family: var(--font-base);
      font-size: var(--text-sm);
  cursor:pointer;
  transition:background 0.2s ease;
  border: 1px solid var(--primary-orange);
}

.button.button-primary:hover{
     background-color: transparent;
    color: var(--primary-orange);
 
}


/* ===== CONTAINERS START ===== */
.container,
.container-fluid {
  width: 100%;
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
  margin-right: auto;
  margin-left: auto;
}
/* ===== CONTAINERS END ===== */

/* ===== GRID START ===== */
.row { display: flex; flex-wrap: wrap; gap: var(--grid-gap); }
.col { flex: 1 0 0%; }
[class*="col-"] { flex: 0 0 auto; }

.col-12 { width: 100%; }
.col-6 { width: calc(50% - (var(--grid-gap) * 0.5)); }
.col-4 { width: calc(33.333% - (var(--grid-gap) * (2/3))); }
.col-3 { width: calc(25% - (var(--grid-gap) * 0.75)); }
/* ===== GRID END ===== */

/* ===== LAYOUT WRAPPER START ===== */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
/* ===== LAYOUT WRAPPER END ===== */

/* ===== SIDEBAR START ===== */
.side-menu {
   position: fixed;
  width: var(--sidebar-width);
  background: var(--white);
  
  
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.date-widget {
  background-color: var(--primary-orange);
  color: var(--white);
  padding: var(--pad-xl);
}

.dw-day {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dw-date {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 1px 0;
}

.dw-month {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sps-date-widget .dw-day-short,
.sps-date-widget .dw-month-short{display:none;}
.sps-date-widget .dw-day-long,
.sps-date-widget .dw-month-long{display:block;}

.brand-area {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.brand-area img {
  max-height: 50px;
  margin: 0 auto;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  display: block;
}
/* ===== SIDEBAR END ===== */

/* ===== NAV START ===== */
.main-nav {
  
  flex-grow: 1;
}

.main-nav ul { 
  list-style: none;
   padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
     padding:var(--pad-md);
 }

.main-nav a {
  display: flex;
  align-items: center;;
  padding: var(--pad-sm) 0.7em;
  color: var(--text-dark);
  font-weight: var(--weight-bold);
  transition: all 0.2s;
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  position: relative;
}

/* Wrapper Span */
.menu-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    vertical-align: middle;
}

/* Control size here */
.main-nav .menu-icon-svg svg {
       width: 20px;
    height: 20px;
   
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  background-color: var(--primary-orange);
  color: var(--white);
}
.main-nav a:hover .menu-icon-svg svg path{
  transition: .3s;
}
.main-nav a:hover .menu-icon-svg svg path,
.main-nav  .menu-item.current-menu-item .menu-icon-svg svg path {
  stroke: var(--white);
}
/* .main-nav a::before {
  content: "\f159";
  font-family: "dashicons";
  color: var(--text-gray);
  font-size: 20px;
  position: absolute;
  left: 15px;
}

.main-nav a:hover::before,
.main-nav .current-menu-item > a::before {
  color: var(--white);
}

.main-nav li.icon-dashboard a::before { content: "\f226"; }
.main-nav li.icon-team a::before { content: "\f307"; }
.main-nav li.icon-calendar a::before { content: "\f508"; }
.main-nav li.icon-news a::before { content: "\f119"; }
.main-nav li.icon-book a::before { content: "\f330"; }
.main-nav li.icon-settings a::before { content: "\f111"; }
.main-nav li.icon-profile a::before { content: "\f110"; } */
/* ===== NAV END ===== */

/* ===== USER PROFILE START ===== */
.user-profile {
  padding: var(--pad-md);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar a{
   width: 100%;
  height: 100%;
}
.user-avatar img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-details strong {
  display: block;
  
}

.user-details span {
  font-size:var(--text-sm);
  color: var(--text-gray);



}
/* social media links */
.social-links-container{
   padding: var(--pad-md);
       display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
}
.sps-social-links{
      display: flex;
    justify-content:  space-around;
    border:1px solid var(--primary-orange);
    border-radius: var(--radius-lg);
    padding: var(--pad-sm);
}
.sps-social-links a{
      width: 30px;
    height: 30px;

}
.sps-social-links a img{
      width: 100%;
    height: 100%;
    object-fit: contain;
}
.user-profile .user-avatar{
      width: 50px;
    height: 50px;
    display: flex;
    background: var(--primary-orange);
    border-radius: 50%;
    color: var(--white);
        align-items: center;
    justify-content: center;
    font-weight: var(--weight-bold);
}
/* ===== USER PROFILE END ===== */




/* ===== CONTENT AREA START ===== */
.content-area {
  flex-grow: 1;
  padding: var(--pad-xl);
  width: calc(100% - var(--sidebar-width));
   width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
  overflow: hidden;
}

.content-area .sps-feed-title {
    display: none;
}

/* ===== CONTENT AREA END ===== */

/* ===== CARDS START ===== */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  height: auto
}

.card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.card-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.meta-text h3 { margin: 0; font-size: 1rem; }
.meta-text span { font-size: 0.85rem; color: var(--text-gray); }

.read-btn {
  display: inline-block;
  background: var(--primary-orange);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-top: 15px;
}

.read-btn:hover { background: #d44b1f; }
/* ===== CARDS END ===== */

/* ===== PAGINATION START ===== */
.pagination { margin-top: 40px; text-align: center; }

.page-numbers {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border-color);
  margin: 0 4px;
  border-radius: 4px;
  color: var(--text-dark);
}

.page-numbers.current {
  background: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}
/* ===== PAGINATION END ===== */

/* ===== MOBILE HEADER START ===== */
.mobile-header {
  display: none;
  background: var(--white);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hamburger {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-orange);
  cursor: pointer;
}

.mobile-brand { font-weight: bold; font-size: 1.2rem; }
/* ===== MOBILE HEADER END ===== */

/* ===== OVERLAY START ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}
/* ===== OVERLAY END ===== */


/* ==========================================================
   SCOPED PROFILE PAGE STYLES
   ========================================================== */

/* Container & Scoping */
.profile-page-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
}

/* Base Card Style */
.profile-page-container .profile-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-page-container .card-content {
    padding: var(--space-lg);
}

/* SPS Intranet: My Profile ACF edit form styling */
.sps-profile-edit-title{
  margin:0 0 var(--space-md) 0;
 
  border-bottom:2px solid var(--bg-gray);
}

.sps-profile-edit-card .acf-form{
  margin-top:var(--space-md);
}

.sps-profile-edit-card .acf-fields{
  border:0;
  background:transparent;
}

.sps-profile-edit-card .acf-fields > .acf-field{
  border-top:0 !important;
  padding:var(--space-sm) 0 !important;
}

.sps-profile-edit-card .acf-label label{
  
  font-weight:var(--weight-bold)!important;
  margin-bottom:var(--space-xs);
  font-size: var(--text-sm);
  text-transform: capitalize;
}

.sps-profile-edit-card .acf-input input[type="text"],
.sps-profile-edit-card .acf-input input[type="email"],
.sps-profile-edit-card .acf-input input[type="url"],
.sps-profile-edit-card .acf-input select,
.sps-profile-edit-card .acf-input textarea{
  width:100%;
  padding:10px 14px;
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  font-family:var(--font-base);
  font-size:var(--text-base);
  transition:all 0.2s ease;
}

.sps-profile-edit-card .acf-input input:focus,
.sps-profile-edit-card .acf-input select:focus,
.sps-profile-edit-card .acf-input textarea:focus{
  border-color:var(--primary-orange);
  outline:none;
  box-shadow:0 0 0 3px rgba(238, 88, 45, 0.1);
}

.sps-profile-edit-card .acf-image-uploader{
  background:var(--bg-gray);
  border:2px dashed var(--border-color);
  border-radius:var(--radius);
  padding:var(--space-md);
}

.sps-profile-edit-card .acf-form-submit{
  padding-top:var(--space-md);
  border-top:1px solid var(--border-color);
  margin-top:var(--space-md);
}


.sps-profile-edit-card .acf-notice.-success{
  background-color:#d1fae5;
  color:#065f46;
  border:1px solid #a7f3d0;
  padding:var(--space-sm);
  border-radius:var(--radius);
  margin-bottom:var(--space-md);
}
/* SPS Intranet: My Profile ACF edit form styling end */


/* ================================
   SPS NEWS FEED PAGE START
   ================================ */

.sps-feed-title {
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-dark-28);
}

.sps-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sps-divider {
  height: 1px;
  margin: var(--space-md) 0;
  background-color: var(--bg-gray-f6);
}

.sps-composer {
  padding: var(--pad-lg);
  margin-bottom: var(--space-md);
}

.sps-composer-top {
  display: flex;
  align-items: start;
  gap: var(--space-sm);
}

.sps-composer-input {
  flex: 1;
}

.sps-composer-input input {
  width: 100%;
  border: none;
  background: var(--bg-gray);
  padding: 10px 20px;
  border-radius: 25px;
  font-family: var(--font-base);
  font-size: var(--text-base);
  color: var(--text-gray);
  cursor: not-allowed;
}

.sps-composer-form textarea {
  width: 100%;
  border: none;
  background: var(--bg-gray-fb);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-family: var(--font-base);
  font-size: var(--text-base);
  color: var(--text-dark);
  resize: vertical;
  outline: none;
  font-weight: 600 !important;
}

#spsBtnPhoto,
#spsBtnVideo,
#spsBtnFeeling {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
}

.sps-composer-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sps-composer-hint {
  margin: 0 0 var(--space-sm);
  color: var(--text-gray);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.sps-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px var(--space-md);
  border: none;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  font-family: var(--font-base);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  color: var(--text-gray);
}

.sps-action-btn .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.sps-post-btn {
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--primary-orange);
  border-radius: var(--radius);
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  cursor: pointer;
  font-family: inherit;
  font-size: var(--text-sm);
  transition: 0.3s ease-in-out;
}

.sps-post-btn:hover {
  background-color: transparent;
  color: var(--primary-orange);
}

.sps-composer-extra {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.sps-extra-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sps-extra-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-gray);
}

.sps-composer-extra input[type="url"],
.sps-composer-extra select,
.sps-composer-extra input[type="file"] {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: var(--text-base);
  background: var(--white);
}

.sps-alert {
  padding: 10px 12px;
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  font-weight: var(--weight-medium);
}

.sps-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #166534;
}

.sps-alert-error {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #7f1d1d;
}

.sps-post-card {
  padding: var(--pad-lg);
  margin-bottom: var(--space-md);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.sps-post-card.aos-animate {
  transform: none !important;
}

.sps-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.sps-post-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.sps-avatar {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.sps-avatar-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.sps-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  font-size: 18px;
}

.sps-post-meta {
  flex: 1;
}

.sps-post-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sps-post-author {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-dark-28);
  margin-bottom: -8px;
}

.sps-like-count {
  font-family: var(--font-base);
  font-size: var(--text-base);
}

.sps-post-menu {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-gray);
}

.sps-post-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: var(--weight-regular);
  color: var(--text-gray);
}

.sps-dot {
  font-size: 10px;
  opacity: 0.5;
}

.sps-post-linkwrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sps-post-linkwrap:hover {
  text-decoration: none;
  color: inherit;
}

.sps-post-content {
  margin-bottom: var(--space-md);
}

.sps-post-attachment {
  margin-top: var(--space-sm);
}

.sps-attachment-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-gray);
  color: var(--text-dark);
  text-decoration: none;
  font-size: var(--text-sm);
  width: fit-content;
  max-width: 100%;
}

.sps-attachment-link:hover {
  text-decoration: underline;
}

.sps-attachment-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 460px;
}

.sps-post-comments {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-gray);
  text-decoration: none;
}

.sps-post-comments:hover {
  text-decoration: underline;
  color: var(--primary-orange);
}

.sps-post-comments .dashicons {
  line-height: 1.2em;
}

.sps-post-media {
  border-radius: var(--radius);
  overflow: hidden;
}

.sps-post-media img {
  width: 100%;
  height: auto;
  display: block;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.sps-post-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: 4px;
}

.sps-action {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-gray);
}

.sps-action .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: var(--text-gray);
}

.sps-action:hover {
  color: var(--primary-orange);
}

.sps-action:hover .dashicons {
  color: var(--primary-orange);
}

.sps-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: var(--space-xl) 0;
}

.sps-pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  font-weight: var(--weight-medium);
  color: var(--text-dark);
}

.sps-pagination .page-numbers.current {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: var(--white);
}

.sps-post-menu-wrap {
  position: relative;
}

.sps-post-menu-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-gray);
  border-radius: var(--radius);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sps-post-menu-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.sps-post-menu-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  width: 200px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  padding: 6px;
  z-index: 999;
}

.sps-menu-item {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  text-decoration: none;
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  cursor: pointer;
}

.sps-menu-item .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: var(--text-gray);
}

.sps-menu-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.sps-menu-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sps-menu-form {
  margin: 0;
}

.sps-danger {
  color: #b91c1c;
}

.sps-danger .dashicons {
  color: #b91c1c;
}

.sps-post-video {
  position: relative;
}

.sps-open-post-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 10;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.sps-open-post-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.sps-action-btn.is-active {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.sps-action-btn.is-filled {
  box-shadow: inset 0 0 0 2px currentColor;
}

.sps-embed iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.sps-preview {
  margin-top: 10px;
}

.sps-preview-photo img,
.sps-preview-video .sps-embed iframe {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.sps-preview-photo img {
  max-width: 420px;
}

.sps-preview-video .sps-embed iframe {
  max-width: 560px;
}

/* ================================
   SPS NEWS FEED PAGE END
   ================================ */



   /* ================================
   SPS SINGLE POST PAGE START
   ================================ */



.sps-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-md);
  text-decoration: none;
  font-weight: var(--weight-bold);
  color: var(--text-dark);
  font-size: var(--text-sm);
}

.sps-back-link span {
    display: none;
}

.sps-back-link:hover {
  text-decoration: underline;
}

.sps-single-title {
  margin: 0 0 var(--space-lg);
  
}

.sps-single-card {
  padding: var(--pad-lg);
}

/* Comments */
.sps-comments {
  margin-top: var(--space-md);
}

.sps-comments-title {
  margin: 0 0 var(--space-md);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-dark);
}

.sps-comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sps-comment {
  margin: 0 0 var(--space-md);
}

.sps-comment-row {
  display: flex;
  gap: var(--space-sm);
}

.sps-comment-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.sps-comment-avatar-img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.sps-comment-avatar-initials {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  font-size: 13px;
}

.sps-comment-body {
  flex: 1;
  
}

.sps-comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.sps-comment-name {
  font-weight: var(--weight-bold);
  color: var(--text-dark);
}

.sps-comment-title {
  font-size: var(--text-sm);
  color: var(--text-gray);
}

.sps-comment-text {
  color: var(--text-dark);
  line-height: var(--leading-normal);
}

.sps-comment-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  font-size: var(--text-sm);
  color: var(--text-gray);
}

.sps-comment-reply a {
  text-decoration: none;
  font-weight: var(--weight-medium);
  color: var(--primary-orange);
}

.sps-comment-reply a:hover {
  text-decoration: underline;
}

/* Nested replies */
.sps-comment-list .children {
  list-style: none;
  margin: var(--space-md) 0 0 0;
  padding-left: 34px;
}

/* Comment form */
.sps-comment-form textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 12px 12px;
  font-family: var(--font-base);
  font-size: var(--text-base);
  background: var(--white);
  outline: none;
}

.sps-comment-form input[type="submit"] {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.sps-comment-form input[type="submit"]:hover {
  opacity: 0.92;
}

.sps-muted {
  color: var(--text-gray);
}

/* SPS Like Active + Share Dropdown */

.sps-post-actions button.sps-action {
  border: none;
  background: none;
  padding: 0;
  font-family: var(--text-base);
}

.sps-like-btn.is-liked,
.sps-like-btn.is-liked .dashicons {
  color: var(--primary-orange);
}
.sps-like-btn.is-liked  svg path {
  stroke: var(--primary-orange);

}

.sps-share-wrap {
  position: relative;
}

.sps-share-dropdown {
  position: absolute;
  right: 0;
  top: 34px;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
  padding: 6px;
  z-index: 999;
}
.sps-post-feeling{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-left:auto;
}
.sps-feeling-badge{
  display:inline-flex;
  align-items:center;
  gap: var(--space-xs);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--bg-gray);
  font-size: var(--text-sm);
  color: var(--text-gray);
  line-height: var(--leading-tight);
}
.sps-feeling-icon{
  font-size: 1rem;
  line-height: 1;
}
.sps-feeling-text{
  font-weight: var(--weight-medium);
}

/* ================================
   SPS SINGLE POST PAGE END
   ================================ */


/* ================================
   SPS SINGLE POST COMMENTS START
   ================================ */

.sps-comments {
  margin-top: var(--space-md);
}

.sps-comments-wrap {
  margin-top: var(--space-md);
}

.sps-comments-title {
  margin: 0 0 var(--space-md);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-dark);
}

.sps-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border-color);
}

.sps-comment {
  margin: 0 0 var(--space-md);
}

.sps-comment-row {
  display: flex;
  gap: var(--space-sm);
  padding-left: var(--space-md);
}

.sps-comment-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.sps-comment-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.sps-comment-avatar-initials {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  font-size: 13px;
}

.sps-comment-body {
  flex: 1;
}

.sps-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.sps-comment-name {
  font-weight: var(--weight-bold);
  color: var(--text-dark);
}

.sps-comment-title {
  font-size: var(--text-sm);
  color: var(--text-gray);
}

.sps-comment-time {
  font-size: var(--text-sm);
  color: var(--text-gray);
}

.sps-comment-text {
  color: var(--text-dark);
  line-height: var(--leading-normal);
}

.sps-comment-text p {
  margin: 0 0 10px 0;
}

.sps-comment-text p:last-child {
  margin-bottom: 0;
}

.sps-comment-actions {
  margin-top: 8px;
  font-size: var(--text-sm);
}

.sps-comment-actions a {
  text-decoration: none;
  font-weight: var(--weight-medium);
  color: var(--primary-orange);
}

.sps-comment-actions a:hover {
  text-decoration: underline;
}

.sps-comment-form-wrap {
  margin-top: var(--mar-lg);
  padding-top: var(--pad-md);
  padding-left: var(--pad-md);
  border-top: 1px solid var(--border-color);
}

.sps-comment-form-wrap textarea#comment {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 12px;
  font-family: var(--font-base);
  font-size: var(--text-base);
  background: var(--white);
  outline: none;
  min-height: 110px;
}

.sps-comment-form-wrap .form-submit {
  margin: 10px 0 0 0;
}

.sps-comment-form-wrap input#submit.submit {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.sps-comment-form-wrap input#submit.submit:hover {
  opacity: 0.92;
}

.sps-muted {
  color: var(--text-gray);
}

.sps-comment-list .children {
  list-style: none;
  margin: var(--space-sm) 0 0 0;
  padding: 0;
  margin-left: 44px;
  padding-left: var(--space-md);
  border-left: 2px solid var(--border-color);
}

.sps-comment-list .children > .sps-comment {
  margin-top: var(--space-sm);
}


.sps-comment-emoji-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.sps-emoji-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.sps-emoji-btn:hover,
.sps-emoji-btn:focus {
  border-color: var(--primary-orange);
  background: #fff7f4;
  transform: translateY(-1px);
  outline: none;
}

.sps-comment-field-wrap {
  display: block;
}

.sps-comment-field-wrap .comment-form-comment {
  margin: 0;
}

.sps-comment-emoji-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.sps-emoji-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.sps-emoji-btn img.emoji {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* ================================
   SPS SINGLE POST COMMENTS END
   ================================ */


/* ===== SPS EVENTS GRID + EVENT CARD STYLES START ===== */

.sps-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.sps-event-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  will-change: transform;
  box-shadow: none!important;
}

.sps-event-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.sps-event-link:focus-visible {
  outline: 2px solid
    hsl(from var(--primary-orange) calc(h + 0) calc(s + 0) calc(l + 0) / 0.5);
  outline-offset: 3px;
  border-radius: 12px;
}

.sps-event-media {
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #0b0f18;
}

.sps-event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.sps-event-img-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.postid-229 .sps-single-resource .sps-event-img-wrapper {
    display: none !important;
}

.postid-229 .sps-single-resource .sps-resource-detail-meta {
    margin-top: var(--space-md);
}

.sps-event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.sps-event-img-fallback {
  height: 180px;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 45%
    ),
    linear-gradient(135deg, #0b0f18, #131723);
}

.sps-event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  padding: 6px 10px;
  border-radius: 10px;
  line-height: 1;
}

.sps-event-body {
  padding: var(--space-md);
}

.sps-event-time {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  color: var(--text-gray);
  font-size: var(--text-base);
}

/* Hover interactions */

.sps-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  border-color: hsl(
    from var(--primary-orange) calc(h + 0) calc(s + 0) calc(l + 0) / 0.5
  );
}

.sps-event-card:hover .sps-event-media::after {
  opacity: 1;
}

.sps-event-card:hover .sps-event-img {
  transform: scale(1.03);
}

.sps-event-card:hover .sps-event-title {
  color: var(--primary-orange);
}

/* ===== SPS EVENTS GRID + EVENT CARD STYLES END ===== */


/* ===== SPS UPCOMING EVENTS WRAPPER START ===== */

.sps-upcoming-wrap {
  margin-bottom: var(--space-lg);
}

.sps-upcoming-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.sps-upcoming-title {
    margin-bottom: 0!important;
   
}


.sps-upcoming-seeall {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--primary-orange);
  text-decoration: none;
  flex-shrink: 0;
}

.sps-upcoming-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.card.mb-md a {
    color: var(--text-dark)!important;
}

.card.mb-md a:hover {
    color: var(--primary-orange)!important;
}

/* ===== SPS UPCOMING EVENTS WRAPPER END ===== */


/* ===== SPS SINGLE EVENT DETAIL START ===== */

.sps-event-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin: var(--space-sm) 0 var(--space-md);
}

.sps-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.sps-back-link:hover {
  color: var(--primary-orange);
}

.sps-event-detail-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--white);
}

.sps-event-detail-media .sps-event-img-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0f18;
}

.sps-event-detail-media .sps-event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sps-event-detail-body {
  padding: var(--space-lg);
}

.sps-event-detail-title {
  font-size:var(--text-base);
}

.sps-event-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.sps-event-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.sps-event-detail-meta-item .dashicons {
    color:var(--primary-orange)!important;
}

.sps-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
}

.sps-event-detail-desc p:first-child {
  margin-top: 0;
}

/* ===== SPS SINGLE EVENT DETAIL END ===== */


/* ===== SPS EVENT RSVP + ATTENDEES START ===== */

.sps-event-attendees {
  margin-top: var(--space-xxl);
}

.sps-event-attendees-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.sps-event-attendees-count {
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-gray);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sps-attendees-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.sps-attendee {
  width: 85px;
  height: 85px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sps-attendee-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sps-attendee-initials {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
}

.sps-attendees-empty {
  color: var(--text-gray);
  font-size: var(--text-sm);
}

/* RSVP bar */
.sps-event-detail-rsvp {
  border-top: 1px solid var(--border-color);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.sps-event-detail-rsvp-label {
  color: var(--text-gray);
  font-size: var(--text-sm);
  font-weight: 600;
}

.sps-event-detail-rsvp-actions,
.sps-event-detail-rsvp-undo {
  display: inline-flex;
  gap: var(--space-sm);
}

/* RSVP buttons */
.sps-rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  border: 1px solid var(--border-color);
  cursor: pointer;
  background: var(--white);
  transition: transform 120ms ease, border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.sps-rsvp-btn:hover {
  transform: translateY(-1px);
}

.sps-rsvp-btn:active {
  transform: translateY(0);
}

.sps-rsvp-yes {
  background: #dff3df;
  border-color: #8dd18d;
  color: #1a6b1a;
}

.sps-rsvp-no {
  background: #fde2df;
  border-color: #f0a29a;
  color: #8a2b22;
}

.sps-rsvp-neutral {
  background: var(--white);
  border-color: var(--border-color);
  color: var(--text-gray);
}

.sps-rsvp-neutral:hover {
  border-color: hsl(from var(--primary-orange) calc(h + 0) calc(s + 0) calc(l + 0) / 0.55);
  color: var(--primary-orange);
}

.sps-rsvp-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== SPS EVENT RSVP + ATTENDEES END ===== */

/* ===== SPS TEAM DIRECTORY START ===== */

.sps-team-page{
  padding-bottom: var(--space-xxl);
}

.sps-team-toolbar{
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sps-team-search-row{
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
}

.sps-team-search{
  flex: 1 1 auto;
  min-width: 0;
  background: var(--bg-gray-fb);
  border-radius: 999px;
  padding: 0 var(--space-lg);
  height: 45px;
  display: flex;
  align-items: center;
  
}

.sps-team-search input{
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight:600;
  color: #0A0A0A;
}

.sps-team-search-btn{
 
  padding: 0 var(--space-xl);
  border: 0;
  border-radius: 100px;
  background: var(--primary-orange);
  color: var(--white);
  cursor: pointer;
  flex: 0 0 auto;
  font-family: var(--text-base);
  font-weight: 600;
}

.sps-team-filter-toggle-btn{
  
  padding: 0 var(--space-lg);
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark-28);
  cursor: pointer;
  flex: 0 0 auto;
  font-family: var(--text-base);
  font-weight: 600;
}


.sps-team-filter-panel{
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.sps-team-filter-row{
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.sps-team-label{
  font-size: var(--text-xs);
  color: var(--text-gray);
  font-weight: var(--weight-medium);
}

.sps-team-select{
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 0 var(--space-md);
  background: var(--white);
  color: var(--text-dark-28);
  min-width: 220px;
}

.sps-team-apply{
  height: 44px;
  padding: 0 var(--space-lg);
  border: 0;
  border-radius: var(--radius);
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-medium);
  cursor: pointer;
}

.sps-team-clear{
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  color: var(--text-dark-28);
  text-decoration: none;
}

.sps-team-results{
  margin-top: var(--space-xxl);
}

.sps-team-results-title{
 
  font-weight: var(--weight-bold);
  
  margin-bottom: var(--space-md);
}

.sps-team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.sps-team-card{
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  transition: transform 140ms ease, box-shadow 140ms ease;
  
}

.sps-team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.sps-profile-subtitle {
    color: var(--text-gray);
}


.sps-team-card-left{
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  min-width: 0;
}

.sps-team-avatar{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--primary-orange);
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.sps-team-avatar-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sps-team-card .sps-team-name{
      margin-bottom: var(--mar-xs);
      font-size: var(--text-lg);
}
.sps-team-avatar-initials{
  font-weight: var(--weight-bold);
  color: var(--white);
  font-size: var(--text-sm);
}

.sps-team-title{
 color: var(--text-gray);
  font-size: var(--text-sm);
 
}

.sps-team-inline-meta{
  margin-top: var(--mar-md);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-direction: row;
}

.sps-team-inline-item{
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--text-gray);
  
}

.sps-team-inline-link{
  color: inherit;
  text-decoration: none;
}


.sps-team-empty{
  padding: var(--space-lg);
}

.sps-team-inline-item .sps-ico{
  width: 15px;
  height: 15px;
}
.sps-team-inline-item .sps-ico svg{
  width: 100%;
  height: 100%;
}


/* ===== SPS TEAM DIRECTORY END ===== */


/* SPS Intranet: My Profile header card */
.sps-profile-page{
  display:flex;
  flex-direction:column;
  gap:var(--space-lg);
}

.sps-profile-card{
  background:var(--white);
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  box-shadow:0 10px 24px rgba(16,24,40,0.06);
}

.sps-profile-card-inner{
  padding:var(--space-xl);
}

.sps-profile-top{
  display:flex;
  align-items:flex-start;
  gap:var(--space-lg);
}

.sps-profile-avatar{
  width:100px;
  height:100px;
  flex:0 0 100px;
  border-radius:999px;
  overflow:hidden;
  background:var(--primary-orange);
  
  display:flex;
  align-items:center;
  justify-content:center;
}

.sps-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.sps-profile-avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:var(--weight-bold);
  color:var(--white);
  font-size:var(--text-lg);
}

.sps-profile-identity{
  flex:1 1 auto;
  min-width:0;
}

.sps-profile-name-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:var(--space-md);
}

.sps-profile-card .sps-profile-name{
  margin-bottom:var(--mar-xs);
}

.sps-profile-joined{
  color:var(--text-gray);
}

.sps-profile-meta{
  margin-top:var(--space-sm);
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-md);
  align-items:center;
}

.sps-profile-inline-item{
  display:inline-flex;
  align-items:center;
  gap:var(--space-sm);
  color:var(--text-gray);
  font-size:var(--text-sm);
}

.sps-profile-inline-text{
  color:inherit;
  text-decoration:none;
}

.sps-profile-meta-link{
  color:inherit;
  text-decoration:none;
}

.sps-profile-meta-link:hover{
  text-decoration:underline;
}

.sps-profile-inline-item .sps-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.sps-profile-card .sps-ico{
  width:18px;
  height:18px;
}

.sps-profile-card .sps-ico svg{
  width:100%;
  height:100%;
}

.sps-profile-bio{
  margin-top:var(--space-lg);
}

.sps-profile-bio p{
  margin-bottom:0;
}

.sps-profile-posts-title{
  margin:0;
}

.sps-profile-edit-open {
   padding:var(--pad-md) var(--pad-xl);
    border: 1px solid var(--primary-orange);
    border-radius: 100px;
    background: var(--primary-orange);
    color: var(--white);
    cursor: pointer;
    flex: 0 0 auto;
    font-weight: 700;
     transition: 0.2s ease-in-out;
}

.sps-profile-edit-open:hover {
    background-color: transparent;
    color: var(--primary-orange);
    transition: 0.2s ease-in-out;
}

/* Profile page Popup design */

.sps-form-row {
        display: flex;
    flex-direction: column;
    gap: 15px;
}

.sps-modal-dialog .sps-profile-edit-core{
    display: flex;
    flex-wrap: wrap;
    gap:var(--gap-sm);
    justify-content: space-between;
}
.sps-modal-dialog .sps-profile-edit-core .sps-form-row{
      width: calc(50% - var(--gap-sm));

}
.sps-modal-dialog .sps-profile-edit-core .sps-form-row.bio-field{
  width: 100%;
}

/* Apply styles to text inputs and select fields */
.sps-form-input {
    border: 1px solid var(--border-color);
    border-radius:  var(--radius);
   padding: var(--pad-md) var(--pad-md);
    font-family: inherit;
    font-size: var(--text-sm);
    line-height: 1.6em;
    margin-bottom: 20px;
}
.sps-modal-dialog .acf-fields.-border{
  border-color: var(--border-color)!important;
  border-radius: var(--radius)!important;
}
.sps-modal-dialog .acf-fields>.acf-field{
  border-top-width: 0;
}
.acf-field input[type=text], 
.acf-field input[type=password], 
.acf-field input[type=date], 
.acf-field input[type=datetime], 
.acf-field input[type=datetime-local],
 .acf-field input[type=email],
  .acf-field input[type=month], 
  .acf-field input[type=number],
   .acf-field input[type=search], 
   .acf-field input[type=tel], 
   .acf-field input[type=time],
    .acf-field input[type=url],
     .acf-field input[type=week], 
     .acf-field textarea, 
     .acf-field select {
     border: 1px solid var(--border-color);
    border-radius:  var(--radius);
     padding: var(--pad-md) var(--pad-md)!important;
    font-family: inherit;
    line-height: 1.6em!important;
    margin-bottom: 20px;
   
}

.acf-field input[type=text]:focus-visible,
.acf-field input[type=password]:focus-visible,
.acf-field input[type=date]:focus-visible,
.acf-field input[type=datetime]:focus-visible,
.acf-field input[type=datetime-local]:focus-visible,
.acf-field input[type=email]:focus-visible,
.acf-field input[type=month]:focus-visible,
.acf-field input[type=number]:focus-visible,
.acf-field input[type=search]:focus-visible,
.acf-field input[type=tel]:focus-visible,
.acf-field input[type=time]:focus-visible,
.acf-field input[type=url]:focus-visible,
.acf-field input[type=week]:focus-visible,
.acf-field textarea:focus-visible,
.acf-field select:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-orange);
}

.sps-form-input:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-orange);
}

.sps-form-textarea:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-orange);
}

.acf-field .acf-label label {
    font-size: 14px!important;
    font-weight: 700!important;
}

select[name="acf[field_6989fd90cad21]"]{

    /* Remove default arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom SVG icon */
    background-image: url("/wp-content/uploads/2026/02/Vector-4.svg");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
}


.sps-form-textarea {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
     padding: var(--pad-md) var(--pad-md);
    line-height: 1.6em;
}

.sps-form-label {
    font-weight: 700;
    font-size: 14px!important;
}

@media (max-width: 640px){
  .sps-profile-card-inner{ padding:var(--space-lg); }
  .sps-profile-top{ flex-direction:column; }
  .sps-profile-avatar{ width:64px; height:64px; flex:0 0 64px; }
  .sps-profile-name-row{ flex-direction:column; align-items:flex-start; }
  .sps-profile-name{ white-space:normal; }
}
/* SPS Intranet: My Profile header card end */

/* SPS Resources Page */
.sps-resources-grid{
  display:grid;
      gap: var(--gap-lg);
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  margin-top:var(--mar-lg);
}

.sps-resource-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  border:1px solid var(--border-color);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--white);
  box-shadow:0 1px 0 rgba(17,24,39,0.04);
  transform:translateY(0);
  transition:transform 140ms ease, box-shadow 140ms ease;
}

.sps-resource-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(17,24,39,0.08);
}

.sps-resource-card-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:180px;
  background:var(--primary-orange);
  overflow:hidden;
  display: none!important;
}

.sps-resource-card-thumb{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 320ms ease;
}

.sps-resource-card:hover .sps-resource-card-thumb{
  transform:scale(1.06);
}

.sps-resource-card-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.35);
  transition:background 160ms ease;
}

.sps-resource-card:hover .sps-resource-card-overlay{
  background:rgba(0,0,0,0.5);
}

.sps-resource-card-media:not(:has(.sps-resource-card-thumb)) .sps-resource-card-overlay{
  background:transparent;
}

.sps-resource-type-badge{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  padding:4px 10px;
  border-radius:999px;
  background:var(--white);
  color:var(--text-dark-28);
  font-size:var(--text-xs);
  font-weight:var(--weight-bold);
  text-transform:uppercase;
  letter-spacing:0.04em;
  line-height:1;
}

.sps-resource-icon-circle{
  width:72px;
  height:72px;
  border-radius:999px;
  border:2px solid var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:1;
}

.sps-resource-card-icon{
  width:30px;
  height:30px;
  color:var(--white);
  fill:none!important;
  stroke:var(--white);
}

.sps-resource-card-body{
  padding:var(--space-md);
  background:var(--white);
}

.sps-resource-card-title{
  display:inline-block;
  font-size:var(--text-base);
  font-weight:var(--weight-bold);
  color:var(--primary-orange);
  /* text-decoration:underline; */
  text-underline-offset:3px;
  line-height:var(--leading-tight);
}
/* SPS Single Resource Page */
.sps-single-resource{
  max-width:820px;
}

.sps-resource-detail-card{
  overflow:hidden;
}

.sps-resource-detail-media{
  margin:-25px -25px 0 -25px;
  max-height: 360px;
  overflow: hidden;
  
}

.sps-resource-detail-media .sps-event-img-wrapper{
 overflow: hidden;
   width: 100%;
}

.sps-resource-detail-media .sps-event-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.sps-resource-detail-body{
  padding:var(--space-lg);
}

.sps-resource-detail-meta{
  margin-bottom:var(--space-md);
}

.sps-resource-type-badge--inline{
  position:static;
  display:inline-block;
}

.sps-resource-detail-content{
  font-size:var(--text-base);
  line-height:var(--leading-normal);
  color:var(--text-dark);
  margin-bottom:var(--space-lg);
}

.sps-resource-detail-content p:last-child{
  margin-bottom:0;
}

.sps-resource-video-embed{
  margin-top:var(--space-lg);
  border-radius:var(--radius);
  overflow:hidden;
}

.sps-resource-video-embed iframe{
  width:100%;
  aspect-ratio:16/9;
  border:0;
  display:block;
  border-radius:var(--radius);
}

.sps-resource-download{
  margin-top:var(--space-lg);
}

.sps-resource-download-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  border-radius:var(--radius);
  background:var(--primary-orange);
  color:var(--white);
  font-weight:var(--weight-bold);
  font-size:var(--text-base);
  text-decoration:none;
  transition:transform 140ms ease, filter 140ms ease;
}

.sps-resource-download-btn:hover{
  transform:translateY(-1px);
  filter:brightness(0.95);
  color:var(--white);
}

.sps-resource-download-btn .dashicons{
  font-size:20px;
  width:20px;
  height:20px;
  line-height:20px;
}
/* end SPS Resources Page */
/* ================================
   START: SPS Sidebar Quick Links
   ================================ */




.sps-sidebar-quicklinks-list{
  display: flex;
  flex-direction: column;
      gap: var(--gap-md);
}

.sps-sidebar-quicklinks-item{
  display: block;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: var(--pad-md);
  font-weight: var(--weight-bold);
  color: var(--primary-orange);
  /* text-decoration: underline; */
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.sps-sidebar-quicklinks-item:hover{
  transform: translateY(-1px);
  border-color: var(--primary-orange);
  box-shadow: 0 10px 24px hsl(from var(--primary-orange) calc(h + 0) calc(s + 0) calc(l + 0) / 0.05);
}

.sps-sidebar-quicklinks-item:focus{
  outline: none;
  box-shadow: 0 0 0 3px hsl(from var(--primary-orange) calc(h + 0) calc(s + 0) calc(l + 0) / 0.35);
}

.sps-sidebar-quicklinks-viewall{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-lg);
  height: 54px;
  border-radius: 999px;
  background: var(--primary-orange);
  color: var(--white);
  font-weight: var(--weight-bold);
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
  padding: var(--pad-sm);
}

.sps-sidebar-quicklinks-viewall:hover{
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.sps-sidebar-quicklinks-viewall:focus{
  outline: none;
  box-shadow: 0 0 0 3px hsl(from var(--primary-orange) calc(h + 0) calc(s + 0) calc(l + 0) / 0.35);
}



/* ================================
   END: SPS Sidebar Quick Links
   ================================ */


/* Profile update dialog */
.sps-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.sps-modal.is-open{display:block}

.sps-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.sps-modal-dialog{
  position:relative;
  max-width:760px;
  width:calc(100% - (var(--space-lg) * 2));
  height:calc(100vh - (var(--space-xl) * 2));
  margin:var(--space-xl) auto;
  background:var(--white);
  border-radius:var(--radius);
  border:1px solid var(--border-color);
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.sps-modal-header{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:var(--pad-sm) var(--pad-lg);
  border-bottom:1px solid var(--border-color);
  background:var(--white);
  position:sticky;
  top:0;
  z-index:2;
}

.sps-modal-title{
  margin:0;
  font-size:var(--text-lg);
  font-weight:var(--weight-bold);
  color:var(--text-dark);
}

.sps-modal-close{
  border:0;
  background:transparent;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  padding:0 var(--space-sm);
  color:var(--text-gray);
}

.sps-modal-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:var(--space-lg);
  overflow:hidden;
}

.sps-modal-body form.acf-form,
.sps-modal-body form#acf-form{
  height:100%;
  display:flex;
  flex-direction:column;
  min-height:0;
}

.sps-modal-body .acf-fields{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding-right:2px;
}

.sps-modal-body .acf-form-submit{
  flex:0 0 auto;
  position:sticky;
  bottom:0;
  z-index:2;
  background:var(--white);
  border-top:1px solid var(--border-color);
  padding:var(--space-md) 0 0;
  margin-top:var(--space-md);
  text-align:right;
}

html.sps-modal-open,
body.sps-modal-open{
  overflow:hidden;
  height:100%;
}
/* Profile update dialog */


/* ===== style.css END ===== */









.sps-settings-form {
  width: 100%;
}
.sps-settings-form .sps-settings-actions{
  margin-top: var(--mar-md);
}
.sps-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  padding: var(--pad-md) 0;
  border-bottom: 1px solid var(--border-color);
}

.sps-setting-row:last-child {
  border-bottom: 0;
}

.sps-setting-copy {
  flex: 1;
  min-width: 0;
}

.sps-setting-copy strong {
  display: block;
  margin-bottom: var(--mar-xs);
  font-size: var(--text-base);
  font-weight: var(--weight-semi-bold);
  line-height: var(--leading-tight);
  color: var(--text-dark-28);
}

.sps-setting-copy p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-gray);
}

.sps-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
  flex-shrink: 0;
}

.sps-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sps-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  border-radius: 999px;
  background: var(--bg-gray);
  transition: 0.25s ease;
}

.sps-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 4px;
  left: 4px;
  border-radius: 50%;
  background: var(--white);
  transition: 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.sps-switch input:checked + .sps-slider {
  background: var(--primary-orange);
}

.sps-switch input:checked + .sps-slider::before {
  transform: translateX(24px);
}

.sps-switch input:focus-visible + .sps-slider {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .sps-setting-row {
    align-items: flex-start;
  }
}


/* ================================
   START: Tiny MCE Editor Customization
   ================================ */


div.mce-panel iframe{
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.wp-editor-container {
  border:none !important;
}
.mce-top-part::before {
  border-radius: 10px;
  border: none !important;
}
div.mce-toolbar-grp {
  border-radius: 10px;
  border: 1px solid #ddd !important;
}

.mce-top-part {
  margin-bottom: -8px !important;
}

.sps-setting-fixed-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef6ee;
  color: #1f6b3b;
  font-weight: 600;
  font-size: 14px;
}