/* Zero-flash system stacks */
:root {
}

/* Base text */
body, p, li {
  font-family: var(--body-font);
  color: #333333;
  /* Dark gray for contrast */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: #111111;
  /* Very dark gray, almost black */
  font-weight: 700;
  /* Keeps headers bold and clear */
}

/* additional stuff */
img.custom-logo {
  width: 100%;
  display: block;
  max-width: 100%;
  height: auto;
}

.site-title {
  display: none;
}

.search-form {
  width: 100%;
  font-weight: bold;
  color: black;
}

/* Sidebar image widgets */
.widget_media_image,
.widget_media_image .wp-block-image,
.widget_media_image figure.aligncenter,
.widget_media_image img {
  background-color: white !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: none !important;
}

.widget_media_image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Search box text and placeholder */
.widget_search input[type="search"],
.widget_search input[type="search"]:focus {
  color: #222 !important;
}

.widget_search input::placeholder {
  color: #666 !important;
  opacity: 1 !important;
}

/* Contact form inputs and textarea: normal + focus states */
form input[type="text"],
form input[type="email"],
form textarea {
  color: #222 !important;
  background-color: #fff !important;
  border: 1px solid #888 !important;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  border: 1px solid #333 !important;
  outline: none !important;
}

/* Contact form placeholder styling */
form input::placeholder,
form textarea::placeholder {
  color: #666 !important;
  opacity: 1 !important;
}

/* ========= Flash/layout fixes ========= */

/* Prevent faux-bold flicker on load */
html {
}

/* Reserve space for branding so it does not jump when logo loads */
.site-branding,
.site-header .site-logo,
.site-header .custom-logo-link {
  display: block;
  min-height: 120px;
  /* adjust to match your logo’s real height */
}

/* Prevent late-appearing WP.com elements from shifting content */
#jp-post-flair,
div.sharedaddy,
.wpcom-reblog-snapshot,
div#likes-other-gravatars,
.nav-links {
}

/* Desktop menu spacing */
@media (min-width: 1024px) {
  #site-navigation #menu-main-menu > li > a {
    font-size: 16px;
    margin-right: 20px;
    white-space: nowrap;
  }

  #site-navigation #menu-main-menu > li:last-child > a {
    margin-right: 0;
  }

  #site-navigation .jetpack-social-navigation ul li a {
    margin-left: 10px;
  }
}
/* Hide the floating bottom bar, including the site name
   and the WordPress/theme credits. */
#infinite-footer {
  display: none !important;
}

/* 25 Days of SharePoint - BEGIN */


/* Category */
.sharepoint-25-posts .cat-links {
    margin: 0 0 10px !important;

    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


/* Post title */
.sharepoint-25-posts .entry-title {
    width: 100%;
    max-width: none !important;

    margin: 0 0 16px !important;

    font-size: clamp(2rem, 2.15vw, 2.3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
}


/* Excerpt */
.sharepoint-25-posts .entry-wrapper > p {
    max-width: 60rem;

    margin: 0 0 16px !important;

    font-size: 1.75rem !important;
    line-height: 1.45 !important;
}


/* Prevent theme layout from stretching content vertically */
.sharepoint-25-posts .entry-wrapper {
    display: block !important;
}


/* Read Post */
.sharepoint-25-posts .more-link {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


/* Metadata row */
.sharepoint-25-posts .entry-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

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

    font-size: 1.15rem !important;
    line-height: 1.2 !important;
}


/* Avatar */
.sharepoint-25-posts .entry-meta .avatar {
    width: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    border-radius: 50% !important;
}


/* Restore and normalize "by Diego" */
.sharepoint-25-posts .entry-meta .byline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;

    visibility: visible !important;
    opacity: 1 !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    font-size: 1.15rem !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;

    text-transform: none !important;
    letter-spacing: 0 !important;
}


/* "by" */
.sharepoint-25-posts .entry-meta .author-prefix {
    display: inline !important;
    visibility: visible !important;

    color: #666 !important;

    font-size: 1.15rem !important;
    font-weight: 400 !important;

    text-transform: none !important;
    letter-spacing: 0 !important;
}


/* Author name */
.sharepoint-25-posts .entry-meta .author {
    display: inline !important;
    visibility: visible !important;

    font-size: 1.15rem !important;
    font-weight: 600 !important;

    text-transform: none !important;
    letter-spacing: 0 !important;
}


.sharepoint-25-posts .entry-meta .author a {
    color: #666 !important;
    text-decoration: none !important;
}


/* Published date */
.sharepoint-25-posts .entry-date.published {
    display: inline !important;

    color: #666 !important;

    font-size: 1.15rem !important;
    line-height: 1.2 !important;
}


/* Separator between author and date */
.sharepoint-25-posts .entry-date.published::before {
    content: "·";

    margin: 0 10px;

    color: #999;
}


/* Hide WordPress updated timestamp */
.sharepoint-25-posts .entry-date.updated {
    display: none !important;
}


/* Dividers between posts */
.sharepoint-25-posts [data-posts] > article {
    border: 0 !important;
}


.sharepoint-25-posts [data-posts] > article + article {
    border-top: 1px solid #d6d6d6 !important;

    margin-top: 34px !important;
    padding-top: 34px !important;
}


/* 25 Days of SharePoint - END */