.portal-inner-page {
    background: #eef1f5;
    padding: 34px 0 40px;
}

.portal-form-card,
.post-view-card {
    background: #ffffff;
    border: 1px solid #d7dde7;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    padding: 28px;
}

.portal-page-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1f2f47;
    margin-bottom: 8px;
}

.portal-page-text {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.portal-textarea {
    min-height: 200px;
    resize: vertical;
}

.portal-help-text {
    color: #7b8797;
    margin-top: 8px;
    font-size: 0.95rem;
}

.portal-submit-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    min-height: 52px;
    font-size: 1.05rem;
}

.post-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 340px;
    gap: 24px;
    align-items: start;
}

.post-main-column,
.post-sidebar-column {
    min-width: 0;
}

.post-view-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.post-state-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(242, 194, 48, 0.15);
    color: #8a5d00;
    border-radius: 999px;
    font-weight: 900;
}

.post-municipality-text {
    color: #5d6a7e;
    font-weight: 700;
}

.post-view-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #1f2f47;
    line-height: 1.1;
    margin-bottom: 14px;
}

.post-view-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #6b7788;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.post-main-image-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #d9e0e8;
    background: #e5e7eb;
    margin-bottom: 16px;
}

.post-main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.post-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.post-thumb-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #d9e0e8;
    background: #e5e7eb;
}

.post-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.post-view-content {
    color: #334155;
    font-size: 1.12rem;
    line-height: 1.9;
    margin-bottom: 26px;
}

.post-view-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 800;
    color: #fff;
    border: none;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.10);
}

.share-btn:hover {
    color: #fff;
}

.share-btn-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.share-btn-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.share-btn-whatsapp {
    background: #22c55e;
}

.share-btn-whatsapp:hover {
    background: #16a34a;
}

.share-btn-facebook {
    background: #1d4ed8;
}

.share-btn-facebook:hover {
    background: #1e40af;
}

.post-ad-bottom-box,
.related-block,
.sidebar-box {
    background: #ffffff;
    border: 1px solid #d7dde7;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.post-ad-bottom-box {
    margin-top: 22px;
    padding: 18px;
}

.related-block {
    margin-top: 22px;
    padding: 20px;
}

.related-block-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1f2f47;
    margin-bottom: 16px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.related-card {
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    overflow: hidden;
}

.related-card-image-link {
    display: block;
}

.related-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
}

.related-card-body {
    padding: 12px;
}

.related-card-location {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.related-card-title {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 900;
    margin: 0;
}

.related-card-title a {
    color: #22314a;
}

.post-sidebar-column {
    display: grid;
    gap: 18px;
}

.sidebar-box {
    padding: 18px;
}

.sidebar-box-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #1f2f47;
    margin-bottom: 14px;
}

.sidebar-link-list {
    display: grid;
    gap: 10px;
}

.sidebar-post-link {
    display: block;
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    padding: 12px;
    color: #22314a;
    font-weight: 700;
    line-height: 1.5;
}

.sidebar-post-link:hover {
    background: #eef4fb;
}

.sidebar-ad-wrap {
    display: block;
}

.dynamic-ad-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 1199px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .post-layout-grid {
        grid-template-columns: 1fr;
    }

    .post-view-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 767px) {
    .portal-page-title {
        font-size: 1.8rem;
    }

    .post-view-title {
        font-size: 1.75rem;
    }

    .portal-form-card,
    .post-view-card,
    .post-ad-bottom-box,
    .related-block,
    .sidebar-box {
        padding: 18px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .post-view-actions {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

.mini-legal-line {
    margin-top: 12px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    color: #7b8797;
    line-height: 1.5;
}

.post-legal-disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff8e8;
    border: 1px solid #f1d48d;
    border-left: 4px solid #e0a100;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 22px 0 26px;
    width: 100%;
    box-sizing: border-box;
}

.post-legal-disclaimer-icon {
    font-size: 1rem;
    line-height: 1;
    margin-top: 2px;
    flex: 0 0 auto;
}

.post-legal-disclaimer-content {
    color: #6e5a22;
    font-size: 0.88rem;
    line-height: 1.65;
}

.post-legal-disclaimer-content strong {
    color: #8f5b00;
    font-weight: 800;
}