.custom-content-area {        
    border-top: 1px solid #8d8d8d40;
    border-bottom: 1px solid #8d8d8d40;
    padding: 80px 0;
    margin: 80px 0;
}

.cca-fourth {              
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0 ; 
}

#featured-post .divider {
    display: none
}

#featured-post .post-category::before, #featured-post .post-date::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: relative;
    top: -2px;
    margin-right: 4px;
    display: inline-block;
    font-size: 70%;
    color: inherit
}

#featured-post .post-category::before {
    content: "\f115";
}

#featured-post .post-date::before {
    content: "\f133";
}

#featured-post {
    padding-top: 20px;
}
#featured-post .post-card .post-content h3 {
    margin: 10px 0;
}

#featured-post .post-cards .post-meta {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center
}

#featured-post .post-card a {
    color: inherit;
    text-decoration: none
}

#featured-post .post-card a:hover {
    color: var(--link-color);
}

#featured-post .featured-image {
    height: 600px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px
}

#featured-post .post-content {
    background-color: var(--site-background-color);
    width: 70%;
    padding: 40px 40px 10px;
    position: relative;
    margin: -90px auto 0;
    z-index: 2;
    text-align: center;
    border-radius: 10px;
}

#after-hero {
    display: flex;
    gap: 40px
}

#after-hero .grid-1 {
    flex: 2
}

#after-hero .post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px
}

#after-hero .mag .post-content h3 {
    margin: 7px 0;
}

#after-hero .mag .post-meta {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

#after-hero .mag .post-title {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 500
}

#after-hero .mag a {
    color: inherit;
    text-decoration: none
}

#after-hero .mag a:hover {
    color: var(--link-color);
}

#after-hero .mag .featured-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

#after-hero .mag .post-content {
    padding-top: 15px;
    width: 80%;
    overflow: hidden;
    max-height: 115px
}

#after-hero .mag .post-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.4
}

#after-hero .grid-2 {
    flex: 1;
}

#after-hero .post-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

#after-hero .post-card .post-content h3 {
    margin: 8px 0 0 ;
    font-size: 20px;
    font-weight: 500;
    line-height: 1
}

#after-hero .post-cards .post-meta {
    font-size: 70%;
    text-transform: uppercase;
    opacity: 0.7;
    line-height: 1;
    font-weight: 500
}

#after-hero .post-card a {
    color: inherit;
    text-decoration: none
}

#after-hero .post-card a:hover {
    color: var(--link-color);
    text-decoration: underline 1px
}

#after-hero .post-cards {
    display: flex;
    flex-direction: column;
    gap: 36px
}

#after-hero .post-cards .featured-image {
    height: 130px;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
}

#plain-list {        
    margin: 80px 0;
}

#plain-list .plain-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #000000e3;
    padding: 40px;
    color: white;
    gap: 40px
}

#plain-list h3 {
    margin: 0;        
    color: inherit;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.1
}

#plain-list .post-excerpt {
    margin: 6px 0 10px;
    opacity: 0.9
}

#plain-list .post-meta {
    opacity: 0.6;
    font-size: 80%
}

#plain-list a {
    text-decoration: none;
    color: inherit
}

#plain-list a:hover {
    text-decoration: underline 1px;
}

#various {
    margin: 100px 0
}

#various .embed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

#various .card-embed {
    height: 300px;
    padding: 0 20px 20px 15px;
    border-radius: 4px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


#various .card-embed .post-category {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    text-transform: uppercase;
    padding: 2px 5px;
    background-color: #0000009f;
}

#various .card-embed .post-date {
    opacity: 0.85;
    font-size: 14px; 
}

#various .card-embed .post-details {        
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#various .card-embed a {
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
}

#various .card-embed a:hover {
    text-decoration: underline 1px;
}

#various .card-embed p {
    display: none !important
}

#various .card-embed h3 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
    min-height: 48px
}

#mesh .bold {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px
}

.bold .featured-image {
    width: 40%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    flex-shrink: 0
}

.bold .featured-post {
    display: flex;
    gap: 25px;
}
.bold .featured-post a {
    text-decoration: none;
}

.bold .post-content .post-title {
    margin: 0;
    font-size: 24px;
}

.bold .featured-post a:hover {
    text-decoration: revert
}

.bold .featured-post a:hover h3 {
    color: var(--link-hover-color);
}

.bold .post-content .excerpt {
    margin: 0;
    font-size: 90%;
    line-height: 1.4;
}

.bold .post-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;        
    align-items: flex-start;
    flex: 1;
}

#tiled .poster {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.card-poster {
    height: 560px;
    padding: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    align-items: flex-start
}

.card-poster .post-category {
    font-size: 80%;
    text-transform: uppercase;
    padding: 2px 5px;
    background-color: #ffffffe2;
    color: #191919;
    font-weight: 500;
    border-radius: 2px;
    margin-bottom: 10px
}

.card-poster .metas {
    opacity: 0.85;
    font-size: 90%;
    display: flex;
    gap: 15px;
    align-items: center
}

.card-poster .post-details {        
    display: flex;
    flex-direction: column;
    gap: 10px
}

.card-poster a {
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
}

.card-poster a:hover {
    text-decoration: underline 0.5px
}

.card-poster h3 {
    margin: 0
}

.card-poster .post-author::before,.card-poster .post-date::before {        
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: relative;
    top: -2px;
    margin-right: 3px;
    display: inline-block;
    font-size: 70%;
    color: inherit
}

.card-poster .post-author::before {
    content: "\f007";
}

.card-poster .post-date::before {
    content: "\f133";
}

#highlights {
    margin-top: 60px
}

.sweet {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.sweet .featured-image {
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 5px;
}

.sweet .featured-post {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--body-text-color);
    position: relative;
}

.sweet .post-category {
    font-size: 70%;
    line-height: 1.4;
    font-weight: 600;
    position: absolute;
    font-weight: 500;
    top: 10px;
    left: 10px;
    color: #161616;
    background-color: #ffffff;
    padding: 1px 6px;
    border-radius: 3px;
}

.sweet .featured-post a {
    text-decoration: none;
    color: inherit
}

.sweet .featured-post a:hover {
    color: var(--link-hover-color)
}

.sweet p {
    margin: 0;
}

.sweet h3 {
    margin: 0;
    color: inherit;
    font-size: 20px;
    line-height: 1.2
}

.sweet .post-meta {
    gap: 15px;
    display: flex;
    align-items: center;
    font-size: 80%;
    opacity: 0.8;
    margin: 5px 0
}

.sweet .post-content {
    display: flex;
    flex-direction: column;
    gap: 5px;    
    align-items: flex-start;
    justify-content: center;
}

.sweet .post-author::before, .sweet .post-date::before {        
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: relative;
    top: -2px;
    margin-right: 2px;
    display: inline-block;
    font-size: 70%;
    color: inherit
}

.sweet .post-author::before {
    content: "\f007";
}

.sweet .post-date::before {
    content: "\f133";
}

.sweet .read-more {
    display: none
}

@media (max-width:768px) {
    .custom-content-area {        
        padding: 40px 0;
        margin: 40px 0;
    }

    .cca-fourth {
        padding-bottom: 0;
        margin-bottom: 0 ; 
    }

    #tiled .poster {
        grid-template-columns: repeat(2, 1fr);
    }

    #after-hero .post-list {
        gap: 30px
    }

    #after-hero .post-cards {
        gap: 30px
    }

    #plain-list .plain-posts {
        gap: 30px
    }

    #various .embed, .sweet {
        grid-template-columns: repeat(3, 1fr);  
    }

    .card-poster {
        height: 400px
    }
}

@media (max-width: 480px) {
    .custom-content-area {        
        padding: 20px 0;
        margin: 20px 0;
    }
    .cca-fourth {
        padding-bottom: 0;
        margin-bottom: 0 ; 
    }

    .card-poster {
        height: 350px;
        padding: 15px
    }

    #featured-post .featured-image {
        height: 400px
    }

    #after-hero .post-list, #plain-list .plain-posts, #various .embed, #mesh .bold, #tiled .poster, .sweet {
        grid-template-columns: 1fr;
    }

    #after-hero {
        flex-direction: column
    }

    .bold .featured-post {
        flex-direction: column;
    }

    #various .card-embed h3 {
        min-height: unset
    }

    .bold .featured-image {
        width: 100%;
        height: 200px;
        aspect-ratio: unset
    }
}