.custom-content-area {        
    border-top: 1px solid #8d8d8d40;
    border-bottom: 1px solid #8d8d8d40;
    padding: 80px 0;
}

.cca-fourth {              
    border-bottom: none;
    padding-bottom: 0;
}

#featured-post .card-grids {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    height: 600px;
    gap: 20px;
    color: white;
}

#featured-post .card-grids .post-preview {
    border-radius: 2px;
    padding: 0 40px 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    background-color: var(--link-color)
}

#featured-post .card-grids .post-preview a {
    color: white;
    text-decoration: none
}

#featured-post .card-grids .post-preview a:hover {
    text-decoration: underline 1px
}

#featured-post .post-preview .post-title {
    margin: 0;
    font-size: calc(var(--h3-font-size-desktop) / 1.36);
    line-height: 1.2;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3)
}

#featured-post .post-meta {
    font-size: 0.84rem;
    opacity: 0.9;
    order: 1;
}

#featured-post .card-grids .post-preview:nth-child(1) .post-title {    
    font-size: calc(var(--h3-font-size-desktop) / 1.1);
}

#featured-post .card-grids .post-preview:nth-child(1) .post-meta {
    font-size: 0.88rem
}

#featured-post .card-grids .post-preview:nth-child(1) {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

#featured-post .card-grids .post-preview:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#featured-post .card-grids .post-preview:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

#featured-post .card-grids .post-preview:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

#featured-post .card-grids .post-preview:nth-child(5) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

#after-hero .post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 70px
}

#after-hero .preview-post {
    display: flex;
    gap: 25px;
}

#after-hero .mag .post-meta {
    font-size: 0.824rem;
    opacity: 0.7;
    line-height: 1;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 5px;
}

#after-hero .mag .post-title {
    font-size: calc(var(--h3-font-size-desktop) / 1.45);
    line-height: 1.2;
    font-weight: 500;
    margin: 10px 0 4px;
}

#after-hero .mag a {
    color: inherit;
    text-decoration: none
}

#after-hero .mag a:hover {
    color: var(--link-hover-color);
    text-decoration: underline 0.5px
}

#after-hero .mag .featured-image {
    height: 160px;
    width: 100%;
    flex: 1;
    border-radius: 4px;
    background-color: var(--link-color);
}

#after-hero .mag .post-content {
    display: flex;
    flex-direction: column;
    flex: 1.2;
}

#after-hero .mag .post-excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

#tiled .embed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}
#tiled .card-embed {
    height: 450px;
    padding: 0 50px 20px 15px;
    border-radius: 10px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--link-color);
}

#tiled .card-embed .post-category {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 2px 5px;
    background-color: #0000009f;
}

#tiled .card-embed .post-date {
    opacity: 0.9;
    font-size: 0.83rem;
    margin-bottom: 5px
}

#tiled .card-embed .post-details {        
    display: flex;
    flex-direction: column;
    gap: 7px
}

#tiled .card-embed .post-title {
    font-size: calc(var(--h3-font-size-desktop) / 1.15);
    line-height: 1.2
}

#tiled .card-embed a {
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
}

#tiled .card-embed a:hover {
    text-decoration: underline 1px;
}

#tiled .card-embed h3, #tiled .card-embed p {
    margin: 0
}

#highlights .plain-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

#highlights .plain-post .post-title {
    margin: 0;
}

#highlights .plain-post a {
    color: inherit;
    text-decoration: none
}

#highlights .plain-post a:hover {
    color: var(--link-hover-color);
    text-decoration: underline 1px
}

#highlights .plain-post .post-meta {
    font-size: 14px;
    opacity: 0.8
}

#highlights .plain-post .post-excerpt {
    margin-top: 6px
}

.divider {
    margin: 0 2px
}

#lists {
    display: flex;
    gap: 80px
}

#lists .list-one {
    flex: 1.3;
}

#lists .list-two {
    flex: 1.8;
}

.list-one .post-list {
    display: flex;
    flex-direction: column;
    gap: 40px
}

#lists .list-two .post-cards {        
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 50px
}

.compress .featured-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--link-color);
}

.compress .featured-post {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.compress .featured-post a {
    text-decoration: none;
    color: inherit
}

.compress .featured-post a:hover {
    color: var(--link-hover-color);
    text-decoration: underline 0.5px
}

.compress .featured-post a:hover h3 {        
    color: var(--link-hover-color);
}

.compress .featured-post .read-more:hover {
    text-decoration: none
}

.compress h3 {
    font-size: calc(var(--h3-font-size-desktop) / 1.15);
    margin: 0;
}

.compress p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4
}

.compress .post-meta {
    gap: 3px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 10px 0
}

.compress .post-content {
    display: flex;
    flex-direction: column;
    gap: 5px;    
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

.compress .post-author::before, .compress .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
}

.compress .post-author::before {
    content: "\f007";
}

.compress .post-date::before {
    content: "\f133";
}

.compress .read-more {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 4px;
    border: solid 1px;
    font-size: 90%
}

.post-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-card .post-content h3 {
    margin: 10px 0 0;
    font-size: calc(var(--h3-font-size-desktop) / 1.6);
    line-height: 1.1;
    font-weight: 500;
}

.post-cards .post-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px
}

.post-card a {
    color: inherit;
    text-decoration: none
}

.post-card a:hover {
    color: var(--link-hover-color);
    text-decoration: underline 1px
}

.post-cards {
    display: flex;
    flex-direction: column;
    gap: 30px
}

.post-cards .featured-image {
    width: 100px;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border-radius: 6px;
    background-color: var(--link-color);
}

.poster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.card-poster {
    height: 360px;
    padding: 15px;
    border-radius: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background-color: var(--link-color);
}

.card-poster .post-category {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 2px 6px;
    background-color: #ffffffe4;
    color: #1a1a1a
}

.card-poster .metas {
    opacity: 0.8;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 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: 10px 0 0;
    font-size: calc(var(--h3-font-size-desktop) / 1.3);
    line-height: 1.2
}

.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";
}

#board .post-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px
}

#board .post-title {
    font-size: calc(var(--h3-font-size-desktop) / 1.7);
    margin: 6px 0 0;
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .custom-content-area {        
        padding: 40px 0;
    }
    .cca-fourth {
        padding-bottom: 0;
    }

    #featured-post .card-grids {
        height: 500px;
        gap: 15px
    }

    #featured-post .card-grids .post-preview {
        padding: 10px
    }

    #featured-post .post-preview .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.3);
    }

    #featured-post .card-grids .post-preview:nth-child(1) .post-title {
        font-size: var(--h3-font-size-tablet);
    }

    #after-hero .mag .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.1);
    }

    #tiled .embed {
        gap: 15px;
    }

    #tiled .card-embed {
        height: 400px;
    }

    #tiled .card-embed .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.2);
    }

    #tiled .card-embed p {
        font-size: 0.88rem
    }

    #highlights .plain-posts {
        gap: 20px;
    }

    .compress .featured-image {
        height: 160px;
    }

    .compress p {
        font-size: 1rem
    }

    .post-cards .featured-image {
        width: 92px;
    }

    #lists {
        flex-direction: column;
        gap: 30px;
    }

    #lists .list-two .post-cards {
        gap: 15px;
    }

    #lists .list-two .preview-post {
        gap: 10px
    }

    .post-card .post-content h3 {
        font-size: calc(var(--h3-font-size-tablet) / 1.3);
    }

    .poster {
        gap: 20px
    }

    .card-poster {
        height: 240px;
    }

    #board .post-cards {
        grid-template-columns: repeat(2, 1fr);
    }        

    #after-hero .preview-post {
        flex-direction: column;
        gap: 15px
    }

    #after-hero .mag .featured-image {
        flex: initial
    }

    #after-hero .post-list {
        gap: 40px
    }

    .compress h3 {
        font-size: var(--h3-font-size-tablet);
    }

    .card-poster .metas {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-poster h3 {
        font-size: calc(var(--h3-font-size-tablet) / 1.3);
    }

    #board .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.35);
    }
}

@media (max-width: 480px) {
    .custom-content-area {        
        padding: 20px 0;
    }
    .cca-fourth {
        padding-bottom: 0;
    }

    #featured-post .card-grids {
        grid-template-columns: 1fr;
        grid-template-rows: auto; 
        height: auto;
        gap: 20px;
    }

    #featured-post .card-grids .post-preview:nth-child(1), #featured-post .card-grids .post-preview:nth-child(2),
    #featured-post .card-grids .post-preview:nth-child(3), #featured-post .card-grids .post-preview:nth-child(4),
    #featured-post .card-grids .post-preview:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        height: 250px;
    }

    #featured-post .card-grids .post-preview .post-title, #featured-post .card-grids .post-preview:nth-child(1) .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.05);
    }

    #featured-post .post-meta {
        font-size: 0.88rem;
    }

    #after-hero .post-list, #tiled .embed, #highlights .plain-posts,
    #lists .list-two .post-cards, .poster, #board .post-cards {
        grid-template-columns: 1fr;
        gap: 30px
    }

    #after-hero .mag .featured-image, #after-hero .mag .post-content {
        flex: initial
    }

    #after-hero .mag .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.05);
    }

    #after-hero .mag .post-excerpt {
        font-size: 1rem
    }

    #tiled .card-embed {
        height: 320px;
    }

     #tiled .card-embed .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.05);
    }

    #lists {
        flex-direction: column
    }

    .compress h3 {
        font-size: var(--h3-font-size-mobile);
    }

    .compress p {
        font-size: 1rem
    }

    .compress .post-meta {
        font-size: 0.9rem
    }

    .post-card .post-content h3 {
        font-size: calc(var(--h3-font-size-mobile) / 1.3);
    }

    .card-poster h3 {
        font-size: var(--h3-font-size-mobile);
    }

    #board .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.3);
    }
}