
/* Romanchi style.css — Responsive and Fixed */

:root {
    --rc-primary: #76558f;
    --rc-primary-dark: #56376d;
    --rc-border: #e9e1ef;
    --rc-soft: #faf7fc;
    --rc-text: #423849;
}

/* Base */
body {
    background: #f7f6f8;
    color: var(--rc-text);
}

a {
    color: var(--rc-primary);
}

a:hover {
    color: var(--rc-primary-dark);
}

button {
    font-family: inherit;
}

/* Main Content */
.blog-content {
    padding-top: 25px;
    padding-bottom: 30px;
}

.blog-content > .row {
    align-items: flex-start;
}

.post-col,
.content {
    width: 100%;
    min-width: 0;
}

.post {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.post-body,
.post-cnt {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Images */
.post-cnt img,
.post-body img {
    max-width: 100%;
    height: auto;
}

/* Iframes */
.post-cnt iframe,
.post-body iframe {
    max-width: 100%;
}

/* Tables */
.post-cnt {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.post-cnt table {
    display: table;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    margin: 15px 0;
}

.post-cnt table td,
.post-cnt table th {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Table Borders */
.post-cnt table[border="1"] td,
.post-cnt table[border="1"] th {
    border: 1px solid #d8d1df;
}

/* Headings */
.post-title h2 {
    overflow-wrap: anywhere;
}

/* Post Thumbnail */
.post-thumb {
    float: none;
}

/* Comments and Related */
.cmntblock,
.post-related,
.post-tag {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Forms */
input,
textarea,
select {
    max-width: 100%;
}

/* Mobile */
@media (max-width: 767px) {

    .blog-content {
        padding-top: 15px;
    }

    .rchi-header {
        padding-top: 20px !important;
    }

    .post {
        padding: 14px !important;
    }

    .post-thumb {
        float: none !important;
        margin: 0 auto 16px !important;
        width: min(220px, 100%) !important;
        max-width: 100% !important;
    }

    .post-thumb img {
        height: auto !important;
        max-height: 330px;
        object-fit: contain;
    }

    .post-cnt {
        clear: both !important;
        width: 100% !important;
        max-width: 100%;
        overflow-x: auto;
    }

    .post-cnt table {
        display: table;
        width: 100%;
        max-width: 100%;
    }
}