/**
 * Styles for standard inner page content (.entry-content)
 *
 * @package Skitterskoon
 */

/* Use variables defined in main.css */
.entry-content {
    padding-top: 2rem; /* Add some space below the title */
    padding-bottom: 2rem;
}

/* Headings */
.entry-content h1, /* Although title is usually outside .entry-content, good to have */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--primary-color); /* Use theme's primary color */
    margin-bottom: 1em;
    line-height: 1.3;
}

.entry-content h2 {
    font-size: 1.8rem; /* Example size */
    margin-top: 2.5em; /* More space before major sections */
    padding-bottom: 0.3em;
    border-bottom: 2px solid var(--secondary-color); /* Add a subtle separator */
}

.entry-content h3 {
    font-size: 1.5rem; /* Example size */
    margin-top: 2em;
    color: var(--dark-color); /* Slightly darker for subheadings */
}

.entry-content h4 {
    font-size: 1.2rem;
    margin-top: 1.8em;
}

/* Paragraphs */
.entry-content p {
    margin-bottom: 1.5em;
    line-height: 1.7; /* Improve readability */
    color: var(--body-color);
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin-left: 1.5em;
    margin-bottom: 1.5em;
    padding-left: 1em; /* Ensure padding for bullets/numbers */
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.75em;
    line-height: 1.7;
}

.entry-content ul {
    list-style: disc; /* Standard bullets */
}
.entry-content ul ul {
     list-style: circle;
     margin-top: 0.5em;
}

.entry-content ol {
    list-style: decimal; /* Standard numbers */
}
.entry-content ol ol {
    list-style: lower-alpha;
     margin-top: 0.5em;
}

/* Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block; /* Allows margin auto to work for centering */
    margin: 2em auto; /* Add space above/below and center */
    border-radius: 8px; /* Optional: match theme style */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Optional: add subtle shadow */
}

/* Links within content */
.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color var(--transition-speed);
}

.entry-content a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Horizontal Rule */
.entry-content hr {
    border: 0;
    height: 1px;
    background-color: var(--gray-color);
    opacity: 0.3;
    margin: 2.5em 0;
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    .entry-content h2 {
        font-size: 1.6rem;
    }
    .entry-content h3 {
        font-size: 1.3rem;
    }
}
