.solotutes-pharmacy-wrapper.single-layout { max-width: 1300px; margin: 0 auto; padding: 40px 20px; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f8fafc; }
.solotutes-top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.back-link { text-decoration: none; color: #475569; font-weight: 600; padding: 10px 20px; background: #fff; border-radius: 50px; border: 1px solid #e2e8f0; transition: all 0.2s; }
.back-link:hover { background: #f1f5f9; color: #0f172a; }
.mini-search-bar form { display: flex; background: #fff; border-radius: 50px; overflow: hidden; border: 1px solid #e2e8f0; }
.mini-search-bar input { border: none; padding: 10px 20px; outline: none; width: 250px; font-size: 14px; }
.mini-search-bar button { border: none; background: #f1f5f9; padding: 10px 20px; cursor: pointer; color: #475569; font-weight: 600; border-left: 1px solid #e2e8f0; transition: background 0.2s; }
.mini-search-bar button:hover { background: #e2e8f0; }
.drug-header-section { background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid #f1f5f9; }
.drug-header-section h1 { margin: 0 0 10px 0; font-size: 3rem; color: #0f172a; font-weight: 800; letter-spacing: -0.02em; }
.single-generic-name { font-family: 'Georgia', serif; font-size: 1.4rem; color: #64748b; font-style: italic; margin-bottom: 25px; }
.drug-meta-tags {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.meta-names-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-classes-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 12px;
}

.drug-tag.class-link {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

.drug-tag.class-link:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.drug-tag.class-link { background: #eff6ff; padding: 8px 16px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; color: #2563eb; text-decoration: none; border: 1px solid #dbeafe; transition: all 0.2s; }
.drug-tag.class-link:hover { background: #dbeafe; transform: translateY(-2px); }
.drug-layout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 992px) { .drug-layout-grid { grid-template-columns: 1fr; } }
.drug-data-block { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 35px; margin-bottom: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.drug-data-block h2 { color: #1e293b; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; margin-top: 0; margin-bottom: 25px; font-size: 1.6rem; font-weight: 700; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.data-item { background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px solid #f1f5f9; }
.data-label { display: block; font-size: 0.85rem; color: #64748b; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 5px; }
.data-value { font-size: 1.1rem; color: #0f172a; font-weight: 500; }
.data-full-width { margin-bottom: 20px; }
.iupac-text { font-family: monospace; font-size: 1rem; color: #334155; background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px solid #f1f5f9; word-break: break-all; margin-top: 5px; }
.structure-link { margin-top: 20px; }
.btn-outline { display: inline-block; padding: 10px 20px; border: 2px solid #2563eb; color: #2563eb; text-decoration: none; font-weight: 600; border-radius: 8px; transition: all 0.2s; }
.btn-outline:hover { background: #2563eb; color: #fff; }
.data-sub-section { margin-bottom: 30px; }
.data-sub-section:last-child { margin-bottom: 0; }
.data-sub-section h3 { color: #0f172a; font-size: 1.2rem; font-weight: 700; margin: 0 0 15px 0; }
.content-body { color: #475569; line-height: 1.7; font-size: 1.05rem; }
.content-body p { margin-bottom: 15px; }
.alert-block { border-top: 4px solid #ef4444; }
.drug-sidebar { position: sticky; top: 20px; }
.related-drugs-widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.related-drugs-widget h3 { margin: 0 0 10px 0; font-size: 1.3rem; color: #0f172a; }
.widget-desc { font-size: 0.95rem; color: #64748b; margin-bottom: 20px; }
.related-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
.related-list li { margin-bottom: 10px; }
.related-list li:last-child { margin-bottom: 0; }
.related-link { display: flex; flex-direction: column; text-decoration: none; padding: 12px; background: #f8fafc; border-radius: 8px; border: 1px solid #f1f5f9; transition: all 0.2s; }
.related-link:hover { border-color: #cbd5e1; background: #f1f5f9; transform: translateX(5px); }
.rel-name { font-weight: 700; color: #2563eb; font-size: 1.05rem; }
.rel-generic { font-family: 'Georgia', serif; font-style: italic; color: #64748b; font-size: 0.9rem; margin-top: 4px; }
.view-all-class-btn { display: block; text-align: center; background: #f1f5f9; color: #475569; text-decoration: none; padding: 12px; border-radius: 8px; font-weight: 600; transition: all 0.2s; }
.view-all-class-btn:hover { background: #e2e8f0; color: #0f172a; }
.brand-tag { background: #fef08a; color: #854d0e; border-color: #fde047; }


/* archive */
 .solotutes-pharmacy-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f8fafc; }
.archive-header { text-align: center; margin-bottom: 40px; }
.archive-header h1 { margin-bottom: 10px; color: #1e293b; font-size: 2.8rem; font-weight: 800; letter-spacing: -0.02em; }
.archive-header p { color: #64748b; font-size: 1.2rem; }
.solotutes-search-bar { margin-bottom: 30px; display: flex; justify-content: center; }
.solotutes-search-bar form { display: flex; width: 100%; max-width: 700px; gap: 10px; background: #fff; padding: 10px; border-radius: 50px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.solotutes-search-bar input[type="text"] { flex: 1; padding: 12px 25px; border: none; border-radius: 50px; font-size: 16px; outline: none; background: transparent; }
.solotutes-search-bar button { padding: 12px 30px; background: #2563eb; color: #fff; border: none; border-radius: 50px; cursor: pointer; font-size: 16px; font-weight: 600; transition: background 0.3s ease; }
.solotutes-search-bar button:hover { background: #1d4ed8; }
.clear-btn { padding: 12px 25px; background: #e2e8f0; color: #475569; text-decoration: none; border-radius: 50px; font-weight: 600; display: flex; align-items: center; transition: all 0.2s; }
.clear-btn:hover { background: #cbd5e1; color: #1e293b; }
.active-filter-notice { text-align: center; margin-bottom: 30px; padding: 12px; background: #dbeafe; color: #1e40af; border-radius: 8px; border: 1px solid #bfdbfe; display: inline-block; width: 100%; max-width: 700px; margin-left: auto; margin-right: auto; display: block; }
.solotutes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.drug-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid #f1f5f9; }
.drug-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.drug-card-header { padding: 25px 25px 15px; border-bottom: 1px solid #f1f5f9; }
.drug-card-header h2 { margin: 0 0 5px 0; font-size: 1.5rem; }
.drug-card-header h2 a { color: #0f172a; text-decoration: none; font-weight: 700; }
.drug-card-header h2 a:hover { color: #2563eb; }
.generic-name { font-family: 'Georgia', serif; font-style: italic; color: #64748b; font-size: 1.1rem; }
.drug-card-body { padding: 20px 25px; flex-grow: 1; }
.card-classes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.class-tag { background: #eff6ff; color: #2563eb; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-decoration: none; border: 1px solid #dbeafe; transition: all 0.2s; }
.class-tag:hover { background: #dbeafe; }
.card-meta { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: #475569; }
.meta-row { display: flex; gap: 8px; align-items: baseline; }
.meta-label { font-weight: 600; color: #334155; white-space: nowrap; }
.iupac-val { font-family: monospace; font-size: 0.85rem; color: #64748b; word-break: break-all; }
.drug-card-footer { padding: 15px 25px; background: #f8fafc; border-top: 1px solid #f1f5f9; text-align: right; }
.view-drug-btn { display: inline-block; color: #2563eb; font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.view-drug-btn:hover { color: #1d4ed8; }
.solotutes-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.solotutes-pagination a, .solotutes-pagination span { padding: 10px 18px; border: 1px solid #e2e8f0; text-decoration: none; color: #475569; border-radius: 8px; font-weight: 600; background: #fff; transition: all 0.2s; }
.solotutes-pagination a:hover { border-color: #cbd5e1; background: #f1f5f9; }
.solotutes-pagination .current { background: #2563eb; color: #fff; border-color: #2563eb; }
.no-results { text-align: center; padding: 60px; background: #fff; border-radius: 12px; border: 2px dashed #cbd5e1; color: #64748b; font-size: 1.1rem; }

@media (max-width: 768px) {
    .solotutes-pharmacy-wrapper {
        padding: 20px 15px;
    }

    .archive-header h1 {
        font-size: 2rem;
    }

    .archive-header p {
        font-size: 1rem;
    }

    .solotutes-search-bar form {
        flex-direction: column;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .solotutes-search-bar input[type="text"] {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

    .solotutes-search-bar button,
    .clear-btn {
        width: 100%;
        border-radius: 8px;
        justify-content: center;
        margin-bottom: 10px;
    }

    .solotutes-grid {
        grid-template-columns: 1fr;
    }

    .solotutes-top-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .mini-search-bar,
    .mini-search-bar form {
        width: 100%;
    }

    .mini-search-bar input {
        width: 100%;
        box-sizing: border-box;
    }

    .drug-header-section {
        padding: 25px 20px;
    }

    .drug-header-section h1 {
        font-size: 2rem;
    }

    .single-generic-name {
        font-size: 1.2rem;
    }

    .drug-data-block {
        padding: 20px;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .drug-meta-tags {
        gap: 8px;
    }

    .drug-tag.class-link,
    .drug-tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .archive-header h1,
    .drug-header-section h1 {
        font-size: 1.7rem;
    }

    .btn-outline,
    .back-link {
        width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
        margin-bottom: 15px;
    }
    
    .solotutes-top-nav {
        margin-bottom: 15px;
    }
}