/* Trang RSS độc lập — dùng chung mọi theme (NEWS / SHOP / TRAVEL) */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body.ola-rss-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #222;
    background: #f0f2f5;
}

.ola-rss-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.ola-rss-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 14px 0;
}

.ola-rss-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #222;
    max-width: 100%;
}

.ola-rss-brand:hover {
    color: #c4161c;
}

.ola-rss-brand__logo-wrap {
    flex-shrink: 0;
    line-height: 0;
}

.ola-rss-brand__logo {
    display: block;
    max-height: 40px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ola-rss-brand__name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

/* Main */
.ola-rss-main {
    flex: 1;
    padding: 24px 0 40px;
}

.ola-rss-box {
    background: #fff;
    border-radius: 8px;
    padding: 28px 32px 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767px) {
    .ola-rss-box {
        padding: 20px 16px 28px;
    }
}

.ola-rss-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 28px;
    line-height: 1.2;
}

.ola-rss-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
}

.ola-rss-subheading {
    font-size: 16px;
    font-weight: 700;
    color: #444;
    margin: 24px 0 10px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}

.ola-rss-subheading:first-of-type {
    border-top: none;
    margin-top: 8px;
}

.ola-rss-hint {
    font-size: 14px;
    color: #666;
    margin: -8px 0 16px;
}

.ola-rss-hint code {
    font-size: 13px;
    background: #f1f3f5;
    padding: 1px 5px;
    border-radius: 3px;
}

.ola-rss-channels--section {
    margin-bottom: 8px;
}

/* Developer */
.ola-rss-dev {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #334155;
}

.ola-rss-dev p {
    margin: 0 0 10px;
    line-height: 1.65;
}

.ola-rss-dev__list {
    margin: 0 0 12px;
    padding-left: 20px;
}

.ola-rss-dev__list li {
    margin-bottom: 6px;
    word-break: break-all;
}

.ola-rss-dev__list a {
    color: #c4161c;
}

.ola-rss-dev__code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    overflow-x: auto;
    margin: 0 0 10px;
}

.ola-rss-dev__note {
    font-size: 13px;
    color: #64748b;
    margin: 0 !important;
}

.ola-rss-text {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 28px;
}

.ola-rss-text--last {
    margin-bottom: 0;
}

.ola-rss-text p {
    margin: 0 0 12px;
}

.ola-rss-text p:last-child {
    margin-bottom: 0;
}

/* Hai cột kênh */
.ola-rss-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .ola-rss-channels {
        grid-template-columns: 1fr 1fr;
    }
}

.ola-rss-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ola-rss-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 15px;
    color: #222;
}

.ola-rss-list__name {
    flex: 1;
    min-width: 0;
}

.ola-rss-list__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c4161c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ola-rss-list__link:hover {
    color: #9b1217;
    text-decoration: underline;
}

.ola-rss-icon {
    flex-shrink: 0;
}

/* Footer */
.ola-rss-footer {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.ola-rss-footer p {
    margin: 0;
}
