.page-blog { color: #F2FFF6; background: #08160F; max-width: 100%; overflow-x: hidden; padding: 0; margin: 0; } /* ### HERO */ .page-blog__hero-section { padding-top: 10px; padding-bottom: 24px; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; } .page-blog__hero-image-wrap { width: 100%; display: block; } .page-blog__hero-image { display: block; width: 1200px; max-width: 100%; height: auto; aspect-ratio: 4 / 1; object-fit: cover; border-radius: 16px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); } .page-blog__hero-content { max-width: 1200px; margin: 20px auto 0; text-align: center; padding: 0 16px; } .page-blog__hero-title { max-width: 900px; margin: 0 auto 12px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: #F2FFF6; } .page-blog__hero-desc { max-width: 720px; margin: 0 auto 24px; color: #A7D9B8; line-height: 1.6; font-weight: 400; font-size: 16px; } .page-blog__hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; width: 100%; box-sizing: border-box; overflow: hidden; } .page-blog__btn { display: inline-block; padding: 14px 36px; border-radius: 999px; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; white-space: normal; word-wrap: break-word; max-width: 100%; box-sizing: border-box; } .page-blog__btn--primary { background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); color: #08160F; box-shadow: 0 4px 15px rgba(87, 227, 141, 0.3); } .page-blog__btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(87, 227, 141, 0.6); } .page-blog__btn--secondary { background: transparent; color: #F2FFF6; border: 2px solid #57E38D; } .page-blog__btn--secondary:hover { background: rgba(87, 227, 141, 0.1); } /* ### SECTION TITLE */ .page-blog__section-title { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; text-align: center; color: #F2FFF6; padding-bottom: 10px; margin: 0 auto 28px; border-bottom: 3px solid #F2C14E; display: inline-block; } .page-blog__featured-posts, .page-blog__categories, .page-blog__listing { max-width: 1200px; margin: 0 auto; padding: 30px 16px; } /* ### FEATURED POSTS */.page-blog__featured-posts{text-align:center}.page-blog__posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; } .page-blog__card { background: #11271B; border: 1px solid #2E7A4E; border-radius: 16px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; } .page-blog__card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); border-color: #F2C14E; } .page-blog__card-img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; } .page-blog__card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; } .page-blog__card-title { margin: 0 0 10px; line-height: 1.4; color: #F2FFF6; } .page-blog__card-title a { color: #F2FFF6; text-decoration: none; transition: color 0.2s; } .page-blog__card-title a:hover { color: #57E38D; } .page-blog__card-text { color: #A7D9B8; line-height: 1.6; margin-bottom: 16px; flex-grow: 1; } .page-blog__card-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #1E3A2A; padding-top: 14px; } .page-blog__card-date { color: #A7D9B8; font-size: 14px; } .page-blog__card-link { color: #57E38D; text-decoration: none; font-weight: 700; font-size: 14px; transition: color 0.2s; } .page-blog__card-link:hover { color: #F2C14E; } /* ### PROMO BANNER */ .page-blog__promo-banner { background: linear-gradient(135deg, #0A4B2C 0%, #11271B 100%); padding: 40px 16px; margin: 20px 0; } .page-blog__promo-content { max-width: 800px; margin: 0 auto; text-align: center; border: 2px solid #2AD16F; border-radius: 24px; padding: 30px 20px; } .page-blog__promo-title { color: #F2FFF6; margin-bottom: 12px; } .page-blog__promo-text { color: #A7D9B8; margin-bottom: 20px; } /* ### CATEGORIES */ .page-blog__categories { text-align: center; } .page-blog__categories-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; } .page-blog__category-item { background: #11271B; color: #F2FFF6; border: 1px solid #2E7A4E; padding: 12px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: background-color 0.3s, border-color 0.3s, color 0.3s; } .page-blog__category-item:hover { background: #22C768; color: #08160F; border-color: #22C768; } /* ### POSTS LISTING */ .page-blog__listing { padding-top: 10px; } .page-blog__post-item { display: flex; gap: 24px; background: #11271B; border: 1px solid #2E7A4E; border-radius: 16px; margin-bottom: 24px; padding: 16px; } .page-blog__post-thumb { flex-shrink: 0; } .page-blog__post-img { display: block; width: 400px; max-width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; } .page-blog__post-info { flex: 1; display: flex; flex-direction: column; justify-content: center; } .page-blog__post-title { margin: 0 0 10px; color: #F2FFF6; line-height: 1.3; } .page-blog__post-title a { color: #F2FFF6; text-decoration: none; } .page-blog__post-title a:hover { color: #57E38D; } .page-blog__post-excerpt { color: #A7D9B8; line-height: 1.75; margin-bottom: 16px; } .page-blog__post-info .page-blog__card-meta { border-top: none; padding-top: 0; } /* ### PAGINATION */ .page-blog__pagination { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; box-sizing: border-box; max-width: 100%; overflow: hidden; padding: 24px 16px 40px; } .page-blog__page-current { color: #F2FFF6; background: #11271B; border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 2px solid #F2C14E; } .page-blog__page-link { color: #F2C14E; font-weight: 700; text-decoration: none; padding: 10px 22px; border-radius: 999px; border: 1px solid #F2C14E; transition: background-color 0.3s, color 0.3s; } .page-blog__page-link:hover { background: #F2C14E; color: #08160F; } /* ### RESPONSIVE */ @media (max-width: 1024px) { .page-blog__posts-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .page-blog { padding-top: 0; margin-top: 0; } .page-blog__hero-section { padding-top: 10px; } .page-blog__hero-image { width: 100%; max-width: 100%; aspect-ratio: 2 / 1; } .page-blog img { max-width: 100%; height: auto; } .page-blog__posts-grid { grid-template-columns: 1fr; } .page-blog__card { width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; } .page-blog__card-img { width: 100%; height: auto; } .page-blog__hero-buttons { flex-direction: column; align-items: center; } .page-blog__btn { max-width: 100%; width: auto; box-sizing: border-box; white-space: normal; word-wrap: break-word; } .page-blog__promo-content { padding: 24px 16px; } .page-blog__post-item { flex-direction: column; align-items: flex-start; } .page-blog__post-thumb { width: 100%; } .page-blog__post-img { width: 100%; max-width: 100%; height: auto; } .page-blog__card-meta { flex-wrap: wrap; gap: 8px; } .page-blog__pagination { flex-wrap: wrap; } }