/*
Theme Name: Electricity Pakistan
Template: fakt-base
Description: Electricity Pakistan (electricitypak.com) — child theme of Fakt Base with this site's styles. Rebuilt from scratch in 2026; no code from the old site.
Author: Mufasil
Version: 1.0.0
Text Domain: electricitypak
*/

:root { --ep-blue: #2851A0; --ep-blue2: #2D659E; --ep-navy: #0F1D2D; --ep-cyan: #23BCEC; --ep-ink: #161922; --ep-text: #626262; }
body { font-family: "Poppins", Arial, sans-serif; color: var(--ep-text); background: #FCFCFC; }

/* Header: blue top bar, white bar with the menu (thin separators between items) */
.ep-top a { color: #fff; }
.ep-top .elementor-icon-list-items { flex-wrap: nowrap; }
.ep-top > .elementor-container > .elementor-column > .elementor-widget-wrap { align-items: center; }
.ep-top .elementor-widget:not(:last-child) { margin-bottom: 0; }
.ep-nav .fakt-menu .fakt-menu__list > li > a { padding-top: 30px; padding-bottom: 30px; }
.ep-nav .fakt-menu .fakt-menu__list > li + li { border-left: 1px solid #EEEEEE; padding-left: 19px; }
.ep-nav .fakt-menu .fakt-menu__list > li { padding-right: 19px; }
.ep-nav .fakt-menu .fakt-menu__list { flex-wrap: nowrap; }
.ep-nav .fakt-menu .fakt-menu__list > .current-menu-item > a, .ep-nav .fakt-menu .fakt-menu__list > .current-menu-ancestor > a { color: var(--ep-blue); }
@media (max-width: 1024px) { .ep-nav .fakt-menu .fakt-menu__list > li + li { border-left: 0; padding-left: 0; } }

/* Narrow centred text */
.ep-narrow { max-width: 800px; margin-left: auto !important; margin-right: auto !important; }

/* Section titles with the soft shadow used on the old pages */
.ep-shadow .elementor-heading-title { text-shadow: 1px 1px 3px rgba(0, 0, 0, .45); }

/* Bullet lists (blue dots), two columns */
.ep-list ul { list-style: none; margin: 0; padding: 0; }
.ep-list li { position: relative; padding: 7px 0 7px 27px; line-height: 28px; }
.ep-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--ep-blue); }
.ep-list--2 ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
.ep-list--white li::before { background: #fff; }
@media (max-width: 767px) { .ep-list--2 ul { grid-template-columns: 1fr; } }

/* Home: power facts */
.ep-facts > .elementor-container { flex-wrap: wrap; }
.ep-fact > .elementor-widget-wrap { background: var(--ep-navy); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; text-align: center; transition: transform .35s, background .35s; }
.ep-fact > .elementor-widget-wrap:hover { transform: translateY(-8px); background: #13263B; }
.ep-fact .elementor-icon { border-radius: 16px !important; }
@media (max-width: 1024px) and (min-width: 768px) { .ep-facts > .elementor-container > .elementor-column { width: 33.333% !important; } }
@media (max-width: 767px) { .ep-facts > .elementor-container > .elementor-column { width: 50% !important; } }

/* Home: black title bars, sponsor card, logo strips */
.ep-sponsor-card > .elementor-widget-wrap { background: #fff; border-radius: 16px; box-shadow: 0 8px 25px rgba(0, 0, 0, .08); }
.ep-sponsor-title .elementor-heading-title { background: #EDEDED; letter-spacing: 2px; padding: 6px 0; white-space: nowrap; }
.ep-logos .swiper-slide-image { width: 180px !important; height: 120px !important; object-fit: contain; }
@media (max-width: 767px) { .ep-logos .swiper-slide-image { width: 120px !important; height: 80px !important; } }

/* Sponsoring: framed image */
.ep-frame img { border: 10px solid #000; border-radius: 80px 0 80px 0; }

/* Visiting: "Why Visit?" box on the photo */
.ep-why > .elementor-widget-wrap { background-size: cover; }

/* Marketing promotion: icon boxes */
.ep-promo .elementor-icon-box-wrapper { align-items: flex-start; }
.ep-promo .elementor-icon { border-radius: 0 !important; }

/* Forms: blue labels, no card (as on the old site) */
.fform-card > .elementor-widget-wrap { box-shadow: none; background: transparent; }
.fform .fform-field > label, .fform .fform-choices > legend { color: #0E6DC5; }

/* Footer */
.ep-foot a { color: #010101; }
.ep-foot .ep-links a { font-weight: 600; text-transform: uppercase; }

/* News list: one column, like the old page */
.blog .fakt-cards { grid-template-columns: 1fr; max-width: 960px; margin: 0 auto; gap: 40px; }
.blog .fakt-card-post { border: 0; box-shadow: none; background: transparent; }
.blog .fakt-card-post__img img { aspect-ratio: 16 / 9; max-width: 560px; margin: 0 auto; display: block; }
.blog .fakt-card-post h2 { font-size: 16px; font-weight: 400; }
.blog .fakt-card-post h2 a { color: #0E6DC5; }

/* Privacy policy */
.ep-prose h2 { color: var(--ep-ink); font-size: 28px; font-weight: 500; margin: 34px 0 12px; }
.ep-prose h3 { color: var(--ep-ink); font-size: 21px; font-weight: 400; margin: 22px 0 8px; }
.ep-prose ul { padding-left: 22px; }
.ep-prose li { margin-bottom: 6px; }
.ep-prose a { color: var(--ep-blue); }

.elementor-widget-image-gallery .elementor-image-gallery { overflow: hidden; }
