body { font-family: 'Inter', 'Roboto', sans-serif; background-color: #f8f9fa; color: #333; } header { background-color: #343a40; color: white; } .post-header { text-align: center; margin-bottom: 2rem; } .post-header h2 { font-size: 1.5rem; /* Reduced size */ font-weight: 600; } .post-header p { font-size: 1rem; /* Reduced size */ color: #6c757d; } .post-image { max-height: 400px; object-fit: cover; margin-bottom: 1rem; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: block; margin-left: auto; margin-right: auto; } .post-content { background-color: white; padding: 2rem; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin-bottom: 2rem; line-height: 1.6; font-size: 1.1rem; } .tags { margin-top: 1rem; padding: 0.5rem 0; } .tags a { text-decoration: none; color: #007bff; font-size: 1rem; margin-right: 0.5rem; } .tags a:hover { text-decoration: underline; } .references { background-color: white; padding: 1rem; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin-bottom: 2rem; font-size: 1rem; } .courtesy { margin-top: 1rem; font-size: 0.9rem; color: gray; } .recommend-section { background-color: white; padding: 1rem; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin-top: 2rem; position: relative; } .recommend-slider { display: flex; overflow: hidden; gap: 1rem; } .recommend-card { flex: 0 0 calc(33.333% - 1rem); /* Proper alignment and spacing */ text-align: center; background-color: #ffffff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); padding: 1rem; font-size: 1rem; } .recommend-card img { width: 400px; height: 400px; /* Reduced height */ object-fit: cover; margin-bottom: 0.5rem; border-radius: 5px; } .slider-controls { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; z-index: 1; } .slider-controls button { background-color: rgba(0, 0, 0, 0.5); color: white; border: none; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; } .slider-controls button:hover { background-color: rgba(0, 0, 0, 0.7); } footer { font-size: 0.9rem; } img { display: block; margin: 0 auto; }