/*
 * MyDog Theme - Single Recipe/Post Page Styles
 */

/* ===== General Article Layout ===== */
.single .content {
    background-color: #f9f9f7;
}

.single .wrapper-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.single .article-post {
    background: white;
    border-radius: 12px;
    padding: 50px 60px;
    margin: 40px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* ===== Article Title ===== */
.single .entry-title,
.single .article-post h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 15px;
    border-bottom: 3px solid #e87e24;
    padding-bottom: 20px;
}

/* ===== Post Meta (Author, Date, Comments) ===== */
.single .article-meta,
.single .post-meta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.single .post-meta-wrapper p,
.single .post-meta-wrapper div {
    margin: 0;
}

.single .author-meta a {
    color: #e87e24;
    font-weight: 600;
    text-decoration: none;
}

.single .meta-cats a {
    background: #e87e24;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== Featured Image ===== */
.single .article-featured-img,
.single .wp-post-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== Entry Content ===== */
.single .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.single .entry-content p {
    margin-bottom: 20px;
}

.single .entry-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: #222;
    margin: 40px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.single .entry-content h3 {
    font-size: 22px;
    color: #333;
    margin: 30px 0 12px;
}

.single .entry-content h4 {
    font-size: 18px;
    color: #444;
    margin: 25px 0 10px;
}

.single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.single .entry-content a {
    color: #e87e24;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(74,103,88,0.3);
    text-underline-offset: 3px;
    transition: all 0.2s;
}

.single .entry-content a:hover {
    color: #c96a1a;
    text-decoration-color: #c96a1a;
}

/* ===== Lists in Content ===== */
.single .entry-content ul,
.single .entry-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.single .entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.single .entry-content ul li {
    list-style-type: disc;
}

/* ===== Blockquotes ===== */
.single .entry-content blockquote {
    border-left: 4px solid #e87e24;
    background: #f3f7f4;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

/* ===== Recipe Cards (if using WPRM or Tasty) ===== */
.single .wprm-recipe-container,
.single .tasty-recipes {
    border: 2px solid #e87e24 !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ===== Entry Footer ===== */
.single .entry-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
    font-size: 14px;
    color: #777;
}

.single .entry-footer a {
    color: #e87e24;
    text-decoration: none;
    font-weight: 500;
}

/* ===== Post Navigation ===== */
.single .post-navigation,
.single .article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 40px;
    padding: 25px 0;
}

.single .post-navigation a,
.single .article-navigation a {
    display: inline-block;
    background: #e87e24;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.single .post-navigation a:hover,
.single .article-navigation a:hover {
    background: #c96a1a;
}

/* ===== Comments Section ===== */
.single .comments-area {
    background: white;
    border-radius: 12px;
    padding: 40px 50px;
    margin-bottom: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.single .comments-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: #222;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e87e24;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-body {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.single .comment-respond .submit,
.single #commentform .submit {
    background: #e87e24;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.single .comment-respond .submit:hover,
.single #commentform .submit:hover {
    background: #c96a1a;
}

/* ===== Sidebar ===== */
.single .sidebar {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.single .sidebar .widget {
    margin-bottom: 30px;
}

.single .sidebar .widget-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: #222;
    border-bottom: 2px solid #e87e24;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .single .article-post {
        padding: 25px 20px;
        margin: 20px 0;
    }

    .single .entry-title,
    .single .article-post h1 {
        font-size: 26px;
    }

    .single .entry-content {
        font-size: 16px;
    }

    .single .entry-content h2 {
        font-size: 22px;
    }

    .single .comments-area {
        padding: 25px 20px;
    }
}
