/* Hover effect for figcaption inside wp-block-image */
figure.wp-block-image {
    position: relative; /* Ensure the figcaption is positioned relative to the image */
}

figure.wp-block-image img {
    display: block; /* Ensure the image takes up full width */
    width: 100%; /* Make the image responsive */
}

figure.wp-block-image figcaption.wp-element-caption {
    opacity: 0;
    visibility: hidden; /* Hide the caption initially */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Optional: Add background color */
    color: white; /* Optional: Set text color */
    padding: 10px; /* Space around caption */
    text-align: center; /* Center the text */
    width: 100%; /* Make the caption span the full width */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    z-index: 1; /* Ensure the caption appears above the image */
}

/* Ensure the figcaption becomes visible on hover */
figure.wp-block-image:hover figcaption.wp-element-caption {
    opacity: 1;
    visibility: visible;
}

/* Hover effect for figcaption inside wp-block-gallery.has-nested-images */
figure.wp-block-gallery.has-nested-images {
    position: relative; /* Ensure the figcaption is positioned relative to the gallery image */
}

figure.wp-block-gallery.has-nested-images img {
    display: block; /* Ensure the image takes up full width */
    width: 100%; /* Make the image responsive */
}

figure.wp-block-gallery.has-nested-images figcaption.wp-element-caption {
    opacity: 0;
    visibility: hidden; /* Hide the caption initially */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Optional: Add background color */
    color: white; /* Optional: Set text color */
    padding: 10px; /* Space around caption */
    text-align: center; /* Center the text */
    width: 100%; /* Make the caption span the full width */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    z-index: 1; /* Ensure the caption appears above the image */
}

/* Ensure the figcaption becomes visible on hover */
figure.wp-block-gallery.has-nested-images:hover figcaption.wp-element-caption {
    opacity: 1;
    visibility: visible;
}

body p{
	font-size: 18px;
}

/* Media query for mobile responsiveness */
@media only screen and (max-width: 767px) {
    .single .post-detail-row > div:first-of-type,
    .single .sidebar {
        width: 100% !important; /* Ensure full width on small screens */
        max-width: unset !important; /* Remove max width */
        flex: unset !important; /* Allow flexibility */
    }
}



/* PN CSS */
@media only screen and (max-width: 767px) {
    .single .post-detail-row > div:first-of-type, .single .sidebar {
        width: 100% !important;
        max-width: unset !important;
        flex: unset !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .single .post-detail-row > div:first-of-type {
        max-width: calc(100% - 330px) !important;
    }
    .single .sidebar {
        min-width: 330px !important;
    }
}

@media only screen and (min-width: 1025px) {
    .single .post-detail-row > div:first-of-type {
        max-width: calc(100% - 360px) !important;
    }
    .single .sidebar {
        min-width: 360px !important;
    }
}
/* END OF CSS */ 

.widget_eu_cookie_law_widget {
    bottom: 6em !important;
}

.fixed .columns{
	white-space: nowrap;
}