/*
Theme Name: The-Stretch-Pantry
Theme URI: https://example.com/foodio
Author: Your Name
Author URI: https://example.com
Description: A custom fast food theme for restaurants and food businesses.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foodio-fast-food-theme
*/


/* ------------------------
Post Content Styling
------------------------ */
.post-content {
    font-weight: 500;              /* Consistent weight */
    line-height: 1.7;              /* Comfortable reading */
    color: #333;                   /* Neutral dark text */
    font-family: inherit;          /* Keep existing theme font */
    word-break: break-word;
    letter-spacing: 0.5px;
}

/* ------------------------
Headings
------------------------ */
.post-content h2.wp-block-heading,
.post-content h3.wp-block-heading,
.post-content h4.wp-block-heading,
.post-content h6.wp-block-heading {
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.post-content h2.wp-block-heading {
    font-size: 24px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.post-content h3.wp-block-heading {
    font-size: 20px;
}

.post-content h4.wp-block-heading {
    font-size: 18px;
}

.post-content h6.wp-block-heading {
    font-size: 16px;
    color: #555;
}

/* ------------------------
Paragraphs
------------------------ */
.post-content p {
    margin-bottom: 15px;
    font-weight: 500;
}

/* Inline images / emoji */
.post-content p img {
    vertical-align: middle;
    width: 1em;
    height: 1em;
    margin-right: 0.25em;
}

/* ------------------------
Lists
------------------------ */
.post-content ul.wp-block-list,
.post-content ol.wp-block-list {
    padding-left: 25px;
    margin-bottom: 15px;
}

.post-content ul.wp-block-list li,
.post-content ol.wp-block-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ------------------------
Tables
------------------------ */
.post-content table.has-fixed-layout {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.post-content table.has-fixed-layout th,
.post-content table.has-fixed-layout td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.post-content table.has-fixed-layout th {
    font-size: 17px;
    background-color: #f9f9f9;
}

.post-content table.has-fixed-layout tr:nth-child(even) {
    background-color: #fafafa;
}

.post-content table.has-fixed-layout tr:hover {
    background-color: #f1f1f1;
}

.post-content table caption {
    caption-side: top;
    font-weight: 500;
    margin-bottom: 10px;
    font-style: italic;
    color: #666;
}

/* Figures (table wrapper) */
.post-content figure.wp-block-table {
    margin: 20px 0;
}

/* ------------------------
Responsive Improvements
------------------------ */
@media (max-width: 768px) {
    .post-content h2.wp-block-heading { font-size: 20px; }
    .post-content h3.wp-block-heading { font-size: 18px; }
    .post-content h4.wp-block-heading { font-size: 16px; }
    .post-content h6.wp-block-heading { font-size: 14px; }

    .post-content table.has-fixed-layout {
        font-size: 14px;
    }
}

