body { /* font-family: Arial, sans-serif; margin: 0; padding: 0; color: #101828; */ background-color: #FFFFFF; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif; color: #101828; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-size: 0.8em !important; } .area-nav { display: flex; justify-content: center; width: 100%; margin: 20px 0 0; } .area-nav span { font-size: 18px; /* font-weight: 600; */ color: #101828; width: 100%; max-width: 800px; margin: 0 5px 0; } .base-nav { display: flex; justify-content: center; width: 100%; padding: 10px 0; } .nav { padding: 0 auto 0; display: flex; flex-wrap: wrap; justify-content:space-between; align-items: baseline; width: 100%; max-width: 800px; margin: 0 5px 0; } .menu { margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; align-items: baseline; } .homepage-link { margin-right: 10px; color: inherit; } .homepage-link a { margin: 10px 0 5px; /* padding: 5px; */ font-size: 24px; font-weight: 900; color: #FF6158; text-decoration: none; } .homepage-link a:hover { /* color: #34d399; */ color: #FF6158; } .homepage-link a:active { transform: translateY(0px); } .slogan { margin-left: 2px; font-size: 18px; /* font-weight: 600; */ color: #101828; } .contact-link { color: inherit; } .contact-link a { font-size: 19px; font-weight: 600; color: #101828; text-decoration: none; } .contact-link a:hover { /* color: #34d399; */ color: #FF6158; } .contact-link a:active { transform: translateY(0px); } #search-container { position: relative; display: flex; justify-content: center; width: 100%; margin: 0 auto 0; } #search-bar { width: 100%; max-width: 800px; margin: 0 5px 0; padding: 15px; font-size: 16px; box-sizing: border-box; border-radius: 25px; border: 1px solid #aaa; outline: none; } #search-bar:focus { border-color: #FF6158; } .container { display: flex; justify-content: center; /* align-items: flex-start; */ width: 100%; max-width: 810px; margin: 0 auto; /* Center horizontally */ } .card-column { width: 100%; /* max-width: 800px; */ /* margin: 0 5px 0; */ box-sizing: border-box; } .card { border-radius: 15px; /* border: #f8f0f0 1px solid; */ overflow: hidden; max-width: 800px; margin: 20px 5px 25px; background: #f8f0f0; box-sizing: border-box; /* Ensure border is always visible */ text-decoration: none; color: inherit; display: block; box-shadow: 0 -1px 1px -1px rgba(0, 0, 0, 0.5), 0 4px 6px -3px rgba(0, 0, 0, 0.5); /* box-shadow: 0 4px 6px -3px rgba(0, 0, 0, 0.3); */ } .card img { width: 100%; height: auto; } .card-content { padding: 0 10px 5px; } .rect-item { line-height: 2.0em; display: flex; justify-content: flex-start; width: 100%; max-width: 800px; margin: 10px auto 20px; /* Center horizontally */ padding: 0 5px; } .rect-logo { flex: 1 1 0; max-width: 120px; max-height: 120px; aspect-ratio: 1 / 1; display: flex; justify-content: center; align-items: center; /* box-sizing: border-box; */ transition: box-shadow 0.2s; margin: 0px 20px 0px 0px; border-radius: 15px; /* border: #f8f0f0 1px solid; */ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15); } .feature-logo { flex: 1 1 0; max-width: 188px; max-height: 188px; aspect-ratio: 1 / 1; display: flex; justify-content: center; align-items: center; } .rect-title { margin: 2px 0 15px; padding: 0px; font-size: 32px; font-weight: 800; } .rect-rating { margin: 0px; padding: 0px; font-size: 14px; /* font-weight: 500; */ } .rect-category { margin: 0px; padding: 0px; font-size: 15px; /* font-weight: 500; */ } .title { margin: 8px 4px; /* color: green; */ font-size: 19px; font-weight: 800; } .genre { margin: 8px 4px; color: darkslategrey; font-size: 14px; } .pros { margin: 8px 4px; color: darkslategrey; font-size: 15px; font-weight: 500; } .p-section-a { margin: 12px 4px 5px; /* color: green; */ font-size: 17px; font-weight: 600; } .p-section-b { margin: 5px 4px 16px; color: darkslategrey; font-size: 15px; font-weight: 500; } .sponsored-products-row { display: flex; justify-content: center; width: 100%; /* max-width: 810px; max-height: 240px; */ margin: 20px 0 5px; } .sponsored-products { display: flex; justify-content: space-between; gap: 2vw; width: 100%; max-width: 800px; max-height: 240px; margin: 0 auto; box-sizing: border-box; } .featured-card { flex: 1 1 0; max-width: 188px; display: flex; flex-direction: column; /* background: #f8f0f0; */ border-radius: 15px; /* border: #f8f0f0 1px solid; */ overflow: hidden; text-decoration: none; color: inherit; box-sizing: border-box; transition: box-shadow 0.2s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15); } .featured-card:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15); } .featured-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #f5f5f5; /* Remove height, min-height, max-height */ } .featured-card-content { box-sizing: border-box; width: 100%; background: #f8f0f0; flex: 1 1 auto; /* max-height: 50px; */ padding: 8px 6px; display: flex; flex-direction: column; justify-content: flex-start; /* No fixed width or max-width */ /* Add word-break for long text */ word-break: break-word; } .featured-title { font-size: 17px; font-weight: 800; margin: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* .featured-genre { font-size: 12px; color: #666; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } */ /* .featured-rating { font-size: 13px; color: #FF6158; font-weight: bold; margin-bottom: 2px; } */ .footer { /* line-height: 1.2em; */ margin: 80px 0 80px; text-align:center; font-size: 14px; color: #101828; } .footer a { color: #101828; text-decoration:none; /* word-wrap: break-word; */ } .footer a:hover { color: #FF6158; text-decoration:none; /* word-wrap: break-word; */ } #search-container { position: relative; } #suggestion-panel { position: absolute; top: 100%; left: 0; right: 0; max-width: 800px; width: 100%; margin: 20px auto 0; z-index: 9999; background: #fff; border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 15px; display: none; max-height: 60vh; overflow-y: auto; /* Enable vertical scroll bar */ overflow-x: hidden; /* Optional: always show scrollbar on the right for consistency */ scrollbar-width: thin; scrollbar-color: #ccc #f5f5f5; } .tags-name { font-size: 17px; color: #101828; font-weight: 600; margin-top: 20px; margin-bottom: 5px; } .trending-name { font-size: 17px; color: #101828; font-weight: 600; margin-top: 10px; margin-bottom: 10px; } .tags { display: flex; flex-direction: column; gap: 10px; /* margin-top: 20px; */ margin-bottom: 20px; } .tags .tag-container { display: flex; flex-wrap: wrap; gap: 10px; } .tag { background: linear-gradient(135deg, #fff8f8 0%, #ffe8e8 100%); color: #101828; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 14px; transition: all 0.2s ease; } .tag:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .trending ol { list-style-type: none; padding: 0 0 20px; margin: 8px 0 0; counter-reset: trending-counter; } .trending li { padding: 8px 15px; cursor: pointer; font-size: 14px; border-radius: 8px; transition: background-color 0.2s; display: flex; align-items: center; counter-increment: trending-counter; } .trending li:before { /* content: "🔍"; */ content: counter(trending-counter) "."; margin-right: 10px; font-size: 14px; color: #ff9a95; /* Optional: add color */ } .trending li:hover { border-radius: 25px; background-color: #ffe8e8; } @media (max-width: 810px) { .sponsored-products { gap: 14px; padding: 0 5px; } .featured-card { max-width: none; min-width: 0; flex-basis: 0; } .featured-title { font-size: 15px; font-weight: 800; margin: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #suggestion-panel { width: auto; left: 5px; right: 5px; max-width: none; margin-left: 0; margin-right: 0; } } @media (max-width: 768px) { .sponsored-products { gap: 12px; padding: 0 5px; } .featured-card { max-width: none; min-width: 0; flex-basis: 0; } .featured-title { font-size: 13px; font-weight: 800; margin: 2px 0; } .container { flex-direction: column; align-items: center; /* Center the single column */ } #search-bar { width: 100%; /* Match column/card width */ max-width: 800px; /* Match card width */ } } @media (max-width: 600px) { .sponsored-products { gap: 10px; padding: 0 5px; } .featured-card { max-width: none; min-width: 0; flex-basis: 0; } .featured-title { font-size: 10px; font-weight: 800; margin: 0; } }