.card-grid-section .aurora-edit-section {
    top: 10px;
    left: 10px;
    background-color: #fff;
    color: #101010
}

.card-grid-section .aurora-edit-section:hover {
    background-color: #fff;
    color: #000
}

.custom-content-area {        
    border-top: 1px solid #8d8d8d40;
    border-bottom: 1px solid #8d8d8d40;
    padding: 80px 0;
}

.cca-fourth {              
    border-bottom: none;
    padding-bottom: 0;
}

#hero-slider .card-grids {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

#hero-slider {
    position: relative;
    overflow: hidden;
}

#hero-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #fffffff5;
    color: #292929;
    border: none;
    display: inline-flex;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 16px;
    letter-spacing: 0;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px #0000;
}

#hero-slider .slider-btn:hover {
    background-color: var(--button-background-color);
    color: var(--button-text-color);
}

#hero-slider .prev { left: 20px;}
#hero-slider .next { right: 20px;}

#hero-slider .card-grids .post-preview {
    border-radius: 2px;
    padding: 10px 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 630px;
    color: white;
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--link-color);
}

#hero-slider .card-grids .post-preview a {
    color: white;
    text-decoration: none
}

#hero-slider .card-grids .post-preview a:hover {
    text-decoration: underline 1px
}

#hero-slider .post-title {
    margin: 0;
    text-align: center;
    font-size: calc(var(--h3-font-size-desktop) / 0.714);
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.39);
    max-width: 75%
}

#hero-slider .post-meta {
    font-size: 0.88rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 15px;
}


#after-hero .post-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

#after-hero .preview-post {
    box-shadow: 0 6px 15px #00000012;
    transition: box-shadow 0.3s ease
}

#after-hero .preview-post:hover {
    box-shadow: 0 10px 30px #0000002c;
}

#after-hero .post-meta {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

#after-hero .mag .post-title {
    font-size: calc(var(--h3-font-size-desktop) / 1.45);
    line-height: 1.2;
    font-weight: 500;
    margin: 8px 0;
}

#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-color: var(--link-color);
}

#after-hero .mag .post-content {
    padding: 20px 15px
}

#after-hero .mag .post-excerpt {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4
}

#dual-col {
    display: flex;
    gap: 80px
}

#dual-col .col-1 {
    flex: 1.3;
}

#dual-col .col-2 {
    flex: 2;
}

#dual-col .post-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

#dual-col .post-card .post-content h3 {
    margin: 8px 0 0 ;
    font-size: calc(var(--h3-font-size-desktop) / 1.45);
    font-weight: 500;
    line-height: 1.2
}

#dual-col .post-cards .post-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
    line-height: 1;
    font-weight: 500
}

#dual-col .post-card a {
    color: inherit;
    text-decoration: none
}

#dual-col .post-card a:hover {
    color: var(--link-color);
    text-decoration: underline 1px
}

#dual-col .post-cards {
    display: flex;
    flex-direction: column;
    gap: 20px
}

#dual-col .post-cards .featured-image {
    height: 130px;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: var(--link-color);
}

#dual-col .col-2 .embed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px
}

.card-embed {
    height: 340px;
    padding: 15px;
    border-radius: 10px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--link-color);
}

.card-embed .post-category {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 2px 5px;
    background-color: #0000009f;
}

.card-embed .post-date {
    opacity: 0.85;
    font-size: 0.83rem
}

.card-embed .post-title {
    font-size: calc(var(--h3-font-size-desktop) / 1.5);
    line-height: 1.2
}

.card-embed .post-details {        
    display: flex;
    flex-direction: column;
    gap: 10px
}

.card-embed a {
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
}

.card-embed a:hover {
    text-decoration: underline 0.5px
}

.card-embed h3, .card-embed p {
    margin: 0
}

.card-embed p {
    font-size: 0.83rem
}

#row-of-4 {
    padding-top: 80px;
    border-top: double 4px #7a7a7a2a
}

.compress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.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 h3 {
    font-size: calc(var(--h3-font-size-desktop) / 1.25);
    margin: 0;
}

.compress p {
    margin: 0;
    font-size: 0.9rem;
}

.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;
}

.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%
}

.compress a.read-more:hover {
    text-decoration: none
}

#newspaper {
    display: flex;
    gap: 140px
}

.paper-1 {
    flex: 2.4
}

.paper-2 {
    flex: 1;
}

.paper-1 .bold {
    display: flex;
    flex-direction: column;
    gap: 37px;
}

.bold .featured-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    flex: 1;
    background-color: var(--link-color);
}

.bold .featured-post {
    display: flex;
    gap: 20px;
    min-height: 220px;
}

.bold a {
    text-decoration: none;
}

.bold a:hover h3 {
    color: var(--link-hover-color)
}

.bold .post-content h3 {
    margin: 0;
    font-size: calc(var(--h3-font-size-desktop) / 1.15);
}

.bold .post-content p {
    margin: 0;
    font-size: 0.9rem;
}

.bold .post-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;        
    align-items: flex-start;
    flex: 1.4;
}

.bold .post-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem
}

.bold .read-more {
    display: inline-block;
    margin-top: 10px
}

.bold .read-more {
    text-decoration: underline 1px
}

.paper-2 .plain-posts {
    display: flex;
    flex-direction: column;
    gap: 48px
}

.paper-2 .plain-post {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.paper-2 .post-title {
    margin: 0;
    font-size: calc(var(--h3-font-size-desktop) / 1.3);
    line-height: 1.2;
}

.paper-2 .post-title a {
    text-decoration: none;
    color: inherit
}

.paper-2 .post-title a:hover {
    text-decoration: revert;
    color: var(--link-hover-color)
}

.paper-2 .post-excerpt {
    margin: 0;
    line-height: 1.4
}

.paper-2 .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    opacity: 0.7
}

#tiled .poster {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.card-poster {
    height: 560px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    align-items: flex-start;
    background-color: var(--link-color);
}

.card-poster .post-category {
    font-size: 0.8rem;
    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: 0.9rem;
    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;
    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";
}

#mesh .post-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px
}

#mesh .post-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

#mesh .post-card .post-content h3 {
    margin: 5px 0 0;
    font-size: calc(var(--h3-font-size-desktop) / 1.45);
    font-weight: 500;
    line-height: 1.2
}

#mesh .post-cards .post-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
    line-height: 1.2;
    font-weight: 500
}

#mesh .post-card a {
    color: inherit;
    text-decoration: none
}

#mesh .post-card a:hover {
    color: var(--link-color);
    text-decoration: underline 1px
}

#mesh .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);
}

@media (max-width:768px) {
    .custom-content-area {        
        padding: 40px 0;
    }

    .cca-fourth {
        padding-bottom: 0;
    }

    #hero-slider .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 0.7);
    }

    #after-hero .post-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    #after-hero .mag .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.2);
    }

    #dual-col {
        gap: 30px
    }

    #dual-col .post-cards {
        gap: 17px
    }

    #dual-col .col-2 .embed {
        gap: 25px 15px
    }
    
    #dual-col .post-card .post-content h3 {
        font-size: calc(var(--h3-font-size-tablet) / 1.4);
    }

    .card-embed .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.3);
    }

    .compress {
        gap: 40px
    }

    .compress h3 {
        font-size: calc(var(--h3-font-size-tablet) / 1.2);
    }

    .bold .post-content h3 {
        font-size: calc(var(--h3-font-size-tablet) / 1.15);
    }

    #newspaper {
        gap: 80px
    }

    .paper-2 .post-title {
        font-size: calc(var(--h3-font-size-tablet) / 1.2);
    }

    .paper-2 .post-excerpt {
        font-size: 0.9rem
    }

    .paper-1 .bold {
        gap: 54px
    }

    #tiled .poster {
        grid-template-columns: repeat(2, 1fr);
    }

    #mesh .post-cards {
        gap: 25px;
        grid-template-columns: repeat(2, 1fr);
    }

    #mesh .post-card .post-content h3 {
        font-size: calc(var(--h3-font-size-tablet) / 1.3);
    }
}

@media (max-width: 480px) {
    .custom-content-area {        
        padding: 20px 0;
    }
    .cca-fourth {
        padding-bottom: 0;
    }

    #hero-slider .slider-btn {
        width: 30px;
        height: 30px;
    }

    #hero-slider .prev {
        left: 12px
    }

    #hero-slider .next {
        right: 12px
    }

    #hero-slider .post-title {
       font-size: calc(var(--h3-font-size-mobile) / 0.8);
        max-width: 70%
    }

    #hero-slider .card-grids .post-preview {
        padding: 15px;
        height: 500px
    }

    #after-hero .post-list, #dual-col .col-2 .embed, .compress, #tiled .poster, #mesh .post-cards {
        grid-template-columns: 1fr
    }

    #after-hero .mag .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.05);
    }

    #dual-col, #newspaper, .bold .featured-post {
        flex-direction: column
    }

    #dual-col .post-card .post-content h3 {
        font-size: calc(var(--h3-font-size-mobile) / 1.3);
    }

    .card-embed .post-title {
        font-size: calc(var(--h3-font-size-mobile) / 1.05);
    }

    .bold .post-content h3 {
        font-size: calc(var(--h3-font-size-mobile) / 1.15);
    }

    .bold .featured-image {
        height: 220px;
        flex: initial
    }

    .compress h3 {
        font-size: calc(var(--h3-font-size-mobile) / 1.2);
    }

    #newspaper {
        gap: 50px;
    }

    .paper-2 .plain-posts {
        gap: 30px
    }

    .card-poster {
        height: 450px;
        padding: 15px
    }

      #mesh .post-card .post-content h3 {
        font-size: calc(var(--h3-font-size-mobile) / 1.3);
    }
}