/* FP Widgets Base Styles */
.fp-link {
    text-decoration: none;
}

.fp-link:hover {
    text-decoration: underline;
}

.elementor-widget-fp_post_field img {
    max-width: 100%;
    height: auto;
}

/* Author avatar_left_block layout */
.elementor-widget-fp_post_field .author-block-wrapper[data-layout="avatar_left_block"] {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.elementor-widget-fp_post_field .author-block-wrapper[data-layout="avatar_left_block"] .author-text {
    display: flex;
    flex-direction: column;
}

/* Category and tag links - inherit typography from parent */
.elementor-widget-fp_post_field a[rel~="category"],
.elementor-widget-fp_post_field a[rel~="tag"] {
    color: inherit;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.elementor-widget-fp_post_field a[rel~="category"]:hover,
.elementor-widget-fp_post_field a[rel~="tag"]:hover {
    text-decoration: underline;
}

.elementor-widget-fp_post_field p:last-of-type {
    margin-bottom:0 ;
    margin-block-end:0;
}

.elementor-widget-fp_news_pdf .fp-news-pdf {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35em;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.elementor-widget-fp_news_pdf .fp-news-pdf.fp-news-pdf--column {
    flex-direction: column;
    align-items: flex-start;
}

.elementor-widget-fp_news_pdf .fp-news-pdf-link {
    text-decoration: none;
}

.elementor-widget-fp_news_pdf .fp-news-pdf-link:hover {
    text-decoration: underline;
}

.elementor-widget-fp_news_pdf .fp-news-pdf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    line-height: 1.2;
    text-decoration: none;
    white-space: normal;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

/* Permalink button display mode */
.elementor-widget-fp_post_field .fp-link--button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

.elementor-widget-fp_post_field .fp-link--button:hover {
    text-decoration: none;
}

/* Permalink with icon */
.elementor-widget-fp_post_field .fp-link--has-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

.elementor-widget-fp_post_field .fp-link-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

/* Categories / tags term list */
.elementor-widget-fp_post_field .fp-field-terms {
    display: flex;
    flex-wrap: wrap;
}

/* Thumbnail link wrapper */
.elementor-widget-fp_post_field .fp-thumb-link {
    display: block;
}

/* Thumbnail hover zoom */
.fp-thumb-zoom-yes {
    overflow: hidden;
}

.fp-thumb-zoom-yes img {
    transition: transform 300ms ease;
}

.fp-thumb-zoom-yes:hover img {
    transform: scale(var(--thumb-zoom-scale, 1.05));
}

/* Thumbnail hover overlay */
.elementor-widget-fp_post_field {
    --thumb-hover-overlay: transparent;
    position: relative;
}

.elementor-widget-fp_post_field::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background-color 200ms ease;
    pointer-events: none;
}

.elementor-widget-fp_post_field:hover::after {
    background: var(--thumb-hover-overlay, transparent);
}

/* Date field icon */
.elementor-widget-fp_post_field .fp-field-has-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.elementor-widget-fp_post_field .fp-field-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
