.otm-post-feed {
  --feed-ink: #173552;
  --feed-muted: #526881;
  --feed-line: #dbe6f1;
  --feed-blue: #0865bf;
  padding-block: clamp(24px, 3.6vw, 44px);
  color: var(--feed-ink);
}
.otm-post-feed [hidden] { display:none !important; }
.otm-post-feed svg { width:19px;height:19px;flex:none; }
.otm-post-feed__heading,.otm-post-feed__toolbar,.otm-post-form__bottom,.otm-post-dialog__head {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 22px;
}
.otm-post-feed__heading h1 {margin:0;font-size:clamp(1.8rem,3.1vw,2.6rem);font-weight:750;line-height:1.15;letter-spacing:-.025em;}
.otm-post-feed__heading p {margin:7px 0 0;color:var(--feed-muted);}
.otm-post-feed__toolbar {margin:22px 0 16px;padding-block:0 12px;border-bottom:1px solid var(--feed-line);font-size:.875rem;color:var(--feed-muted);}
.otm-post-filters {display:flex;gap:6px;flex-wrap:wrap;}
.otm-post-filters a {display:inline-flex;align-items:center;min-height:44px;padding:7px 12px;border:1px solid transparent;border-radius:8px;color:var(--feed-muted);font-weight:650;}
.otm-post-filters a[aria-current],.otm-post-filters a:hover {background:#e9f3ff;border-color:#c7e0fa;color:#134f88;text-decoration:none;}
.otm-post-primary {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 15px;border:1px solid var(--feed-blue);border-radius:8px;background:var(--feed-blue);color:#fff;font-weight:700;cursor:pointer;}
.otm-post-primary:hover {background:#0855a0;}
.otm-post-composer {margin-top:18px;padding:clamp(14px,3vw,24px);border:1px solid var(--feed-line);border-radius:12px;background:#fff;}
.otm-post-form {display:grid;gap:14px;margin:0;}
.otm-post-form label {margin:0;font-weight:650;min-width:0;}
.otm-post-form small {font-weight:400;color:var(--feed-muted);}
.otm-post-form label > :is(input:not([type="file"]),textarea) {display:block;width:100%;min-height:44px;margin-top:5px;padding:9px 11px;border:1px solid var(--feed-line);border-radius:8px;background:#fbfdff;color:var(--feed-ink);}
.otm-post-form textarea {resize:vertical;}
.otm-post-upload {position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px dashed #9bb7d0;border-radius:8px;cursor:pointer;overflow-wrap:anywhere;}
.otm-post-upload:focus-within {outline:2px solid var(--feed-blue);outline-offset:3px;}
.otm-post-upload input {position:absolute;inline-size:1px;block-size:1px;opacity:0;overflow:hidden;}
.otm-post-upload small {display:block;}
.otm-post-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:clamp(12px,2vw,22px);}
.otm-post-card {display:grid;min-width:0;border:1px solid var(--feed-line);border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(18,53,83,.05);overflow-wrap:anywhere;scroll-margin-top:138px;}
.otm-post-card__author {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:13px 15px;}
.otm-post-card__author img {border-radius:50%;object-fit:cover;background:#eaf2fa;}
.otm-post-card__author strong,.otm-post-card__author time {display:block;}
.otm-post-card__author time {color:var(--feed-muted);font-size:.81rem;}
.otm-post-card__author > span {padding:4px 7px;background:#edf4fb;border-radius:5px;color:#365a7e;font-size:.74rem;font-weight:650;}
.otm-post-card__image {display:block;margin:0 13px;background:#f2f6fb;border-radius:8px;overflow:hidden;}
.otm-post-card__image img {display:block;aspect-ratio:16/10;width:100%;object-fit:contain;}
.otm-post-card__body {padding:13px 15px;font-size:.95rem;line-height:1.55;}
.otm-post-card__body h2 {font-size:1.12rem;font-weight:750;line-height:1.3;color:var(--feed-ink);margin:0 0 7px;}
.otm-post-card__body p {margin:0;}
.otm-post-card__text summary {display:block;list-style:none;cursor:pointer;}
.otm-post-card__text summary::-webkit-details-marker {display:none;}
.otm-post-card__text summary span {display:block;}
.otm-post-card__text summary b {display:inline-flex;align-items:center;min-height:44px;color:var(--feed-blue);font-weight:650;}
.otm-post-card__text:not([open]) .otm-post-less,.otm-post-card__text[open] :is(.otm-post-more,summary span) {display:none;}
.otm-post-card__footer {display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;border-top:1px solid #e8eef5;padding:4px 13px;color:var(--feed-muted);font-size:.85rem;}
.otm-post-card__footer form {margin:0;}
.otm-post-card__footer button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:4px 7px;color:inherit;background:transparent;border:0;border-radius:7px;cursor:pointer;}
.otm-post-card__footer button:hover {background:#eff5fc;}
.otm-post-card__footer button[aria-pressed="true"] {color:#a62d59;}
.otm-post-card__footer button[aria-pressed="true"] svg {fill:currentColor;}
.otm-post-card__footer .otm-post-edit {margin-inline-start:auto;}
.otm-post-views {display:inline-flex;align-items:center;gap:5px;}
.otm-post-feedback:empty {display:none;}
.otm-post-feedback:not(:empty) {flex-basis:100%;color:#a22b36;padding-bottom:7px;}
.otm-post-dialog {position:fixed;max-width:min(580px,calc(100vw - 24px));width:100%;max-height:calc(100dvh - 28px);overflow:auto;padding:clamp(14px,4vw,23px);border:1px solid var(--feed-line);border-radius:12px;color:var(--feed-ink);background:#fff;}
.otm-post-dialog::backdrop {background:rgba(13,31,49,.52);}
.otm-post-dialog__head {margin-bottom:12px;flex-wrap:nowrap;}
.otm-post-dialog__head h2 {font-size:1.2rem;margin:0;}
.otm-post-dialog__head button {border:0;background:#edf4fa;border-radius:7px;width:44px;height:44px;font-size:1.4rem;color:var(--feed-ink);flex:none;cursor:pointer;}
.otm-post-delete {margin-top:12px;border-top:1px solid var(--feed-line);padding-top:7px;}
.otm-post-delete button {min-height:44px;padding:5px 7px;border:0;background:transparent;color:#ad2638;cursor:pointer;}
.otm-post-error,.otm-post-limit,.otm-post-empty {margin:16px 0 0;border:1px solid var(--feed-line);padding:12px 14px;border-radius:8px;background:#fff;color:var(--feed-muted);}
.otm-post-error {color:#992c37;border-color:#edcbd0;}
.otm-post-pagination {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px;}
.otm-post-pagination a {min-height:44px;display:inline-flex;align-items:center;}
@media (max-width:1000px) {.otm-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:620px) {
  .otm-post-grid{grid-template-columns:minmax(0,1fr);}
  .otm-post-card{scroll-margin-top:78px;}
  .otm-post-feed__toolbar{gap:5px 12px;}
}

.otm-post-home h2 {font-size:clamp(1.35rem,2.25vw,1.85rem);margin:0;font-weight:750;}
.otm-post-home .otm-post-feed__heading {margin-bottom:14px;}
.otm-post-home .otm-post-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
.otm-post-home .otm-post-card > a {min-width:0;display:block;color:inherit;}
.otm-post-home .otm-post-card > a:hover {text-decoration:none;}
.otm-post-home .otm-post-card > a:hover :is(h3,p) {color:var(--feed-blue);}
.otm-post-home .otm-post-card__body > span {display:block;color:var(--feed-muted);font-size:.79rem;margin-bottom:5px;}
.otm-post-home .otm-post-card__body h3 {margin:0 0 4px;font-size:1rem;line-height:1.35;}
.otm-post-home .otm-post-card__body p {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.875rem;}
.otm-post-home .otm-post-card__footer {padding-block:8px;}
@media (max-width:940px) {.otm-post-home .otm-post-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:360px) {.otm-post-home .otm-post-card__image {margin-inline:0;}.otm-post-home .otm-post-card__body,.otm-post-home .otm-post-card__footer {padding-inline:8px;}}

.otm-post-home .otm-post-home__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}
.otm-post-home .otm-post-home__heading h2 { line-height: 1.25; min-width: 0; }
.otm-post-home .otm-post-home__all {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 11px;
    border: 1px solid var(--feed-line);
    border-radius: 7px;
    color: var(--feed-blue);
    background: #fff;
    font-size: .875rem;
    text-decoration: none;
}
.otm-post-home .otm-post-home__all:hover { background: #edf5fd; }
.otm-post-home .otm-post-grid { align-items: stretch; gap: clamp(10px, 1.7vw, 20px); }
.otm-post-home .otm-post-card {
    display: flex !important;
    flex-direction: column;
    box-shadow: none;
    border-radius: 9px;
}
.otm-post-home .otm-post-card > a {
    display: flex !important;
    flex: 1;
    flex-direction: column;
}
.otm-post-home .otm-post-card__image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background: #edf3f8;
}
.otm-post-home .otm-post-card__image > img {
    position: absolute;
    display: block;
    inset: 0;
    width: 100%;
    height: 100% !important;
    aspect-ratio: auto;
    object-fit: contain !important;
}
.otm-post-home .otm-post-card__image > .otm-post-card__image-backdrop {
    object-fit: cover !important;
    opacity: .42;
    filter: blur(14px) saturate(.65);
    transform: scale(1.12);
}
.otm-post-home .otm-post-card__image > .otm-post-card__image-placeholder {
    width: 32px;
    height: 32px !important;
    margin: auto;
    opacity: .55;
}
.otm-post-home .otm-post-card__body { padding: 10px 12px; }
.otm-post-home .otm-post-card__body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.otm-post-home .otm-post-card__footer { margin-top: auto; padding: 7px 12px; gap: 4px 8px; }
