/*==================================
  FONT SETTINGS
==================================*/
/* Import Poppins and Merriweather fonts from Google Fonts */
 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Merriweather:wght@400;700&display=swap'); 

/* Apply Poppins font to all text */
* {
  font-family: 'Poppins', sans-serif !important;
}

/* Apply Merriweather font to the greeting */
.information-widget-logo + .information-widget-greeting span {
  font-family: 'Merriweather', serif !important;
  font-weight: 700 !important;
}

/*==================================
  HEADING STYLES
==================================*/
/* Make the greeting bold */
.information-widget-greeting span {
  font-weight: 700 !important;
}

/* Increases logo size and moves left */
.information-widget-logo img {
    width: 66px !important;  
    height: 66px !important;
    max-width: none;   
    max-height: none;     
    margin-left: 30px;
}

/*==================================
  SERVICE CARD STYLES
==================================*/
/* General styles for the service card */
.service-card {
  position: relative;
  padding: 0px;
  margin: 0px;
  border-radius: .375rem;
  background: transparent;
  position: relative;
  overflow: visible;
  border: 2px solid #4d4e5e;
}

/* Background color for service data blocks */
.bg-theme-200\/50, 
.flex-1.service-block {     
    background-color: #222432 !important;
    transition: background-color 0.3s ease;
}


/* Create the inner card background effect */
.service-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #11141d;
  border-radius: .275rem;
  z-index: -1;
  transition: background-color 0.3s ease;
}








.services-group {
  position: relative;
}

.services-group h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}









/*==================================
  BOOKMARK SECTION STYLES
==================================*/
/* Adds borders around bookmark sections */
/* .flex.flex-col.mt-3.bookmark-list {
  border: 2px solid #4d4e5e;
  border-radius: 6px;
  padding: 10px 8px 0px 8px;
  margin-bottom: 8px;
} */

/* Changes bookmark icon background color */
.bookmark-icon {
  background-color: #1f233c !important;
}

/*==================================
  LAYOUT GROUP STYLES - HOMEPAGE
==================================*/
/* Target when URL has #homepage */
:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="HOME-tab"])) #layout-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px !important;
}

:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="HOME-tab"])) #layout-groups > .services-group:nth-child(-n+4) {
  flex: 1 1 calc(25% - 10px) !important;
  max-width: calc(25% - 10px) !important;
}

:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="HOME-tab"])) #layout-groups > .services-group:nth-child(n+5):nth-child(-n+9) {
  flex: 1 1 calc(20% - 10px) !important;
  max-width: calc(20% - 10px) !important;
}

:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="HOME-tab"])) #layout-groups > .services-group:nth-child(n+10) {
  display: none !important;
}

/*==================================
  LAYOUT GROUP STYLES - MEDIA
==================================*/
/* Target when URL has #media */
:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="MEDIA-tab"])) #layout-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px !important;
}

/* Row 1: 3 services - each taking 33.33% */
:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="MEDIA-tab"])) #layout-groups > .services-group:nth-child(-n+3) {
  flex: 1 1 calc(33.33% - 10px) !important;
  max-width: calc(33.33% - 10px) !important;
}

/* Row 2: 3 services - each taking 33.33% */
:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="MEDIA-tab"])) #layout-groups > .services-group:nth-child(n+4):nth-child(-n+6) {
  flex: 1 1 calc(33.33% - 10px) !important;
  max-width: calc(33.33% - 10px) !important;
}

/* Row 3: 2 services - each taking 50% */
:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="MEDIA-tab"])) #layout-groups > .services-group:nth-child(n+7):nth-child(-n+8) {
  flex: 1 1 calc(50% - 10px) !important;
  max-width: calc(50% - 10px) !important;
}

/* Row 4: 1 service - taking 100% */
:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="MEDIA-tab"])) #layout-groups > .services-group:nth-child(9) {
  flex: 1 1 100% !important;
  max-width: 100% !important;
}

/* Hide any additional services */
:is([id="inner_wrapper"]:has(#tabs [aria-selected="true"][id="MEDIA-tab"])) #layout-groups > .services-group:nth-child(n+10) {
  display: none !important;
}

/*==================================
  FOOTER GROUP STYLES
==================================*/
/* Hide the footer completely */
#footer {
  display: none;
}

/*==================================
  TEXT ALTERING MISCELLANEOUS STYLES
==================================*/
/* Hide service names where the name starts with '_hidden' */
.service[data-name^="_hidden"] .service-title {
  display: none;
}

/* Hide bookmark group names where the name starts with '_hidden' */
/* .bookmark-group .bookmark-group-name {
  display: none;
} */

/* Moves small text with /n to a new line */
.text-sm {
  white-space: pre-line;
  text-align: center;
}

/* Adds spacing after the first line of text */
.text-sm::first-line {
  margin-bottom: 4px;
}

/* Base text styling for small text elements */
.text-sm {
  white-space: pre-line;
  text-align: center;
  font-size: 1em;
}


