/* PPC / Paid Ads page
   Black & white only, sharp modern styling + scroll-friendly elements
*/

/* Square / sharp buttons */
.rounded-0 {
    border-radius: 0 !important;
}

/* Core black & white button treatment */
.btn-dark {
    background-color: #000 !important;
    border: 1px solid #000 !important;
    color: #fff !important;
    transition: all 0.3s ease;
}



.btn-outline-dark {
    background-color: transparent !important;
    border: 1px solid #000 !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* Small white CTA style used in black sections */
.btn-white {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #fff !important;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
}

/* Minimal hero layout shell */
.ppc-hero-shell {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.ppc-hero-main {
    border-radius: 0;
    border: 1px solid #000;
    padding: 2.5rem 2.25rem;
    min-height: 320px;
}

.ppc-hero-secondary {
    position: absolute;
    right: -30px;
    bottom: -40px;
    max-width: 280px;
    padding: 1.5rem 1.75rem;
    background-color: #fff;
}

/* Live dot */
.ppc-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: #fff;
    animation: ppc-blink 1s infinite;
}

@keyframes ppc-blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

/* Channel tags */
.ppc-channel-tags .ppc-pill {
    border: 1px solid #000;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.12rem;
}

/* System cards */
.ppc-system-card {
    padding: 2.25rem 2rem;
    transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.ppc-system-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.ppc-system-card.bg-black:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Playbook column shell */
.ppc-playbook-shell {
    border: 1px solid #000;
}

/* Bullet list reset */
.ppc-bullets li + li {
    margin-top: 0.4rem;
}

/* Steps inside black column */
.ppc-step {
    padding: 1.75rem 1.5rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ppc-step + .ppc-step {
    margin-top: 0.75rem;
}

.ppc-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Channel cards grid */
.ppc-channel-card {
    padding: 1.9rem 1.7rem;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ppc-channel-card:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-4px);
}

.ppc-channel-card:hover span,
.ppc-channel-card:hover p {
    color: #fff !important;
}

/* Engagement cards in black section */
.ppc-engagement-card {
    padding: 1.8rem 1.6rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ppc-engagement-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Readability tweaks: more generous line-height on key blocks */
.ppc-hero-main p,
.ppc-system-card p,
.ppc-step p,
.ppc-channel-card p,
.ppc-engagement-card p {
    line-height: 1.6;
}

/* Matched to the previous "20s" velocity */
.marquee-container {
    display: flex;
    width: max-content;
    animation: ppc-marquee 20s linear infinite;
}

@keyframes ppc-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Optional: Smoothly stops when a user hovers */
.marquee-container:hover {
    animation-play-state: paused;
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .navbar-brand, .navbar-other { width: auto !important; }
    .navbar-other { margin-left: auto !important; }

    .ppc-hero-secondary {
        position: static;
        margin-top: 1.75rem;
        right: auto;
        bottom: auto;
    }

    .ppc-hero-shell {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img { max-height: 35px !important; }
    .offset-lg-1 { margin-left: 0 !important; }
    .text-lg-end { text-align: left !important; }
    
    .widget.text-lg-end { text-align: left !important; }
    .justify-content-md-end { justify-content: flex-start !important; }
}

@media (max-width: 575.98px) {
    .ppc-hero-main {
        padding: 1.75rem 1.5rem;
    }

    .ppc-system-card {
        padding: 1.75rem 1.5rem;
    }
}


/* Editorial Image Framing */
.editorial-frame {
    position: relative;
    padding: 20px;
}

.editorial-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    border: 1px solid #000;
    z-index: 1;
}

.editorial-image-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    margin-left: 40px;
}

.editorial-caption {
    position: absolute;
    bottom: -30px;
    left: 40px;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    z-index: 3;
}

.text-vertical-side {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: rotate(90deg);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    opacity: 0.3;
    white-space: nowrap;
}



/* Custom Modal Overrides */
#modal-ppc-audit .modal-content {
    border: 5px solid #000; /* Thick black frame for a modern look */
}

/* Reusing your minimal input style */
.input-minimal {
    border: none !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
}

.input-minimal:focus {
    box-shadow: none !important;
    border-bottom: 2px solid #000 !important;
}

/* Text Stroke for white text in black sidebar */
.text-stroke-white {
    -webkit-text-stroke: 1px #fff;
    color: transparent !important;
}

/* Close button styling */
.btn-close {
    filter: grayscale(1) invert(0);
    opacity: 1;
}

/* Footer Legal Links Hover */
.hover-opacity-100:hover {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}