/* WineBlending 2026 – custom CSS (Gridbox Code Editor). Only what the Gridbox panels cannot do. */

/* 1. Large figures in the facts strip and step numbers (display font inside a normal text element) */
.fact-big { font-family: 'Italiana', serif !important; font-size: 38px !important; line-height: 1.1 !important; color: #FFF6DA !important; margin-bottom: 4px !important; }
.step-num { font-family: 'Italiana', serif !important; font-size: 40px !important; line-height: 1 !important; color: #E9C98F !important; margin-bottom: 10px !important; }
@media (max-width: 767px) { .fact-big { font-size: 30px !important; } }

/* 2. Accessibility: clearly visible keyboard focus on every link, button and form field */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
.ba-btn-transition:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid #A88452 !important; outline-offset: 3px !important;
}

/* 3. Respect "reduce motion" system setting */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 4. Underline links inside body text so they are not identified by colour alone */
.ba-item-text .content-text p a { text-decoration: underline; text-underline-offset: 3px; }
header.header .content-text p a, footer.footer .content-text p a { text-decoration: none; }
header.header .content-text p a:hover, footer.footer .content-text p a:hover { text-decoration: underline; }

/* 5. Spacing between paragraphs and Q&A blocks written in one text element */
.ba-item-text .content-text p + p { margin-top: 14px; }
.ba-item-text .content-text p + h3, .ba-item-text .content-text p + h4 { margin-top: 26px; }
.ba-item-text .content-text h3 + p { margin-top: 6px; }

/* 6. Space between the grape fact sections (Zero app field group) */
.ba-field-group-wrapper .ba-field-wrapper + .ba-field-wrapper { margin-top: 30px; }
.ba-item-text .content-text p + h2, .ba-item-text .content-text ul + h2 { margin-top: 30px; }
.ba-item-text .content-text h2 + p, .ba-item-text .content-text h2 + ul { margin-top: 8px; }
