/* POST */
.content-post-container, .top-page-title-container {
    margin-top: 110px;
}

.top-page-title-container .sub-title {
    margin-inline: 10rem;
}

.img-post {
    /* max-height: 500px; */
    object-fit: cover;
    object-position: center;
}

.header-type-post{
    border-bottom: #052557 5px solid;
    padding-block: 30px;
}

.header-type-post h2{
    letter-spacing: 10px;
    word-spacing: 5px;
    font-weight: bolder;
}

.post-list-footer{
    background-color: rgba(8, 59, 128, 0.3);
    padding-block: 75px;
}

@media (max-width: 991px) {
    .top-page-title-container .sub-title {
        margin-inline: 3rem;
    }
}

@media (max-width: 767px) {
    .post-list-footer h5{
        margin-top: 25px;
    }

    .post-list-footer button{
        margin-top: 40px;
        max-width: 80%;
    }

    .post-list-footer img{
        padding-block: 40px;
    }
}


/* SHARE BUTTON */
.container-button{
    text-align: end;
}

.button-share{
    right: 1vw;
    position: relative;
    overflow: hidden;
    height: 3rem;
    padding: 0 2rem;
    border-radius: 1.5rem;
    background: #3d3a4e;
    background-size: 400%;
    color: #fff;
    border: none;
}

.button-share:hover::before {
    transform: scaleX(1);
}

.button-share-content {
    position: relative;
    z-index: 1;
}

.button-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(82.3deg, rgb(9, 15, 82) 10.8%, rgb(62, 69, 143) 94.3%);
    transition: all 0.475s;
}

.Overlay{
    opacity: 1;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.shareCross{
    position: absolute;
    top: 40px;
    right: 50px;
    cursor: pointer;
    transition: all 0.5s;
    fill: #4b4b4b;
}

.shareCross:hover{
    transform: scale(1.075);
    fill: #df2020;
    transition: all 0.25s;
}

.shareModel, .Overlay, .obtenirPlaquetteModel{
    display: none;
}

.show-share{
    display: block;
}

.shareModel{
    position: fixed;
    left: 0;
    right: 0;
    top: 25%;
    margin: auto;
    width: 35%;
    z-index: 3;
    padding: 1em;
}

.shareModel h2{
    font-family: "Montserrat SemiBold", sans-serif;
    letter-spacing: 5px;
    padding-block: 0.7em;
    background: linear-gradient(82.3deg, rgb(9, 15, 82) 10.8%, rgb(62, 69, 143) 94.3%);
    border-radius: 50px;
    color: white;
}

.shareModel .main {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.shareModel .up, .shareModel .down{
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

.shareModel button{
    width: 110px;
    height: 110px;
    outline: none;
    border: none;
    background: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0 2px 5px -1px, rgba(0, 0, 0, 0.3) 0 1px 3px -1px;
    transition: .2s ease-in-out;
}

.shareModel .card-linkedin{
    border-radius: 90px 5px 5px 5px;
}

.shareModel .card-facebook{
    border-radius: 5px 90px 5px 5px;
}

.shareModel .card-twitter{
    border-radius: 5px 5px 5px 90px;
}

.shareModel .card-other-social-media{
    border-radius: 5px 5px 90px 5px;
}

.card-linkedin .linkedin {
    margin-top: 1.5em;
    margin-left: 1.2em;
    fill: #0a66c2;
}

.facebook {
    margin-top: 1.5em;
    margin-left: -.9em;
    fill: #1877f2;
}

.twitter {
    margin-top: -.6em;
    margin-left: 1.2em;
    fill: #03A9F4;
}

.other-social-media {
    margin-top: -.9em;
    margin-left: -1.2em;
    fill: #6a39cc;
}

.card-linkedin:hover .linkedin, .card-facebook:hover .facebook, .card-twitter:hover .twitter, .card-other-social-media:hover .other-social-media{
    fill: white;
}

.shareModel button:hover{
    cursor: pointer;
    scale: 1.1;
}

.card-linkedin:hover {
    background-color: #0a66c2;
}

.card-facebook:hover {
    background-color: #1877f2;
}

.card-twitter:hover {
    background-color: #03A9F4;
}

.card-other-social-media:hover {
    background-color: #6a39cc;
}

/* SEARCH BAR STYLES */
.search-bar-div {
    padding-bottom: 5rem;
}

.search-box {
    position: relative;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.search-input {
    border: 2px solid #eee;
    border-radius: 30px;
    padding: 15px 25px;
    padding-right: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #143a8c;
    box-shadow: none;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #143a8c;
}