/*
Theme Name: Creator Newsdesk Newspaper Child
Theme URI: https://www.creatornewsdesk.com/
Description: Creator Newsdesk child theme for Newspaper with site-specific header restoration.
Author: Creator Publishing Hub
Author URI: https://www.creatorpublishinghub.com/
Template: Newspaper
Version: 1.0.0
Text Domain: creatornewsdesk-newspaper-child
*/

@media (min-width: 768px) {
  .tdm-popup-modal-wrap {
    z-index: 10020 !important;
  }

  .tdm-popup-modal-wrap .tdm-pm-header {
    z-index: 10021 !important;
  }

  .cnd-desktop-brand-row {
    background: var(--today-news-accent, #d80b0b);
    padding: 10px 20px;
  }

  .cnd-desktop-brand-row .cnd-desktop-brand-fallback {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 86px;
    text-decoration: none;
    width: 100%;
  }

  .cnd-desktop-brand-row .cnd-desktop-brand-fallback img,
  .cnd-desktop-brand-row .cnd-desktop-brand-image {
    display: block;
    height: auto;
    max-height: 72px;
    max-width: min(480px, 92%);
    width: auto;
  }

  .cnd-desktop-brand-row .cnd-desktop-brand-column > .wpb_wrapper,
  .cnd-desktop-brand-row .cnd-desktop-brand-column > .wpb_wrapper > .tdc-elements {
    align-items: center;
    display: flex !important;
    justify-content: center;
    min-height: 86px;
  }
}
