|
655 | 655 | max-width: 1400px; |
656 | 656 | margin: 0 auto; |
657 | 657 | display: flex; |
| 658 | + flex-direction: column; |
658 | 659 | gap: 40px; |
659 | 660 | position: relative; |
660 | 661 | z-index: 1; |
|
936 | 937 | display: none; |
937 | 938 | } |
938 | 939 |
|
| 940 | +.blog-search-panel { |
| 941 | + width: min(100%, 980px); |
| 942 | + margin: 0 auto 8px; |
| 943 | + padding: 36px; |
| 944 | + text-align: center; |
| 945 | + background: |
| 946 | + linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9)), |
| 947 | + radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.12), transparent 36%), |
| 948 | + radial-gradient(circle at 85% 0%, rgba(236, 72, 153, 0.1), transparent 34%); |
| 949 | + border: 1px solid rgba(99, 102, 241, 0.12); |
| 950 | + border-radius: 24px; |
| 951 | + box-shadow: |
| 952 | + 0 24px 70px rgba(15, 23, 42, 0.08), |
| 953 | + 0 10px 30px rgba(99, 102, 241, 0.12); |
| 954 | +} |
| 955 | + |
| 956 | +[data-theme="dark"] .blog-search-panel { |
| 957 | + background: |
| 958 | + linear-gradient(135deg, rgba(36, 37, 38, 0.96), rgba(26, 32, 44, 0.94)), |
| 959 | + radial-gradient(circle at 15% 20%, rgba(167, 139, 250, 0.16), transparent 36%), |
| 960 | + radial-gradient(circle at 85% 0%, rgba(236, 72, 153, 0.1), transparent 34%); |
| 961 | + border-color: rgba(167, 139, 250, 0.2); |
| 962 | + box-shadow: |
| 963 | + 0 24px 70px rgba(0, 0, 0, 0.38), |
| 964 | + 0 10px 30px rgba(99, 102, 241, 0.18); |
| 965 | +} |
| 966 | + |
| 967 | +.blog-search-eyebrow { |
| 968 | + margin: 0 0 8px; |
| 969 | + color: #6366f1; |
| 970 | + font-size: 13px; |
| 971 | + font-weight: 800; |
| 972 | + letter-spacing: 0.12em; |
| 973 | + text-transform: uppercase; |
| 974 | +} |
| 975 | + |
| 976 | +[data-theme="dark"] .blog-search-eyebrow { |
| 977 | + color: #a78bfa; |
| 978 | +} |
| 979 | + |
| 980 | +.blog-search-title { |
| 981 | + margin: 0 0 24px; |
| 982 | + color: #0f172a; |
| 983 | + font-size: 34px; |
| 984 | + font-weight: 850; |
| 985 | + line-height: 1.15; |
| 986 | +} |
| 987 | + |
| 988 | +[data-theme="dark"] .blog-search-title { |
| 989 | + color: #f8fafc; |
| 990 | +} |
| 991 | + |
| 992 | +.blog-search-form { |
| 993 | + display: grid; |
| 994 | + grid-template-columns: minmax(0, 1fr) auto auto; |
| 995 | + gap: 12px; |
| 996 | + align-items: center; |
| 997 | +} |
| 998 | + |
| 999 | +.blog-search-field { |
| 1000 | + position: relative; |
| 1001 | + display: flex; |
| 1002 | + align-items: center; |
| 1003 | + min-width: 0; |
| 1004 | +} |
| 1005 | + |
| 1006 | +.blog-search-field input { |
| 1007 | + width: 100%; |
| 1008 | + min-height: 56px; |
| 1009 | + padding: 0 18px 0 52px; |
| 1010 | + color: #0f172a; |
| 1011 | + background: #ffffff; |
| 1012 | + border: 2px solid rgba(99, 102, 241, 0.18); |
| 1013 | + border-radius: 14px; |
| 1014 | + font-size: 16px; |
| 1015 | + font-weight: 500; |
| 1016 | + outline: none; |
| 1017 | + transition: |
| 1018 | + border-color 0.2s ease, |
| 1019 | + box-shadow 0.2s ease, |
| 1020 | + transform 0.2s ease; |
| 1021 | +} |
| 1022 | + |
| 1023 | +.blog-search-field input:focus { |
| 1024 | + border-color: #6366f1; |
| 1025 | + box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12); |
| 1026 | + transform: translateY(-1px); |
| 1027 | +} |
| 1028 | + |
| 1029 | +.blog-search-field input::placeholder { |
| 1030 | + color: #94a3b8; |
| 1031 | +} |
| 1032 | + |
| 1033 | +[data-theme="dark"] .blog-search-field input { |
| 1034 | + color: #f8fafc; |
| 1035 | + background: rgba(15, 23, 42, 0.82); |
| 1036 | + border-color: rgba(167, 139, 250, 0.24); |
| 1037 | +} |
| 1038 | + |
| 1039 | +[data-theme="dark"] .blog-search-field input:focus { |
| 1040 | + border-color: #a78bfa; |
| 1041 | + box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.14); |
| 1042 | +} |
| 1043 | + |
| 1044 | +.blog-search-submit-icon { |
| 1045 | + position: absolute; |
| 1046 | + left: 18px; |
| 1047 | + width: 20px; |
| 1048 | + height: 20px; |
| 1049 | + color: #6366f1; |
| 1050 | + pointer-events: none; |
| 1051 | +} |
| 1052 | + |
| 1053 | +[data-theme="dark"] .blog-search-submit-icon { |
| 1054 | + color: #a78bfa; |
| 1055 | +} |
| 1056 | + |
| 1057 | +.blog-search-button, |
| 1058 | +.blog-search-clear-button { |
| 1059 | + min-height: 56px; |
| 1060 | + padding: 0 26px; |
| 1061 | + border: none; |
| 1062 | + border-radius: 14px; |
| 1063 | + font-size: 15px; |
| 1064 | + font-weight: 800; |
| 1065 | + cursor: pointer; |
| 1066 | + transition: |
| 1067 | + transform 0.2s ease, |
| 1068 | + box-shadow 0.2s ease, |
| 1069 | + background 0.2s ease; |
| 1070 | +} |
| 1071 | + |
| 1072 | +.blog-search-button { |
| 1073 | + color: #ffffff; |
| 1074 | + background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); |
| 1075 | + box-shadow: 0 12px 28px rgba(99, 102, 241, 0.28); |
| 1076 | +} |
| 1077 | + |
| 1078 | +.blog-search-button:hover { |
| 1079 | + transform: translateY(-2px); |
| 1080 | + box-shadow: 0 16px 34px rgba(99, 102, 241, 0.36); |
| 1081 | +} |
| 1082 | + |
| 1083 | +.blog-search-clear-button { |
| 1084 | + color: #475569; |
| 1085 | + background: rgba(226, 232, 240, 0.74); |
| 1086 | +} |
| 1087 | + |
| 1088 | +.blog-search-clear-button:hover { |
| 1089 | + color: #0f172a; |
| 1090 | + background: #e2e8f0; |
| 1091 | + transform: translateY(-2px); |
| 1092 | +} |
| 1093 | + |
| 1094 | +[data-theme="dark"] .blog-search-clear-button { |
| 1095 | + color: #e2e8f0; |
| 1096 | + background: rgba(71, 85, 105, 0.54); |
| 1097 | +} |
| 1098 | + |
| 1099 | +[data-theme="dark"] .blog-search-clear-button:hover { |
| 1100 | + color: #ffffff; |
| 1101 | + background: rgba(100, 116, 139, 0.7); |
| 1102 | +} |
| 1103 | + |
| 1104 | +.blog-search-visually-hidden { |
| 1105 | + position: absolute; |
| 1106 | + width: 1px; |
| 1107 | + height: 1px; |
| 1108 | + padding: 0; |
| 1109 | + margin: -1px; |
| 1110 | + overflow: hidden; |
| 1111 | + clip: rect(0, 0, 0, 0); |
| 1112 | + white-space: nowrap; |
| 1113 | + border: 0; |
| 1114 | +} |
| 1115 | + |
939 | 1116 | /* Search Results Info */ |
940 | 1117 | .search-results-info { |
941 | 1118 | text-align: center; |
|
1270 | 1447 | .articles-main-content { |
1271 | 1448 | flex: 1; |
1272 | 1449 | min-width: 0; |
| 1450 | + width: 100%; |
1273 | 1451 | } |
1274 | 1452 |
|
1275 | 1453 | /* Articles Grid */ |
|
2098 | 2276 | .latest-articles-section { |
2099 | 2277 | padding: 60px 16px; |
2100 | 2278 | } |
| 2279 | + |
| 2280 | + .blog-search-panel { |
| 2281 | + padding: 28px; |
| 2282 | + } |
| 2283 | + |
| 2284 | + .blog-search-title { |
| 2285 | + font-size: 28px; |
| 2286 | + } |
| 2287 | + |
| 2288 | + .blog-search-form { |
| 2289 | + grid-template-columns: 1fr; |
| 2290 | + } |
| 2291 | + |
| 2292 | + .blog-search-button, |
| 2293 | + .blog-search-clear-button { |
| 2294 | + width: 100%; |
| 2295 | + } |
2101 | 2296 | } |
2102 | 2297 |
|
2103 | 2298 | /* Mobile Small */ |
|
2164 | 2359 | margin-top: 28px; |
2165 | 2360 | } |
2166 | 2361 |
|
| 2362 | + .blog-search-panel { |
| 2363 | + padding: 24px 18px; |
| 2364 | + border-radius: 18px; |
| 2365 | + } |
| 2366 | + |
| 2367 | + .blog-search-title { |
| 2368 | + font-size: 24px; |
| 2369 | + margin-bottom: 18px; |
| 2370 | + } |
| 2371 | + |
| 2372 | + .blog-search-form { |
| 2373 | + grid-template-columns: 1fr; |
| 2374 | + gap: 10px; |
| 2375 | + } |
| 2376 | + |
| 2377 | + .blog-search-field input, |
| 2378 | + .blog-search-button, |
| 2379 | + .blog-search-clear-button { |
| 2380 | + min-height: 50px; |
| 2381 | + } |
| 2382 | + |
| 2383 | + .blog-search-button, |
| 2384 | + .blog-search-clear-button { |
| 2385 | + width: 100%; |
| 2386 | + } |
| 2387 | + |
2167 | 2388 | .search-wrapper { |
2168 | 2389 | padding: 14px 16px; |
2169 | 2390 | } |
|
0 commit comments