/* from themes/basic/literatureApp/book_index.html */
.awgp-literature-hub {
            --awgp-saffron: #b94114;
            --awgp-saffron-dark: #8e2d0d;
            --awgp-gold: #d89d2b;
            --awgp-cream: #fffaf2;
            --awgp-paper: #ffffff;
            --awgp-ink: #2b251f;
            --awgp-muted: #74685e;
            --awgp-border: #ebdfd2;
            --awgp-shadow: 0 12px 32px rgba(68, 41, 19, 0.09);

            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 100% 0%, rgba(216, 157, 43, 0.13), transparent 31%),
                linear-gradient(180deg, #fffdf9 0%, var(--awgp-cream) 100%);
            color: var(--awgp-ink);
        }
.awgp-literature-hub *,
.awgp-literature-hub *::before,
.awgp-literature-hub *::after {
            box-sizing: border-box;
        }
.awgp-literature-hub a {
            transition:
                color 0.2s ease,
                border-color 0.2s ease,
                background-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
        }
.awgp-literature-hub .awgp-ad-slot {
            margin-bottom: 25px;
        }
.awgp-literature-hub .awgp-search-wrap {
            margin-bottom: 28px;
            padding: 20px;
            border: 1px solid rgba(185, 65, 20, 0.14);
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 8px 24px rgba(68, 41, 19, 0.05);
        }
.awgp-literature-hub .awgp-hero {
            position: relative;
            overflow: hidden;
            margin-bottom: 32px;
            padding: 34px;
            border: 1px solid rgba(185, 65, 20, 0.16);
            border-radius: 18px;
            background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.98),
                rgba(255, 242, 220, 0.98)
            );
            box-shadow: 0 10px 28px rgba(68, 41, 19, 0.07);
        }
.awgp-literature-hub .awgp-hero::before {
            position: absolute;
            right: -35px;
            bottom: -85px;
            width: 245px;
            height: 245px;
            border: 32px solid rgba(216, 157, 43, 0.11);
            border-radius: 50%;
            content: "";
        }
.awgp-literature-hub .awgp-hero-content {
            position: relative;
            z-index: 1;
            max-width: 720px;
        }
.awgp-literature-hub .awgp-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            color: var(--awgp-saffron);
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.09em;
            text-transform: uppercase;
        }
.awgp-literature-hub .awgp-eyebrow::before {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--awgp-gold);
            content: "";
        }
.awgp-literature-hub .awgp-hero h1,
.awgp-literature-hub .awgp-hero h2 {
            margin: 0;
            color: var(--awgp-ink);
            font-size: clamp(1.75rem, 3vw, 2.45rem);
            font-weight: 700;
            line-height: 1.22;
        }
.awgp-literature-hub .awgp-hero p {
            max-width: 680px;
            margin: 12px 0 0;
            color: var(--awgp-muted);
            font-size: 1rem;
            line-height: 1.75;
        }
.awgp-literature-hub .awgp-content-card {
            padding: 28px;
            border: 1px solid var(--awgp-border);
            border-radius: 18px;
            background: var(--awgp-paper);
            box-shadow: var(--awgp-shadow);
        }
.awgp-literature-hub .awgp-section-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin: 0 0 24px;
        }
.awgp-literature-hub .awgp-section-heading h2 {
            margin: 0;
            color: var(--awgp-ink);
            font-size: 1.35rem;
            font-weight: 700;
        }
.awgp-literature-hub .awgp-section-heading p {
            margin: 4px 0 0;
            color: var(--awgp-muted);
            font-size: 0.9rem;
        }
.awgp-literature-hub .awgp-heading-line {
            width: 60px;
            height: 3px;
            margin-top: 10px;
            border-radius: 99px;
            background: linear-gradient(
                90deg,
                var(--awgp-saffron),
                var(--awgp-gold)
            );
        }
.awgp-literature-hub .awgp-grid-item {
            margin-bottom: 32px;
        }
.awgp-literature-hub .awgp-category-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow: hidden;
            border: 1px solid var(--awgp-border);
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 5px 17px rgba(68, 41, 19, 0.055);
        }
.awgp-literature-hub .awgp-category-card:hover {
            border-color: rgba(185, 65, 20, 0.42);
            box-shadow: 0 13px 28px rgba(68, 41, 19, 0.13);
            transform: translateY(-4px);
        }
.awgp-literature-hub .awgp-category-image-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 178px;
            padding: 18px;
            border-bottom: 1px solid #f2e8dc;
            background:
                linear-gradient(
                    145deg,
                    rgba(216, 157, 43, 0.13),
                    rgba(185, 65, 20, 0.035)
                ),
                #fffaf4;
        }
.awgp-literature-hub .awgp-category-image {
            width: auto;
            max-width: 100%;
            max-height: 138px;
            border-radius: 8px;
            box-shadow: 0 7px 15px rgba(49, 28, 14, 0.13);
            object-fit: contain;
        }
.awgp-literature-hub .awgp-category-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 125px;
            height: 125px;
            border: 1px dashed #cfbba7;
            border-radius: 50%;
            background: #fff;
            color: #9a8878;
            font-size: 0.78rem;
            text-align: center;
        }
.awgp-literature-hub .awgp-category-content {
            display: flex;
            flex: 1;
            flex-direction: column;
            padding: 17px;
            text-align: center;
        }
.awgp-literature-hub .awgp-category-name {
            margin: 0 0 9px;
            color: var(--awgp-ink);
            font-size: 1.05rem;
            font-weight: 700;
            line-height: 1.4;
        }
.awgp-literature-hub .awgp-category-name a {
            color: inherit;
            text-decoration: none;
        }
.awgp-literature-hub .awgp-category-name a:hover {
            color: var(--awgp-saffron);
        }
.awgp-literature-hub .awgp-category-stats {
            margin: 0;
            color: var(--awgp-muted);
            font-size: 0.84rem;
            line-height: 1.65;
        }
.awgp-literature-hub .awgp-category-stats strong {
            color: var(--awgp-saffron);
            font-weight: 700;
        }
.awgp-literature-hub .awgp-category-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: auto;
            padding-top: 14px;
            color: var(--awgp-saffron);
            font-size: 0.84rem;
            font-weight: 700;
            text-decoration: none;
        }
.awgp-literature-hub .awgp-category-link::after {
            content: "→";
            font-size: 1rem;
        }
.awgp-literature-hub .awgp-category-link:hover {
            color: var(--awgp-saffron-dark);
            text-decoration: none;
            transform: translateX(3px);
        }
.awgp-literature-hub .awgp-book-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            overflow: hidden;
            border: 1px solid var(--awgp-border);
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 5px 17px rgba(68, 41, 19, 0.055);
        }
.awgp-literature-hub .awgp-book-card:hover {
            border-color: rgba(185, 65, 20, 0.44);
            box-shadow: 0 13px 28px rgba(68, 41, 19, 0.13);
            transform: translateY(-4px);
        }
.awgp-literature-hub .awgp-book-cover-area {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 202px;
            padding: 20px;
            border-bottom: 1px solid #f2e8dc;
            background:
                linear-gradient(
                    145deg,
                    rgba(216, 157, 43, 0.12),
                    rgba(185, 65, 20, 0.04)
                ),
                #fffaf4;
        }
.awgp-literature-hub .awgp-book-cover {
            display: block;
            width: auto;
            max-width: 100%;
            height: 155px;
            border-radius: 5px;
            box-shadow: 0 8px 18px rgba(49, 28, 14, 0.18);
            object-fit: contain;
        }
.awgp-literature-hub .awgp-book-cover-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 110px;
            height: 155px;
            border: 1px dashed #cfbba7;
            border-radius: 5px;
            background: #fff;
            color: #9a8878;
            font-size: 0.76rem;
            text-align: center;
        }
.awgp-literature-hub .awgp-book-content {
            display: flex;
            flex: 1;
            flex-direction: column;
            padding: 17px;
        }
.awgp-literature-hub .awgp-book-type {
            display: inline-flex;
            align-self: flex-start;
            margin-bottom: 9px;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(185, 65, 20, 0.10);
            color: var(--awgp-saffron);
            font-size: 0.71rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }
.awgp-literature-hub .awgp-book-title {
            margin: 0;
            color: var(--awgp-ink);
            font-size: 1.03rem;
            font-weight: 700;
            line-height: 1.45;
        }
.awgp-literature-hub .awgp-book-title a {
            color: inherit;
            text-decoration: none;
        }
.awgp-literature-hub .awgp-book-title a:hover {
            color: var(--awgp-saffron);
        }
.awgp-literature-hub .awgp-book-excerpt {
            display: -webkit-box;
            overflow: hidden;
            margin: 10px 0 0;
            color: #6d6158;
            font-size: 0.86rem;
            line-height: 1.62;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }
.awgp-literature-hub .awgp-book-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-top: auto;
            padding-top: 14px;
        }
.awgp-literature-hub .awgp-reference {
            overflow: hidden;
            color: #9b8b7e;
            font-size: 0.72rem;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
.awgp-literature-hub .awgp-view-book {
            display: inline-flex;
            flex: 0 0 auto;
            align-items: center;
            gap: 5px;
            color: var(--awgp-saffron);
            font-size: 0.82rem;
            font-weight: 700;
            text-decoration: none;
        }
.awgp-literature-hub .awgp-view-book::after {
            content: "→";
            font-size: 1rem;
        }
.awgp-literature-hub .awgp-view-book:hover {
            color: var(--awgp-saffron-dark);
            text-decoration: none;
            transform: translateX(3px);
        }
.awgp-literature-hub .awgp-results-wrap {
            overflow: hidden;
            border: 1px solid var(--awgp-border);
            border-radius: 18px;
            background: #fff;
            box-shadow: var(--awgp-shadow);
        }
.awgp-literature-hub .awgp-results-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 22px 26px;
            border-bottom: 1px solid var(--awgp-border);
            background: linear-gradient(90deg, #fff8ed, #fffdf9);
        }
.awgp-literature-hub .awgp-results-head h1,
.awgp-literature-hub .awgp-results-head h2 {
            margin: 0;
            color: var(--awgp-ink);
            font-size: 1.38rem;
            font-weight: 700;
        }
.awgp-literature-hub .awgp-results-query {
            display: inline-flex;
            align-items: center;
            max-width: 48%;
            overflow: hidden;
            padding: 7px 11px;
            border: 1px solid rgba(185, 65, 20, 0.17);
            border-radius: 999px;
            background: rgba(185, 65, 20, 0.07);
            color: var(--awgp-saffron);
            font-size: 0.83rem;
            font-weight: 700;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
.awgp-literature-hub .awgp-results-body {
            padding: 24px;
        }
.awgp-literature-hub .awgp-results-body .newsView1 {
            width: 100%;
            padding: 0;
        }
.awgp-literature-hub .awgp-results-body .newsImage {
            max-width: 100%;
            border: 1px solid var(--awgp-border);
            border-radius: 6px;
        }
.awgp-literature-hub .awgp-empty-state {
            padding: 42px 25px;
            border: 1px dashed #d5c0ab;
            border-radius: 14px;
            background: #fffdf9;
            color: var(--awgp-muted);
            text-align: center;
        }
.awgp-literature-hub .awgp-empty-state h3 {
            margin: 0 0 8px;
            color: var(--awgp-ink);
            font-size: 1.18rem;
        }
.awgp-literature-hub .awgp-empty-state p {
            margin: 0;
            line-height: 1.65;
        }
@media (max-width: 767px) {
.awgp-literature-hub .awgp-hero {
                padding: 25px 20px;
            }
.awgp-literature-hub .awgp-content-card {
                padding: 20px 16px;
                border-radius: 14px;
            }
.awgp-literature-hub .awgp-grid-item {
                margin-bottom: 24px;
            }
.awgp-literature-hub .awgp-results-head {
                align-items: flex-start;
                flex-direction: column;
                padding: 18px;
            }
.awgp-literature-hub .awgp-results-query {
                max-width: 100%;
            }
.awgp-literature-hub .awgp-results-body {
                padding: 18px;
            }
}
@media (max-width: 420px) {
.awgp-literature-hub .awgp-book-footer {
                align-items: flex-start;
                flex-direction: column;
            }
}
.awgp-literature-hub .awgp-category-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    text-align: center;
}
.awgp-literature-hub .awgp-category-meta-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 31px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid rgba(185, 65, 20, 0.16);
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(255, 248, 238, 1),
        rgba(255, 236, 207, 0.9)
    );
    box-shadow: 0 3px 8px rgba(109, 57, 18, 0.06);
    font-size: 0.77rem;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.awgp-literature-hub .awgp-category-meta-row:hover {
    box-shadow: 0 6px 14px rgba(109, 57, 18, 0.12);
    transform: translateY(-2px);
}
.awgp-literature-hub .awgp-category-meta-label {
    color: var(--awgp-muted);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
.awgp-literature-hub .awgp-category-meta-value {
    max-width: 115px;
    overflow: hidden;
    color: var(--awgp-saffron);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.awgp-literature-hub .awgp-category-meta-row:first-child {
    border-color: rgba(185, 65, 20, 0.28);
    background: linear-gradient(
        135deg,
        rgba(185, 65, 20, 0.12),
        rgba(216, 157, 43, 0.18)
    );
}
.awgp-literature-hub .awgp-category-meta-row:first-child .awgp-category-meta-label,
.awgp-literature-hub .awgp-category-meta-row:first-child .awgp-category-meta-value {
    color: var(--awgp-saffron-dark);
}
.awgp-literature-hub .awgp-language-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
}
.awgp-literature-hub .awgp-language-tag {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 10px;
    border: 1px solid rgba(216, 157, 43, 0.30);
    border-radius: 999px;
    background: rgba(216, 157, 43, 0.12);
    color: #81570e;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.awgp-literature-hub .awgp-language-tag:hover {
    background: var(--awgp-gold);
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 420px) {
.awgp-literature-hub .awgp-category-meta {
        gap: 6px;
    }
.awgp-literature-hub .awgp-category-meta-row {
        padding: 6px 9px;
        font-size: 0.73rem;
    }
.awgp-literature-hub .awgp-category-meta-value {
        max-width: 90px;
    }
}
