/* mc-front.css — Marketing Collateral frontend styles */

/* ── Page hero ── */
.page.page-id-146024 .site-content-contain, .page-id-146168 .site-content-contain, .page-id-146473 .site-content-contain, .page-id-148488 .site-content-contain{
    background-color: #070c12!important;
}
.page.page-id-146024 .page-title-bar, .page-id-146168 .page-title-bar, .page-id-146473 .page-title-bar, .page-id-148488 .page-title-bar{
    background-image: url(https://danubeproperties.com/wp-content/uploads/2026/04/mc_banner.webp);
    background-position: bottom center;
    margin-top: 0;
    padding-top: 72px;
    padding-bottom: 72px;
    height: auto !important;
}

/* ── Wrap ── */
.mc-front-wrap {
    margin-top: -148px;
    width: 100%;
}

/* ── Search ── */
.mc-front-search-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 24px;
}
.mc-front-search {
    width: 100%;
    max-width: 620px;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 1) !important;
    color: #000 !important;
    backdrop-filter: blur(8px);
    box-shadow: 4px 3px 26px 0 #000;
    border-radius: 6px !important;
    border: 0 !important;
}
.mc-front-search::placeholder {
    color: #000 !important;
    font-size: 18px;
}

/* ── Heading ── */
.mc-front-wrap h2 {
    color: #fff;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
}

/* ── Card grid ── */
.mc-front-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-top: 45px;
    
}
.mc-front-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}
.mc-front-card-image {
    aspect-ratio: 4/3;
    background: #f4f4f4;
    min-height: 270px;
}
.mc-front-card-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
.mc-front-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 14px;
}
.mc-front-card-content {
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mc-front-card-title-subtitle-wrap, .mc-button-wrap, .mc-front-card-size-flex{
    padding-left: 18px;
    padding-right: 18px;
}
.mc-button-wrap{
    padding-top: 5px;
}
.mc-front-card-title {
    margin: 0;
    font-size: 18px;
    line-height: 1;
    color: #fff;
}
.mc-front-card-subtitle {
    color: #fff;
    font-size: 12px;
    line-height: 1;
    min-height: 22px;
    margin-top: 5px;
}
.mc-front-card-size-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #070C12;
    padding-top: 12px;
    padding-bottom: 12px;
}
.mc-front-card-size {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}
.mc-card-download-all-btn {
    width: 100%;
    min-width: unset;
}

/* ── Buttons ── */
.mc-view-assets-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
    padding: 6px 12px;
    text-decoration: none;
    font-weight: 400;
    font-size: 12px;
    cursor: pointer;
    background: transparent;
    color: #fff;
    transition: background 0.3s ease;
    border: 1px solid #fff;
}
.mc-folder-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    padding: 12px 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: #B9A68C;
    text-transform: uppercase;
    color: #fff;
    transition: background 0.3s ease;
    border: 0;
    
}
.mc-view-assets-btn:hover,
.mc-folder-download-btn:hover {
    background: rgba(185, 166, 140, 0.8);
    color: #fff;
}
.mc-folder-download-btn {
    padding: 8px 10px;
    font-size: 14px;
    min-width: 200px;
}
.mc-folder-download-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: wait;
}

/* ── Loader + sentinel ── */
.mc-front-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 0;
    text-align: center;
}
.mc-loader-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.mc-loader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #B9A68C;
    animation: mcDotBounce 1.2s ease-in-out infinite;
}
.mc-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.mc-loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes mcDotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1; }
}
.mc-loader-text {
    color: #f4f4f4;
    font-size: 13px;
    letter-spacing: 0.04em;
}
.mc-front-empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: #666;
}
.mc-front-scroll-sentinel {
    height: 2px;
}

/* ── Modal overlay ── */
.mc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    padding: 30px 16px;
    overflow: auto;
    align-items: center;
    justify-content: center;
}
.mc-modal {
    max-width: 1100px;
    width: 700px;
    margin: 0 auto;
    background: #0E1114;
    border-radius: 7px;
    position: relative;
    height: calc(100vh - 225px);
    overflow: hidden;
}
.mc-modal-header, .mc-front-card, .mc-folder-card{
    background-color:#18191A;
}
.mc-modal-header {
    padding: 15px 15px 7px;
    margin-bottom: 20px;
    border-radius: 7px 7px 0 0;
}
.mc-modal-header h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1;
    color: #fff;
}
.mc-modal-subtitle {
    color: #fff;
    font-size: 12px;
}
.mc-modal-close {
    position: absolute;
    top: 3px;
    right: 8px;
    width: auto;
    height: auto;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
}
.mc-modal-download-all-wrap {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
}
.mc-folder-download-all-btn {
    display: block;
    width: 100%;
    border-radius: 0;
    min-width: unset;
}

/* ── Folder grid (inside modal) ── */
.mc-folder-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    width: 96%;
    left: 2%;
    overflow-y: auto;
    height: calc(100vh - 350px);
}
.mc-folder-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
}
.mc-folder-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    color: #fff;
}
.mc-folder-meta {
    font-size: 12px;
    color: #fff;
    margin-bottom: 0;
}
.mc-folder-meta strong {
    color: #fff;
}
.mc-folder-meta-wrap {
    display: flex;
    gap: 13px;
}

.mc-folder-meta-wrap .mc-folder-meta:after {
    content: "|";
    display: inline-block;
    margin: 0 0 0 10px;
}

.mc-folder-meta-wrap .mc-folder-meta:last-child:after {
    display: none;
}

/* ── ZIP loading spinner ── */
.mc-zip-loader {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
}
.mc-zip-loader.is-visible {
    display: flex;
}
.mc-zip-loader-box {
    width: min(360px, 100%);
    background: #fff;
    border-radius: 12px;
    padding: 24px 22px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}
.mc-zip-loader-spinner {
    width: 38px;
    height: 38px;
    margin: 0 auto 14px;
    border: 3px solid rgba(185, 166, 140, 0.28);
    border-top-color: #B9A68C;
    border-radius: 50%;
    animation: mcZipSpin 0.8s linear infinite;
}
.mc-zip-loader-title {
    margin: 0 0 6px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
}
.mc-zip-loader-text {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}
@keyframes mcZipSpin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .mc-front-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .mc-front-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .mc-front-grid { grid-template-columns: 1fr; }
    .mc-front-wrap { margin-top: -100px; }
    .mc-front-wrap h2 { font-size: 30px; }
    .mc-modal { width: 95%; }
    .mc-folder-card { flex-direction: column; align-items: flex-start; }
    .mc-folder-download-btn { width: 100%; }
    .mc-front-search {max-width: 320px;}
    .mc-folder-meta-wrap .mc-folder-meta:after {margin: 0 4px 0 0;}
    .mc-folder-meta {font-size: 11px;}
    .mc-folder-meta-wrap {gap: 3px;}
    .mc-front-search::placeholder {font-size: 14px;}
    .mc-modal-header h2 {font-size: 18px;}
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .mc-zip-loader-spinner { animation: none; }
}


/* ── Page Footer ── */
.page.page-id-146024 footer section:first-child, .page-id-146168 footer section:first-child, .page-id-146473 footer section:first-child, .page-id-148488 footer section:first-child{
    display: none!important;
}