@font-face {
    font-family: 'Material Icons Outlined';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/material-icons-outlined.woff2') format('woff2');
}

.material-icons-outlined,
.material-symbols-outlined {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.catalog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
    line-height: 1;
    flex-shrink: 0;
    color: inherit;
    vertical-align: middle;
}

.catalog-icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

.catalog-icon.size-big,
.catalog-icon.size-large,
.catalog-icon.size-medium {
    width: 1.4em;
    height: 1.4em;
}

.catalog-lead {
    margin: 0.4em 0 1.2em;
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}

.catalog-empty {
    margin: auto;
    text-align: center;
}

.catalog-empty p {
    font-size: 1rem;
}

.catalog-filter-submit {
    max-width: calc(100% - 40px);
    background-color: #0084ff;
    color: #ffffff;
    border: 1px solid #0084ff;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
}

.catalog-file-card,
.catalog-blog-card,
.catalog-resaneh-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.catalog-related-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 1px solid rgb(206, 206, 206);
    border-radius: 1em;
    padding: 0.5em 1em;
}

.catalog-blog-filter {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    max-width: 18em;
}

.catalog-blog-filter select {
    min-height: 44px;
}

.catalog-detail {
    max-width: 62.5em;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.catalog-crumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35em 0.15em;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.85rem;
    color: #555;
}

.catalog-crumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

.catalog-crumb li:not(:last-child)::after {
    content: "/";
    color: #999;
    padding-inline-start: 0.2em;
}

.catalog-crumb a {
    color: #0084ff;
    text-decoration: none;
}

.catalog-crumb a:hover,
.catalog-crumb a:focus {
    text-decoration: underline;
}

.catalog-detail-title {
    margin: 1.4rem 0 0.6rem;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #111;
}

.catalog-detail .catalog-detail-title {
    text-align: start;
}

.catalog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
    margin: 0 0 1rem;
}

.catalog-detail .catalog-chips {
    justify-content: flex-start;
}

.catalog-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    min-height: 32px;
    padding: 0.2em 0.7em;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
    color: #333;
}

.catalog-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.catalog-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.catalog-lead-block {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}

.catalog-download-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.2rem;
}

.catalog-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 44px;
    padding: 0.6em 1.1em;
    border-radius: 12px;
    background: #0084ff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #0084ff;
}

.catalog-download-btn:hover,
.catalog-download-btn:focus {
    color: #fff;
    filter: brightness(0.95);
}

.catalog-download-btn:focus {
    outline: 2px solid #0084ff;
    outline-offset: 2px;
}

.catalog-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #555;
}

.catalog-meta-line span {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}

.catalog-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    min-height: 32px;
    padding: 0.15em 0.7em;
    border-radius: 999px;
    background: #eef8f1;
    color: #1a7a3a;
    font-size: 0.85rem;
}

.catalog-pager {
    display: flex;
    gap: 0.6rem;
    margin: 1.2rem 0;
}

.catalog-pager a,
.catalog-pager span {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5em 0.8em;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #0084ff;
    background: #fff;
    text-align: center;
}

.catalog-pager span {
    color: #999;
}

.catalog-section-title {
    display: flex;
    align-items: center;
    gap: 0.4em;
    margin: 1.4rem 0 0.7rem;
    font-size: 1rem;
    color: #111;
}

.catalog-related-files {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0 0 1.2rem;
}

.catalog-related-files .box-suggestion,
.catalog-related-files .catalog-file-suggestion {
    width: 100%;
    margin-bottom: 0;
    min-height: 72px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.1rem;
}

.catalog-related-files .banner-box {
    width: 5rem;
    flex: 0 0 5rem;
    padding: 0;
}

.catalog-related-files .banner-box img {
    width: 5rem;
    height: auto;
    display: block;
}

.catalog-related-files .content-suggestion {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-related-files .content-suggestion > h5 {
    text-align: start;
    margin: 0 0 0.25rem;
}

.catalog-related-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}

.catalog-related-list a {
    display: block;
    padding: 0.55em 0.8em;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #0084ff;
    text-decoration: none;
}

.catalog-related-list a[aria-current="page"] {
    border-color: #0084ff;
    background: #f4f8ff;
    font-weight: 600;
}

.catalog-next-cards {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0 0 1.2rem;
}

.catalog-next-cards a {
    display: block;
    padding: 0.7em 1em;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgb(206, 206, 206);
    background: #fff;
    color: #111;
    text-decoration: none;
}

.catalog-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 1.5rem 0 0;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.catalog-cta p {
    margin: 0;
    flex: 1 1 14rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

.catalog-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5em 1.1em;
    border-radius: 12px;
    background: #0084ff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    flex: 0 0 auto;
}

.catalog-cta-btn:hover,
.catalog-cta-btn:focus {
    color: #fff;
}

.catalog-cta-btn:focus,
.catalog-pager a:focus,
.catalog-related-list a:focus,
.catalog-next-cards a:focus {
    outline: 2px solid #0084ff;
    outline-offset: 2px;
}

.catalog-detail .content_webview {
    width: 100%;
}

.catalog-file-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    max-width: 28rem;
    margin: 0 auto 1.4rem;
}

.catalog-file-hero img {
    width: 6rem;
    height: auto;
    border-radius: 10px;
}

.catalog-file-hero-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.catalog-file-hero .catalog-meta-line {
    justify-content: center;
    margin-bottom: 0.85rem;
}

.catalog-file-hero .catalog-download-row {
    width: 100%;
    margin-bottom: 0;
}

.catalog-file-hero .catalog-download-btn {
    width: auto;
    min-width: 13rem;
    padding-inline: 1.8rem;
}

.catalog-detail .catalog-lead-block {
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
}

.catalog-detail .catalog-section-title,
.catalog-detail .title-suggestion {
    justify-content: center;
}

@media (max-width: 640px) {
    .catalog-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-file-hero .catalog-download-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-download-btn,
    .catalog-cta-btn {
        transition: none;
    }
}
