/* =========================================================
   DECISIONS ADVISORS
   FEATURED MAGAZINE
   ========================================================= */

.da-featured-magazine-section {
    position: relative;
    padding: 65px 0;
    background: #f7fafd;
    overflow: hidden;
}


/* =========================================================
   Main Card
   ========================================================= */

.da-featured-magazine-card {
    position: relative;
    max-width: 1080px;
    min-height: 420px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;

    gap: 55px;

    padding: 0px 0px;

    border-radius: 18px;

    background:
            linear-gradient(
                    135deg,
                    #081b2d 0%,
                    #0c2943 52%,
                    #123c5c 100%
            );

    box-shadow:
            0 25px 60px rgba(8, 31, 51, 0.16);

    overflow: hidden;
}


/* =========================================================
   Decorative Glow
   ========================================================= */

.da-featured-magazine-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    right: -170px;
    top: -200px;

    border-radius: 50%;

    background: rgba(57, 103, 235, 0.18);

    filter: blur(10px);

    pointer-events: none;
}


/* =========================================================
   Decorative Grid
   ========================================================= */

.da-featured-magazine-grid {
    position: absolute;
    inset: 0;

    opacity: 0.06;

    background-image:
            linear-gradient(
                    rgba(255,255,255,0.8) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255,255,255,0.8) 1px,
                    transparent 1px
            );

    background-size: 45px 45px;

    pointer-events: none;
}


/* =========================================================
   COVER
   ========================================================= */

.da-featured-magazine-cover-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}


.da-featured-magazine-cover-link {
    display: block;

    text-decoration: none;

    perspective: 1000px;
}


/* Main cover */

.da-featured-magazine-cover-frame {
    position: relative;

    width: 255px;
    height: 340px;

    background: #ffffff;

    padding: 7px;

    border-radius: 3px;

    box-shadow:
            0 22px 45px rgba(0, 0, 0, 0.35);

    transform: rotate(-1.2deg);

    transition:
            transform 0.35s ease,
            box-shadow 0.35s ease;
}


/* Offset magazine sheet */

.da-featured-magazine-cover-back {
    position: absolute;

    width: 100%;
    height: 100%;

    left: 8px;
    top: -8px;

    border: 1px solid rgba(75, 133, 220, 0.35);

    background: rgba(255,255,255,0.08);

    z-index: -1;
}


/* Cover image */

.da-featured-magazine-cover-frame img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 1px;
}


/* Hover */

.da-featured-magazine-cover-link:hover
.da-featured-magazine-cover-frame {

    transform:
            rotate(0deg)
            translateY(-7px);

    box-shadow:
            0 30px 55px rgba(0, 0, 0, 0.42);
}


/* =========================================================
   CONTENT
   ========================================================= */

.da-featured-magazine-content {
    position: relative;

    z-index: 2;

    color: #ffffff;

    min-width: 0;
}


/* Eyebrow */

.da-featured-magazine-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 17px;

    color: #6e9cff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}


.da-eyebrow-line {
    display: inline-block;

    width: 38px;
    height: 3px;

    border-radius: 10px;

    background: #4b78f2;
}


/* Title */

.da-featured-magazine-content h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(34px, 4vw, 54px);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1.5px;
}


/* Author */

.da-featured-magazine-author {
    margin-bottom: 18px;

    color: #91b8dc;

    font-size: 16px;

    font-weight: 500;
}


.da-featured-magazine-author::before {
    content: "By ";

    color: #6e9cff;
}


/* Description */

.da-featured-magazine-description {
    max-width: 690px;

    margin: 0;

    color: rgba(255,255,255,0.76);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   Bottom Area
   ========================================================= */

.da-featured-magazine-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.13);
}


/* =========================================================
   Meta
   ========================================================= */

.da-featured-magazine-meta {
    display: flex;
    align-items: center;
}


.da-meta-item {
    display: flex;

    align-items: center;

    gap: 11px;
}


.da-meta-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: rgba(72, 116, 238, 0.15);

    color: #78a2ff;

    font-size: 15px;
}


.da-meta-item small {
    display: block;

    margin-bottom: 2px;

    color: #6f9bdd;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.da-meta-item strong {
    display: block;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   BUTTON
   ========================================================= */

.da-featured-magazine-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 19px;

    border: 1px solid rgba(117, 157, 255, 0.45);

    border-radius: 5px;

    background: #3f6fe8;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
            transform 0.25s ease,
            background 0.25s ease,
            box-shadow 0.25s ease;
}


.da-featured-magazine-button i {
    font-size: 13px;

    transition: transform 0.25s ease;
}


.da-featured-magazine-button:hover {
    background: #527ff0;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
            0 10px 25px rgba(63, 111, 232, 0.30);
}


.da-featured-magazine-button:hover i {
    transform: translate(2px, -2px);
}


/* =========================================================
   Loading
   ========================================================= */

.da-featured-magazine-card.is-loading
.da-featured-magazine-cover-frame {
    animation: daMagazinePulse 1.5s ease-in-out infinite;
}


@keyframes daMagazinePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}


/* =========================================================
   ERROR STATE
   ========================================================= */

.da-featured-magazine-card.is-error {
    min-height: 220px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;
}


.da-featured-magazine-error {
    position: relative;

    z-index: 3;

    color: rgba(255,255,255,0.75);

    font-size: 15px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .da-featured-magazine-section {
        padding: 50px 0;
    }

    .da-featured-magazine-card {
        grid-template-columns: 230px 1fr;

        gap: 40px;

        padding: 35px;
    }

    .da-featured-magazine-cover-frame {
        width: 215px;
        height: 290px;
    }

    .da-featured-magazine-content h2 {
        font-size: 38px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .da-featured-magazine-section {
        padding: 35px 0;
    }

    .da-featured-magazine-card {
        display: flex;

        flex-direction: column;

        gap: 30px;

        padding: 32px 24px;

        text-align: left;
    }


    .da-featured-magazine-cover-area {
        width: 100%;
    }


    .da-featured-magazine-cover-frame {
        width: 210px;
        height: 280px;
    }


    .da-featured-magazine-content {
        width: 100%;
    }


    .da-featured-magazine-content h2 {
        font-size: 34px;
    }


    .da-featured-magazine-description {
        font-size: 14px;

        line-height: 1.7;
    }


    .da-featured-magazine-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .da-featured-magazine-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .da-featured-magazine-card {
        padding: 26px 19px;
    }

    .da-featured-magazine-cover-frame {
        width: 190px;
        height: 255px;
    }

    .da-featured-magazine-content h2 {
        font-size: 30px;
    }

    .da-featured-magazine-eyebrow {
        font-size: 11px;

        letter-spacing: 2px;
    }

}