/* The feed shares the existing news panel's frame, colors and typography. */
.facebook-module {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}
.facebook-module .panel-body { padding: 15px; }
.facebook-feed {
    width: 100%;
    max-width: 500px;
    height: 1300px;
    margin: 0 auto;
}
.facebook-feed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.facebook-module .panel-footer {
    height: auto;
    min-height: 40px;
    padding: 10px 12px;
}
.facebook-module .facebook-feed-link {
    display: inline-block;
    color: #ffda8a;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}
.facebook-module .facebook-feed-link:hover,
.facebook-module .facebook-feed-link:focus { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
    .facebook-module { padding: 0; }
    .facebook-module .panel-title { font-size: 18px; line-height: 1.4; }
    .facebook-module .panel-body { padding: 10px; }
    .facebook-feed { height: 720px; }
}

/* Fixed legacy banner/footer widths would shrink the whole page on phones. */
@media (max-width: 767px) {
    .castle-siege-banner { width: calc(100% - 20px); padding: 16px 10px; }
    .castle-siege-banner > .col-xs-4,
    .castle-siege-banner > .col-xs-8 { padding-left: 0; padding-right: 0; text-align: center; }
    .castle-siege-banner > .col-xs-4 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 14px;
    }
    .castle-siege-banner > .col-xs-4 > .col-xs-6 { float: none; width: auto; padding: 0; }
    .castle-siege-banner img { width: 72px; height: 72px; }
    .cs-guild-title { font-size: 36px; }
    .cs-guild-guildowner { top: 0; font-size: 14px; }
    .cs-timeleft { font-size: clamp(26px, 7.5vw, 45px); white-space: nowrap; }
    .footer > .footer-container { width: 100%; max-width: 100%; }
}
