.dut-navigation-buttons {
    padding: 20px;
}

.dut-nav-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dut-nav-button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

    .dut-nav-button i {
        margin-right: 5px;
    }

/* Base skeleton wrapper */
.dut-skeleton-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: linear-gradient( to right, #eef1f5 20%, #e6e9f0 40%, #e6e9f0 60%, #eef1f5 80% );
    background-size: 200% 100%;
    animation: dut-skeleton-wave 1.6s linear infinite;
}

/* Enhanced gradient animation */
@keyframes dut-skeleton-wave {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: -100% 50%;
    }
}

/* Faculty newsletters archive
   Band is 100% of the Elementor container; titles/logo/body stay on a 1140px column. */
.elementor-widget-dut_faculty_newsletters,
.elementor-widget-dut_faculty_newsletters > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

.elementor-widget-dut_faculty_newsletters > .elementor-widget-container {
    padding-left: 0;
    padding-right: 0;
}

.dut-faculty-newsletters,
.dut-fn-body,
.dut-fn-grid,
.elementor-widget-dut_faculty_newsletters,
.elementor-widget-dut_faculty_newsletters > .elementor-widget-container {
    overflow: visible !important;
}

.dut-faculty-newsletters {
    width: 100%;
    max-width: 100%;
}

.dut-fn-band {
    position: relative;
    width: 100%;
    min-height: 120px;
    overflow: visible;
    background-color: #e8e8e8;
}

.dut-fn-band-inner {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px 24px 42px;
    min-height: 120px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.dut-fn-band-copy,
.dut-fn-logos,
.dut-fn-band-strip,
.dut-fn-latest-heading,
.dut-fn-grid-heading {
    opacity: 0;
    visibility: hidden;
}

.dut-faculty-newsletters.is-ready .dut-fn-band-copy,
.dut-faculty-newsletters.is-ready .dut-fn-logos,
.dut-faculty-newsletters.is-ready .dut-fn-band-strip,
.dut-faculty-newsletters.is-ready .dut-fn-latest-heading,
.dut-faculty-newsletters.is-ready .dut-fn-grid-heading {
    opacity: 1;
    visibility: visible;
}

.dut-fn-band-copy {
    position: relative;
    z-index: 3;
    max-width: calc(100% - 340px);
    padding-top: 8px;
    padding-right: 16px;
    color: #fff;
}

.dut-fn-faculty-name {
    margin: 0;
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
}

.dut-fn-page-title {
    margin: 0;
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.dut-fn-arrow-pattern {
    display: none !important;
}

.dut-fn-logos {
    position: absolute;
    right: 24px;
    bottom: -36px;
    display: flex;
    align-items: stretch;
    height: 148px;
    z-index: 4;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.dut-fn-dut-logo,
.dut-fn-logo {
    height: 100%;
    width: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    padding: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}

.dut-fn-dut-logo {
    object-fit: contain;
    background: transparent;
}

.dut-fn-band-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 100%;
    z-index: 1;
    pointer-events: none;
}

.dut-fn-body {
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 88px 24px 72px;
}

.dut-fn-section-title {
    text-align: center;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 400;
    color: #9aa0a6;
    margin: 0 0 24px;
}

.dut-fn-viewer {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 56px;
    overflow: hidden;
}

.dut-fn-viewer ._df_book,
.dut-fn-viewer .df-container {
    min-height: 480px;
    width: 100%;
    max-width: 100%;
}

.dut-fn-empty,
.dut-fn-error {
    text-align: center;
    color: #6b7280;
    padding: 40px 16px;
}

.dut-fn-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 20px;
    padding: 12px 4px 24px;
}

.dut-fn-card {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer !important;
    text-align: center;
    color: inherit;
    font: inherit;
    width: 100%;
    text-decoration: none;
    display: block;
    pointer-events: auto;
    opacity: 1;
    transform: none;
}

.dut-fn-card.is-inview {
    opacity: 1;
    animation: dut-fn-fade-in-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--dut-fn-i, 0) * 80ms);
}

.dut-fn-card.is-shown {
    opacity: 1;
    transform: none;
    animation: none;
}

@keyframes dut-fn-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dut-fn-card,
.dut-fn-card * {
    cursor: pointer !important;
}

.dut-fn-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.dut-fn-card.is-active .dut-fn-cover-wrap {
    outline: 3px solid var(--dut-fn-secondary-color, #333333);
    outline-offset: 4px;
}

.dut-fn-cover-wrap {
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    background: #e8e8e8;
}

.dut-fn-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    box-shadow: none;
    background: #e8e8e8;
}

.dut-fn-card:hover {
    z-index: 2;
}

.dut-fn-card:hover .dut-fn-cover-wrap {
    transform: translateY(-10px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
}

.dut-fn-cover-fallback {
    background: linear-gradient(160deg, var(--dut-fn-faculty-color, #1b7a4e) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.dut-fn-card-title {
    display: block;
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #4b5563;
}

.dut-faculty-newsletters-view-all {
    display: inline-block;
    margin: 16px 0 24px;
    padding: 16px 36px;
    background-color: var(--dut-fn-faculty-color, #1b7a4e);
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    border-radius: 4px;
    border: 0;
    cursor: pointer;
}

.dut-faculty-newsletters-view-all:hover,
.dut-faculty-newsletters-view-all:focus {
    color: #fff !important;
    opacity: 0.92;
    text-decoration: none !important;
}

@media (max-width: 1024px) {
    .dut-fn-band,
    .dut-fn-band-inner {
        min-height: 100px;
    }

    .dut-fn-band-inner {
        padding: 20px 20px 36px;
    }

    .dut-fn-band-copy {
        max-width: calc(100% - 260px);
    }

    .dut-fn-logos {
        height: 112px;
        right: 20px;
        bottom: -24px;
    }

    .dut-fn-body {
        padding: 72px 20px 56px;
    }

    .dut-fn-viewer {
        margin-bottom: 40px;
    }

    .dut-fn-viewer ._df_book,
    .dut-fn-viewer .df-container {
        min-height: 380px;
    }

    .dut-fn-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .dut-fn-page-title {
        font-size: 44px;
    }

    .dut-fn-card-title {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .dut-fn-band,
    .dut-fn-band-inner {
        min-height: 84px;
    }

    .dut-fn-band-inner {
        padding: 18px 16px 32px;
        align-items: flex-start;
    }

    .dut-fn-band-copy {
        max-width: calc(100% - 188px);
        padding-right: 12px;
    }

    .dut-fn-logos {
        height: 80px;
        right: 16px;
        bottom: -16px;
    }

    .dut-fn-band-strip {
        height: 42px;
    }

    .dut-fn-body {
        padding: 44px 16px 48px;
    }

    .dut-fn-page-title {
        font-size: 34px;
    }

    .dut-fn-section-title {
        margin-bottom: 16px;
    }

    .dut-fn-viewer {
        margin-bottom: 32px;
    }

    .dut-fn-viewer ._df_book,
    .dut-fn-viewer .df-container {
        min-height: 280px;
    }

    .dut-fn-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .dut-fn-card-title {
        font-size: 12px;
        margin-top: 8px;
    }

    .dut-fn-card.is-active .dut-fn-cover-wrap {
        outline: 3px solid var(--dut-fn-secondary-color, #333333);
        outline-offset: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dut-fn-card,
    .dut-fn-card.is-inview,
    .dut-fn-card.is-shown {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (max-width: 420px) {
    .dut-fn-page-title {
        font-size: 28px;
    }

    .dut-fn-band-copy {
        max-width: calc(100% - 156px);
    }

    .dut-fn-logos {
        height: 68px;
        right: 12px;
        bottom: -12px;
    }

    .dut-fn-grid {
        gap: 14px 10px;
    }
}