/**
 * Theme Name:     GeneratePress Child
 * Author:         Tom Usborne
 * Template:       generatepress
 * Text Domain:	   generatepress-child
 * Description:    GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
 */
/* ========================================
   DATABASE OBAT — Custom Styles
   ======================================== */

.obat-wrapper {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.7;
    color: #2d2d2d;
}
.obat-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #f8faff;
    border: 1px solid #dce8ff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.obat-thumbnail img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
}
.obat-judul {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1a1a2e;
}
.obat-dagang  { color: #555; margin: 0 0 10px 0; font-size: 0.95em; }
.obat-produsen, .obat-bpom { font-size: 0.88em; color: #666; margin: 4px 0; }
.obat-badges  { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.badge        { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.82em; font-weight: 600; }
.badge-hijau  { background: #e6f9f0; color: #1a7a4a; border: 1px solid #b2dfce; }
.badge-biru   { background: #e8f0fe; color: #1a5bb5; border: 1px solid #b3c8f5; }
.badge-merah  { background: #fdecea; color: #b71c1c; border: 1px solid #f5b3b3; }
.badge-hitam  { background: #f0f0f0; color: #212121; border: 1px solid #ccc; }
.badge-kuning { background: #fffde7; color: #8a6d00; border: 1px solid #f5e17a; }
.badge-tosca  { background: #e0f7f4; color: #00695c; border: 1px solid #99d6cf; }
.badge-abu    { background: #f5f5f5; color: #555;    border: 1px solid #ddd; }
.obat-harga   { margin-top: 10px; font-size: 1.05em; font-weight: 600; color: #1a5bb5; background: #e8f0fe; display: inline-block; padding: 6px 14px; border-radius: 8px; }
.obat-disclaimer { background: #fffde7; border-left: 4px solid #f5c518; padding: 14px 18px; border-radius: 6px; font-size: 0.9em; color: #5a4a00; margin-bottom: 20px; }
.obat-nav     { background: #f4f4f4; padding: 12px 18px; border-radius: 8px; margin-bottom: 24px; font-size: 0.9em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.obat-nav a   { color: #1a5bb5; text-decoration: none; background: #fff; padding: 4px 12px; border-radius: 16px; border: 1px solid #c5d8f5; transition: background 0.2s; }
.obat-nav a:hover { background: #1a5bb5; color: #fff; }
.obat-section { background: #fff; border: 1px solid #e8e8e8; border-radius: 10px; padding: 22px 24px; margin-bottom: 18px; }
.obat-section-warning { border-left: 4px solid #e53935; background: #fff8f8; }
.obat-section-title   { font-size: 1.15em; font-weight: 700; color: #1a1a2e; margin: 0 0 14px 0; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.obat-section-content { color: #3d3d3d; font-size: 0.97em; }
.obat-dosis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.dosis-card   { background: #f4f9ff; border: 1px solid #c5d8f5; border-radius: 10px; padding: 16px; text-align: center; }
.dosis-icon   { font-size: 2em; margin-bottom: 6px; }
.dosis-label  { font-weight: 700; font-size: 0.9em; color: #1a5bb5; margin-bottom: 8px; }
.dosis-nilai  { font-size: 0.92em; color: #333; }
.obat-efek-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.efek-card    { border-radius: 8px; padding: 16px; font-size: 0.93em; }
.efek-card h3 { margin: 0 0 6px 0; font-size: 1em; }
.efek-card p  { margin: 0 0 10px 0; font-size: 0.85em; color: #777; }
.efek-umum    { background: #f0fff4; border: 1px solid #b2dfce; }
.efek-serius  { background: #fff0f0; border: 1px solid #f5b3b3; }
.obat-footer-info { background: #f9f9f9; border: 1px solid #e0e0e0; border-radius: 8px; padding: 14px 18px; font-size: 0.85em; color: #777; margin-top: 24px; }
.obat-footer-info p { margin: 4px 0; }

@media (max-width: 640px) {
    .obat-header      { flex-direction: column; }
    .obat-efek-grid   { grid-template-columns: 1fr; }
    .obat-judul       { font-size: 1.4em; }
}