:root {
    --primary: #7b1113;
    --primary-dark: #4d0809;
    --gold: #f5c451;
    --gold-soft: #fff5cf;
    --text: #1f2937;
    --muted: #6b7280;
    --white: #ffffff;
    --surface: #ffffff;
    --bg: #f7f5f0;
    --line: rgba(123,17,19,0.08);
    --soft: rgba(123,17,19,0.05);
    --shadow: 0 18px 50px rgba(0,0,0,0.08);
    --shadow-hover: 0 28px 80px rgba(0,0,0,0.14);
}

/* ================= SAFE GLOBAL ================= */
html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
    background: linear-gradient(180deg, #fffdf8 0%, #f7f5f0 100%);
    font-family: 'Inter', sans-serif;
    color: var(--text);
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.osaw-page section {
    position: relative;
    overflow: hidden;
}

.osaw-shell {
    width: min(1240px, 92%);
    margin: 0 auto;
}

/* ================= SECTION ================= */
.osaw-page .osaw-section {
    padding: 60px 0 90px;
    background:
        radial-gradient(circle at top left, rgba(245,196,81,0.10), transparent 18%),
        radial-gradient(circle at top right, rgba(123,17,19,0.08), transparent 20%),
        linear-gradient(180deg, #fffdf8 0%, #f7f5f0 100%);
}

/* ================= TOP INTRO ================= */
.osaw-top {
    margin-bottom: 34px;
}

.osaw-top-card {
    position: relative;
    border-radius: 34px;
    padding: 42px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(123,17,19,0.96), rgba(77,8,9,0.95));
    box-shadow: 0 24px 70px rgba(123,17,19,0.20);
    color: #fff;
    isolation: isolate;
}

.osaw-top-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(245,196,81,0.20), transparent 18%),
        radial-gradient(circle at 85% 30%, rgba(255,255,255,0.10), transparent 18%),
        linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%);
    z-index: -1;
}

.osaw-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
    color: #fff7dc;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

.osaw-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(245,196,81,0.8);
}

.osaw-top-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 16px;
    color: #fff;
}

.osaw-top-card p {
    color: rgba(255,255,255,0.88);
    font-size: 1.02rem;
    line-height: 1.9;
    max-width: 850px;
    margin-bottom: 0;
}

/* ================= LAYOUT ================= */
.osaw-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}

@media (max-width: 991px) {
    .osaw-layout {
        grid-template-columns: 1fr;
    }
}

/* ================= LEFT SIDEBAR ================= */
.osaw-left {
    position: sticky;
    top: 105px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-self: start;
}

@media (max-width: 991px) {
    .osaw-left {
        position: static;
    }
}

.osaw-panel {
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.osaw-panel-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.osaw-profile {
    background: linear-gradient(145deg, rgba(123,17,19,0.96), rgba(77,8,9,0.95));
    color: #fff;
    border-radius: 30px;
    padding: 30px 28px;
    box-shadow: 0 22px 60px rgba(123,17,19,0.20);
    position: relative;
    overflow: hidden;
}

.osaw-profile::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(245,196,81,0.22), transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,0.08), transparent 40%);
    pointer-events: none;
}

.osaw-profile-avatar {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.16);
    position: relative;
    z-index: 2;
}

.osaw-profile h2,
.osaw-profile p,
.osaw-profile a {
    position: relative;
    z-index: 2;
}

.osaw-profile h2 {
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.osaw-profile p {
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    margin-bottom: 12px;
}

.osaw-profile a {
    color: #ffe58d;
    text-decoration: none;
    font-weight: 700;
}

.osaw-profile a:hover {
    text-decoration: underline;
}

.osaw-mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.osaw-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(123,17,19,0.06);
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--text);
    font-weight: 600;
}

.osaw-mini-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(123,17,19,0.10);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.osaw-social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.osaw-social-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(123,17,19,0.06);
    color: var(--text);
    font-weight: 700;
    transition: all 0.28s ease;
}

.osaw-social-links a:hover {
    background: rgba(123,17,19,0.12);
    transform: translateY(-2px);
}

.osaw-social-links i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(123,17,19,0.10);
    color: var(--primary);
}

/* ================= RIGHT FEED ================= */
.osaw-feed-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.osaw-feed-header {
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.osaw-feed-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.osaw-feed-header p {
    color: var(--muted);
    margin-bottom: 18px;
    line-height: 1.85;
    max-width: 720px;
}

.osaw-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(123,17,19,0.08);
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
}

/* ================= FEED POSTS ================= */
.osaw-feed {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.osaw-post {
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

.osaw-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(123,17,19,0.14);
}

.osaw-post-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 18px;
}

.osaw-post-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.osaw-post-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    box-shadow: 0 12px 28px rgba(123,17,19,0.22);
    flex-shrink: 0;
}

.osaw-post-meta h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.osaw-post-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.osaw-post-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(123,17,19,0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.osaw-post-content {
    padding: 0 24px 20px;
}

.osaw-post-title {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.45;
}

.osaw-post-text {
    color: var(--text);
    line-height: 1.95;
    font-size: 0.98rem;
    margin-bottom: 0;
}

.osaw-post-image-wrap {
    padding: 0 18px 18px;
}

.osaw-post-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(123,17,19,0.06);
}

.osaw-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 24px 22px;
    border-top: 1px solid rgba(123,17,19,0.06);
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.osaw-post-footer-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.osaw-post-footer-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.osaw-post-read {
    color: var(--primary);
    font-weight: 800;
}

/* ================= EMPTY ================= */
.osaw-empty {
    text-align: center;
    padding: 70px 20px;
    border-radius: 28px;
    background: rgba(123,17,19,0.03);
    border: 1px dashed rgba(123,17,19,0.18);
}

.osaw-empty h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.osaw-empty p {
    color: var(--muted);
    margin: 0;
}

/* ================= MODAL ================= */
.osaw-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.72);
    z-index: 99999;
    padding: 20px;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.osaw-modal.active {
    display: flex;
}

.osaw-modal-box {
    width: min(1100px, 100%);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,0.30);
    position: relative;
    animation: osawModalUp 0.4s ease;
    border: 1px solid rgba(123,17,19,0.08);
}

@keyframes osawModalUp {
    from {
        transform: translateY(30px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.osaw-modal-scroll {
    overflow-y: auto;
    max-height: 92vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(123,17,19,0.35) transparent;
}

.osaw-modal-scroll::-webkit-scrollbar {
    width: 10px;
}

.osaw-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(123,17,19,0.25);
    border-radius: 999px;
}

.osaw-modal-image-wrap {
    position: relative;
    background: #f4f4f4;
}

.osaw-modal-image {
    width: 100%;
    height: min(48vh, 460px);
    object-fit: cover;
    display: block;
}

.osaw-modal-image-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 28px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.70), rgba(0,0,0,0.0));
    color: #fff;
}

.osaw-modal-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    color: #fff7dc;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.16);
}

.osaw-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    color: #fff;
    line-height: 1.12;
    margin-bottom: 10px;
    text-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.osaw-modal-date {
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    font-weight: 600;
}

.osaw-modal-content {
    padding: 34px 36px 38px;
    background:
        radial-gradient(circle at top right, rgba(245,196,81,0.08), transparent 18%),
        linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
}

.osaw-modal-reading {
    max-width: 900px;
    margin: 0 auto;
}

.osaw-modal-reading-intro {
    font-size: 1rem;
    line-height: 1.95;
    color: #6b7280;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(123,17,19,0.08);
}

.osaw-modal-text {
    color: #1f2937;
    line-height: 2.05;
    font-size: 1.02rem;
    white-space: pre-line;
    word-wrap: break-word;
}

.osaw-modal-close {
    position: sticky;
    top: 18px;
    margin-left: auto;
    margin-right: 18px;
    margin-top: 18px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(18,18,18,0.42);
    color: #fff;
    font-size: 1.25rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.osaw-modal-close:hover {
    transform: scale(1.08);
    background: rgba(123,17,19,0.92);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .osaw-page .osaw-section {
        padding: 40px 0 80px;
    }

    .osaw-top-card {
        padding: 28px 24px;
        border-radius: 26px;
    }

    .osaw-panel,
    .osaw-profile,
    .osaw-feed-header,
    .osaw-post {
        border-radius: 24px;
    }

    .osaw-post-head {
        padding: 18px 18px 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .osaw-post-content {
        padding: 0 18px 18px;
    }

    .osaw-post-image-wrap {
        padding: 0 14px 14px;
    }

    .osaw-post-footer {
        padding: 16px 18px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .osaw-modal {
        padding: 10px;
    }

    .osaw-modal-box {
        width: 100%;
        max-height: 95vh;
        border-radius: 24px;
    }

    .osaw-modal-scroll {
        max-height: 95vh;
    }

    .osaw-modal-image {
        height: 240px;
    }

    .osaw-modal-image-overlay {
        padding: 18px;
    }

    .osaw-modal-content {
        padding: 24px 20px 28px;
    }

    .osaw-modal-close {
        top: 12px;
        margin-right: 12px;
        margin-top: 12px;
        width: 46px;
        height: 46px;
    }

    .osaw-modal-text {
        font-size: 0.98rem;
        line-height: 1.95;
    }
}
/* ================= FEED STYLE ================= */
.osaw-feed {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.osaw-feed-post {
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(123,17,19,0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    cursor: pointer;
}

.osaw-feed-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}

.osaw-feed-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px 10px;
}

.osaw-feed-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 12px 28px rgba(123,17,19,0.24);
}

.osaw-feed-author h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.osaw-feed-author span {
    color: var(--muted);
    font-size: 0.88rem;
}

.osaw-feed-body {
    padding: 0 24px 18px;
}

.osaw-feed-body h3 {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.osaw-feed-body p {
    color: var(--text);
    line-height: 1.9;
    margin: 0;
}

.osaw-feed-image-wrap img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.osaw-feed-actions {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid rgba(123,17,19,0.08);
    background: #fffdfa;
}

.osaw-action-btn {
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.osaw-action-btn:hover {
    background: rgba(123,17,19,0.08);
}
/* ================= FACEBOOK-STYLE MODAL ================= */
.osaw-modal-box {
    width: min(900px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,0.25);
    position: relative;
    animation: osawModalUp 0.4s ease;
}

.osaw-modal-scroll {
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(123,17,19,0.35) transparent;
}

.osaw-modal-scroll::-webkit-scrollbar {
    width: 10px;
}

.osaw-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(123,17,19,0.25);
    border-radius: 999px;
}

.osaw-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1.3rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.osaw-modal-close:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Header (avatar + name + date) */
.osaw-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(123,17,19,0.08);
    background: #fff;
}

.osaw-modal-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.osaw-modal-user {
    display: flex;
    flex-direction: column;
}

.osaw-modal-user h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.osaw-modal-user span {
    font-size: 0.88rem;
    color: var(--muted);
}

/* Post Type Badge */
.osaw-modal-type {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(123,17,19,0.08);
    color: var(--primary);
    margin-left: auto;
}

/* Post Content */
.osaw-modal-content {
    padding: 18px 20px;
    background: #fff;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

/* Image Section */
.osaw-modal-image-wrap {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    position: relative;
}

.osaw-modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .osaw-modal-box {
        width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .osaw-modal-image-wrap {
        max-height: 240px;
    }

    .osaw-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}