* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.text-justify {
    text-align: justify;
}

.container-fluid {
    overflow: hidden;
}

.handwriting-text {
    font-family: "Dancing Script", cursive !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.page-content {
    background: #333;
}

.page-content .fw-hero {
    background: url("../img/bg-hero.jpg");
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@supports (-webkit-overflow-scrolling: touch) {

    .fw-hero {
        background-attachment: scroll;
    }
}

.container-hero {
    width: 80%;
    margin: 0 auto;
    background: #fff;
    position: relative;
    top: -400px;
    z-index: 2;
    padding: 50px;
    color: #000;
    font-family: "Montserrat", sans-serif;
    margin-bottom: -400px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
}

.container-hero .logos img:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
}

.container-hero .logos img:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
}

section,
.section {
    color: #212529;
    background-color: #ffffff;
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

.features-boxes {
    justify-content: space-around;
}

.about .features-boxes .feature-box {
    height: 100%;
    position: relative;
}

.about .features-boxes .feature-box .icon-box {
    width: 60px;
    height: 60px;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: color-mix(in srgb, #f75815 15%, transparent);
    color: #f75815;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.about .features-boxes .feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about .features-boxes .feature-box h3 a {
    color: #2d465e;
    text-decoration: none;
}

.about .features-boxes .feature-box:hover .icon-box {
    background-color: #f75815;
    color: #ffffff;
    cursor: pointer;
}

.about .features-boxes .feature-box:hover h3 a {
    color: #f75815;
}

.title-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.title-wrapper h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #2d465e;
}

.category-postst article {
    background-color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.category-postst article .post-img {
    max-height: 240px;
    margin: -30px -30px 15px -30px;
    overflow: hidden;
}

.category-postst .post-category {
    font-size: 16px;
    color: color-mix(in srgb, #212529, transparent 40%);
    margin-bottom: 10px;
}

.category-postst .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.category-postst .title a {
    color: #2d465e;
    transition: 0.3s;
    text-decoration: none;
}

.category-postst .title a:hover {
    color: #f75815;
}

.category-postst .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.category-postst .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.category-postst .post-date {
    font-size: 14px;
    color: color-mix(in srgb, #212529, transparent 40%);
    margin-bottom: 0;
}

.page-title {
    text-align: center;
    padding: 20px 0;
}

.page-title .breadcrumbs {
    margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
    justify-content: center;
    margin: 0;
    padding: 0;
    background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
    color: color-mix(in srgb, #212529, transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
    color: #f75815;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
    color: #f75815;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
    font-size: 0.9rem;
    margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: color-mix(in srgb, #212529, transparent 50%);
}

.blog-details {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-details .hero-img {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto 3rem;
    border-radius: 16px;
    overflow: hidden;
}

.blog-details .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .blog-details .hero-img {
        height: 350px;
        margin-top: -30px;
        margin-bottom: 2rem;
    }
}

.blog-details .article-content {
    padding: 0 1rem;
}

.blog-details .article-content .content-header {
    margin-bottom: 3rem;
}

.blog-details .article-content .content-header .title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #2d465e;
}

@media (max-width: 768px) {
    .blog-details .article-content .content-header .title {
        font-size: 2rem;
    }
}

.blog-details .article-content .content-header .author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid color-mix(in srgb, #212529, transparent 90%);
}

.blog-details .article-content .content-header .author-info .author-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-details .article-content .content-header .author-info .author-details .author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-details .article-content .content-header .author-info .author-details .info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2d465e;
}

.blog-details .article-content .content-header .author-info .author-details .info .role {
    font-size: 0.9rem;
    color: color-mix(in srgb, #212529, transparent 30%);
}

.blog-details .article-content .content-header .author-info .post-meta {
    color: color-mix(in srgb, #212529, transparent 30%);
    font-size: 0.95rem;
}

.blog-details .article-content .content-header .author-info .post-meta i {
    margin-right: 0.3rem;
}

.blog-details .article-content .content-header .author-info .post-meta .divider {
    margin: 0 0.75rem;
}

.blog-details .article-content .content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: color-mix(in srgb, #212529, transparent 10%);
}

.blog-details .article-content .content p {
    margin-bottom: 1.5rem;
}

.widgets-container {
    margin: 60px 0 30px 0;
}

.widget-title {
    color: #2d465e;
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 10px;
    margin: 0 0 20px 0;
    border-left: 4px solid #f75815;
}

.widget-item {
    margin-bottom: 30px;
    background-color: color-mix(in srgb, #212529, transparent 98%);
    border: 1px solid color-mix(in srgb, #212529, transparent 90%);
    padding: 30px;
    border-radius: 5px;
}

.widget-item:last-child {
    margin-bottom: 0;
}

.recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
    margin-bottom: 0;
}

.recent-posts-widget .post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
    color: #212529;
    transition: 0.3s;
    text-decoration: none;
}

.recent-posts-widget .post-item h4 a:hover {
    color: #f75815;
}

.recent-posts-widget .post-item time {
    display: block;
    font-style: italic;
    font-size: 14px;
    color: color-mix(in srgb, #212529, transparent 50%);
}

.privacy {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

.privacy h1 {
    margin: 0;
    font-size: 2rem;
}

.privacy-body {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.privacy-body section {
    margin-bottom: 2rem;
}

.privacy-body section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-body section p {
    text-align: justify;
}

.container-hero {
    width: 100% !important;
    top: -350px !important;
    padding: 5px !important;
    margin-bottom: -350px !important;
}

.container-hero .img-monsenor {
    width: 100px !important;
}

.container-hero .img-santa-sede {
    width: 70px !important;
    height: 80px !important;
}

.container-hero iframe {
    width: 350px !important;
}

/* Footer */
.footer {
    color: #212529;
    background-color: #ffffff;
    font-size: 14px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
    border-top: 1px solid color-mix(in srgb, #212529, transparent 90%);
}

.footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 25px;
    text-decoration: none;
}

.footer .footer-about .logo span {
    color: #2d465e;
    font-family: "Nunito", sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
}

.footer .footer-about p {
    font-size: 14px;
    font-family: #2d465e;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, #212529, transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, #212529, transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.footer .social-links a:hover {
    color: #f75815;
    border-color: #f75815;
}

.footer .social-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer .social-items img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid color-mix(in srgb, #212529, transparent 90%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 8px;
    font-size: 13px;
}

.footer .credits a {
    text-decoration: none;
}

.scroll-top {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5b041;
    color: #fff;
    transition: all 0.3s;
    position: fixed;
    right: 2rem;
    bottom: -4rem;
    z-index: 9999;
}

.scroll-top:hover,
.scroll-top:focus {
    color: #fff;
    text-decoration: none;
    background: #f39c12;
}

.scroll-top.visible {
    bottom: 1rem;
}

@media (max-width: 810px) {}

@media (max-width: 430px) {
    .category-postst article {
        padding: 0 !important;
    }

    .category-postst .title {
        font-size: 14px !important;
        margin: 0 !important;
    }

    .category-postst .post-author {
        font-size: 12px !important;
    }
}
