/*
Theme Name: masista
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: قالب Healthline مشابه masista، آماده نصب
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: masista
*/

/* ==========================
   عمومی قالب
========================== */
body {
    font-family: "Proxima Nova", sans-serif;
    color: #231F20;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}
a {
    color: #02838D;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================
   هدر
========================== */
.masista-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo img {
    max-height: 50px;
}
.header-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
.header-nav li a {
    font-weight: 600;
    font-size: 16px;
}

/* ==========================
   Hero Section
========================== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    background-color: #f8f9fa;
}
.hero-section .hero-content {
    flex: 1;
}
.hero-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 18px;
    line-height: 1.6;
}
.hero-section .hero-image img {
    max-width: 100%;
    border-radius: 20px;
}

/* ==========================
   Healthline Tools Block
========================== */
.healthline-tools-block {
    padding: 60px 20px;
    background-color: #f8f9fa;
}
.healthline-tools-block h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}
.tools-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.tool-item {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}
.tool-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.tool-description {
    font-size: 14px;
    line-height: 20px;
}

/* ==========================
   Why You Can Trust Us Block
========================== */
.trust-us-block {
    padding: 60px 20px;
    background-color: #ffffff;
}
.trust-us-block h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}
.trust-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.trust-item {
    background-color: #e4f0f3;
    border-radius: 20px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
}
.trust-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}
.trust-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.trust-description {
    font-size: 14px;
    line-height: 20px;
}

/* ==========================
   Explore By Health Topic Block
========================== */
.explore-topics-block {
    padding: 60px 20px;
    background-color: #f8f9fa;
}
.explore-topics-block h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}
.topics-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}
.topic-item {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    flex: 1 1 calc(25% - 20px);
    text-align: center;
}
.topic-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}
.topic-title {
    font-size: 16px;
    font-weight: 700;
}

/* ==========================
   Latest Articles
========================== */
.latest-articles {
    padding: 60px 20px;
}
.latest-articles h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}
.articles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.article-item {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.article-item img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}
.article-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* ==========================
   Footer
========================== */
.masista-footer {
    background-color: #02838D;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}
.masista-footer a {
    color: #fff;
}
.footer-nav {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.footer-copy {
    margin-top: 20px;
    font-size: 14px;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 991px) {
    .tool-item, .trust-item { flex: 1 1 calc(50% - 20px); }
    .topic-item { flex: 1 1 calc(50% - 20px); }
    .article-item { flex: 1 1 calc(50% - 20px); }
}
@media (max-width: 575px) {
    .tool-item, .trust-item, .topic-item, .article-item { flex: 1 1 100%; }
    .hero-section { flex-direction: column; text-align: center; }
}