/* -----------------------------------------------------
   FEC – Recent Posts Widget Styles
   ----------------------------------------------------- */

/* Base UL wrapper */
.fec-widget-recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each LI */
.fec-widget-recent-posts .fec-recent-post {
    display: block;
    margin: 0 0 25px;
    padding: 0;
}

/* Link wrapper */
.fec-recent-link {
    display: flex;
    gap: 12px;
    text-decoration: none !important;
    color: inherit;
    align-items: flex-start;
    transition: opacity .15s ease-in-out;
}

.fec-recent-link:hover {
    opacity: .85;
}

/* Title */ 
.fec-widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 18px;
}

/* Thumbnail container */
.fec-thumb {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

/* Thumbnail image */
.fec-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* Text container */
.fec-details {
    flex-grow: 1;
    min-width: 0;
}

/* Title */
.fec-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 4px;
}

/* Category badges above the title */
.fec-cats {
    margin-bottom: 5px;
}

.fec-cat-badge {
    display: inline-block;
    color: #3268E7;
    font-size: 16px;
    font-weight: 600;
	margin-right: 6px;
	line-height: normal;
}

.fec-style-fullimg .fec-cats {
    margin-top: 0;
	line-height: normal;
}

/* Date */
.fec-date {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 6px;
}

/* Excerpt */
.fec-excerpt {
    font-size: 13px;
    line-height: 1.4;
    color: #475569;
    margin-top: 2px;
}

/* Full Image Layout */
.fec-style-fullimg .fec-recent-link {
    display: block;
}

.fec-style-fullimg .fec-thumb {
    width: 100% !important;
    margin-bottom: 20px;
}

.fec-style-fullimg .fec-thumb-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Small-image layout aligns center */
.fec-widget-recent-posts img {
    display: block;
}

/* Optional spacing for the last element */
.fec-widget-recent-posts .fec-recent-post:last-child {
    margin-bottom: 0;
}
.widget_fec_recent_posts_thumb {
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(17,24,39,.05)
}
.widget_wpex_recent_posts_icons {
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(17,24,39,.05)
}
.widget_fec_newsletter {
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(17,24,39,.05)
}
.widget_fec_newsletter span#nf-form-title-2.nf-form-title h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px 0;
  line-height: 18px;
}
.widget_fec_newsletter .nf-field-container.email-container {
  clear: both;
  position: relative;
  margin-bottom: 12px;
}
.wpex-bordered-list li:first-child {
  border-top: 0 !important;
}
.wpex-bordered-list li:last-child {
  border-bottom: 0 !important;
}


/* If user adds a custom class */
.my-fec-widget-class {
    /* example */
}