.wl-ads { background-color: #F5F8FB; padding: 50px 0; }

/* Tabs */
.wl-ads .tabs-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 16px 0; margin-bottom: 30px; }
.wl-ads .tabs-nav button { background: #f1f5f9; border: 0; border-radius: 999px; color: #334155; cursor: pointer; font-size: 14px; font-weight: 600; padding: 8px 16px; transition: background-color .15s, color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
@media (min-width: 640px) { .wl-ads .tabs-nav button { font-size: 16px; padding: 12px 24px; } }
.wl-ads .tabs-nav button:hover { background: #e2e8f0; }
.wl-ads .tabs-nav button:active { transform: translateY(1px); }
.wl-ads .tabs-nav button.is-active { background: #0f172a; box-shadow: 0 4px 6px rgba(0,0,0,.12); color: #fff; }

.wl-ads--display .tabs-content > [data-id] { display: none; }
.wl-ads--display .tabs-content > [data-id].is-active { display: block; }

/* Preview + Browser/Ad Demo */
.wl-ads .preview { align-items: center; background: #f8fafc; border-radius: 16px; display: flex; justify-content: center; margin: 12px 0; padding: 16px; }
.wl-ads .browser { background: #1e293b; border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(0,0,0,.3); height: 343.75px; overflow: hidden; position: relative; width: 100%; }
.wl-ads .browser-bar { align-items: center; background: #334155; display: flex; gap: 8px; height: 24px; left: 0; padding: 0 8px; position: absolute; right: 0; top: 0; }
.wl-ads .browser-dots { display: flex; gap: 4px; }
.wl-ads .dot { border-radius: 999px; height: 8px; width: 8px; }
.wl-ads .browser-dots .dot:nth-child(1) { background: #ef4444; }
.wl-ads .browser-dots .dot:nth-child(2) { background: #eab308; }
.wl-ads .browser-dots .dot:nth-child(3) { background: #22c55e; }
.wl-ads .browser-url { flex: 1; margin: 0 12px; }
.wl-ads .url-fill { background: #475569; border-radius: 6px; height: 12px; }
.wl-ads .browser-body { inset: 0; overflow: hidden; position: absolute; top: 24px; }
.wl-ads .browser-content { inset: 0; padding: 12px 20px; position: absolute; }
.wl-ads .browser-content.layout-cont { padding: 12px 80px; }
.wl-ads .content-title { background: #334155; border-radius: 10px; height: 32px; margin-bottom: 8px; }
.wl-ads .content-lines { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.wl-ads .line { background: #334155; border-radius: 10px; }
.wl-ads .content-lines .line:nth-child(odd) { height: 48px; }
.wl-ads .content-lines .line:nth-child(even) { height: 40px; }
.wl-ads .rect { align-items: center; background: rgb(249,115,22); border-radius: 6px; box-shadow: 0 4px 12px rgba(249,115,22,.4); display: flex; height: 103.125px; justify-content: center; left: 80px; max-width: 100%; position: absolute; right: 80px; }
.wl-ads .rect-top { top: 5px; }
.wl-ads .rect-middle { top: 50%; transform: translateY(-50%); }
.wl-ads .rect-full { left: 20px; right: 20px; }
.wl-ads .rect-label { color: #fff; font-size: 13px; font-weight: 700; margin: 0; }
.wl-ads .rect-bottom { bottom: 5px; }
.wl-ads .rect-bottom-center { border-radius: 6px; bottom: 0px; height: 103.125px; left: 0; margin: 0 auto; right: 0; }
.wl-ads .rect-right-center-square { border-radius: 6px; height: 92.8125px; left: auto; right: 12px; top: 50%; transform: translateY(-50%); width: 92.8125px; }
.wl-ads .rect-popup-center { max-height: 310px; top: 50%; transform: translateY(-50%); }
.wl-ads .rect-popup-top { height: 68.75px; left: 5px; right: 5px; top: 0; }

/* Two-column layout for ad preview */
.wl-ads .layout-2col { display: grid; gap: 8px; grid-template-columns: 2fr 1fr; height: 100%; }
.wl-ads .layout-main { display: flex; flex-direction: column; gap: 8px; }
.wl-ads .block { background: #334155; border-radius: 10px; height: 64px; }
.wl-ads .layout-main .block:nth-child(even) { height: 48px; }
.wl-ads .layout-side { background: #334155; border-radius: 10px; }

/* Placements Grid */
.wl-ads .placements-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .wl-ads .placements-2 { grid-template-columns: repeat(2, 1fr); } }
.wl-ads .placements { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .wl-ads .placements { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wl-ads .placements { grid-template-columns: repeat(3, 1fr); } }

/* Placement Card */
.wl-ads .placement { background: #fff; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); padding: 20px; transition: box-shadow .2s; }
.wl-ads .placement:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.wl-ads .placement-head { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 8px; }
.wl-ads .placement-meta { flex: 1; }
.wl-ads .placement-title { color: #0f172a; font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.wl-ads .placement-size { color: #475569; font-size: 14px; margin: 0; }
.wl-ads .placement-price { background: #ecfdf5; border-radius: 10px; padding: 6px 12px; }
.wl-ads .price { color: #047857; font-size: 16px; font-weight: 700; margin: 0; }
.wl-ads .placement-controls { margin-top: 12px; }
.wl-ads .label { color: #475569; display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.wl-ads .select { background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; color: #0f172a; cursor: pointer; font-size: 14px; outline: none; padding: 8px 12px; transition: border-color .15s, box-shadow .15s; width: 100%; }
.wl-ads .select:hover { border-color: #94a3b8; }
.wl-ads .select:focus { border-color: transparent; box-shadow: 0 0 0 2px rgba(16,185,129,.5); }
.wl-ads .placement-desc { color: #64748b; font-size: 14px; margin: 8px 0 0; }
.wl-ads .placement-foot { border-top: 1px solid #e2e8f0; padding-top: 8px; text-align: center; }
.wl-ads .cpm { color: #64748b; font-size: 14px; margin: 0; }
.wl-ads .cpm-value { color: #0f172a; font-weight: 600; }

/* Services Section */
.wl-ads .services { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width:768px) { .wl-ads .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .wl-ads .services { grid-template-columns: repeat(3, 1fr); } }
.wl-ads .service { background: #fff; border: 1px solid #f1f5f9; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); padding: 32px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.wl-ads .service:hover { border-color: #fed7aa; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); transform: translateY(-2px); }
.wl-ads .service-head { margin-bottom: 24px; }
.wl-ads .service-head-inner { align-items: flex-start; display: flex; gap: 12px; }
.wl-ads .service-icon { background: #ffedd5; border-radius: 12px; color: #ea580c; padding: 12px; }
.wl-ads .service-meta { flex: 1; }
.wl-ads .service-title { color: #0f172a; font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.wl-ads .service-subtitle { color: #64748b; font-size: 13px; margin: 0; }
.wl-ads .service-text { color: #475569; font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.wl-ads .service-includes { background: #f8fafc; border-radius: 12px; margin-bottom: 24px; padding: 16px; }
.wl-ads .includes-title { color: #334155; font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.wl-ads .includes-list { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wl-ads .includes-item { align-items: flex-start; display: flex; gap: 8px; }
.wl-ads .bullet { color: #f97316; line-height: 1; margin-top: 2px; }
.wl-ads .includes-text { color: #475569; font-size: 13px; }
.wl-ads .service-foot { align-items: flex-end; border-top: 1px solid #e2e8f0; display: flex; gap: 16px; justify-content: space-between; padding-top: 24px; }
.wl-ads .price-label, .wl-ads .price-note { color: #64748b; font-size: 12px; margin: 0; }
.wl-ads .price-value { color: #0f172a; font-size: 32px; font-weight: 700; line-height: 1; margin: 4px 0; }
.wl-ads .service-badge { background: #ecfdf5; border-radius: 10px; padding: 8px 16px; }
.wl-ads .badge-text { color: #047857; font-size: 14px; font-weight: 700; margin: 0; }

/* Stats Section */
.wl-ads .stats { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .wl-ads .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wl-ads .stats { grid-template-columns: repeat(4, 1fr); } }
.wl-ads .stat { background: #fff; border: 2px solid transparent; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); padding: 32px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.wl-ads .stat:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); transform: scale(1.05); }
.wl-ads .stat-icon { align-items: center; border-radius: 12px; display: flex; height: 56px; justify-content: center; margin: 0 0 20px; width: 56px; }
.wl-ads .stat-icon svg { display: block; }
.wl-ads .stat-number { font-size: 42px; font-weight: 700; line-height: 1; margin: 0 0 12px; }
.wl-ads .stat-title { color: #0f172a; font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.wl-ads .stat-desc { color: #64748b; font-size: 13px; line-height: 1.5; margin: 0; }

.wl-ads .stat-orange { border-color: #fed7aa; }
.wl-ads .stat-orange .stat-icon { background: #fff7ed; color: #ea580c; }
.wl-ads .stat-orange .stat-number { color: #ea580c; }
.wl-ads .stat-emerald { border-color: #a7f3d0; }
.wl-ads .stat-emerald .stat-icon { background: #ecfdf5; color: #059669; }
.wl-ads .stat-emerald .stat-number { color: #059669; }
.wl-ads .stat-blue { border-color: #bfdbfe; }
.wl-ads .stat-blue .stat-icon { background: #eff6ff; color: #2563eb; }
.wl-ads .stat-blue .stat-number { color: #2563eb; }
.wl-ads .stat-purple { border-color: #e9d5ff; }
.wl-ads .stat-purple .stat-icon { background: #faf5ff; color: #7c3aed; }
.wl-ads .stat-purple .stat-number { color: #7c3aed; }

/* Ads Title/Description Section */
.wl-ads .title { margin-bottom: 40px; margin-left: auto; margin-right: auto; max-width: 768px; text-align: center; }
.wl-ads .title.left-align { max-width: 100%; text-align: left; }
.wl-ads .title h2 { color: #0f172a; font-size: 36px; font-weight: 700; margin: 0 0 12px; }
.wl-ads .title p { color: #475569; font-size: 18px; line-height: 1.6; margin: 0; }

/* Ads Section Border/Padding */
.wl-ads .section { border-top: solid 2px oklch(0.929 0.013 255.508); margin-top: 80px; padding-top: 60px; }

/* Analytics Note */
.wl-ads .analytics-note { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 1px solid #e2e8f0; border-radius: 16px; margin-top: 40px; padding: 32px; }
.wl-ads .analytics-note-inner { margin: 0 auto; max-width: 672px; text-align: center; }
.wl-ads .analytics-note-text { color: #334155; font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.wl-ads .analytics-note-foot { color: #64748b; font-size: 14px; margin: 0; }

/* V8 advertisements page shell */
.wl-info-page-advertisements .wl-ad-page__display .wl-ads--display {
	background-color: #f5f8fb;
	padding: clamp(2rem, 5vw, 3.125rem) clamp(1rem, 3vw, 1.25rem);
	border: 0;
	border-radius: 0;
}

.wl-info-page-advertisements .wl-ad-page__display .wl-ads--display > .container {
	width: min(100% - 2rem, var(--wl-info-max, 1330px)) !important;
	max-width: var(--wl-info-max, 1330px) !important;
	margin: 0 auto !important;
	padding: 0 !important;
	box-sizing: border-box;
}

.wl-info-page-advertisements .wl-ad-page__display .wl-ads--display .title h2 {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.wl-info-page-advertisements .wl-ad-page__display .wl-ads--display .placement-title {
	font-size: 1.125rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	margin: 0 0 4px !important;
	color: #0f172a !important;
}

.wl-info-page-advertisements .wl-ad-page__display .wl-ads--display .select {
	appearance: auto;
}
