/* ========================================================================== Projects Page Specific Styles (Listing Page) ========================================================================== */ /** * Ta datoteka vsebuje stile, ki se uporabljajo izključno na strani s * seznamom vseh projektov. * * 1. Glava strani (naslov, opis, obrazec za prijavo) * 2. Sekcija z vsemi objavami (mreža) * 3. Paginacija * 4. Stili za stran s projekti na mobilnih napravah */ /* 1. Glava strani */ .page-content { padding-top: 80px; /* Odmik za fiksno glavo */ } .page-header-section { padding: 96px 0; background: #FFFFFF; text-align: center; } .page-header-section .container.text-center { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 960px; } .page-subtitle { font-weight: 600; font-size: 16px; color: #FA7850; } .page-header-section h1 { font-weight: 600; font-size: 48px; line-height: 60px; letter-spacing: -0.02em; color: #101828; margin: 0; } .page-description { font-size: 20px; line-height: 30px; color: #667085; max-width: 768px; margin: 0; } .subscribe-form { display: flex; gap: 16px; margin-top: 16px; } .subscribe-form input { width: 360px; height: 48px; padding: 12px 16px; border: 1px solid #D0D5DD; border-radius: 8px; box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05); font-size: 16px; box-sizing: border-box; } .subscribe-form .btn { height: 48px; /* SPREMEMBA: Dodan flexbox za popolno sredinsko poravnavo besedila znotraj gumba. */ display: flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; } .privacy-note { font-size: 14px; color: #667085; margin-top: -8px; } .privacy-note a { color: #667085; font-weight: 500; } /* Newsletter subscription status message */ .subscribe-status { max-width: 520px; margin: 10px auto 0; font-size: 14px; font-weight: 500; line-height: 20px; } .subscribe-status.is-info { color: #667085; } .subscribe-status.is-success { color: #067647; } .subscribe-status.is-error { color: #B42318; } /* 1b. Filter kategorij (pill navigacija + podfiltri) */ .filter-section { padding: 0 24px 44px; margin-top: -40px; display: flex; flex-direction: column; align-items: center; gap: 20px; } /* Zunanja "pill" navigacija (glavne kategorije) */ .filter-nav { display: flex; align-items: center; gap: 4px; max-width: 100%; padding: 6px; background: #F9FAFB; border-radius: 999px; box-shadow: 0px 8px 30px rgba(16, 24, 40, 0.06); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; } .filter-nav::-webkit-scrollbar { display: none; } .filter-pill { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border: none; background: transparent; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: #344054; white-space: nowrap; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; } .filter-pill:hover { color: #2D738C; } .filter-pill.active { color: #2D738C; background: #FFFFFF; box-shadow: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06); } /* Notranja vrstica s podfiltri (npr. vrste dogodkov) */ .filter-subnav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; } .filter-subnav[hidden] { display: none; } .filter-chip { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border: 1px solid #D0D5DD; background: #FFFFFF; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600; color: #344054; white-space: nowrap; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; } .filter-chip:hover { border-color: #2D738C; color: #2D738C; } .filter-chip.active { background: #101828; border-color: #101828; color: #FFFFFF; } /* Sporočilo, ko noben zadetek ne ustreza filtru */ .filter-empty { width: 100%; text-align: center; color: #667085; font-size: 16px; padding: 32px 0; } .filter-empty[hidden] { display: none; } /* Skrite kartice pri filtriranju */ .post-card[hidden] { display: none; } /* 2. Sekcija z vsemi objavami */ .all-posts-section { padding: 0 80px 96px; } .all-posts-section .container.column-layout { flex-direction: column; align-items: flex-start; gap: 64px; } .all-posts-section h2 { font-size: 24px; font-weight: 600; line-height: 32px; color: #101828; margin: 0; } .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; width: 100%; } /* 3. Paginacija */ .pagination { width: 100%; display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #EAECF0; } .pagination[hidden] { display: none; } .pagination-arrow { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #667085; text-decoration: none; cursor: pointer; transition: color 0.2s ease, opacity 0.2s ease; } .pagination-arrow:hover { color: #101828; } .pagination-arrow.disabled { opacity: 0.4; pointer-events: none; cursor: default; } .pagination-numbers { display: flex; gap: 2px; } .page-number { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 500; color: #667085; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; } .page-number:hover { background-color: rgba(102, 112, 133, 0.08); } .page-number.active { background-color: rgba(102, 112, 133, 0.16); color: #2D738C; } .page-dots { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; color: #667085; } /* ========================================================================== Mobile Projects Page Styles ========================================================================== */ @media (max-width: 768px) { .page-content { padding-top: 60px; /* Prilagoditev za fiksno glavo */ } .page-header-section { padding: 64px 24px; } .page-header-section h1 { font-size: 32px; line-height: 40px; } .page-description { font-size: 16px; line-height: 24px; } .subscribe-form { flex-direction: column; width: 100%; } .subscribe-form input { width: 100%; } .filter-section { padding: 0 16px 28px; margin-top: -24px; align-items: stretch; gap: 16px; } /* Na mobilnem se glavna navigacija vodoravno pomika */ .filter-nav { justify-content: flex-start; border-radius: 12px; } .filter-subnav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .filter-subnav::-webkit-scrollbar { display: none; } .filter-chip { flex: 0 0 auto; } .all-posts-section { padding: 48px 24px; } .all-posts-section .container.column-layout { gap: 32px; } .posts-grid { grid-template-columns: 1fr; gap: 48px; } .pagination { flex-direction: column; gap: 24px; } .pagination-numbers { order: -1; } }