/* css/home-content.css */

/* -- Pre-Title Link Style (Used on homepage) -- */
.pre-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}
.pre-title a {
    color: var(--special-link-color);
    text-decoration: underline;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}
.pre-title a:hover {
    border-bottom: 2px solid var(--special-link-color);
}

/* -- Content Sections General Wrapper -- */
.how-to-guide-section, .info-section, .featured-articles-section {
    padding: 40px 0;
    border-top: 1px solid var(--header-border);
}

/* -- Featured Articles Section -- */
.featured-articles-section {
    padding-bottom: 60px; /* Extra bottom padding */
    background-color: var(--bg-color);
}
.featured-articles-section h2 {
    text-align: center;
    font-size: 28px;
    color: var(--title-color);
    margin-bottom: 40px;
}
.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.view-all-container {
    text-align: center;
    margin-top: 50px;
}

/* -- How-To Guide Section -- */
.how-to-guide-section {
    text-align: center;
    margin-top: 60px; /* This was in the original HTML, keeping it */
}
.how-to-guide-section h2 {
    font-size: 28px;
    color: var(--title-color);
    margin-bottom: 30px;
}
.guide-steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}
html[dir="rtl"] .guide-steps-container {
    text-align: right;
}
.guide-step {
    background: var(--box-bg);
    border-radius: 8px;
    padding: 20px;
    flex-basis: 300px;
    flex-grow: 1;
    border: 1px solid var(--header-border);
}
.guide-step img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid var(--header-border);
}
.guide-step h3 {
    font-size: 20px;
    color: var(--title-color);
    margin-bottom: 10px;
}

/* -- Info (About/FAQ) Section -- */
.info-section {
    background-color: var(--box-bg);
}
.info-section .container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.info-column {
    flex: 1;
    min-width: 300px;
}
.info-column h3 {
    font-size: 22px;
    color: var(--title-color);
    margin-bottom: 20px;
}
.faq-item {
    margin-bottom: 20px;
}
.faq-item h4 {
    margin-bottom: 5px;
}
.faq-item p {
    margin-top: 0;
    color: var(--text-color);
    opacity: 0.9;
}
