/*
Theme Name: Zimad Baby
Theme URI: https://zimad.org/
Description: A child theme for the Zimad main theme to handle custom services and ordering system.
Author: hadi
Author URI: https://yourwebsite.com/
Template: theme1.2
Version: 1.0.0
*/

/* =============================================================================
   Contact Form 7 Custom Styling
   ========================================================================== */

/* General form styling */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Creates space between form elements */
}

/* Styling for text inputs, email inputs, and textareas */
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 0.75rem 1rem; /* 12px 16px */
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Focus state for inputs - makes them glow blue when selected */
.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: #2563eb; /* border-blue-600 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* Blue ring effect */
}

/* Styling for the submit button */
.wpcf7-submit {
    width: 100%;
    background-color: #2563eb; /* bg-blue-600 */
    color: white;
    font-weight: 700; /* font-bold */
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.5rem; /* rounded-lg */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-size: 1.125rem; /* text-lg */
}

/* Hover effect for the submit button */
.wpcf7-submit:hover {
    background-color: #1d4ed8; /* hover:bg-blue-700 */
}

/* Styling for validation error messages */
.wpcf7-not-valid-tip {
    color: #dc2626; /* text-red-600 */
    font-size: 0.875rem; /* text-sm */
    margin-top: 0.25rem;
}
/* ... (Keep existing CSS code) ... */

/*
 * Custom Typography Styles for Single Posts (Articles)
 * These styles mimic the TailwindCSS prose classes for beautiful article formatting.
*/
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3;
    color: #1f2937; /* Equivalent to text-gray-800 */
}

.single-post .entry-content h2 {
    font-size: 1.875rem; /* Equivalent to text-3xl */
    border-bottom: 1px solid #e5e7eb; /* Equivalent to border-gray-200 */
    padding-bottom: 0.5rem;
}

.single-post .entry-content h3 {
    font-size: 1.5rem; /* Equivalent to text-2xl */
}

.single-post .entry-content p {
    line-height: 1.75;
    margin-bottom: 1.25em;
}

.single-post .entry-content a {
    color: #2563eb; /* Equivalent to text-blue-600 */
    text-decoration: none;
    font-weight: 500;
}

.single-post .entry-content a:hover {
    text-decoration: underline;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-bottom: 1.25em;
    padding-right: 1.5em; /* For RTL lists */
}

.single-post .entry-content ul {
    list-style-type: disc;
}

.single-post .entry-content ol {
    list-style-type: decimal;
}

.single-post .entry-content li {
    margin-bottom: 0.5em;
}

.single-post .entry-content blockquote {
    border-right: 4px solid #d1d5db; /* Equivalent to border-gray-300 */
    padding-right: 1em;
    font-style: italic;
    color: #4b5563; /* Equivalent to text-gray-600 */
    margin-right: 0;
}

/* =============================================================================
   NEW STYLES: For Single Template 2 (Video & Podcast)
   ========================================================================== */

/* Styles for the video container in the main content */
.single-template-2 .video-container {
    background-color: #1F2937; /* A dark, modern background (like Tailwind gray-800) */
    border-radius: 0.75rem; /* 12px rounded corners */
    padding: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.single-template-2 .responsive-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.single-template-2 .responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0.5rem; /* 8px rounded corners for the iframe itself */
}

/* Styles for the podcast widget in the sidebar, with its own color palette */
.single-template-2 .podcast-widget {
    background: #F5F3FF; /* A very light purple background (like Tailwind violet-50) */
    border: 1px solid #E9D5FF; /* Light purple border (like Tailwind purple-200) */
    border-radius: 0.75rem; /* 12px */
    padding: 1.5rem;
    margin-top: 1.5rem; /* Adds space from the element above it */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.05);
}

.single-template-2 .podcast-widget .widget-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 700;
    color: #5B21B6; /* A deep purple for the title (like Tailwind violet-700) */
    margin: 0 0 1rem 0; /* Removes default top margin */
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #C4B5FD; /* A slightly darker purple for the underline (like Tailwind violet-300) */
}

.single-template-2 .podcast-widget audio {
    width: 100%;
    margin-top: 0.5rem;
}
