-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
836 lines (716 loc) · 23.6 KB
/
style.css
File metadata and controls
836 lines (716 loc) · 23.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
/*
Theme Name: Elayne
Theme URI: https://imagewize.com/themes/elayne
Author: Jasper Frumau
Author URI: https://imagewize.com
Description: A premium full-site-editing block theme with industry-specific pattern sets for spa and wellness, legal, food and beverage, home services, nail salon, and publishing. Includes 7 style variations and 110+ conversion-optimized block patterns for professional websites.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Version: 4.3.2
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: elayne
Tags: block-patterns, block-styles, blog, custom-colors, custom-logo, custom-menu, e-commerce, editor-style, featured-images, full-site-editing, grid-layout, template-editing, threaded-comments, translation-ready, wide-blocks
Elayne WordPress Theme, (C) 2025 Jasper Frumau
Elayne is distributed under the terms of the GNU GPL.
*/
/**
* Table of Contents
*
* 1. Partial Underline (post titles)
* 2. Layout Helpers (alignfull bleed)
* 3. Checkmark List
* 4. Avatar
* 5. Spa & Wellness Style Variation
* 6. Cart Icon
* 7. Mobile Navigation
* 8. Portfolio Masonry Grid
* 9. WooCommerce Product Grid
* 10. Post Author & Date Alignment
* 11. Link Underline
* 12. Comment Form Spacing
* 13. Legal Hero Split Layout
* 14. Diagonal Hero Section
* 15. Diagonal Banner Section
* 16. Layout Utilities (overlay-grid-wrap, floating-badge, icon-pulse, stats-divider)
* 17. Skip Link Accessibility
* 18. Safari Scrollbar Fix
*/
/* Partial underline styling for post titles (matches Versifier) */
.has-partial-underline a {
display: inline-block;
border-bottom: 2px solid currentColor !important;
border-image: linear-gradient(to right, currentColor 33%, transparent 33%) 1;
padding-bottom: 0.25rem;
text-decoration: none !important;
}
.has-partial-underline-center.has-partial-underline-third a {
border-image: linear-gradient(to right, transparent 33.33%, currentColor 33.33%, currentColor 66.66%, transparent 66.66%) 1 !important;
}
.wp-block-post-title.has-partial-underline-center.has-partial-underline-third {
position: relative;
padding-bottom: 0.5rem;
}
.wp-block-post-title.has-partial-underline-center.has-partial-underline-third::after {
content: '';
position: absolute;
bottom: 0;
left: 33.33%;
right: 33.33%;
height: 2px;
background-color: currentColor;
}
.wp-block-post-title.has-partial-underline-center.has-partial-underline-third a {
border-bottom: none !important;
border-image: none !important;
text-decoration: none !important;
}
/* Opt-out helper: add body class "no-partial-underline" to disable underline styles */
body.no-partial-underline .has-partial-underline a,
body.no-partial-underline .wp-block-post-title.has-partial-underline-center.has-partial-underline-third a {
border-bottom: none !important;
border-image: none !important;
padding-bottom: 0;
}
body.no-partial-underline .wp-block-post-title.has-partial-underline-center.has-partial-underline-third {
padding-bottom: 0;
}
body.no-partial-underline .wp-block-post-title.has-partial-underline-center.has-partial-underline-third::after {
display: none;
}
/* Layout helpers: allow alignfull blocks inside post content to bleed edge-to-edge while root padding stays on */
.wp-site-blocks .wp-block-post-content .alignfull {
margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px));
margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px));
width: calc(100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px));
max-width: 100vw;
}
/* Responsive table overflow in post content */
.wp-block-post-content .wp-block-table {
overflow-x: auto;
display: block;
}
.wp-block-post-content .wp-block-table table {
min-width: 600px;
}
/* Checkmark list style for pricing tables */
.is-style-checkmark-list {
list-style: none;
padding-left: 0;
}
.is-style-checkmark-list li {
display: flex;
align-items: flex-start;
gap: 0.75rem;
margin-bottom: 1rem;
padding-left: 0 !important;
}
.is-style-checkmark-list li::before {
content: '';
display: inline-block;
width: 24px;
height: 24px;
flex-shrink: 0;
background-image: url('patterns/images/check-circle.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
margin-top: 0.125rem;
}
figure.is-avatar,
.wp-block-image.is-avatar {
width: var(--wp--custom--avatar-size) !important;
height: var(--wp--custom--avatar-size) !important;
max-width: var(--wp--custom--avatar-size) !important;
}
.is-avatar img {
width: var(--wp--custom--avatar-size) !important;
height: var(--wp--custom--avatar-size) !important;
max-width: var(--wp--custom--avatar-size) !important;
aspect-ratio: 1;
object-fit: cover;
}
/* ========================================================================
Spa & Wellness Style Variation (from Velora Spa theme)
======================================================================== */
/* Overlapping columns styling */
@media (min-width: 782px) {
.is-style-overlap-columns .wp-block-column:nth-child(2) {
margin-left: -10%;
z-index: 2;
position: relative;
align-self: center;
}
/* Styling for reversed overlapping columns */
.is-style-overlap-columns-reversed .wp-block-column:nth-child(1) {
margin-right: -10%;
margin-left: 0;
z-index: 2;
position: relative;
align-self: center;
}
}
/* Spa post grid styling */
.spa-post-grid .wp-block-post-featured-image {
width: 100%;
}
.spa-post-grid .wp-block-post-featured-image img {
width: 100%;
height: auto;
object-fit: cover;
}
/* Cart icon styling */
.cart-icon {
margin: 0 !important;
transition: transform 0.2s ease;
}
.cart-icon img {
display: block;
width: 24px;
height: 24px;
}
.cart-icon a:hover {
opacity: 0.8;
}
.cart-icon a:hover img {
filter: brightness(0) sepia(100%) saturate(500%) hue-rotate(175deg);
transform: scale(1.1);
}
/* Mobile navigation adjustments */
@media (max-width: 781px) {
.mobile-centered-nav .wp-block-navigation__responsive-container-open {
margin: 0 auto;
}
.mobile-centered-nav {
width: 100%;
justify-content: center;
}
.mobile-centered-nav .wp-block-navigation__responsive-container-open {
position: relative;
left: 0;
transform: translateX(0);
}
/* Store header: logo left | cart | hamburger right */
.elayne-light-header-standard .wp-block-site-title {
padding-left: 0;
flex: 1;
}
.elayne-light-header-standard .wp-block-woocommerce-customer-account {
display: none !important;
}
.elayne-light-header-standard .wc-block-mini-cart {
order: 2;
}
.elayne-light-header-standard .wp-block-navigation {
order: 3;
flex: none;
}
}
/* Masonry grid layout using CSS columns */
.portfolio-masonry-grid {
column-count: 3;
column-gap: 16px;
}
.portfolio-masonry-grid .portfolio-item {
break-inside: avoid;
margin-bottom: 16px;
display: inline-block;
width: 100%;
}
/* Responsive masonry columns */
@media (max-width: 1024px) {
.portfolio-masonry-grid {
column-count: 2;
}
}
@media (max-width: 640px) {
.portfolio-masonry-grid {
column-count: 1;
}
}
/* Shop landing — remove WordPress is-layout-flow block gap between section patterns */
.elayne-shop-landing.is-layout-flow > * {
margin-block-start: 0 !important;
}
/* WooCommerce Product Collection responsive grid */
.wc-block-product-template.is-flex-container {
display: grid !important;
grid-template-columns: repeat(3, 1fr) !important;
gap: 2rem !important;
}
.wc-block-product-template.is-flex-container.columns-4 {
grid-template-columns: repeat(4, 1fr) !important;
}
.wc-block-product-template.is-flex-container > li {
width: auto !important;
background-color: var(--wp--preset--color--base);
}
/* Product card text area padding — image fills full width, text gets horizontal padding */
.wc-block-product-template.is-flex-container > li > :not(.wc-block-components-product-image) {
padding-left: 1.25rem;
padding-right: 1.25rem;
}
.wc-block-product-template.is-flex-container > li > .wp-block-post-title {
padding-top: 1.25rem;
}
.wc-block-product-template.is-flex-container > li > :last-child {
padding-bottom: 1.25rem;
}
@media (max-width: 1024px) {
.wc-block-product-template.is-flex-container {
grid-template-columns: repeat(2, 1fr) !important;
gap: 1.5rem !important;
}
}
@media (max-width: 640px) {
.wc-block-product-template.is-flex-container {
grid-template-columns: 1fr !important;
gap: 1rem !important;
}
}
/* ========================================================================
Post Author & Post Date Alignment Fix
======================================================================== */
/* Ensure post author and post date are vertically aligned when in a flex container */
.wp-block-post-author {
display: flex;
align-items: center;
}
/* Align author content (name) with the center of the avatar */
.wp-block-post-author__content {
display: flex;
align-items: center;
}
/* Remove paragraph bottom margin from author name to prevent misalignment */
.wp-block-post-author__name {
margin: 0;
}
/* Ensure post date aligns with author name */
.wp-block-post-date {
display: flex;
align-items: center;
}
/* ========================================================================
Link Underline Styling
======================================================================== */
/* Firefox-specific fix for thick underlines */
@-moz-document url-prefix() {
a {
text-decoration-thickness: .1rem !important;
}
}
/* WordPress.org requirement: links in body content must be underlined.
Covers block content, comments, and text widgets.
Navigation-like contexts (menus, buttons, post titles) remain exempt. */
.wp-block-post-content a:not(.wp-element-button):not(.no-underline-link),
.comment-content a:not(.wp-element-button),
.widget a:not(.wp-element-button) {
text-decoration: underline;
}
/* ========================================================================
Comment Form Spacing
======================================================================== */
.wp-block-post-comments-form #submit {
margin-top: 1rem;
}
/* ========================================================================
Legal Hero Split Layout - Mobile Ordering
======================================================================== */
/* On mobile, show image first, then content, then reviews */
@media (max-width: 782px) {
.legal-hero-split-grid {
display: flex !important;
flex-direction: column;
}
.legal-hero-split-content {
order: 2;
}
.legal-hero-split-image {
order: 1;
}
.legal-hero-split-reviews {
order: 3;
}
}
/* On desktop, stack image and reviews in the right column */
@media (min-width: 783px) {
.legal-hero-split-grid {
grid-template-columns: 1fr 1fr !important; /* Force 2 columns */
grid-auto-flow: dense; /* Allow items to fill available space */
}
.legal-hero-split-content {
grid-column: 1; /* First column */
grid-row: 1 / 3; /* Span both rows */
}
.legal-hero-split-image {
grid-column: 2; /* Second column */
grid-row: 1; /* First row */
}
.legal-hero-split-reviews {
grid-column: 2; /* Second column */
grid-row: 2; /* Second row */
}
}
/* ========================================================================
Diagonal Hero Section - Editable Overlay Effect
======================================================================== */
/* Diagonal overlay hero section with WordPress Cover block overlay */
.diagonal-hero-section {
position: relative;
overflow: hidden;
}
/* Create the diagonal clip-path on BOTH Cover block overlay elements (solid colors AND gradients) */
.diagonal-hero-section .wp-block-cover__background,
.diagonal-hero-section .wp-block-cover__gradient-background {
clip-path: polygon(0 0, 65% 0, 55% 100%, 0 100%);
}
/* Ensure content stays above overlay */
.diagonal-hero-section .wp-block-cover__inner-container {
position: relative;
z-index: 2;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.diagonal-hero-section .wp-block-cover__background,
.diagonal-hero-section .wp-block-cover__gradient-background {
clip-path: polygon(0 0, 70% 0, 60% 100%, 0 100%);
}
}
@media (max-width: 768px) {
.diagonal-hero-section {
min-height: 500px !important;
}
/* Full overlay on mobile for better readability */
.diagonal-hero-section .wp-block-cover__background,
.diagonal-hero-section .wp-block-cover__gradient-background {
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
}
@media (max-width: 480px) {
.diagonal-hero-section {
min-height: 450px !important;
}
}
/* ========================================================================
Diagonal Banner Section - Editable Overlay Effect
======================================================================== */
/* Diagonal overlay banner section with WordPress Cover block overlay */
.diagonal-banner-section {
position: relative;
overflow: hidden;
}
/* Create the diagonal clip-path on BOTH Cover block overlay elements (solid colors AND gradients) */
.diagonal-banner-section .wp-block-cover__background,
.diagonal-banner-section .wp-block-cover__gradient-background {
clip-path: polygon(0 0, 65% 0, 55% 100%, 0 100%);
}
/* Ensure content stays above overlay */
.diagonal-banner-section .wp-block-cover__inner-container {
position: relative;
z-index: 2;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.diagonal-banner-section .wp-block-cover__background,
.diagonal-banner-section .wp-block-cover__gradient-background {
clip-path: polygon(0 0, 70% 0, 60% 100%, 0 100%);
}
}
@media (max-width: 768px) {
/* Full overlay on mobile for better readability */
.diagonal-banner-section .wp-block-cover__background,
.diagonal-banner-section .wp-block-cover__gradient-background {
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
}
/* ========================================================================
Layout Utilities
Reusable structural classes, not tied to any style variation.
======================================================================== */
/* Thin vertical divider between stat items */
.stats-divider {
display: block;
width: 1px;
height: 36px;
background: rgba( 255, 255, 255, 0.1 );
align-self: center;
}
/* CSS Grid overlay — stack all children in the same cell (hero/image compositions) */
.overlay-grid-wrap {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
overflow: visible;
}
.overlay-grid-wrap > .wp-block-group,
.overlay-grid-wrap > .wp-block-cover {
grid-column: 1;
grid-row: 1;
}
/* When the first child of overlay-grid-wrap contains an image, clip it to the group's border-radius */
.overlay-grid-wrap > .wp-block-group:first-child:has(.wp-block-image) {
overflow: hidden;
}
.overlay-grid-wrap > .wp-block-group:first-child .wp-block-image {
margin: 0;
}
.overlay-grid-wrap > .wp-block-group:first-child .wp-block-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* Floating stat/social-proof badge overlaid on an image */
.floating-badge {
display: flex;
align-items: center;
gap: 0.5rem;
background: #112240;
border: 1px solid rgba( 255, 255, 255, 0.08 );
border-left: 3px solid #E67E22;
padding: 0.55rem 0.9rem;
border-radius: 10px;
z-index: 2;
white-space: nowrap;
width: fit-content;
}
/* Bottom-left badge position */
.floating-badge-bl {
align-self: end;
justify-self: start;
margin-bottom: 1.5rem;
margin-left: -0.75rem;
height: fit-content;
}
/* Top-right badge position */
.floating-badge-tr {
align-self: start;
justify-self: end;
margin-top: 1.5rem;
margin-right: -0.75rem;
height: fit-content;
}
/* Icon sizing inside floating badges */
.floating-badge .wp-block-image {
margin: 0;
display: flex;
align-items: center;
flex-shrink: 0;
}
.floating-badge .wp-block-image img {
width: 16px;
height: 16px;
display: block;
}
/* Pulsing icon — use on any "live" or "urgent" indicator */
@keyframes icon-pulse {
0%,
100% {
transform: scale( 1 );
}
50% {
transform: scale( 1.1 );
}
}
.icon-pulse {
animation: icon-pulse 2s ease-in-out infinite;
display: inline-block;
}
/* ============================================
Skip Link Accessibility Improvements
============================================ */
/* Skip link - hidden by default, visible on focus */
.skip-link.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px); /* Legacy browsers */
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
/* Skip link focus state - highly visible */
.skip-link.screen-reader-text:focus,
#wp-skip-link:focus {
position: absolute;
top: 10px;
left: 10px;
z-index: 100000;
display: inline-block;
width: auto;
height: auto;
clip: auto;
clip-path: none;
padding: 15px 20px;
background-color: var(--wp--preset--color--primary, #0073aa);
color: #fff;
font-size: 16px;
font-weight: 600;
line-height: 1.5;
text-decoration: none;
border-radius: 3px;
outline: 3px solid #fff;
outline-offset: 2px;
box-shadow: 0 0 0 6px #000;
}
/* Ensure skip link target is visible */
#wp--skip-link--target {
scroll-margin-top: 20px;
}
/* Remove global blockGap spacing for template parts (header/footer)
* theme.json sets blockGap: "1.2rem" which adds margin-block-start: 1.2rem to all direct children of .wp-site-blocks
* This creates unwanted gaps between full-width patterns and footer/header template parts
* Introduced in v2.0.0 pattern refactor (commit b08fd39c) for vertical rhythm between content sections
* This override allows full-width patterns with background colors to be flush with template parts
*/
.wp-site-blocks > .wp-block-template-part {
margin-block-start: 0;
}
/* ========================================================================
Contact Form 7 — generic light-card context
Applies to all style variations. Plumbing-specific overrides in
plumbing-variation.css take priority via higher specificity.
Uses CSS custom properties so styles adapt to the active variation.
======================================================================== */
/* Remove CF7's default paragraph margin; gap is handled by flex layout */
.wp-block-contact-form-7-contact-form-selector p {
margin: 0;
}
/* Stack fields with consistent gap */
.wp-block-contact-form-7-contact-form-selector .wpcf7-form {
display: flex;
flex-direction: column;
gap: var( --wp--preset--spacing--medium );
}
/* Hide the hidden-inputs fieldset */
.wp-block-contact-form-7-contact-form-selector .hidden-fields-container {
display: none;
}
/* Labels — scoped to .wpcf7-form to avoid styling the editor block UI */
.wp-block-contact-form-7-contact-form-selector .wpcf7-form label {
display: flex;
flex-direction: column;
gap: var( --wp--preset--spacing--x-small );
color: var( --wp--preset--color--main-accent );
font-size: var( --wp--preset--font-size--x-small );
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
}
/* Text inputs and textarea — scoped to .wpcf7-form to avoid styling the editor block UI */
.wp-block-contact-form-7-contact-form-selector .wpcf7-form input[type="text"],
.wp-block-contact-form-7-contact-form-selector .wpcf7-form input[type="email"],
.wp-block-contact-form-7-contact-form-selector .wpcf7-form textarea {
width: 100%;
box-sizing: border-box;
background: var( --wp--preset--color--secondary );
border: 1px solid var( --wp--preset--color--border-light );
border-radius: var( --wp--preset--border-radius--sm );
padding: var( --wp--preset--spacing--small ) var( --wp--preset--spacing--medium );
color: var( --wp--preset--color--main );
font-size: var( --wp--preset--font-size--small );
font-family: inherit;
outline: none;
transition: border-color 0.2s ease;
}
.wp-block-contact-form-7-contact-form-selector .wpcf7-form input[type="text"]:focus,
.wp-block-contact-form-7-contact-form-selector .wpcf7-form input[type="email"]:focus,
.wp-block-contact-form-7-contact-form-selector .wpcf7-form textarea:focus {
border-color: var( --wp--preset--color--primary );
}
.wp-block-contact-form-7-contact-form-selector .wpcf7-form textarea {
resize: vertical;
min-height: 120px;
}
/* Submit button */
.wp-block-contact-form-7-contact-form-selector .wpcf7-form input[type="submit"] {
width: 100%;
background: var( --wp--preset--color--primary );
color: var( --wp--preset--color--base );
border: none;
border-radius: var( --wp--preset--border-radius--pill );
padding: 0.95em 2em;
font-size: var( --wp--preset--font-size--base );
font-weight: 700;
font-family: inherit;
cursor: pointer;
transition: background 0.2s ease;
}
.wp-block-contact-form-7-contact-form-selector .wpcf7-form input[type="submit"]:hover {
background: var( --wp--preset--color--primary-alt );
}
/* Spinner */
.wp-block-contact-form-7-contact-form-selector .wpcf7-spinner {
margin-left: 0.5em;
vertical-align: middle;
}
/* Inline validation error tips */
.wp-block-contact-form-7-contact-form-selector .wpcf7-not-valid-tip {
color: #c0392b;
font-size: var( --wp--preset--font-size--x-small );
font-weight: 400;
text-transform: none;
letter-spacing: 0;
margin-top: 4px;
display: block;
}
/* Invalid field highlight */
.wp-block-contact-form-7-contact-form-selector .wpcf7-form .wpcf7-not-valid {
border-color: #c0392b !important;
}
/* Success / error response bar */
.wp-block-contact-form-7-contact-form-selector .wpcf7-response-output {
border-radius: var( --wp--preset--border-radius--sm );
padding: var( --wp--preset--spacing--small ) var( --wp--preset--spacing--medium );
font-size: var( --wp--preset--font-size--x-small );
border: 1px solid transparent;
margin: 0;
}
.wp-block-contact-form-7-contact-form-selector .wpcf7-form.sent .wpcf7-response-output {
background: rgba( 46, 160, 67, 0.08 );
border-color: rgba( 46, 160, 67, 0.35 );
color: #1a7f37;
}
.wp-block-contact-form-7-contact-form-selector .wpcf7-form.invalid .wpcf7-response-output,
.wp-block-contact-form-7-contact-form-selector .wpcf7-form.failed .wpcf7-response-output {
background: rgba( 192, 57, 43, 0.06 );
border-color: rgba( 192, 57, 43, 0.3 );
color: #c0392b;
}
/* === Store ticker marquee === */
.elayne-ticker {
overflow: hidden;
}
.elayne-ticker__track {
display: flex;
width: max-content;
will-change: transform;
animation: elayne-ticker-scroll 40s linear infinite;
}
.elayne-ticker__item {
white-space: nowrap;
display: inline-block;
}
@keyframes elayne-ticker-scroll {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
.elayne-ticker__track {
animation: none;
justify-content: center;
}
}
.elayne-story-initial { opacity: 0.12; }
/* Main hero: no side padding at desktop (wide align provides auto-margins);
restore breathing room on mobile */
@media (max-width: 781px) {
.wp-block-group.main-hero {
padding-inline: var(--wp--preset--spacing--medium);
}
}
.elayne-hero-watermark { opacity: 0.2; }