/* IranCatholic Video Posts 2.8.0 (site + editor). 16:9 via padding (old browsers). */
.ic-video-post{max-width:640px;margin:1.25rem 0 1.75rem}
.ic-video-post__player{position:relative;display:block;width:100%;height:0;padding-top:56.25%;overflow:hidden;border-radius:12px;background:#142b3c}
.ic-video-post__player img,.ic-video-post__player iframe{position:absolute;top:0;right:0;width:100%;height:100%;border:0;object-fit:cover}
.ic-video-post__play{position:absolute;top:50%;left:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(196,48,43,.92);color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:24px}
.ic-video-post__play svg{display:block;margin-left:4px}
.ic-video-post__player:focus-visible{outline:3px solid #3a6ea5;outline-offset:2px}
.ic-video-post__button{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-height:44px;margin:8px 0 0;padding:8px 14px;border-radius:10px;background:#f7e9ee;color:#7a2346!important;font-weight:700;font-size:15px;text-decoration:none!important}
.ic-video-post__button svg{display:block;margin-left:7px}
.ic-video-post__button:hover,.ic-video-post__button:focus{background:#f1dbe3}
/* 2.4.0: Instagram picture banner */
.ic-video-post__ig{display:block;margin:8px 0 0;border-radius:12px;overflow:hidden;line-height:0;background:#8a2a9e}
.ic-video-post__ig img{display:block;width:100%;height:auto;max-width:none}
.ic-video-post__ig:focus-visible{outline:3px solid #3a6ea5;outline-offset:2px}
/* 2.5.0: own vertical picture for the Instagram video (9:16), max 360px wide, centred */
.ic-video-post__own{position:relative;display:block;max-width:360px;margin:8px auto 0;border-radius:12px;overflow:hidden;line-height:0;background:#142b3c;text-decoration:none!important}
.ic-video-post__own img{display:block;width:100%;height:auto;max-width:none;margin:0}
.ic-video-post__own-play{position:absolute;top:50%;left:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(0,0,0,.55);border:2px solid #fff;color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:24px;line-height:1}
.ic-video-post__own-play svg{display:block;margin-left:4px}
.ic-video-post__own-bar{position:absolute;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-height:46px;padding:6px 10px;background:#c13584;background:linear-gradient(90deg,#f58529,#dd2a7b 45%,#8134af);color:#fff;font-weight:700;font-size:16px;line-height:1.4}
.ic-video-post__own-bar svg{display:block;margin-left:8px}
.ic-video-post__own:focus-visible{outline:3px solid #3a6ea5;outline-offset:2px}
/* Editor only */
.ic-video-post__own.is-editor{margin-top:10px}
.ic-video-post__own-wait{display:block;height:200px;line-height:200px;color:#fff;text-align:center}
.ic-video-block__pic{margin:4px 0 6px}
.ic-video-block__pic .components-button{margin-left:8px}
.ic-video-block__paste{margin:8px 0 0;padding:12px 10px;border:2px dashed #b99458;border-radius:10px;background:#fbf7ef;color:#5b4a2b;font-size:14px;text-align:center;cursor:pointer;line-height:1.6}
.ic-video-block__paste:focus{outline:none;border-style:solid;border-color:#3a6ea5;background:#eef4fb;color:#142b3c}
.ic-video-block__hint{margin:6px 0 0;color:#646970;font-size:12px;line-height:1.6}
.ic-video-block{max-width:640px}
.ic-video-post__empty{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-height:120px;border:2px dashed #c3c4c7;border-radius:12px;color:#646970;font-size:14px;text-align:center;padding:10px}
.ic-video-block__fields{margin-top:10px}
.ic-video-block__fields .components-base-control{margin-bottom:8px}
.ic-ltr input{direction:ltr;text-align:left}
/* 2.7.0: several videos in one block; .is-grid = two per row (flex, not grid: old iPhones) */
.ic-video-group{max-width:640px;margin:1.25rem 0 1.75rem}
.ic-video-group .ic-video-post{margin:0}
.ic-video-cell{margin:0 0 18px}
.ic-video-cell__label{margin:6px 0 0!important;text-align:center;font-size:15px;line-height:1.6;font-weight:700}
.ic-video-group.is-grid{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}
.ic-video-group.is-grid .ic-video-cell{width:calc(50% - 6px);margin:0 0 14px}
.is-grid .ic-video-post__own{max-width:none;margin-top:0}
.is-grid .ic-video-post__player + .ic-video-post__own,.is-grid .ic-video-post__player + .ic-video-post__ig{margin-top:6px}
.is-grid .ic-video-post__ig{margin-top:0}
.is-grid .ic-video-post__play,.is-grid .ic-video-post__own-play{width:44px;height:44px;margin:-22px 0 0 -22px}
.is-grid .ic-video-post__play svg,.is-grid .ic-video-post__own-play svg{width:22px;height:22px;margin-left:3px}
.is-grid .ic-video-post__own-bar{min-height:34px;padding:4px 6px;font-size:12px}
.is-grid .ic-video-post__own-bar svg{width:15px;height:15px;margin-left:5px}
.is-grid .ic-video-cell__label{font-size:14px}
/* 2.7.0 editor */
.ic-video-part{border:1px solid #dcdcde;border-radius:10px;padding:10px;margin:0 0 12px}
.ic-video-part.is-single{border:0;padding:0}
.ic-video-part__head{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin:0 0 8px;color:#142b3c;font-size:15px}
.ic-video-part__tools .components-button{margin-right:4px}
.ic-video-block__grid{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fbf7ef;border:1px solid #e6d6b3}
.ic-video-block .ic-video-block__add{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;min-height:44px;margin-top:4px;border:2px dashed #b99458;box-shadow:none;color:#7a5c26;font-size:15px}
/* 2.8.0: YouTube Shorts = tall 9:16 box (no black sides). Phones: up to 360px wide (fills the
 * screen like Instagram); computers 340px; centred. In «two per row» it fills its column. */
.ic-video-post.is-tall,.ic-video-group .ic-video-post.is-tall{max-width:360px;margin-left:auto;margin-right:auto}
.is-tall .ic-video-post__player{padding-top:177.78%}
.is-tall .ic-video-post__own{max-width:none}
/* 2.8.1 (Tom): computers choose YouTube quality from the player size, so the tall box is as tall as the
 * screen allows (screen height minus 120px), between 340 and 480px wide. Old browsers: 340px. */
@media (min-width:760px){.ic-video-post.is-tall,.ic-video-group .ic-video-post.is-tall{max-width:340px;max-width:max(340px,min(480px,calc((100vh - 120px) * .5625)))}}
.ic-video-group.is-grid .ic-video-post.is-tall{max-width:none}
.ic-video-post__player.is-editor.is-tall{max-width:300px;padding-top:533px;margin:0 auto}
@media (min-width:760px){.ic-video-group.is-grid .ic-video-post.is-tall{max-width:240px}}
