:root {
    --fb-blue: #1877f2;
    --text: #1d1f23;
    --muted: #65676B;
    --bg: #f0f2f5;
    --card: #fff;
    --border: #e4e6eb;
    --like: #2078f4;
    --success: #15b36a;
    --danger: #f03d3d;
    --brand: #e40000;
    --radius: 12px;
    --shadow: 0 2px 10px rgba(0, 0, 0, .06);
    --shadow-lg: 0 8px 28px rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.45;
}

/* Top facebook bar */
.fbbar {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.fbbar .logo {
    font-weight: 800;
    color: var(--fb-blue);
    font-size: 22px;
    letter-spacing: .2px;
}

/* Page container */
.page {
    width: min(940px, 100%);
    margin-inline: auto;
    padding: 18px 10px 60px;
}

.post {
    overflow: hidden;
}

/* Post header */
.post-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-top: 1px solid #CED0D4;
    border-left: 1px solid #CED0D4;
    border-right: 1px solid #CED0D4;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f5f7;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #c00;
}

.ph-name {
    font-weight: 700
}

.ph-meta {
    font-size: 12px;
    color: var(--muted)
}

.post-menu {
    margin-left: auto;
    color: var(--muted);
    font-size: 20px;
    user-select: none
}

/* Media */
/* .media {
    position: relative;
    background: url('./../images/post-preview.png') no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 16/9; */
/* keeps the same shape as screenshot */
/* display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
} */

/* .media .mountains {
    position: absolute;
    inset: auto 0 0;
    height: 55%; */
/* background: url('./../images/post-preview.png') no-repeat; */
/* background-size: cover;
    background-position: center;
    opacity: .7;
} */

/* .play {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform .2s ease;
} */

.media img {
    max-width: 100%;
}

.play:hover {
    transform: scale(1.04)
}

.play svg {
    width: 48px;
    height: 48px;
    fill: var(--fb-blue);
    margin-left: 4px
}

/* Post body text */
.post-body {
    padding: 14px;
    border-left: 1px solid #CED0D4;
    border-bottom: 1px solid #CED0D4;
    border-right: 1px solid #CED0D4;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: -8px;
}

.title {
    font-weight: 700;
    margin: 10px 0 10px
}

.body p {
    color: #242529;
    font-size: 15px;
    margin-top: 16px;
    margin-bottom: 0;
}

.readmore {
    color: var(--fb-blue);
    text-decoration: none;
    font-weight: 600
}

/* Application form block */
.apply {
    margin-top: 16px;
}

.brand-card {
    background: #fff;
    padding: 16px;
    background: #F2F4F7;
    border-radius: 20px;
}

.brand {
    gap: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid #c00;
    color: #c00;
    font-weight: 800;
}

.brand-name {
    font-weight: 800
}

.brand-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

form {
}

.field {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field label {
    font-size: 12px;
    color: var(--muted)
}

.field input {
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

.field input:focus {
    border-color: #cbd5ff;
    box-shadow: 0 0 0 3px #e9efff
}

.field--full {
    grid-column: 1/-1
}

.btn, .custon-btn {
    grid-column: 1/-1;
    appearance: none;
    border: 0;
    height: 46px;
    border-radius: 10px !important;
    background: var(--brand) !important;
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    transition: filter .15s ease, transform .02s ease;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
    text-transform: uppercase;
}

.btn:active {
    transform: translateY(1px)
}

.hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px
}

/* Reactions / comments header */
.social-row {
    padding-top: 16px;
    padding-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    border-bottom: 1px solid #CED0D4;
}

.likes {
    display: flex;
    align-items: center;
    gap: 6px
}

.likes .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--like);
    display: inline-block
}

.comments-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 15px
}

/* Comments */
.cmt {
    display: flex;
    gap: 10px;
    margin-top: 10px
}

.cmt .ava {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: #e8eaee;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-weight: 700
}

.cbox {
    background: #F0F2F5;
    border-radius: 12px;
    padding: 10px 12px;
    max-width: 680px
}

.cbox .name {
    font-weight: 700;
    font-size: 14px
}

.cbox .text {
    font-size: 14px;
    margin-top: 2px
}

.cactions {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
    color: var(--muted);
    margin: 6px 2px 0
}

.cactions .like {
    color: var(--like);
    font-weight: 600;
    cursor: pointer
}

.csep {
    height: 1px;
    background: var(--border);
    margin: 12px 0
}

/* Toast */
.toast {
    position: fixed;
    inset: auto 16px 16px auto;
    padding: 12px 14px;
    border-radius: 10px;
    color: #fff;
    background: var(--success);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 40;
    font-weight: 600;
}

@media (max-width:720px) {
    form {
        grid-template-columns: 1fr
    }
}

.post__head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.interaction-row p {
    font-size: 15px;
    color: #65676B;
    font-weight: 600;
}

.interaction-row .like,
.comment {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.interaction-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
}


.comments-toggle {
    color: #050505;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}

.comments-toggle .arrow {
    transition: transform .2s ease;
}

.comments-toggle.open .arrow {
    transform: rotate(180deg);
}

.comment-input .fake-input {
    flex: 1;
    color: #65676b;
    text-decoration: none;

}

.comment-icons a {
    text-decoration: none;
    font-size: 18px;
    margin-left: 8px;
    text-decoration: none;
}

.cactions .like-btn {
    color: var(--like);
    cursor: pointer;
    text-decoration: none;
}

.cactions .like-count {
    color: #65676b;
    margin-left: 6px;
    font-size: 13px;
}

.like-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cactions a {
    text-decoration: none;
    color: #6E7073;
    font-weight: 500;
}

.cactions {
    display: flex;
    justify-content: space-between;
}

.cactions-start {
    display: flex;
    align-items: center;
    gap: 16px;
}

.comment-bar {
    background: #f0f2f5;
    border-radius: 28px;
    padding: 10px 16px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 30px;
}

.comment-bar .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: nowrap;
}

.comment-bar .placeholder {
    color: #65676b;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none !important;
}

.comment-bar a {
    text-decoration: none;
}

.comment-bar .icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-bar .icons img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.comment-bar .icons img:hover {
    opacity: 0.9;
}

.comment-bar .send img {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.comment-bar .send img:hover {
    opacity: 0.9;
}

.fb-footer {
    background: #f0f2f5;
    text-align: center;
    font-size: 13px;
    color: #65676b;
    padding: 16px 10px;
    border-top: 1px solid #e4e6eb;
}

.fb-footer a {
    color: #65676b;
    text-decoration: none;
    font-weight: 600;
    margin: 0 3px;
}

.fb-footer a:hover {
    text-decoration: underline;
}

.fb-footer img {
    width: 10px;
    height: 10px;
    margin-left: 3px;
    vertical-align: middle;
    opacity: 0.6;
}

.custom-name, .custom-lastname, .custom-phone {
    font-size: 18px !important;
    color: #05050580 !important;
    width: 100% !important;
    background: #FFFFFF;
    border-bottom: none !important;
    border-radius: 8px;
    border: 1px solid #CED0D4
}

.iti--separate-dial-code .iti__selected-dial-code {
    color: #000 !important;
}