/* Application notes resource browser */
.application-notes-breadcrumb-current {
    color: #222;
    font-weight: 500;
}

.application-notes-section {
    padding-top: 48px;
}

.application-notes-content {
    width: 100%;
}

.application-notes-search {
    position: relative;
    margin-bottom: 32px;
}

.application-notes-search__icon {
    position: absolute;
    top: 50%;
    left: 22px;
    color: #718096;
    font-size: 23px;
    transform: translateY(-50%);
    pointer-events: none;
}

.application-notes-search__input {
    width: 100%;
    min-height: 62px;
    padding: 15px 20px 15px 60px;
    border: 1px solid #d7dee8;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #0b1f3a;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(11, 31, 58, .04);
}

.application-notes-search__input:focus {
    border-color: #1684f8;
    box-shadow: 0 0 0 3px rgba(22, 132, 248, .12);
}

.application-notes-tabs {
    display: flex;
    align-items: stretch;
    margin-bottom: 30px;
    padding: 0;
    overflow-x: auto;
    border-radius: 6px;
    background: #f5f7fa;
    scrollbar-width: thin;
}

.application-notes-tab {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 12px 35px;
    border: 0;
    border-right: 1px solid #dce2ea;
    background: transparent;
    color: #0b1f3a;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.application-notes-tab:last-child {
    border-right: 0;
}

.application-notes-tab:hover,
.application-notes-tab:focus-visible {
    color: #087ef5;
}

.application-notes-tab.is-active {
    border-right-color: #087ef5;
    border-radius: 6px;
    background: #087ef5;
    color: #fff;
}

.app-note-item {
    margin-bottom: 30px;
    border: 1px solid #dfe5ed;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(11, 31, 58, .03);
}

.app-note-link {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 32px;
    gap: 24px;
    align-items: start;
    padding: 30px 22px;
    color: inherit;
    text-decoration: none;
}

.app-note-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #edf6ff;
    color: #087ef5;
    font-size: 28px;
}

.app-note-title {
    margin: 3px 0 10px;
    color: #0b1f3a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.resource-category-badge {
    display: inline-flex;
    min-width: 29px;
    min-height: 21px;
    margin-left: 9px;
    padding: 2px 6px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

.resource-category-badge--application-note {
    background: #e7f2ff;
    color: #087ef5;
}

.resource-category-badge--user-manual {
    background: #fff0dc;
    color: #c66a00;
}

.app-note-date {
    margin-bottom: 14px;
    color: #7b8798;
    font-size: 14px;
}

.app-note-summary {
    margin: 0;
    color: #637083;
    font-size: 15px;
    line-height: 1.75;
}

.app-note-arrow {
    align-self: center;
    color: #087ef5;
    font-size: 29px;
    line-height: 1;
    transition: transform .2s ease;
}

.app-note-link:hover .app-note-arrow,
.app-note-link:focus-visible .app-note-arrow {
    transform: translateX(4px);
}

.application-notes-empty {
    display: none;
    padding: 30px 0;
    color: #637083;
    font-size: 16px;
}

@media (max-width: 767px) {
    .application-notes-section {
        padding-top: 32px;
    }

    .application-notes-search {
        margin-bottom: 22px;
    }

    .application-notes-search__input {
        min-height: 54px;
        padding-left: 50px;
    }

    .application-notes-search__icon {
        left: 18px;
        font-size: 20px;
    }

    .application-notes-tabs {
        margin-right: -12px;
        margin-bottom: 22px;
        border-radius: 5px 0 0 5px;
    }

    .application-notes-tab {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .app-note-link {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 15px;
        padding: 22px 16px;
    }

    .app-note-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .app-note-title {
        margin-top: 0;
        font-size: 20px;
    }

    .app-note-summary {
        font-size: 14px;
        line-height: 1.65;
    }

    .app-note-arrow {
        display: none;
    }
}

/* AWGN application note article */
.awgn-article-section {
    padding-top: 45px;
}

.resources-intro-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.resources-back-link {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 16px;
    align-items: center;
    gap: 8px;
    border: 1px solid #087ef5;
    border-radius: 5px;
    background: #087ef5;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.resources-back-link:hover,
.resources-back-link:focus-visible {
    border-color: #066fd8;
    background: #066fd8;
    color: #fff;
    transform: translateY(-1px);
}

.resources-page .formula {
    font-size: 1.05em;
}

.fraction {
    display: inline-flex;
    margin: 0 .25em;
    flex-direction: column;
    vertical-align: middle;
    text-align: center;
    line-height: 1.2;
}

.fraction > span:first-child {
    padding: 0 .3em .15em;
    border-bottom: 1px solid currentColor;
}

.fraction > span:last-child {
    padding: .15em .3em 0;
}

.awgn-article-section .story-text h3,
.awgn-article-section .story-text h4 {
    margin-top: 2rem;
}

.awgn-article-section .story-title {
    font-size: 32px;
}

.resources-page .resource-image-slot {
    display: block;
    position: relative;
    width: 100%;
    min-height: 260px;
    margin: 30px 0 36px;
    padding: 12px;
    overflow: hidden;
    border: 2px dashed #bdbdbd;
    background: #f7f7f7;
    clear: both;
    text-align: center;
}

.resources-page .resource-image-slot.resource-cover {
    min-height: 420px;
    margin: 10px 0 36px;
}

.resources-page .resource-image-slot img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 760px;
    margin: 0 auto;
    object-fit: contain;
}

.resources-page .resource-image-slot img.image-missing {
    display: none;
}

.resources-page .resources-separator {
    margin: 30px 0 25px;
    border: 0;
    border-top: 1px solid #ddd;
}

@media (max-width: 767px) {
    .awgn-article-section {
        padding-top: 30px;
    }

    .resources-intro-actions {
        margin-bottom: 12px;
    }

    .resources-back-link {
        width: 100%;
        justify-content: center;
    }

    .resources-page .resource-image-slot {
        min-height: 180px;
        margin: 24px 0 30px;
        padding: 8px;
    }

    .resources-page .resource-image-slot.resource-cover {
        min-height: 260px;
    }
}
