/**
 * Theme Name: NocMk
 * Description: Blocksy Child theme
 * Author: NocMk
 * Template: blocksy
 * Text Domain: blocksy
 */

.ct-header .entry-content.is-layout-flow p:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 35px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' ?%3E%3Csvg id='Layer_1' style='enable-background:new 0 0 91 91;' version='1.1' viewBox='0 0 91 91' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath fill='%235a6475' d='M66.9,41.8c0-11.3-9.1-20.4-20.4-20.4c-11.3,0-20.4,9.1-20.4,20.4c0,11.3,20.4,32.4,20.4,32.4S66.9,53.1,66.9,41.8z M37,41.4c0-5.2,4.3-9.5,9.5-9.5c5.2,0,9.5,4.2,9.5,9.5c0,5.2-4.2,9.5-9.5,9.5C41.3,50.9,37,46.6,37,41.4z'/%3E%3C/g%3E%3C/svg%3E");
}

.noc-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(300px, 45%);
    gap: 24px;
    align-items: stretch;
}

.noc-news-featured,
.noc-news-small-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 28, 74, 0.06);
    transition: box-shadow .25s ease;
}

.noc-news-featured:hover,
.noc-news-small-card:hover {
    box-shadow: 0 8px 18px rgba(0, 28, 74, 0.08);
}

.noc-news-featured {
    min-height: 545px;
}

.noc-news-image {
    position: relative;
    display: block;
    height: 288px;
    overflow: hidden;
}

.noc-news-image img,
.noc-news-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}

.noc-news-featured:hover .noc-news-image img,
.noc-news-small-card:hover .noc-news-small-image img {
    transform: scale(1.045);
}

/* Date badge on featured image */
.noc-news-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 68px;
    min-height: 82px;
    background: #003594;
    color: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 9px 6px;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 8px 18px rgba(0, 28, 74, 0.18);
}

.noc-news-date-badge span {
    display: block;
    font-size: 34px;
    line-height: .95;
    font-weight: 900;
}

.noc-news-date-badge small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 500;
}

/* Date in small cards */
.noc-news-small-date {
    display: grid;
    grid-template-columns: auto 1px auto;
    align-items: center;
    column-gap: 12px;
    color: #003594;
    margin-bottom: 12px;
    max-width: 40px;
}

.noc-news-small-date::before {
    content: "";
    grid-column: 2;
    width: 1px;
    height: 36px;
    background: rgba(0, 53, 148, 0.28);
}

.noc-news-small-date span {
    grid-column: 1;
    grid-row: 1;
    display: block;
    font-size: 34px;
    line-height: .9;
    font-weight: 900;
}

.noc-news-small-date small {
    grid-column: 3;
    grid-row: 1;
    display: block;
    margin: 0;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
}

.noc-news-content {
    padding: 26px 24px 28px;
}

.noc-news-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.28;
    font-weight: 800;
}

.noc-news-content p {
    margin: 0 0 20px;
    color: #4f5f78;
    font-size: 14px;
    line-height: 1.6;
}

.noc-news-content a,
.noc-news-small-content a {
    color: #001f5b;
    text-decoration: none;
    transition: .25s ease;
}

.noc-news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: gap .25s ease;
}

.noc-news-featured:hover .noc-news-link,
.noc-news-small-card:hover .noc-news-link {
    gap: 10px;
}

.noc-news-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.noc-news-small-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    min-height: 150px;
}

.noc-news-small-image {
    border-radius: 10px;
    overflow: hidden;
}

.noc-news-small-content {
    display: flex;
    flex-direction: column;
    padding: 14px 18px 14px 0;
}

.noc-news-small-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}

.noc-news-link.small {
    font-size: 14px;
    margin-top: auto;
}

/* tablet */
@media (max-width: 1024px) {
    .noc-news-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .noc-news-featured {
        min-height: auto;
    }

    .noc-news-small-card {
        grid-template-columns: 180px 1fr;
    }

    .noc-news-small-image {
        height: 150px;
    }
}

/* mobile */
@media (max-width: 768px) {
    .noc-news-image {
        height: 260px;
    }

    .noc-news-small-card {
        grid-template-columns: 140px 1fr;
    }

    .noc-news-small-image {
        height: 130px;
    }

    .noc-news-small-date span {
        font-size: 30px;
    }
}

/* mobile-m */
@media (max-width: 520px) {
    .noc-news-section {
        padding: 28px 0;
    }

    .noc-news-image {
        height: 220px;
    }

    .noc-news-content {
        padding: 22px 18px 24px;
    }

    .noc-news-content p {
        font-size: 15px;
    }

    .noc-news-small-card {
        grid-template-columns: 1fr;
    }

    .noc-news-small-image {
        height: 190px;
    }

    .noc-news-small-content {
        padding: 18px;
    }

    .noc-news-small-card h3 {
        font-size: 17px;
    }
}


.deco-element-after {
    padding-bottom: 100px!important;
}

.deco-element-before {
    padding-top: 75px!important;
}

@media (max-width: 600px) {
    .deco-element-after {
        padding-bottom: 70px!important;
    }
}


.value-icon {
  width: 30px;
  height: 30px;
  color: #FFD200;
  flex-shrink: 0;
}


#nav_menu-2 {
    /* font-size: 16px; */
    margin-top: 0px;
}

#nav_menu-2 li {
    font-size: 15px;
    margin-bottom: 10px;
}

#nav_menu-2 li:before {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    content: '';
    margin-right: 6px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' class='footer-arrow' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12H18' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M13 7L18 12L13 17' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

}

.ct-footer h2 {
    font-size: 22px;
    margin-bottom: 32px!important;
}

.cookie-notification .container {
    border-radius: 16px!important;
}


.wp-block-gallery img {
    border-radius: 16px;
}


.ct-related-posts .related-entry-title {
    margin-bottom: 10px!important;
}

body.blog .entries article.entry-card {
    border-radius: 16px!important;
}