PluginProbe
Yatra – Travel Booking & Tour Operator Software / trunk
Yatra – Travel Booking & Tour Operator Software vtrunk
3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 2.0.10 2.0.11 All 82 releases
yatra / assets / css / shortcodes / activity-shortcode.css

activity-shortcode.css in Yatra – Travel Booking & Tour Operator Software trunk, at assets/css/shortcodes/activity-shortcode.css

916 lines 19.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Activity Shortcode Styles */
2 .yatra-activity-shortcode {
3 margin: 30px 0;
4 position: relative;
5 }
6
7 /* Category-Style Activity Cards */
8 .yatra-category-card {
9 position: relative;
10 border-radius: 12px;
11 overflow: hidden;
12 background: #ffffff;
13 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
14 transition: transform 0.3s ease, box-shadow 0.3s ease;
15 }
16
17 .yatra-category-card:hover {
18 transform: translateY(-4px);
19 box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
20 }
21
22 .yatra-category-card-image-wrapper {
23 position: relative;
24 width: 100%;
25 padding-top: 75%; /* 4:3 Aspect Ratio */
26 overflow: hidden;
27 }
28
29 .yatra-category-card-image {
30 position: absolute;
31 top: 0;
32 left: 0;
33 width: 100%;
34 height: 100%;
35 object-fit: cover;
36 transition: transform 0.3s ease;
37 }
38
39 .yatra-category-card:hover .yatra-category-card-image {
40 transform: scale(1.05);
41 }
42
43 .yatra-category-card-overlay {
44 position: absolute;
45 top: 0;
46 left: 0;
47 right: 0;
48 bottom: 0;
49 background: linear-gradient(to bottom,
50 rgba(0, 0, 0, 0.1) 0%,
51 rgba(0, 0, 0, 0.3) 30%,
52 rgba(0, 0, 0, 0.7) 70%,
53 rgba(0, 0, 0, 0.9) 100%
54 );
55 display: flex;
56 align-items: flex-end;
57 padding: 20px;
58 }
59
60 .yatra-category-card-content {
61 color: #ffffff;
62 width: 100%;
63 z-index: 2;
64 position: relative;
65 }
66
67 .yatra-category-card-title {
68 margin: 0 0 16px 0;
69 font-size: 1.5rem;
70 font-weight: 700;
71 line-height: 1.2;
72 }
73
74 .yatra-category-card-title-link {
75 color: #ffffff;
76 text-decoration: none;
77 transition: color 0.2s ease;
78 }
79
80 .yatra-category-card-title-link:hover {
81 color: var(--yatra-primary-light, #60a5fa);
82 }
83
84 /*
85 * Whole-card click target.
86 *
87 * Promote the title link to a "stretched link" so the entire card is
88 * navigable, while keeping the visible <a> on the title for screen readers
89 * and SEO. The pseudo-element fills the overlay (which is `inset: 0` on the
90 * image wrapper), giving us a single canonical link target without nesting
91 * <a> elements. The featured badge is made non-interactive so clicks on it
92 * pass through to the stretched link.
93 */
94 .yatra-category-card {
95 cursor: pointer;
96 }
97
98 .yatra-category-card-title-link::after {
99 content: "";
100 position: absolute;
101 inset: 0;
102 z-index: 1;
103 border-radius: inherit;
104 }
105
106 .yatra-category-card-title-link:focus-visible::after {
107 outline: 2px solid var(--yatra-primary, #2563eb);
108 outline-offset: -2px;
109 }
110
111 .yatra-category-featured-badge {
112 pointer-events: none;
113 }
114
115 .yatra-category-card-stats {
116 display: flex;
117 gap: 20px;
118 margin-bottom: 16px;
119 flex-wrap: wrap;
120 }
121
122 .category-stat {
123 display: flex;
124 align-items: center;
125 gap: 8px;
126 font-size: 1rem;
127 font-weight: 500;
128 }
129
130 .category-stat-icon {
131 width: 20px;
132 height: 20px;
133 display: flex;
134 align-items: center;
135 justify-content: center;
136 }
137
138 .category-stat.rating .category-stat-icon {
139 color: #fbbf24;
140 }
141
142 .category-stat.trips .category-stat-icon {
143 color: var(--yatra-primary-light, #60a5fa);
144 }
145
146 .category-stat.price .category-stat-icon {
147 color: #10b981;
148 }
149
150 .category-stat-value {
151 color: #ffffff;
152 font-size: 1rem;
153 font-weight: 500;
154 }
155
156 .yatra-category-card-price {
157 font-size: 1.125rem;
158 font-weight: 600;
159 color: #ffffff;
160 margin-bottom: 8px;
161 }
162
163 .yatra-category-featured-badge {
164 position: absolute;
165 top: 12px;
166 right: 12px;
167 background: #ef4444;
168 color: #ffffff;
169 padding: 4px 12px;
170 border-radius: 20px;
171 font-size: 0.75rem;
172 font-weight: 600;
173 text-transform: uppercase;
174 letter-spacing: 0.5px;
175 z-index: 3;
176 }
177
178 /* Responsive Design */
179 @media (max-width: 768px) {
180 .yatra-category-card-overlay {
181 padding: 16px;
182 }
183
184 .yatra-category-card-title {
185 font-size: 1.125rem;
186 margin-bottom: 10px;
187 }
188
189 .yatra-category-card-stats {
190 gap: 12px;
191 margin-bottom: 10px;
192 }
193
194 .category-stat {
195 font-size: 0.8rem;
196 }
197
198 .yatra-category-card-price {
199 font-size: 0.9rem;
200 }
201 }
202
203 @media (max-width: 480px) {
204 .yatra-category-card-overlay {
205 padding: 12px;
206 }
207
208 .yatra-category-card-title {
209 font-size: 1rem;
210 margin-bottom: 8px;
211 }
212
213 .yatra-category-card-stats {
214 gap: 8px;
215 margin-bottom: 8px;
216 }
217
218 .category-stat {
219 font-size: 0.75rem;
220 gap: 4px;
221 }
222
223 .category-stat-icon {
224 font-size: 0.875rem;
225 }
226
227 .yatra-category-card-price {
228 font-size: 0.8rem;
229 }
230 }
231
232 .yatra-activity-shortcode.yatra-loading::before {
233 content: '';
234 position: absolute;
235 top: 0;
236 left: 0;
237 right: 0;
238 bottom: 0;
239 background: rgba(255, 255, 255, 0.8);
240 z-index: 10;
241 }
242
243 .yatra-activity-shortcode.yatra-loading::after {
244 content: '';
245 position: absolute;
246 top: 50%;
247 left: 50%;
248 width: 30px;
249 height: 30px;
250 margin: -15px 0 0 -15px;
251 border: 3px solid #f3f3f3;
252 border-top: 3px solid var(--yatra-primary, #3b82f6);
253 border-radius: 50%;
254 animation: yatra-spin 1s linear infinite;
255 z-index: 11;
256 }
257
258 .yatra-activity-header {
259 display: flex;
260 justify-content: space-between;
261 align-items: center;
262 margin-bottom: 30px;
263 padding-bottom: 15px;
264 border-bottom: 1px solid #e5e7eb;
265 }
266
267 .yatra-activity-title {
268 margin: 0;
269 color: #1f2937;
270 font-size: 1.875rem;
271 font-weight: 600;
272 }
273
274 .yatra-activity-count {
275 color: #6b7280;
276 font-size: 0.875rem;
277 }
278
279 .yatra-activity-shortcode .yatra-activity-grid {
280 display: grid;
281 gap: 30px;
282 }
283
284 /* Chained classes beat listing.css generic .yatra-activity-grid rules */
285 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-1 {
286 grid-template-columns: 1fr;
287 }
288
289 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-2 {
290 grid-template-columns: repeat(2, 1fr);
291 }
292
293 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-3 {
294 grid-template-columns: repeat(3, 1fr);
295 }
296
297 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-4 {
298 grid-template-columns: repeat(4, 1fr);
299 }
300
301 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-5 {
302 grid-template-columns: repeat(5, 1fr);
303 }
304
305 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-6 {
306 grid-template-columns: repeat(6, 1fr);
307 }
308
309 /* Activity Card Design - Modern UI/UX */
310 .yatra-activity-card {
311 background: #ffffff;
312 border-radius: 24px;
313 overflow: hidden;
314 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
315 transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
316 position: relative;
317 display: flex;
318 flex-direction: column;
319 height: 100%;
320 border: 1px solid rgba(255, 255, 255, 0.8);
321 }
322
323 .yatra-activity-card:hover {
324 transform: translateY(-4px);
325 box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
326 }
327
328 .yatra-activity-card:hover .yatra-activity-image img {
329 transform: scale(1.05);
330 }
331
332 .yatra-activity-media {
333 position: relative;
334 height: 280px;
335 overflow: hidden;
336 }
337
338 .yatra-activity-image {
339 position: relative;
340 width: 100%;
341 height: 100%;
342 }
343
344 .yatra-activity-image img {
345 width: 100%;
346 height: 100%;
347 object-fit: cover;
348 transition: transform 0.3s ease;
349 filter: brightness(0.9);
350 }
351
352 .yatra-activity-card:hover .yatra-activity-image img {
353 transform: scale(1.05);
354 }
355
356 .yatra-activity-overlay {
357 position: absolute;
358 inset: 0;
359 background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
360 display: flex;
361 align-items: flex-start;
362 justify-content: flex-end;
363 padding: 20px;
364 opacity: 0;
365 transition: opacity 0.4s ease;
366 }
367
368 .yatra-activity-card:hover .yatra-activity-overlay {
369 opacity: 1;
370 }
371
372 .yatra-activity-overlay-content {
373 display: flex;
374 flex-direction: column;
375 gap: 8px;
376 align-items: flex-end;
377 }
378
379 .yatra-activity-badge.featured {
380 background: linear-gradient(135deg, var(--yatra-warning) 0%, #d97706 100%);
381 box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
382 }
383
384 .yatra-activity-badge {
385 background: linear-gradient(135deg, var(--yatra-primary) 0%, var(--yatra-primary-dark) 100%);
386 color: #ffffff;
387 padding: 8px 16px;
388 border-radius: 20px;
389 font-size: 0.75rem;
390 font-weight: 600;
391 text-transform: uppercase;
392 letter-spacing: 1px;
393 box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
394 }
395
396 .yatra-activity-badge.featured {
397 background: linear-gradient(135deg, var(--yatra-warning) 0%, #d97706 100%);
398 box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
399 }
400
401 .yatra-activity-quick-info {
402 display: flex;
403 gap: 8px;
404 }
405
406 .yatra-activity-quick-info-item {
407 display: flex;
408 align-items: center;
409 gap: 4px;
410 background: rgba(255, 255, 255, 0.95);
411 color: var(--yatra-text-primary);
412 padding: 4px 8px;
413 border-radius: 12px;
414 font-size: 0.75rem;
415 font-weight: 500;
416 backdrop-filter: blur(10px);
417 }
418
419 .yatra-activity-quick-info-icon {
420 font-size: 12px;
421 }
422
423 .yatra-activity-content {
424 padding: 24px;
425 flex: 1;
426 display: flex;
427 flex-direction: column;
428 gap: 16px;
429 }
430
431 .yatra-activity-header-info {
432 display: flex;
433 flex-direction: column;
434 gap: 12px;
435 }
436
437 .yatra-activity-name {
438 margin: 0;
439 font-size: 1.5rem;
440 font-weight: 700;
441 line-height: 1.3;
442 color: var(--yatra-text-primary);
443 }
444
445 .yatra-activity-name a {
446 color: inherit;
447 text-decoration: none;
448 transition: color 0.3s ease;
449 position: relative;
450 }
451
452 .yatra-activity-name a::after {
453 content: '';
454 position: absolute;
455 bottom: -2px;
456 left: 0;
457 width: 0;
458 height: 2px;
459 background: linear-gradient(90deg, var(--yatra-primary), var(--yatra-primary-dark));
460 transition: width 0.3s ease;
461 }
462
463 .yatra-activity-name a:hover::after {
464 width: 100%;
465 }
466
467 .yatra-activity-name a:hover {
468 color: var(--yatra-primary-dark);
469 }
470
471 .yatra-activity-meta {
472 display: flex;
473 align-items: center;
474 justify-content: space-between;
475 flex-wrap: wrap;
476 gap: 16px;
477 }
478
479 .yatra-activity-rating {
480 display: flex;
481 align-items: center;
482 gap: 8px;
483 }
484
485 .yatra-activity-stars {
486 display: flex;
487 gap: 2px;
488 }
489
490 .yatra-activity-star {
491 font-size: 16px;
492 color: #dfe6e9;
493 transition: color 0.2s ease;
494 }
495
496 .yatra-activity-star.filled {
497 color: var(--yatra-star);
498 text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
499 }
500
501 .yatra-activity-rating-count {
502 font-size: 0.875rem;
503 color: var(--yatra-text-muted);
504 font-weight: 500;
505 }
506
507 .yatra-activity-tours {
508 display: flex;
509 align-items: baseline;
510 gap: 4px;
511 color: var(--yatra-text-muted);
512 }
513
514 .yatra-activity-tours-count {
515 font-size: 1.125rem;
516 font-weight: 700;
517 color: var(--yatra-text-primary);
518 }
519
520 .yatra-activity-tours-label {
521 font-size: 0.875rem;
522 font-weight: 500;
523 }
524
525 .yatra-activity-description {
526 color: var(--yatra-text-muted);
527 font-size: 0.9375rem;
528 line-height: 1.7;
529 display: -webkit-box;
530 -webkit-line-clamp: 3;
531 line-clamp: 3;
532 -webkit-box-orient: vertical;
533 overflow: hidden;
534 }
535
536 .yatra-activity-specs {
537 display: flex;
538 flex-direction: column;
539 gap: 8px;
540 }
541
542 .yatra-activity-spec {
543 display: flex;
544 align-items: center;
545 gap: 10px;
546 padding: 10px;
547 background: var(--yatra-bg-gray-100);
548 border-radius: 8px;
549 border: 1px solid var(--yatra-border-light);
550 }
551
552 .yatra-activity-spec-icon {
553 width: 32px;
554 height: 32px;
555 display: flex;
556 align-items: center;
557 justify-content: center;
558 background: linear-gradient(135deg, var(--yatra-primary-light) 0%, var(--yatra-primary) 100%);
559 border-radius: 50%;
560 box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
561 color: #ffffff;
562 }
563
564 .yatra-activity-spec-icon svg {
565 width: 16px;
566 height: 16px;
567 fill: currentColor;
568 }
569
570 .yatra-activity-spec-content {
571 flex: 1;
572 }
573
574 .yatra-activity-spec-label {
575 font-size: 0.75rem;
576 color: var(--yatra-text-muted);
577 font-weight: 500;
578 text-transform: uppercase;
579 letter-spacing: 0.5px;
580 }
581
582 .yatra-activity-spec-value {
583 font-size: 0.875rem;
584 color: var(--yatra-text-primary);
585 font-weight: 600;
586 }
587
588 .yatra-activity-features {
589 display: grid;
590 grid-template-columns: 1fr 1fr;
591 gap: 8px;
592 }
593
594 .yatra-activity-feature {
595 display: flex;
596 align-items: center;
597 gap: 8px;
598 font-size: 0.875rem;
599 color: var(--yatra-text-primary);
600 font-weight: 500;
601 }
602
603 .yatra-activity-feature-icon {
604 display: flex;
605 align-items: center;
606 justify-content: center;
607 width: 20px;
608 height: 20px;
609 background: var(--yatra-success);
610 color: #ffffff;
611 border-radius: 50%;
612 font-size: 12px;
613 font-weight: 700;
614 }
615
616 .yatra-activity-footer {
617 display: flex;
618 align-items: center;
619 justify-content: space-between;
620 padding-top: 20px;
621 border-top: 1px solid var(--yatra-border-light);
622 margin-top: auto;
623 gap: 16px;
624 }
625
626 .yatra-activity-price-info {
627 display: flex;
628 flex-direction: column;
629 gap: 4px;
630 flex: 1;
631 min-width: 0; /* Prevents flex item from overflowing */
632 }
633
634 .yatra-activity-btn-wrapper {
635 flex-shrink: 0;
636 }
637
638 .yatra-activity-price-label {
639 font-size: 0.75rem;
640 color: var(--yatra-text-muted);
641 font-weight: 500;
642 text-transform: uppercase;
643 letter-spacing: 0.5px;
644 }
645
646 .yatra-activity-price-row {
647 display: flex;
648 align-items: baseline;
649 gap: 2px;
650 }
651
652 .yatra-activity-price-currency {
653 font-size: 1rem;
654 font-weight: 600;
655 color: var(--yatra-text-secondary);
656 }
657
658 .yatra-activity-price-amount {
659 font-size: 1.75rem;
660 font-weight: 800;
661 color: var(--yatra-text-primary);
662 background: linear-gradient(135deg, var(--yatra-text-primary), var(--yatra-text-secondary));
663 -webkit-background-clip: text;
664 -webkit-text-fill-color: transparent;
665 background-clip: text;
666 }
667
668 .yatra-activity-price-person {
669 font-size: 0.875rem;
670 color: var(--yatra-text-muted);
671 font-weight: 500;
672 }
673
674 .yatra-activity-price-note {
675 font-size: 0.75rem;
676 color: var(--yatra-success);
677 font-weight: 500;
678 }
679
680 .yatra-activity-btn {
681 display: inline-flex;
682 align-items: center;
683 justify-content: center;
684 gap: 4px;
685 padding: 8px 12px;
686 background: var(--yatra-primary);
687 color: #ffffff !important;
688 border: none;
689 border-radius: 4px;
690 font-size: 12px;
691 font-weight: 600;
692 cursor: pointer;
693 transition: all 0.2s;
694 text-decoration: none !important;
695 white-space: nowrap;
696 }
697
698 .yatra-activity-btn::before {
699 content: '';
700 position: absolute;
701 top: 0;
702 left: -100%;
703 width: 100%;
704 height: 100%;
705 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
706 transition: left 0.5s ease;
707 }
708
709 .yatra-activity-btn:hover::before {
710 left: 100%;
711 }
712
713 .yatra-activity-btn:hover {
714 transform: translateY(-2px);
715 box-shadow: 0 12px 24px rgba(238, 90, 36, 0.4);
716 }
717
718 .yatra-activity-btn-arrow {
719 font-size: 1rem;
720 transition: transform 0.3s ease;
721 }
722
723 .yatra-activity-btn:hover .yatra-activity-btn-arrow {
724 transform: translateX(4px);
725 }
726
727 .yatra-activity-trips {
728 padding: 20px;
729 background: #f8fafc;
730 border-top: 1px solid #e2e8f0;
731 }
732
733 .yatra-activity-trips-title {
734 margin: 0 0 16px 0;
735 color: #374151;
736 font-size: 1rem;
737 font-weight: 600;
738 display: flex;
739 align-items: center;
740 gap: 8px;
741 }
742
743 .yatra-activity-trips-grid {
744 display: grid;
745 gap: 12px;
746 }
747
748 /* Activity Badge */
749 .yatra-activity-badge {
750 position: absolute;
751 top: 16px;
752 right: 16px;
753 background: linear-gradient(135deg, #10b981 0%, #059669 100%);
754 color: #ffffff;
755 padding: 6px 12px;
756 border-radius: 20px;
757 font-size: 0.75rem;
758 font-weight: 600;
759 text-transform: uppercase;
760 letter-spacing: 0.5px;
761 box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
762 z-index: 2;
763 }
764
765 /* Featured Activity */
766 .yatra-activity-card.featured {
767 border: 2px solid #fbbf24;
768 box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
769 }
770
771 .yatra-activity-card.featured::before {
772 content: '';
773 position: absolute;
774 top: -2px;
775 left: -2px;
776 right: -2px;
777 bottom: -2px;
778 background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
779 border-radius: 16px;
780 z-index: -1;
781 opacity: 0;
782 transition: opacity 0.3s ease;
783 }
784
785 .yatra-activity-card.featured:hover::before {
786 opacity: 1;
787 }
788
789 /* Loading State */
790 .yatra-activity-card.loading {
791 position: relative;
792 overflow: hidden;
793 }
794
795 .yatra-activity-card.loading::after {
796 content: '';
797 position: absolute;
798 top: 0;
799 left: -100%;
800 width: 100%;
801 height: 100%;
802 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
803 animation: yatra-shimmer 1.5s infinite;
804 }
805
806 .yatra-activity-empty {
807 text-align: center;
808 padding: 60px 20px;
809 color: #6b7280;
810 }
811
812 .yatra-activity-empty-page {
813 text-align: center;
814 padding: 40px 20px;
815 color: #6b7280;
816 }
817
818 .yatra-activity-pagination {
819 display: flex;
820 justify-content: center;
821 align-items: center;
822 gap: 10px;
823 margin-top: 30px;
824 flex-wrap: wrap;
825 }
826
827 .yatra-pagination-link {
828 display: inline-flex;
829 align-items: center;
830 justify-content: center;
831 min-width: 40px;
832 height: 40px;
833 padding: 0 12px;
834 border: 1px solid #d1d5db;
835 border-radius: 6px;
836 background: #ffffff;
837 color: #374151;
838 text-decoration: none;
839 font-size: 0.875rem;
840 font-weight: 500;
841 transition: all 0.2s ease;
842 }
843
844 .yatra-pagination-link:hover {
845 background: #f9fafb;
846 border-color: color-mix(in srgb, var(--yatra-primary, #3b82f6) 35%, #d1d5db);
847 color: var(--yatra-primary, #3b82f6);
848 }
849
850 .yatra-pagination-current {
851 background: var(--yatra-primary, #3b82f6);
852 border-color: var(--yatra-primary, #3b82f6);
853 color: #ffffff;
854 font-weight: 600;
855 transform: scale(1.05);
856 box-shadow: 0 2px 8px color-mix(in srgb, var(--yatra-primary, #3b82f6) 35%, transparent);
857 }
858
859 .yatra-pagination-current:hover {
860 background: var(--yatra-primary-dark, #2563eb);
861 border-color: var(--yatra-primary-dark, #2563eb);
862 transform: scale(1.05);
863 box-shadow: 0 2px 8px color-mix(in srgb, var(--yatra-primary-dark, #2563eb) 40%, transparent);
864 }
865
866 .yatra-pagination-ellipsis {
867 color: #9ca3af;
868 padding: 0 8px;
869 font-size: 0.875rem;
870 }
871
872 /* Responsive Design */
873 @media (max-width: 768px) {
874 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-3,
875 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-4,
876 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-5,
877 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-6 {
878 grid-template-columns: repeat(2, 1fr);
879 }
880
881 .yatra-activity-header {
882 flex-direction: column;
883 gap: 15px;
884 text-align: center;
885 }
886
887 .yatra-activity-trips-grid {
888 grid-template-columns: 1fr;
889 }
890 }
891
892 @media (max-width: 480px) {
893 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-2,
894 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-3,
895 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-4,
896 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-5,
897 .yatra-activity-shortcode .yatra-activity-grid.yatra-activity-grid-6 {
898 grid-template-columns: 1fr;
899 }
900
901 .yatra-activity-content {
902 padding: 15px;
903 }
904
905 .yatra-activity-pagination {
906 gap: 5px;
907 }
908
909 .yatra-pagination-link {
910 min-width: 36px;
911 height: 36px;
912 font-size: 0.8rem;
913 padding: 0 8px;
914 }
915 }
916