/* V174 – scoped RO Midgard official Discord announcements, only on /home/news. */
.rom-feed{width:100%;max-width:100%;min-width:0;position:relative;color:#315065;font-family:inherit}
.rom-feed *{box-sizing:border-box}
.rom-feed-heading{padding:0 2px 22px;margin:0 0 22px;border-bottom:1px solid rgba(146,119,75,.36);position:relative}
.rom-feed-kicker,.rom-feed-category{font-size:10px;font-weight:700;letter-spacing:.145em;color:#a27b3a}
.rom-feed-heading h1{font:700 clamp(24px,3.3vw,32px)/1.18 Georgia,'Times New Roman',serif;color:#2a506c;margin:8px 0 9px;text-shadow:0 1px rgba(255,255,255,.65)}
.rom-feed-heading p{font-size:13px;line-height:1.65;color:#6a7881;margin:0 0 16px;max-width:640px}
.rom-feed-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rom-feed-source{font-weight:700;font-size:11px;letter-spacing:.02em;color:#547b77;display:inline-flex;align-items:center;gap:7px}
.rom-feed-source-dot{height:7px;width:7px;border-radius:50%;background:#5b9e92;box-shadow:0 0 0 3px rgba(91,158,146,.13)}
.rom-feed-discord{font-size:11px;font-weight:700;color:#2c5b7f!important;text-decoration:none!important}
.rom-feed-discord:hover{text-decoration:underline!important}
.rom-feed-list{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0 0 20px}
.rom-feed-card{min-width:0;position:relative;overflow:hidden;border:1px solid rgba(185,156,103,.62);border-radius:8px;background:linear-gradient(165deg,rgba(255,253,246,.95),rgba(246,250,249,.94));box-shadow:0 5px 17px rgba(29,56,70,.09),inset 0 1px rgba(255,255,255,.87)}
.rom-feed-card:before{content:"";display:block;position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,rgba(193,156,93,.78),rgba(211,185,129,.22),transparent)}
.rom-feed-card-content{padding:21px 23px 18px;min-width:0}
.rom-feed-card-title{font:700 clamp(19px,2.4vw,25px)/1.23 Georgia,'Times New Roman',serif;color:#28516a!important;margin:7px 0 10px!important;overflow-wrap:anywhere;word-break:normal}
.rom-feed-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#74838b;font-size:11px;line-height:1.4;margin-bottom:16px}
.rom-feed-author{font-weight:700;color:#507187;overflow-wrap:anywhere}
.rom-feed-meta-dot{opacity:.6}
.rom-feed-body{line-height:1.72;font-size:13px;color:#395466;overflow-wrap:anywhere;word-break:normal}
.rom-feed-body p{margin:0 0 11px;color:inherit;line-height:inherit}
.rom-feed-body p:last-child{margin-bottom:0}
.rom-feed-body ul{margin:5px 0 13px;padding-left:22px}
.rom-feed-body li{margin-bottom:5px}
.rom-feed-body strong{color:#284b65;font-weight:700}
.rom-feed-body code{font-family:Consolas,monospace;font-size:.9em;background:rgba(60,108,133,.09);padding:1px 4px;border-radius:3px}
.rom-feed-body blockquote{border-left:3px solid rgba(172,136,77,.6);background:rgba(224,233,230,.32);padding:8px 12px;margin:10px 0;color:#617485}
.rom-feed-subheading{color:#2d5c76!important;font-weight:700}
.rom-feed-body a.rom-feed-inline-link{color:#2b648e!important;text-decoration:underline!important;text-underline-offset:2px;overflow-wrap:anywhere}
.rom-feed-art{margin-top:15px;border-radius:6px;border:1px solid rgba(159,182,188,.44);background:rgba(237,241,236,.7);overflow:hidden;text-align:center}
.rom-feed-art img{display:block;max-width:100%;width:auto;height:auto;max-height:520px;margin:0 auto;object-fit:contain}
.rom-feed-footer{display:flex;justify-content:flex-end;border-top:1px solid rgba(167,171,155,.31);padding-top:14px;margin-top:17px}
.rom-feed-footer a{display:inline-block;border:1px solid rgba(105,139,154,.55);border-radius:5px;padding:8px 13px;background:linear-gradient(180deg,#42718c,#2d5873);color:#fff!important;font-size:11px;font-weight:700;letter-spacing:.02em;text-decoration:none!important;box-shadow:0 2px 4px rgba(38,65,80,.12)}
.rom-feed-footer a:hover,.rom-feed-footer a:focus-visible{background:linear-gradient(180deg,#5084a1,#356781);text-decoration:none!important}
.rom-feed-empty{padding:24px;border:1px solid rgba(188,160,107,.5);border-radius:7px;background:rgba(255,252,243,.82);color:#5d7480;margin:0 0 28px}
.rom-feed-empty h2{font:700 21px Georgia,serif;color:#2e5c75;margin:0 0 10px}
.rom-feed-empty p{margin:0 0 12px;line-height:1.65}
.rom-feed-empty a{color:#245e8b;text-decoration:underline}
@media(max-width:720px){.rom-feed-heading{padding-bottom:18px;margin-bottom:18px}.rom-feed-list{gap:13px}.rom-feed-card-content{padding:17px 16px 15px}.rom-feed-card-title{font-size:20px}.rom-feed-meta{gap:5px 7px}.rom-feed-body{font-size:13px}.rom-feed-art img{max-height:360px}}
@media(max-width:400px){.rom-feed-heading h1{font-size:23px}.rom-feed-card-content{padding:15px 13px}.rom-feed-heading-row{align-items:flex-start;flex-direction:column}}

/* V176 — Compact news feed; scoped entirely to the /home/news content. */
.rom-feed-heading{padding-bottom:17px;margin-bottom:15px}
.rom-feed-heading h1{font-size:clamp(23px,2.6vw,27px)!important;margin:6px 0 7px!important}
.rom-feed-heading p{margin-bottom:11px;line-height:1.5}
.rom-feed-list{gap:12px;margin-bottom:16px}
.rom-feed-card-content{padding:15px 16px 14px}
.rom-feed-card-title{font-size:19px!important;line-height:1.3;margin:5px 0 7px!important}
.rom-feed-meta{margin-bottom:10px;gap:5px 7px}
.rom-feed-body{line-height:1.62}
.rom-feed-body p{margin-bottom:8px}
.rom-feed-body ul{margin:4px 0 9px;padding-left:20px}
.rom-feed-body li{margin-bottom:3px}
.rom-feed-footer{margin-top:12px;padding-top:10px}
.rom-feed-footer a{padding:6px 11px}
.rom-feed-page-summary{font-size:11px;line-height:1.4;color:#718089;margin:0 0 10px;scroll-margin-top:16px}
/* Fallback without JS: full announcement text and images remain visible. */
.rom-feed-enhanced .rom-feed-body-collapsed{max-height:8.1em;overflow:hidden;position:relative}
.rom-feed-enhanced .rom-feed-body-collapsed::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1.7em;background:linear-gradient(transparent,rgba(252,253,248,.97));pointer-events:none}
.rom-feed-read-toggle{display:inline-flex;align-items:center;gap:5px;margin:9px 0 1px;padding:5px 0;background:none;border:0;color:#2e6284;font-family:inherit;font-weight:700;font-size:11px;cursor:pointer;text-decoration:none}
.rom-feed-read-toggle[hidden]{display:none!important}
.rom-feed-read-toggle:hover,.rom-feed-read-toggle:focus-visible{color:#194f74;text-decoration:underline}
.rom-feed-art{margin-top:11px;max-width:100%}
.rom-feed-art a{position:relative;display:block;max-width:100%;text-decoration:none!important}
.rom-feed-art img{display:block;width:100%;height:auto;max-height:220px;object-fit:contain;object-position:center}
.rom-feed-art-label{position:absolute;right:9px;bottom:8px;font:700 10px/1.3 Arial,sans-serif;color:#fff;background:rgba(30,59,78,.86);border-radius:4px;padding:5px 8px}
.rom-feed-art a:hover .rom-feed-art-label,.rom-feed-art a:focus-visible .rom-feed-art-label{background:#2d5d7b}
.rom-feed-is-expanded .rom-feed-art img{max-height:520px}
.rom-feed-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:4px 0 18px;padding:10px 0 0;border-top:1px solid rgba(146,119,75,.26)}
.rom-feed-page-numbers{display:flex;flex-wrap:wrap;gap:4px;justify-content:center}
.rom-feed-pagination a,.rom-feed-pagination span.rom-feed-page-number,.rom-feed-page-nav.is-disabled{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:5px 9px;border:1px solid rgba(174,153,119,.49);border-radius:5px;color:#2e5c77!important;background:rgba(255,253,245,.78);font-size:11px;font-weight:700;text-decoration:none!important}
.rom-feed-pagination a:hover,.rom-feed-pagination a:focus-visible{background:#e9f1f0}
.rom-feed-page-number.is-current{background:#356580!important;border-color:#356580!important;color:#fff!important}
.rom-feed-page-nav.is-disabled{opacity:.42}
@media(max-width:720px){.rom-feed-list{gap:11px}.rom-feed-card-content{padding:14px}.rom-feed-card-title{font-size:18px!important}.rom-feed-art img{max-height:190px}.rom-feed-pagination{justify-content:center}}
@media(max-width:400px){.rom-feed-card-content{padding:12px}.rom-feed-page-nav{font-size:10px!important;padding:5px 7px!important}}
