/* New casting surfaces only. Existing main/news styles remain in their files. */
#maintable #page { background-color:#fff; }
/* Replace the old visual offset with the same offset in document flow. */
#maintable #layer2 { top:0; margin-top:-880px; }
#maintable #anim-logo { margin-top:0; }
/* Regular spacing around the greeting and casting area. */
#layer2 a.dstv-greeting-entry { margin-top:24px; margin-bottom:0; }
.dstv-main-contact, .dstv-main-contact + center { box-sizing:border-box; width:946px; margin:0 auto; background:#fff; }
.dstv-main-contact { display:flex; justify-content:space-between; gap:24px; padding:20px 24px; font:16px/1.5 Arial,Helvetica,sans-serif; }
.dstv-main-contact a { padding:0; background:none; color:#292929; text-decoration:underline; }
.dstv-main-contact + center { padding:0 0 24px; }
.dstv-castings, .dstv-casting-news { color:#292929; font:17px/1.5 Arial,Helvetica,sans-serif; text-align:left; }
.dstv-castings { position:relative; margin:24px 12px; background:#fff; }
.dstv-castings__heading { display:flex; align-items:center; gap:20px; margin:0 0 20px; padding:0; color:#292929; font:bold 32px/1.2 Arial,Helvetica,sans-serif; text-transform:none; }
.dstv-castings__heading::after { content:""; flex:1; height:2px; background:#f47812; }
.dstv-castings__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.dstv-casting-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #cfcfcf; border-radius:10px; background:#fff; }
.dstv-casting-card__image { display:block; width:100%; height:auto; aspect-ratio:1130/768; object-fit:contain; background:#0b0b0b; }
.dstv-casting-card__body { display:flex; flex:1; flex-direction:column; gap:16px; padding:18px; }
.dstv-casting-card__title { margin:0; padding:0; color:#dc5500; font:bold 24px/1.25 Arial,Helvetica,sans-serif; text-align:left; text-transform:none; }
.dstv-casting-card__body p { flex:1; margin:0; }
.dstv-castings a.dstv-casting-link, .dstv-casting-news a.dstv-casting-link { display:inline-flex; align-items:center; justify-content:center; gap:12px; box-sizing:border-box; min-height:48px; padding:10px 18px; border:1px solid #c64d00; border-radius:8px; background:linear-gradient(#e66a00,#d84c00); color:#fff; font:bold 20px/1.3 Arial,Helvetica,sans-serif; text-decoration:none; text-align:center; }
.dstv-castings a.dstv-casting-link:hover, .dstv-casting-news a.dstv-casting-link:hover { background:#bf4700; text-decoration:none; }
.dstv-castings a:focus-visible, .dstv-casting-news a:focus-visible, .casting-page a:focus-visible { outline:3px solid #153c69; outline-offset:3px; }
.dstv-casting-news { width:815px; max-width:100%; box-sizing:border-box; margin:16px auto 24px; }
.dstv-casting-news__item { display:grid; grid-template-columns:260px minmax(0,1fr); gap:22px; padding:16px 0; border-bottom:1px solid #ddd; }
.dstv-casting-news__item img { display:block; width:100%; height:auto; align-self:center; }
.dstv-casting-news__item h2 { margin:0 0 10px; padding:0; color:#dc5500; font:bold 23px/1.25 Arial,Helvetica,sans-serif; text-align:left; text-transform:none; }
.dstv-casting-news__item h2 a { padding:0; background:none; color:inherit; text-decoration:underline; text-underline-offset:3px; }
.dstv-casting-news__item p { margin:0 0 14px; }

/* Castings belong to the page; only the original news list uses its iframe. */
#maintable #layer1 { display:flow-root; box-sizing:border-box; width:946px; top:0; margin-top:-956px; margin-left:0; padding:0 49px 24px; background:#fff; }
#layer1 > iframe { display:block; }
#layer1 ~ #anim-logo2 { margin:0; padding:0 0 24px; background:#fff; }

/* Standalone UTF-8 articles have their own responsive layout. */
body.casting-page { margin:0; background:#fe6b01 url('/Image2-i.jpg') center top no-repeat; color:#292929; font:18px/1.65 Arial,Helvetica,sans-serif; }
.casting-page *, .casting-page *::before, .casting-page *::after { box-sizing:border-box; }
.casting-page__shell { width:min(100%,946px); margin:0 auto; background:#fff; min-height:100vh; }
.casting-page__brand { display:block; overflow:hidden; aspect-ratio:946/280; }
.casting-page__brand img { display:block; width:100%; height:auto; transform:translateY(-22%); }
.casting-page__nav { display:flex; flex-wrap:wrap; gap:12px 26px; padding:14px 32px; border-bottom:2px solid #ef7411; }
.casting-page a { color:#a83e00; text-underline-offset:3px; overflow-wrap:anywhere; }
.casting-page__nav a { font-weight:bold; }
.casting-article { padding:28px 40px 48px; overflow-wrap:anywhere; }
.casting-article h1 { margin:0 0 22px; color:#c64c00; font-size:clamp(27px,4vw,36px); line-height:1.25; }
.casting-article__banner { display:block; width:100%; height:auto; margin:0 0 28px; }
.casting-article h2 { font-size:1.2em; line-height:1.4; margin:28px 0 14px; }
.casting-article p { margin:0 0 18px; }
.casting-article ul { margin:0 0 22px; padding-left:1.5em; }
.casting-article li { margin:8px 0; }
.casting-article__contact { padding:18px 22px; border-left:4px solid #ef7411; background:#fff4e9; }
.casting-article__return { margin-top:32px; padding-top:20px; border-top:1px solid #ddd; }
@media (max-width:600px) {
  .casting-page__nav { padding:12px 20px; }
  .casting-article { padding:24px 20px 36px; }
  .casting-article__contact { padding:16px; }
}
