/* ===========================================
   STALLION MATCH - HELPSCOUT CSS
   Version: 2.0
   Date: 20251218
   
   Brand Guidelines:
   - Heritage Green: #1D472E (primary)
   - Mint Green: #2EFFB4 (accent/CTAs)
   - Spring Green: #007142 (supporting)
   - Sand: #EAE4E0
   - Sage: #C5CFC4
   - Typography: Synthese (body), Palatino (headings)
   =========================================== */

/* ===========================================
   1. FONTS
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'Synthese';
    src: url('https://g1-public-assets.s3.ap-southeast-2.amazonaws.com/Fonts/Synthese-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Synthese';
    src: url('https://g1-public-assets.s3.ap-southeast-2.amazonaws.com/Fonts/Synthese-Light.ttf');
    font-weight: 300;
}

/* ===========================================
   2. BASE STYLES
   =========================================== */

body {
    background-color: #ffffff;
    font-family: 'Synthese', 'Manrope', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #3d3d3d;
    -webkit-font-smoothing: antialiased;
}

body, input, button, select, textarea {
    font-family: 'Synthese', 'Manrope', Arial, sans-serif;
}

strong, b {
    font-weight: 600;
    color: #1a1a1a;
}

em, i {
    font-style: italic;
}

a {
    color: #1D472E;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

a:hover {
    color: #007142;
}

/* ===========================================
   3. NAVBAR
   =========================================== */

.navbar {
    background-color: #1D472E;
    margin-bottom: 0;
}

.navbar .navbar-inner {
    background: #1D472E;
    box-shadow: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 70px;
}

.navbar .brand {
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    max-width: 200px;
    padding: 20px 0;
    margin: 0;
}

.navbar .brand span {
    display: none;
}

.navbar .nav {
    float: right;
    margin: 18px 0 0 0;
}

.navbar .nav > li {
    float: left;
}

.navbar .nav li a {
    font-family: 'Synthese', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    padding: 10px 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar .nav li a:hover,
.navbar .nav .active a {
    color: #2EFFB4;
    text-decoration: none;
    background: transparent;
}

/* Contact Button */
#contact a {
    background-color: #2EFFB4;
    color: #1D472E !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    transition: background-color 0.2s ease;
    margin-left: 8px;
}

#contact a:hover {
    background-color: #00DE8E;
    text-decoration: none;
}

/* Mobile Navbar */
@media (max-width: 768px) {
    .navbar .navbar-inner {
        padding: 0 16px;
    }
    
    .navbar .btn-navbar {
        margin-top: 18px;
        background: #2EFFB4;
        border: none;
        box-shadow: none;
    }
    
    .navbar .btn-navbar .icon-bar {
        background: #1D472E;
    }
    
    .navbar .nav {
        float: none;
        margin: 16px 0;
    }
    
    .navbar .nav > li {
        float: none;
    }
    
    .navbar .nav li a {
        padding: 12px 0;
    }
    
    #contact a {
        display: inline-block;
        margin: 8px 0;
    }
}

/* ===========================================
   4. HERO / SEARCH SECTION
   =========================================== */

#docsSearch {
    background-color: #1D472E;
    background-image: none;
    border-bottom: none;
    padding: 50px 24px 135px;
    margin-bottom: 0;
}

#docsSearch h1 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    text-align: center;
    margin: 0 auto 32px;
    max-width: 800px;
    line-height: 1.3;
}

#mainNav {
    position: relative;
    background: #1D472E;
}

/* Search Bar */
#searchBar {
    max-width: 650px;
    padding: 24px 0 0;
    position: relative;
    margin: 0 auto;
}

#searchBar .search-query {
    height: 57px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #ffffff;
    padding: 25px 20px;
    box-shadow: none;
    font-size: 18px;
    line-height: 18px;
    color: #565656;
    transition: 0.3s !important;
    width: 470px;
    float: left;
    font-family: 'Synthese', sans-serif;
}

#searchBar .search-query:focus {
    border: 1px solid #2EFFB4 !important;
    box-shadow: none;
    transition: 0.3s !important;
}

#searchBar .search-query::placeholder {
    color: #565656 !important;
}

#searchBar button {
    color: #1D472E;
    font-weight: 600;
    text-shadow: none;
    background: #2EFFB4;
    border-radius: 6px;
    border: 0px;
    font-size: 18px;
    line-height: 18px;
    padding: 19px 40px;
    height: 57px;
    position: absolute;
    top: 24px;
    right: 0px;
    transition: 0.3s;
    font-family: 'Synthese', sans-serif;
}

#searchBar button:hover {
    background-color: #00DE8E;
    transition: 0.3s;
}

/* Search Results Dropdown */
#serp-dd {
    border: 1px solid #2EFFB4;
    border-radius: 8px;
    top: 150%;
    box-shadow: none;
    font-size: 16px;
    line-height: 18px;
    color: #565656;
    background: #ffffff;
}

#serp-dd .result a {
    padding: 10px 15px;
    font-size: 16px;
    color: #565656;
    transition: 0.3s;
}

#serp-dd .result > li.active,
#serp-dd .result a:hover {
    background: rgba(29, 71, 46, 0.06);
    color: #1D472E;
    transition: 0.3s;
}

/* Mobile Search */
@media only screen and (min-width: 200px) and (max-width: 500px) {
    #docsSearch {
        padding: 80px 24px 140px;
    }

    #docsSearch h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    #searchBar button span {
        display: none;
    }

    #searchBar {
        width: 100%;
    }

    #searchBar .search-query {
        padding: 25px 24px;
        background-image: none;
        width: 100%;
    }

    #searchBar button {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 12px;
    }

    #searchBar button .icon-search {
        display: block;
        color: #1D472E;
    }
}

/* ===========================================
   5. CONTAINER
   =========================================== */

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ===========================================
   5b. MOST POPULAR ARTICLES
   =========================================== */

.most-pop-articles {
    background: #ffffff;
    padding: 40px 24px;
}

.most-pop-articles h2 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: #1D472E;
    margin: 0 0 24px;
    text-align: left;
}

.most-pop-articles .popArticles {
    list-style: none;
    margin: 0;
    padding: 0;
}

.most-pop-articles .popArticles li {
    border-bottom: 1px solid #e8e8e8;
    padding: 16px 0;
}

.most-pop-articles .popArticles li:last-child {
    border-bottom: none;
}

.most-pop-articles .popArticles a {
    color: #1D472E;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    display: block;
    transition: color 0.2s ease;
}

.most-pop-articles .popArticles a:hover {
    color: #007142;
}

.most-pop-articles .popArticles a span {
    color: #1D472E;
}

.most-pop-articles .popArticles a:hover span {
    color: #007142;
}

/* Icon styling */
.icon-article-doc:before {
    color: #1D472E;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .most-pop-articles {
        padding: 24px 16px;
    }
    
    .most-pop-articles h2 {
        font-size: 22px;
    }
    
    .most-pop-articles .popArticles a {
        font-size: 14px;
    }
}

/* ===========================================
   6. HOMEPAGE CATEGORIES
   =========================================== */

/* Collection Headers */
.collection-category h2 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: #1D472E;
    text-align: left;
    margin: 48px 0 24px;
}

.collection-category h2 a {
    color: #1D472E;
    text-decoration: none;
}

.collection-category h2 a:hover {
    color: #007142;
}

/* Category Grid */
.category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto 48px;
    max-width: 1200px;
}

/* Category Cards */
.category-list .category {
    background-color: #FAF8F7;
    background-position: top 28px center !important;
    background-repeat: no-repeat !important;
    background-size: 72px auto !important;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    box-sizing: border-box;
    min-height: 200px;
    padding: 115px 24px 28px;
    width: 100%;
    max-width: 100%;
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
    margin: 0;
}

.category-list .category:hover {
    background-color: #ffffff;
    border-color: #C5CFC4;
    box-shadow: 0 8px 24px rgba(29, 71, 46, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Category Card Content */
.category-list h3 {
    font-family: 'Synthese', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1D472E;
    margin: 0 0 8px;
    line-height: 1.3;
}

.category-list .category p {
    font-size: 14px;
    line-height: 1.5;
    color: #6b6b6b;
    margin: 0 0 12px;
}

.category-list .category .article-count {
    font-size: 14px;
    font-weight: 600;
    color: #007142;
    text-decoration: none;
}

.category-list .category:hover .article-count {
    color: #2EFFB4;
}

/* Category Grid Responsive */
@media (max-width: 1024px) {
    .category-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .category-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-list .category {
        min-height: 180px;
        padding: 100px 20px 24px;
    }
}

/* ===========================================
   7. CATEGORY ICONS
   =========================================== */

#category-4 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/GettingStarted-Icon.png');
}

#category-11 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/AccountManagement-IconHighResolution.png');
}

#category-19 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Payment-IconHighResolution.png');
}

#category-20 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/RunASearch-IconHighResolution.png');
}

#category-21 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Reports-IconHighResolution.png');
}

#category-13 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Message-IconHighResolution.png');
}

#category-14 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/YourFarm-IconHighResolution.png');
}

#category-15 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Payment-IconHighResolution.png');
}

#category-16 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/YourStallions-IconHighResolution.png');
}

#category-17 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Message-IconHighResolution.png');
}

#category-27 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/UserManagement-IconHighResolution.png');
}

#category-28 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Reports-IconHighResolution.png');
}

#category-69 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Reports-IconHighResolution.png');
}

#category-78 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Reports-IconHighResolution.png');
}

#category-79 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Reports-IconHighResolution.png');
}

#category-80 {
    background-image: url('https://g1stallionmatch-assets-public.s3.ap-southeast-2.amazonaws.com/helpscout/Reports-IconHighResolution.png');
}

/* ===========================================
   8. SIDEBAR
   =========================================== */

#sidebar {
    padding-right: 24px;
}

#sidebar h3 {
    font-size: 12px;
    font-weight: 600;
    color: #1D472E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

#sidebar .nav-list {
    background: #F9FAFA;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0;
}

#sidebar .nav-list a {
    font-size: 14px;
    color: #3d3d3d;
    padding: 8px 0;
    text-decoration: none;
    display: block;
}

#sidebar .nav-list a:hover {
    color: #007142;
}

#sidebar .nav-list .active a {
    color: #1D472E;
    font-weight: 600;
}

#sidebar form .search-query {
    background: #F9FAFA;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 20px;
}

#sidebar form .search-query:focus {
    border-color: #2EFFB4;
    outline: none;
}

/* ===========================================
   9. ARTICLE CONTENT AREA
   =========================================== */

#main-content {
    background: none;
    margin-top: 24px !important;
}

#contentArea {
    margin-top: 0px !important;
    padding-top: 0 !important;
}

.contentWrapper {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px 48px 40px !important;
    position: relative;
}

.contentWrapper h1,
#categoryHead h1 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #1D472E;
    margin: 0 0 16px;
    line-height: 1.3;
}

.contentWrapper p.descrip {
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 24px;
}

/* Article List */
.articleList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.articleList li {
    padding: 14px 0 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    overflow: visible;
}

.articleList li:last-child {
    border-bottom: none;
}

.articleList a {
    color: #1D472E;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.articleList a:hover {
    color: #007142;
}

.articleList a span {
    color: #1D472E;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.articleList a:hover span {
    color: #007142;
    border-bottom: 1px solid #007142;
}

/* Article list icons - prevent line cutting through */
.articleList .icon-article-doc,
.articleList [class^="icon-"] {
    flex-shrink: 0;
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-left: 15px;
}

.articleList li {
    position: relative;
}

/* Mobile Content */
@media (max-width: 768px) {
    .contentWrapper {
        padding: 24px 20px;
        border-radius: 8px;
        border: 1px solid #e8e8e8;
        margin: 0;
    }
    
    .contentWrapper h1,
    #categoryHead h1 {
        font-size: 20px;
    }
    
    #main-content {
        margin: 24px 16px;
    }
    
    .articleList a {
        font-size: 14px;
        align-items: flex-start;
    }
    
    .articleList li {
        padding: 16px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .articleList .icon-article-doc,
    .articleList [class^="icon-"] {
        margin-top: 2px;
    }
}
}

/* ===========================================
   10. FULL ARTICLE STYLES
   =========================================== */

#fullArticle {
    max-width: 100%;
}

/* Article Title */
#fullArticle .title,
#fullArticle h1 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: #1D472E;
    margin: 0 0 20px;
    line-height: 1.3;
}

/* Article Body */
#fullArticle,
#fullArticle p,
#fullArticle li,
#fullArticle div,
#fullArticle dd {
    font-family: 'Synthese', 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #3d3d3d;
}

#fullArticle p {
    margin-bottom: 14px;
}

/* Headings */
#fullArticle h2 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #1D472E;
    margin: 32px 0 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #F0F3F0;
}

#fullArticle h3 {
    font-family: 'Synthese', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 24px 0 10px;
}

#fullArticle h4 {
    font-family: 'Synthese', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 20px 0 8px;
}

/* Links */
#fullArticle a {
    color: #1D472E;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#fullArticle a:hover {
    color: #007142;
}

/* Lists */
#fullArticle ul,
#fullArticle ol {
    margin: 16px 0 16px 24px;
}

#fullArticle li {
    margin-bottom: 8px;
}

#fullArticle ul li {
    list-style-type: disc;
}

#fullArticle ol li {
    list-style-type: decimal;
}

#fullArticle ol li::marker {
    color: #1D472E;
    font-weight: 600;
}

/* Bold */
#fullArticle strong,
#fullArticle b {
    font-weight: 600;
    color: #1a1a1a;
}

/* Images */
#fullArticle img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* Article Footer */
.articleFoot {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.articleFoot p,
.articleFoot time {
    font-size: 13px;
    color: #6b6b6b;
}

/* Print Button */
#fullArticle .printArticle {
    position: absolute;
    right: 20px;
    top: 20px;
}

.icon-print {
    color: #6b6b6b;
    transition: color 0.2s ease;
}

#fullArticle .printArticle:hover .icon-print {
    color: #007142;
}

/* Position the article container for absolute positioning */
.contentWrapper {
    position: relative;
}

/* ===========================================
   11. TABLES
   =========================================== */

#fullArticle table {
    width: auto;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Table Header */
#fullArticle table thead tr:first-child th,
#fullArticle table thead tr:first-child td,
#fullArticle table tr:first-child th,
#fullArticle table tr:first-child td {
    background-color: #1D472E;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 14px;
    border: none;
    text-align: left;
}

/* Table Body */
#fullArticle table td,
#fullArticle table th {
    padding: 10px 14px;
    border-bottom: 1px solid #e8e8e8;
    color: #3d3d3d;
    vertical-align: top;
    font-size: 13px;
}

#fullArticle table tbody tr:nth-child(even) {
    background-color: #FAFAFA;
}

#fullArticle table tbody tr:hover {
    background-color: rgba(29, 71, 46, 0.04);
}

#fullArticle table td strong {
    color: #1a1a1a;
}

/* Table Responsive */
@media (max-width: 768px) {
    #fullArticle table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #fullArticle table thead tr:first-child th,
    #fullArticle table thead tr:first-child td {
        font-size: 12px;
        padding: 12px;
        white-space: nowrap;
    }
    
    #fullArticle table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ===========================================
   12. BLOCKQUOTES & CALLOUTS
   =========================================== */

#fullArticle blockquote {
    background: linear-gradient(135deg, rgba(46, 255, 180, 0.08) 0%, rgba(0, 113, 66, 0.04) 100%);
    border-left: 4px solid #2EFFB4;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 15px;
    font-style: normal;
    color: #3d3d3d;
}

#fullArticle blockquote p {
    margin: 0;
}

#fullArticle blockquote p:last-child {
    margin-bottom: 0;
}

#fullArticle blockquote strong {
    color: #1D472E;
}

/* Callouts */
#fullArticle .callout,
#fullArticle .callout-green {
    background: linear-gradient(135deg, rgba(46, 255, 180, 0.1) 0%, rgba(0, 113, 66, 0.05) 100%);
    border-left: 4px solid #2EFFB4;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 24px 0;
}

#fullArticle .callout p,
#fullArticle .callout-green p {
    font-size: 15px;
    margin: 0;
    color: #3d3d3d;
}

#fullArticle .callout strong,
#fullArticle .callout-green strong {
    color: #1D472E;
}

/* ===========================================
   13. CODE BLOCKS
   =========================================== */

#fullArticle code {
    background: rgba(29, 71, 46, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: #1D472E;
}

#fullArticle pre {
    background: #1D472E;
    color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

#fullArticle pre code {
    background: none;
    padding: 0;
    color: #f0f0f0;
}

/* ===========================================
   14. RELATED ARTICLES
   =========================================== */

.related {
    background: #F9FAFA;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px 32px;
    margin-top: 32px;
}

.related h3 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: #1D472E;
    margin: 0 0 16px;
    text-transform: none;
}

.related ul {
    margin: 0;
    padding: 0 0 0 8px;
    list-style: none;
}

.related ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
}

.related ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related ul li a {
    color: #1D472E;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.related ul li a:hover {
    color: #007142;
}

.related ul li a span {
    color: #1D472E;
}

.related ul li a:hover span {
    color: #007142;
}

.related ul li .icon-article-doc,
.related ul li [class^="icon-"] {
    flex-shrink: 0;
    color: #1D472E;
    margin-top: 2px;
}

/* ===========================================
   15. CONTACT MODAL
   =========================================== */

#contactModal,
.abuse {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: none;
}

#contactModal h2,
.abuse h2 {
    font-family: 'Palatino Linotype', 'Palatino', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #1D472E;
    padding: 24px 32px;
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
}

.modal-body {
    padding: 24px 32px 32px;
}

.form-horizontal .control-label {
    font-size: 14px;
    color: #3d3d3d;
    font-weight: 500;
}

#contactModal input[type=text],
#contactModal textarea,
.form-horizontal input,
.form-horizontal textarea {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

#contactModal input[type=text]:focus,
#contactModal textarea:focus {
    border-color: #2EFFB4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 255, 180, 0.1);
}

#contactModal input[type=submit].btn {
    background: #2EFFB4;
    color: #1D472E;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#contactModal input[type=submit].btn:hover {
    background: #00DE8E;
}

/* Close Button */
.modal #closeBtn {
    top: 20px;
    right: 20px;
}

#contactModal .icon-close {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

#contactModal .icon-close:hover {
    opacity: 1;
}

/* ===========================================
   16. FOOTER
   =========================================== */

footer {
    padding: 24px 0;
    border-top: 1px solid #e8e8e8;
    margin-top: 64px;
}

footer p {
    font-size: 14px;
    color: #6b6b6b;
    text-align: center;
    margin: 0;
}

footer p a {
    color: #6b6b6b;
    text-decoration: none;
}

footer p a:hover {
    color: #007142;
}

/* ===========================================
   17. UTILITY & MISC
   =========================================== */

/* Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2EFFB4;
}

/* Selection */
::selection {
    background: rgba(46, 255, 180, 0.3);
    color: #1D472E;
}

/* Horizontal Rule */
#fullArticle hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 32px 0;
}

/* Admin Edit Button */
#fullArticle .admin-edit {
    background: #1D472E;
    background-image: none;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    text-shadow: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

#fullArticle .admin-edit:hover {
    background: #007142;
    text-decoration: none;
}

/* ===========================================
   18. PRINT STYLES
   =========================================== */

@media print {
    .navbar,
    #sidebar,
    .related,
    .articleFoot,
    .printArticle,
    .admin-edit,
    #sbContact {
        display: none !important;
    }
    
    .contentWrapper {
        border: none;
        padding: 0;
        box-shadow: none;
    }
    
    #fullArticle a {
        text-decoration: none;
        color: #3d3d3d;
    }
    
    #fullArticle table {
        box-shadow: none;
    }
}
