/*
 * Scoped styles for /all-about-360/projects/{slug}.
 *
 * Class hooks for the sanitised WP body content inside .vr-project-body:
 * headings, paragraphs, images, iframes, testimonial wrap. Palette matches
 * the Tailwind colours used across the rest of the frontend so the
 * Elementor-authored content blends in.
 *
 * Loaded from all-about-360-project-details.blade.php only — do not
 * import elsewhere; other pages don't need these hooks.
 */

.vr-project-body {
    color: #4c5563; /* text-secondary-300 */
    font-size: 1rem;
    line-height: 1.75;
}
@media (min-width: 768px) {
    .vr-project-body { font-size: 1.125rem; }
}
.vr-project-body > *:first-child { margin-top: 0; }
.vr-project-body > *:last-child  { margin-bottom: 0; }

.vr-project-body h1,
.vr-project-body h2 {
    color: #1f2937; /* text-secondary-500 */
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.35;
    margin: 2rem 0 0.875rem;
}
@media (min-width: 768px)  { .vr-project-body h2 { font-size: 1.75rem; } }
@media (min-width: 1024px) { .vr-project-body h2 { font-size: 2rem;    } }

.vr-project-body h3 {
    color: #1f2937;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 1.5rem 0 0.5rem;
}
@media (min-width: 768px) { .vr-project-body h3 { font-size: 1.375rem; } }

.vr-project-body p        { margin: 0.75rem 0 1rem; }
.vr-project-body a        { color: #b98a59; text-decoration: underline; text-underline-offset: 3px; }
.vr-project-body a:hover  { color: #a1743f; }
.vr-project-body strong   { color: #1f2937; font-weight: 600; }
.vr-project-body ul,
.vr-project-body ol       { margin: 0.75rem 0 1rem; padding-left: 1.5rem; }
.vr-project-body ul       { list-style: disc; }
.vr-project-body ol       { list-style: decimal; }
.vr-project-body li       { margin: 0.25rem 0; }

.vr-project-body figure {
    margin: 1.5rem 0;
    border-radius: 1.25rem;
    overflow: hidden;
    display: block;
    /* Center small images instead of pinning them left. */
    text-align: center;
}
.vr-project-body figure img {
    display: inline-block;
    /* Don't upscale small images — render at intrinsic size up to the
       container width. Big images get clamped by max-width; small ones
       stay small so we don't stretch a 200px asset to 1200px. */
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.vr-project-body img { max-width: 100%; height: auto; }

/* WP left iframes as fixed 800×600. Wrap responsively without touching HTML. */
.vr-project-body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border: 0;
    border-radius: 1.25rem;
    margin: 1.5rem 0;
}

/* Testimonial block emitted by sanitiseVrProjectBody(). */
.vr-project-body .vr-testimonial-wrap {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 1.25rem 0 2rem;
}
.vr-project-body .vr-testimonial-wrap > figure,
.vr-project-body .vr-testimonial-wrap > img {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 9999px;
    overflow: hidden;
    margin: 0;
}
.vr-project-body .vr-testimonial-wrap > figure img,
.vr-project-body .vr-testimonial-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vr-project-body blockquote.vr-testimonial {
    flex: 1 1 300px;
    border-left: 4px solid #d9c9b3; /* border-primary-100 */
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin: 0;
    color: #374151; /* text-secondary-400 */
    font-style: italic;
}
.vr-project-body blockquote.vr-testimonial p { margin: 0 0 0.5rem; }
.vr-project-body blockquote.vr-testimonial footer {
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.875rem;
    color: #6b7280; /* text-secondary-200 */
}
.vr-project-body blockquote.vr-testimonial cite { font-style: normal; font-weight: 500; }

/* Any decorative SVG that survives strip (should be none). */
.vr-project-body svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    margin-right: 0.4em;
}
