.section {
    position: relative;
}

section {
    margin: auto;
    max-width: 1200px;
    padding: 2em 1.5em;
    overflow: auto;
    height: 100svh;
}

.bottom-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 0;
}

.feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 170px;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thumb .canva {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.thumb .canva img {
    width: 48px;
}

.post-composer {
    background: white;
    border-radius: 16px;
    padding: 20px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-composer-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-composer-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.post-composer-input {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
    background-color: #f0f0f0;
    border-radius: 24px;
    padding: 4px 4px 4px 18px;
}

.post-composer-input input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
    font-size: 1em;
    color: inherit;
}

.post-composer-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.post-composer-submit:disabled {
    opacity: 0.4;
    cursor: default;
}

.social-card {
    background: white;
    border-radius: 16px;
    padding: 20px 25px 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.social-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-card-info {
    display: flex;
    flex-direction: column;
}

.social-card-info h4 {
    margin: 0;
}

.social-card-meta {
    font-size: 0.85em;
    color: var(--input-font-color);
}

.social-card-body p {
    margin: 0;
    line-height: 1.5;
}

.social-card-actions {
    display: flex;
    gap: 5px;
    margin-top: 18px;
    padding-top: 5px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.social-action {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--input-font-color);
    font-size: 0.9em;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.social-action:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.social-action i {
    font-size: 1.1em;
}

.social-action.active {
    color: var(--primary-color);
}
