/* ==========================================================================
   Hormone & Biostimulant Custom Stylesheet
   ========================================================================== */

/* 1. Global Page Layout & Typography */
body {
    font-family: 'Sarabun', sans-serif;
    background-color: #f8fafc;
    color: #334155;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.main-content-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 2. Header & Navigation Component */
.sub-page-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.sub-header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 1.2rem;
}

.sub-logo-block img {
    height: 40px;
    width: auto;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-back-home:hover {
    color: #10b981;
}

/* 3. Cards & Content Layout */
.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
}

.hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-left: 5px solid #10b981;
}

.text-center-block {
    text-align: center;
}

/* Titles & Texts */
.page-main-title {
    font-size: 2.2rem;
    color: #0f172a;
    margin: 20px 0 15px 0;
    font-weight: 700;
}

.page-desc-text {
    font-size: 1.1rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

.text-left-align {
    text-align: left;
    margin-top: 20px;
}

.sub-section-title {
    font-size: 1.4rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

/* 4. Badges & Labels */
.badge-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.knowledge-badge, .teal-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.knowledge-badge {
    background-color: #e2e8f0;
    color: #475569;
}

.teal-badge {
    background-color: #ccfbf1;
    color: #0f766e;
}

.label-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* 5. Grids & Custom Structural Boxes */
.action-type-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.grid-3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.info-step-card {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.weed-type-title {
    font-size: 1.15rem;
    color: #0f172a;
    margin: 10px 0;
}

/* Biostimulants Specific Section */
.weed-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 25px;
}

@media (max-width: 600px) {
    .weed-action-grid {
        grid-template-columns: 1fr;
    }
}

.weed-split-box {
    display: flex;
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 12px;
}

.weed-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.weed-box-desc h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #1e293b;
}

.weed-box-desc p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* Warning & Danger Boxes */
.hormone-warning-box {
    background-color: #fff1f2;
    border: 1px solid #ffe4e6;
    border-radius: 12px;
    padding: 25px;
}

.hormone-warning-box h3 {
    margin-top: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Expert Advice Panel */
.expert-advice-panel {
    display: flex;
    gap: 20px;
    background-color: #fef3c7;
    border-left: 4px solid #d97706;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    align-items: flex-start;
}

.expert-advice-panel i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.advice-text-block h4 {
    margin: 0 0 5px 0;
    color: #92400e;
    font-size: 1.1rem;
}

.advice-text-block p {
    margin: 0;
    color: #78350f;
    font-size: 0.95rem;
}

/* 6. Professional Table Layout */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.border-table-round {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

th {
    background-color: #f1f5f9;
    color: #334155;
    padding: 16px;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
}

td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #f8fafc;
}

/* 7. Footer & Action Button Elements */
.action-footer-center {
    text-align: center;
    margin: 50px 0;
}

.btn-primary-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #10b981;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-primary-green:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.footer-block {
    text-align: center;
    padding: 30px 0;
    color: #94a3b8;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
}

/* 8. Color Helper Utility Classes */
.text-green { color: #10b981; }
.text-teal { color: #0d9488; }
.text-emerald { color: #059669; }
.text-blue { color: #2563eb; }
.text-blue-text { color: #2563eb; }
.text-amber { color: #d97706; }
.text-red { color: #dc2626; }
.text-dark { color: #1e293b; }

.bg-light-amber { background-color: #fef3c7; }
.bg-light-blue { background-color: #dbeafe; }
.bg-light-green { background-color: #dcfce7; }

.font-bold { font-weight: 700; }