/*
Theme Name: Blogue Vivre en résidence
Author: Équipe VER
Description: Thème du blogue Vivre en résidence
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: ver
*/

@import url("../../../css_2024/style.css");
@import url("../../../css_2024/media.css");



.blog-main .breadcrumbs {
	margin-bottom: 0;
}

.blog-main .breadcrumbs .label {
	cursor: default;
}

.post-container {
	padding-right: 3px;
	border-bottom: 1px solid #B7B6B6;
}

.post-container:last-of-type {
	border-bottom: 0;
}

.presentation .intro {
	gap: 30px;
	font-family: "Roboto", sans-serif !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 150%;
}

.post-container .entry-content
{
	display: flex;
	flex-direction: column;
	position: relative;
	margin-bottom: 30px;
	gap: 15px;
}

.post-container .entry-content > div > a
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.post-container a {

	color: #69af4b;
}

.post-container .author-container {
	display: block;
	margin-bottom: 5px;
}

.post-container a:hover {
	color: #427C29;
	text-decoration: underline;
}

.post-container h2 {
	margin-bottom: 15px;
}

.post-container::not(.single) h2:hover {
	color: #008DEB;
	text-decoration: underline;
	margin-bottom: 15px;
}

.post-container .entry-content .more-link {
	color: #69AF4B;
}

.post-container .entry-content > div {
	position: relative;
	z-index: 1;
}

.post-container .entry-content > div p, .post-container .entry-content > div li {
	position: relative;
	z-index: 1;
}

.post-container .entry-content > div p
{
	margin-bottom: 12px;
}

.post-container .entry-content > div p:last-child
{
	margin-bottom: 0;
}

.post-container .entry-content > div p:has(img)
{
	z-index: 0;
}

.post-container .entry-content > div h1 {
	margin: 30px 0 25px;
	color: #69AF4B;
    font-family: "Open Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 125%;	
}

.post-container .entry-content > div h2 {
	margin: 25px 0 20px;
}

.post-container::not(.single) .entry-content > div {
	cursor: pointer;
}

.post-container .entry-content .more-link:hover {
	color: #008DEB;
	text-decoration: underline;
}

.post-container .entry-content > div > p:first-child:has(img) {
	--img-scale: 1;
	--img-scale-transition-duration: 500ms;
	--img-scale-transition-function: ease-in-out;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
}

.post-container .entry-content > div > p:first-child:has(img) img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	scale: var(--img-scale);
	transition:
		scale
		var(--img-scale-transition-duration)
		var(--img-scale-transition-function);
}

.post-container .entry-content > div > p:first-child:has(img):hover img {
	--img-scale: 1.05;
}

.entry-content footer {
	margin-top: 20px;
}

/* ----------------- Widgets ----------------- */

/* Search Widget */
.widget_search form {
    margin: 1em 0 2em;
}

.screen-reader-text {
	position: absolute !important;
    clip: rect(1px 1px 1px 1px);
}

input#searchsubmit {
	display: none;
}

.widget-area {
	font-size: 12px;
}

input#s {
	width: 100%;
    background: url(images/search.png) no-repeat scroll 5px 6px #ffffff;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 14px;
    height: 2.2rem;
    line-height: 1.2em;
    padding: 4px 10px 4px 28px;

    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    color: #888;
}

/* Commons */
.widget-title {
	margin:2em 0 1em 0;
}

.widget-title a {
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 125%;
    margin: 24px 0px;
}
h3.widget-title {
	font-family: "Roboto", sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: 125%;
	--tw-text-opacity: 1;
	color: #3F3F3F;
}
.widget-title a:hover {
	text-decoration: none;
}
.widget .paddingtop {
    display: block;
    padding-top: 0.5em;
}
.widget ul {
    font-size: 15px;
	list-style:none;
}
.widget ul ul {
	margin-left: 1.5em;
}
.widget ul li {
	font-size: 13px;
	margin-bottom:2px;

    background: #F6F6F6;
    padding: 12px;
    font-family: "Open Sans";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;	
}
.widget ul li:first-child {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
.widget ul li:last-child {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.widget a {
	font-weight: 400;
	text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
	text-decoration: underline;
}


.widget_search #searchsubmit {
	background: #ccc;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
	-moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
	box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
	color: #888;
	font-size: 13px;
	line-height: 25px;
	position: relative;
	top: -2px;
}
.widget_search #searchsubmit:active {
	background: #1982d1;
	border-color: #0861a5;
	-webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
	color: #bfddf3;
}

/* Twitter */
.widget_twitter li {
	margin-bottom: 14px;
}
.widget_twitter .timesince {
	display: block;
	font-size: 11px;
	margin-right: -10px;
	text-align: right;
}

/* Widget Image */
.widget_image img {
	height: auto;
	max-width: 100%;
}

/* Calendar Widget */

.widget_calendar #wp-calendar {
	color: #555;
	width: 100%;
	text-align: center;
}
.widget_calendar #wp-calendar caption,
.widget_calendar #wp-calendar td,
.widget_calendar #wp-calendar th {
	text-align: center;
}
.widget_calendar #wp-calendar caption {
	font-size: 11px;
	font-weight: 500;
	padding: 5px 0 3px 0;
	text-transform: uppercase;
}
.widget_calendar #wp-calendar th {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
}
.widget_calendar #wp-calendar tfoot td {
	background: #f4f4f4;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

/* Archive */
.widget_archive select {
    width: 100%;
	border-radius: 5px;
    font-size: 14px;
    height: 2.2rem;
    line-height: 1.2em;
    padding: 4px 10px;

    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    color: #888;
}

/* Related Posts */

.crp_related{
	margin-top:30px;
	margin-bottom:30px;
}

.crp_related ul{
	margin-top:30px;
	font-size:90%;
	margin-bottom:10px;
	list-style-type:none;
	padding:0px;
	margin-left:0px;
	display:block;
}

.crp_related ul li{
	margin-bottom:10px;
	float:left;
	display:inline-block;
	margin-right:10px;
	width:150px;
	height:280px;
	background: #F6F6F6;
	border:1px solid #E6E6E6;
	border-radius: 8px;
	transition: background-color 0.3s ease;
}

.crp_related ul li:hover{
	color:#427C29;
}

.crp_related ul li a{
	display:block;
	height:100%;
	width:100%;
	padding: 10px;
	color: #69af4b;
}

.crp_related ul li a:hover {
	text-decoration: none;
}

.crp_related ul li img, .crp_related ul li img:hover{
	border:none;
	margin:0px;
	margin-bottom:15px;
	padding:0px;
	display:block;
}

.crp_related span {
	color: #69af4b;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.1em;
	transition: color 0.3s ease;
}

.crp_related li:hover span {
    color: #3f3f3f;
}

.crp_related ul li:hover{
	background-color:#E2E2DB;
}

/* Media Queries */

@media screen and (max-width: 1024px) {
    .breadcrumbs {
        margin-bottom: 0;
    }

	.post-container {
		padding-right: 0;
	}	
}