/**
 * Twenty Twenty-Five Bridge Theme - Magazine & Paywall Stylesheet v1.1.0
 */

/* ==========================================================================
   1. Single Issue & Table of Contents (TOC) View
   ========================================================================== */
.bridge-issue-main-wrap {
    max-width: 1140px;
    margin: 30px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.bridge-issue-container {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bridge-issue-hero {
    display: flex;
    gap: 36px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    align-items: center;
    margin-bottom: 36px;
}

.bridge-issue-cover-wrap {
    flex-shrink: 0;
    width: 220px;
}

.bridge-issue-cover {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: block;
}

.bridge-issue-meta-wrap {
    flex: 1;
}

.bridge-issue-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.bridge-issue-badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid #bfdbfe;
}

.bridge-bookshelf-link {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 5px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}
.bridge-bookshelf-link:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.bridge-issue-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.bridge-issue-sub-title {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.bridge-issue-pricing-bar {
    display: flex;
    gap: 24px;
    padding: 14px 20px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 22px;
    border: 1px solid #e2e8f0;
}

.bridge-price-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.bridge-price-item .label {
    font-size: 13px;
    color: #64748b;
}

.bridge-price-item .val {
    font-size: 22px;
    font-weight: 800;
    color: #e11d48;
}

.bridge-price-item .val.secondary {
    color: #0284c7;
}

.bridge-issue-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bridge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.bridge-btn-primary {
    background: #2563eb;
    color: #ffffff;
}
.bridge-btn-primary:hover {
    background: #1d4ed8;
}

.bridge-btn-outline {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.bridge-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.bridge-vip-hint {
    font-size: 13px;
    color: #b45309;
    font-weight: 500;
    margin-left: 6px;
}

/* Table of Contents List */
.bridge-issue-toc-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bridge-toc-header {
    margin-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 16px;
}

.bridge-toc-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.bridge-toc-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.bridge-toc-group {
    margin-bottom: 28px;
}

.bridge-toc-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 10px 16px;
    border-left: 4px solid #2563eb;
    border-radius: 0 6px 6px 0;
    margin-bottom: 12px;
}

.bridge-toc-group-title h3 {
    margin: 0;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #0f172a;
}

.bridge-toc-group-title .count {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.bridge-toc-list {
    display: flex;
    flex-direction: column;
}

/* Article Row: Enlarged Title & Downsized Summary */
.bridge-toc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 12px;
    border-bottom: 1px solid #f1f5f9;
    gap: 24px;
    transition: background 0.15s ease;
    border-radius: 6px;
}

.bridge-toc-item:hover {
    background: #f8fafc;
}

.bridge-toc-item-main {
    flex: 1;
    min-width: 0;
}

/* Prominent Article Title */
.bridge-toc-article-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.45;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.bridge-toc-item:hover .bridge-toc-article-title {
    color: #2563eb;
}

.bridge-toc-sub-title {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin: 2px 0 6px 0;
}

.bridge-toc-eng-title {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

/* Downsized, clamped summary */
.bridge-toc-summary {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 4px 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bridge-toc-summary .summary-label {
    font-weight: 600;
    color: #475569;
    margin-right: 4px;
}

.bridge-toc-meta-line {
    font-size: 12px;
    color: #94a3b8;
}

.bridge-toc-item-side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge-free {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.badge-paid {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

.bridge-btn-read {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    transition: all 0.15s;
    white-space: nowrap;
}
.bridge-btn-read:hover {
    background: #2563eb;
    color: #ffffff;
}

/* ==========================================================================
   2. Single Article Paywall & Excerpt Truncation
   ========================================================================== */
.bridge-badge-banner {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bridge-badge-free {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.bridge-badge-unlocked {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.bridge-trial-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.bridge-trial-summary {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 18px;
}

.bridge-trial-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.bridge-trial-summary p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.bridge-trial-excerpt p {
    font-size: 15px;
    color: #334155;
    line-height: 1.8;
    margin: 0;
}

.bridge-paywall-container {
    margin-top: 10px;
}

.bridge-paywall-curtain {
    text-align: center;
    padding: 40px 20px 20px;
    margin-top: -60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 250, 252, 0.96) 50%, #f8fafc 100%);
    backdrop-filter: blur(3px);
    border-radius: 8px;
}

.bridge-paywall-curtain-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.bridge-paywall-curtain-text {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.bridge-paywall-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    margin-top: 15px;
}

.bridge-paywall-header {
    text-align: center;
    margin-bottom: 24px;
}

.bridge-paywall-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.bridge-paywall-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.bridge-paywall-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.bridge-pay-option {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    transition: all 0.2s ease;
}

.bridge-pay-option:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.bridge-pay-option.bridge-pay-featured {
    border: 2px solid #2563eb;
    background: #f8faff;
    position: relative;
}

.bridge-pay-badge {
    display: inline-block;
    align-self: center;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    margin-bottom: 10px;
}

.bridge-pay-badge.hot {
    background: #2563eb;
    color: #ffffff;
}

.bridge-pay-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.bridge-pay-price {
    font-size: 26px;
    font-weight: 800;
    color: #e11d48;
    margin-bottom: 8px;
}

.bridge-deducted-tag {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
    display: block;
}

.bridge-pay-desc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 16px;
    min-height: 32px;
}

.bridge-btn-buy {
    width: 100%;
    padding: 9px 0;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    transition: all 0.15s;
}

.bridge-btn-buy:hover {
    background: #f1f5f9;
}

.bridge-btn-buy.btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
}
.bridge-btn-buy.btn-primary:hover {
    background: #1d4ed8;
}

.bridge-paywall-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.bridge-login-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================================================
   3. Magazine Portal Page (/magazines/)
   ========================================================================== */
.bridge-portal-wrap {
    max-width: 1140px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.bridge-portal-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.bridge-magazine-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bridge-bookshelf-portal-btn {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 8px 18px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s;
}
.bridge-bookshelf-portal-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Hide redundant page title on /magazines/ */
.bridge-portal-page-title,
.page-id-215 .wp-block-post-title {
    display: none !important;
}

.bridge-magazine-tabs .bridge-tab-item {
    padding: 10px 22px;
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.bridge-magazine-tabs .bridge-tab-item:hover:not(.active) {
    background: #eff6ff;
    color: #2563eb !important;
    border-color: #bfdbfe;
}

.bridge-magazine-tabs .bridge-tab-item.active,
.bridge-magazine-tabs .bridge-tab-item.active:hover,
.bridge-magazine-tabs .bridge-tab-item.active .tab-title {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    font-weight: 700;
}

.bridge-mag-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
    padding: 28px 36px;
    color: #ffffff;
    margin-bottom: 36px;
}

.bridge-mag-banner-info h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.bridge-mag-banner-info p {
    font-size: 14px;
    color: #e0e7ff;
    margin: 0;
}

.bridge-mag-banner-subscribe {
    text-align: right;
    flex-shrink: 0;
}

.bridge-mag-banner-subscribe .price-hint {
    font-size: 14px;
    color: #fef08a;
    margin-bottom: 10px;
}

/* Shelf Grid */
.bridge-shelf-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bridge-shelf-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 24px;
}

.bridge-shelf-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.bridge-shelf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bridge-shelf-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bridge-shelf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-cover-wrap {
    position: relative;
    display: block;
    background: #f8fafc;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 6px;
    display: block;
}

.card-title:hover {
    color: #2563eb;
}

.card-sub {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.card-price {
    font-size: 16px;
    font-weight: 800;
    color: #e11d48;
}

.card-btn {
    font-size: 12.5px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================================================
   4. Front-end Reader Center (/my-magazines/)
   ========================================================================== */
.bridge-account-wrap {
    max-width: 1140px;
    margin: 30px auto 60px;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bridge-login-card {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 60px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bridge-login-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.bridge-login-card h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.bridge-login-card p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.bridge-account-header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.bridge-account-avatar img {
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

.bridge-account-info {
    flex: 1;
}

.bridge-account-info h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #0f172a;
}

.bridge-account-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
}

.bridge-vip-badge {
    background: #fef3c7;
    color: #b45309;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.bridge-admin-badge {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.bridge-normal-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.bridge-account-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.bridge-shelf-content, .bridge-orders-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.bridge-group-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.bridge-empty-hint {
    color: #94a3b8;
    text-align: center;
    padding: 30px;
    font-size: 14px;
}

.bridge-purchased-art-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bridge-purchased-art-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.bridge-purchased-art-item .art-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bridge-purchased-art-item .cat-tag {
    font-size: 12px;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 4px;
}

.bridge-purchased-art-item .art-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
}
.bridge-purchased-art-item .art-title:hover {
    color: #2563eb;
}

.bridge-purchased-art-item .art-author {
    font-size: 12px;
    color: #64748b;
}

/* Orders Table */
.bridge-order-table {
    width: 100%;
    border-collapse: collapse;
}

.bridge-order-table th, .bridge-order-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    font-size: 13.5px;
}

.bridge-order-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
}

.order-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}
.order-badge.art { background: #eff6ff; color: #1d4ed8; }
.order-badge.iss { background: #fef3c7; color: #b45309; }
.order-badge.ann { background: #f3e8ff; color: #7e22ce; }

.order-status.paid {
    color: #15803d;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .bridge-issue-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bridge-issue-cover-wrap {
        width: 160px;
    }
    .bridge-issue-pricing-bar {
        justify-content: center;
    }
    .bridge-issue-actions {
        justify-content: center;
    }
    .bridge-toc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .bridge-toc-item-side {
        width: 100%;
        justify-content: space-between;
    }
    .bridge-paywall-options {
        grid-template-columns: 1fr;
    }
    .bridge-shelf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bridge-mag-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .bridge-mag-banner-subscribe {
        text-align: center;
    }
    .bridge-portal-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .bridge-account-header {
        flex-direction: column;
        text-align: center;
    }
    .bridge-account-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Mobile Maximized Text Width & Minimized Margins for Magazine Views
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Article paywall & trial content full width */
    .bridge-trial-content {
        padding: 12px 10px !important;
        margin: 0 0 16px 0 !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .bridge-trial-summary {
        padding: 10px 12px !important;
        margin-bottom: 12px !important;
        border-radius: 4px !important;
        font-size: 13.5px !important;
        line-height: 1.65 !important;
    }

    .bridge-trial-label {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    .bridge-trial-excerpt p {
        font-size: 16px !important;
        line-height: 1.8 !important;
        letter-spacing: 0.1px !important;
        margin: 0 !important;
        text-align: justify;
    }

    .bridge-badge-banner {
        padding: 10px 12px !important;
        font-size: 13px !important;
        margin-bottom: 16px !important;
        border-radius: 6px !important;
    }

    /* 2. Paywall curtain & box */
    .bridge-paywall-curtain {
        padding: 24px 8px 14px !important;
        margin-top: -30px !important;
        border-radius: 6px !important;
    }

    .bridge-paywall-curtain-icon {
        font-size: 26px !important;
        margin-bottom: 4px !important;
    }

    .bridge-paywall-curtain-text {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }

    .bridge-paywall-box {
        padding: 16px 10px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .bridge-paywall-header h3 {
        font-size: 17px !important;
        margin-bottom: 4px !important;
    }

    .bridge-paywall-header p {
        font-size: 12px !important;
    }

    .bridge-paywall-options {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .bridge-pay-option {
        padding: 14px 12px !important;
    }

    .bridge-pay-price {
        font-size: 22px !important;
    }

    .bridge-pay-desc {
        min-height: auto !important;
        margin-bottom: 10px !important;
    }

    .bridge-paywall-footer {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
        font-size: 12px !important;
    }

    /* 3. Issue and Portal Spacing */
    .bridge-issue-container,
    .bridge-portal-wrap,
    .bridge-account-wrap {
        padding: 0 8px !important;
        margin: 15px auto 40px !important;
    }

    .bridge-issue-hero,
    .bridge-issue-toc-section,
    .bridge-shelf-section {
        padding: 16px 10px !important;
        border-radius: 8px !important;
    }

    .bridge-toc-item {
        padding: 14px 4px !important;
    }
}

/* Icon & SVG Strict Size Lock */
.bridge-emoji-icon { 
    display: inline-block !important; 
    line-height: 1 !important; 
} 
.bridge-emoji-icon img, 
.bridge-emoji-icon svg,
.bridge-paywall-container img,
.bridge-paywall-container svg { 
    max-width: 36px !important; 
    max-height: 36px !important; 
    display: inline-block !important; 
    margin: 0 auto !important; 
}
.bridge-paywall-curtain-icon,
.bridge-login-icon {
    font-size: 32px !important;
    line-height: 1 !important;
}

.bridge-paywall-curtain-icon img,
.bridge-paywall-curtain-icon svg {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

.bridge-paywall-header h3 img,
.bridge-paywall-header h3 svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    display: inline-block !important;
    vertical-align: -3px !important;
}

img.emoji, img.wp-smiley {
    width: 1.15em !important;
    height: 1.15em !important;
    max-width: 1.15em !important;
    display: inline !important;
    vertical-align: -0.15em !important;
}

/* Mobile TOC edge-to-edge full width */
@media (max-width: 768px) {
    .bridge-issue-main-wrap {
        max-width: 100% !important;
        width: 100% !important;
        margin: 10px 0 30px 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }
    .bridge-issue-container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .bridge-issue-hero {
        padding: 16px 10px !important;
        margin-bottom: 16px !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .bridge-issue-toc-section {
        padding: 16px 8px !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .bridge-toc-header {
        padding-bottom: 10px !important;
        margin-bottom: 14px !important;
    }
    .bridge-toc-header h2 {
        font-size: 20px !important;
    }
    .bridge-toc-group {
        margin-bottom: 18px !important;
    }
    .bridge-toc-group-title {
        padding: 8px 12px !important;
        margin-bottom: 6px !important;
        flex-wrap: wrap !important;
    }
    .bridge-toc-group-title h3 {
        font-size: 19px !important;
        line-height: 1.35 !important;
    }
    .bridge-toc-item {
        padding: 12px 4px !important;
        gap: 6px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .bridge-toc-article-title {
        font-size: 17.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 4px !important;
    }
    .bridge-toc-sub-title {
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        margin: 2px 0 5px 0 !important;
    }
    .bridge-toc-summary {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        margin: 4px 0 6px 0 !important;
    }
    .bridge-toc-item-side {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 6px !important;
    }
}

/* ==========================================================================
   5. Unified "我的" User Center Styles & Edge-to-Edge Mobile Adaptation
   ========================================================================== */
.bridge-account-wrap {
    max-width: 1140px;
    margin: 30px auto 60px;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bridge-account-header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    gap: 20px;
}

.bridge-user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bridge-user-avatar img {
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    width: 56px;
    height: 56px;
    display: block;
}

.bridge-user-name-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.bridge-user-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.bridge-vip-badge {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bridge-regular-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.bridge-user-sub {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bridge-meta-divider {
    color: #cbd5e1;
}

.bridge-asset-counters {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bridge-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 80px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bridge-counter-item:hover,
.bridge-counter-item.active {
    background: #eff6ff;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.bridge-counter-num {
    font-size: 20px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.2;
}

.bridge-counter-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
    white-space: nowrap;
}

/* Tabs */
.bridge-account-tabs-wrap {
    margin-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bridge-account-tabs {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.bridge-account-tabs .bridge-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bridge-account-tabs .bridge-tab-item:hover {
    color: #1a56db;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
}

.bridge-account-tabs .bridge-tab-item.active {
    color: #1a56db;
    border-bottom-color: #1a56db;
    font-weight: 700;
}

.bridge-tab-icon {
    font-size: 16px;
}

.bridge-badge-count {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
}

/* Tab Panel Container */
.bridge-tab-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.bridge-panel-head {
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.bridge-panel-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.bridge-panel-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

/* Empty State */
.bridge-empty-state {
    text-align: center;
    padding: 50px 20px;
}

.bridge-empty-icon {
    font-size: 48px;
    margin-bottom: 14px;
    line-height: 1;
}

.bridge-empty-state h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.bridge-empty-state p {
    font-size: 14px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sub Section */
.bridge-sub-section {
    margin-bottom: 24px;
}

.bridge-sub-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
}

/* Card Grid */
.bridge-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.bridge-shelf-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.bridge-shelf-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.bridge-shelf-cover {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bridge-shelf-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bridge-cover-placeholder {
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
}

.bridge-shelf-info {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bridge-shelf-badge {
    font-size: 11px;
    font-weight: 700;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 2px 6px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 8px;
}

.bridge-shelf-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.bridge-shelf-sub {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

/* Article List */
.bridge-article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bridge-article-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    gap: 14px;
}

.bridge-article-row-icon {
    font-size: 22px;
    line-height: 1;
}

.bridge-article-row-main {
    flex: 1;
}

.bridge-article-row-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
}

.bridge-article-row-title:hover {
    color: #1a56db;
}

.bridge-article-row-meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    gap: 8px;
}

/* VIP Callout */
.bridge-vip-callout {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 20px;
}

.bridge-vip-callout-icon {
    font-size: 32px;
    line-height: 1;
}

.bridge-vip-callout strong {
    font-size: 15px;
    color: #92400e;
    display: block;
    margin-bottom: 4px;
}

.bridge-vip-callout p {
    font-size: 13px;
    color: #b45309;
    margin: 0;
}

/* Orders Sub-Filter */
.bridge-orders-subfilter {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.bridge-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bridge-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.bridge-filter-pill {
    font-size: 12.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.bridge-filter-pill:hover {
    border-color: #1a56db;
    color: #1a56db;
}

.bridge-filter-pill.active {
    background: #1a56db;
    border-color: #1a56db;
    color: #ffffff;
    font-weight: 600;
}

/* Orders Table */
.bridge-orders-table-wrap {
    overflow-x: auto;
}

.bridge-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.bridge-orders-table th,
.bridge-orders-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.bridge-orders-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.bridge-ord-no {
    font-family: monospace;
    font-size: 12.5px;
    color: #334155;
}

.bridge-ord-title strong {
    font-size: 14px;
    color: #0f172a;
    display: block;
}

.bridge-ord-sub {
    font-size: 12px;
    margin-top: 3px;
}

.bridge-ord-amount {
    font-weight: 700;
    color: #0f172a;
    font-size: 14.5px;
}

.bridge-channel-tag {
    font-size: 12px;
    background: #f1f5f9;
    color: #475569;
    padding: 2px 6px;
    border-radius: 4px;
}

.bridge-status-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.bridge-status-paid {
    background: #dcfce7;
    color: #15803d;
}

.bridge-status-pending {
    background: #fef3c7;
    color: #b45309;
}

.bridge-status-refunded {
    background: #fee2e2;
    color: #b91c1c;
}

/* Mobile Edge-to-Edge Optimization */
@media (max-width: 768px) {
    .bridge-account-wrap {
        margin: 10px 0 30px 0 !important;
        padding: 0 8px !important;
        width: 100% !important;
    }

    .bridge-account-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 12px !important;
        gap: 16px;
    }

    .bridge-asset-counters {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }

    .bridge-counter-item {
        min-width: 0;
        padding: 8px 4px;
    }

    .bridge-counter-num {
        font-size: 17px;
    }

    .bridge-counter-label {
        font-size: 10px;
    }

    .bridge-tab-panel {
        padding: 18px 10px !important;
    }

    .bridge-card-grid {
        grid-template-columns: 1fr;
    }

    .bridge-article-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bridge-article-row-action {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .bridge-orders-table th,
    .bridge-orders-table td {
        padding: 10px 8px;
        font-size: 12.5px;
    }
}

/* ==========================================================================
   4. Magazine Portal Enhancements (Page Container, Centered Title, Year Pills)
   ========================================================================== */
.bridge-portal-main-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.bridge-portal-page-title {
    text-align: center;
    margin: 30px 0 24px;
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.bridge-portal-main-wrap .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bridge-portal-main-wrap .bridge-portal-wrap {
    max-width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
}

/* Secondary Pill Year Switcher */
.bridge-year-filter-wrap {
    margin-bottom: 24px;
}

.bridge-year-pills-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
}

.bridge-year-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.bridge-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bridge-year-pills::-webkit-scrollbar {
    display: none;
}

.bridge-year-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bridge-year-pill:hover {
    color: #2563eb;
    border-color: #93c5fd;
    background: #eff6ff;
}

.bridge-year-pill.active {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* Archive Year Banner Style */
.bridge-mag-banner.is-archive-year {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
}

.bridge-banner-archive-badge {
    display: inline-block;
    background: #f59e0b;
    color: #78350f;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* Banner Button States */
.bridge-mag-banner .bridge-btn-primary {
    background: #ffffff !important;
    color: #1e40af !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.bridge-mag-banner .bridge-btn-primary:hover {
    background: #f8fafc !important;
    color: #1d4ed8 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.bridge-mag-banner.is-archive-year .bridge-btn-primary {
    background: #f59e0b !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
    transition: all 0.2s ease;
}

.bridge-mag-banner.is-archive-year .bridge-btn-primary:hover {
    background: #fbbf24 !important;
    color: #0f172a !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45) !important;
}

.bridge-mag-banner .bridge-btn-unlocked {
    background: #10b981 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: default;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    opacity: 0.95;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
}

.bridge-shelf-header .count {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 12px;
}

.bridge-empty-shelf {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

@media (max-width: 768px) {
    .bridge-portal-main-wrap {
        padding: 0 12px 30px !important;
    }
    .bridge-portal-page-title {
        font-size: 24px !important;
        margin: 20px 0 16px !important;
    }
    .bridge-portal-main-wrap .bridge-portal-wrap {
        padding: 0 !important;
        margin: 0 0 24px 0 !important;
    }
    .bridge-year-filter-wrap {
        margin-bottom: 16px;
    }
    .bridge-year-pills-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px;
    }
    .bridge-year-pills {
        width: 100% !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .bridge-year-pills::-webkit-scrollbar {
        display: none;
    }
    .bridge-year-pill {
        flex-shrink: 0;
        padding: 5px 12px;
        font-size: 12px;
    }
    .bridge-mag-search-form {
        flex-wrap: wrap;
        gap: 8px;
    }
    .bridge-mag-search-input {
        flex: 1 1 100%;
        width: 100%;
        font-size: 14px;
    }
    .bridge-mag-search-scope {
        flex: 1 1 auto;
        min-width: 120px;
    }
    .bridge-mag-search-btn {
        flex: 0 0 auto;
        padding: 10px 16px;
    }
    .bridge-mag-search-clear {
        flex: 0 0 auto;
    }
    .bridge-search-meta-line {
        gap: 8px;
    }
}

/* ==========================================================================
   Magazine Portal Article Search Bar & Results
   ========================================================================== */
.bridge-mag-search-wrap {
    margin: 0 0 20px 0;
}

.bridge-mag-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.bridge-mag-search-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.bridge-mag-search-input:focus {
    border-color: #2563eb;
    background: #ffffff;
}

.bridge-mag-search-scope {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13.5px;
    color: #334155;
    background: #ffffff;
    cursor: pointer;
    outline: none;
}

.bridge-mag-search-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.bridge-mag-search-btn:hover {
    background: #1d4ed8;
}

.bridge-mag-search-clear {
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.bridge-mag-search-clear:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.bridge-search-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.bridge-search-issue-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.bridge-search-issue-link:hover {
    text-decoration: underline;
}

.bridge-search-cat-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    font-size: 11.5px;
    padding: 1px 8px;
    border-radius: 999px;
}

.bridge-mag-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.bridge-page-btn {
    display: inline-block;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bridge-page-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.bridge-page-info {
    font-size: 13.5px;
    color: #64748b;
}
