/*
 Theme Name:   GP Discover Pro (PunjabIP.pk)
 Theme URI:    https://wplitetheme.com/gp-discover-pro/
 Description:  GeneratePress Child theme for mobile responsive discovers blog and news website. Using this child theme you can easily create a google discover blog website. This GeneratePress Child theme design by wplitetheme.com
 Author:       WPLiteTheme.com
 Author URI:   https://wplitetheme.com
 Template:     generatepress
 Version:      1.1.0
 Text Domain:  gp-discover-pro
*/

.main-navigation {
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
/* Sticky widgets */ 
.auto-width.gb-query-loop-wrapper {
    flex: 1;
}
@media (min-width: 768px) {
.sticky-container > .gb-inside-container,.sticky-container {
    position: sticky;
    top: 80px;
}
#right-sidebar .inside-right-sidebar {
    height: 100%;
}
}
select#wp-block-categories-1 {
    width: 100%;
}
.wplite-banner-ads {
	margin-bottom: 15px;
}
.rank-math-breadcrumb p {
	background: #e5e8ec;
	color: #000000;
	padding: 5px 10px;
	border-radius: 4px;
    font-size: 11px;
	font-weight: 700;
}
@media (max-width: 768px){
	.rank-math-breadcrumb p {
		margin: 0px 10px;
	}
}
/*Block Images*/
.wp-block-image {
    padding-top: 10px;
    padding-bottom: 20px;
}

.wp-block-image img {
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 6%);
    border: 1px solid #cfcfcf;
    padding: 3px;
}
/*Table of contents*/
#toc_container li a {
    display: block;
    width: 100%;
    color: var(--link-text);
    padding: 10px 1em;
    border-top: 1px solid #aaa;
}
#toc_container {
    background: #f9f9f900;
    border: 1px solid #aaa;
    padding: 0px;
}
#toc_container span.toc_toggle {
    font-weight: 400;
    background: #fff;
    padding: 3px 20px;
    font-size: 18px;
    text-transform: capitalize;
    text-align: center;
    display: block;
}
/*Floating Social Share*/
.wplitetheme-float-social-wrapper {
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 9999;
}

.wplitetheme-float-social-sharing {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    min-height: 40px;
    font-size: 12px;
    padding: 5px 10px;
}

.wplitetheme-float-social-sharing svg {
    position: relative;
    top: 0.5em;
}

.wplitetheme-social-facebook {
    fill: #fff;
    background-color: rgba(59, 89, 152, 1);
}

.wplitetheme-social-facebook:hover {
    background-color: rgba(59, 89, 152, .8);
}

.wplitetheme-social-twitter {
    fill: #fff;
    background-color: #0f1419;
}

.wplitetheme-social-twitter:hover {
    background-color: #0f1419;
}

.wplitetheme-social-whatsapp {
    fill: #fff;
    background-color: rgba(37, 211, 102, 1);
}

.wplitetheme-social-whatsapp:hover {
    background-color: rgba(37, 211, 102, .8);
}

/*Social Share*/
.wpjankari-social-wrapper {
    margin: 20px 5px 20px 5px;
    font-size: 0;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
}
.wpjankari-social-sharing {
	padding: 8px;
	margin: 4px;
	border-radius: 3px;
    flex: 1;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}
.wpjankari-social-sharing:hover {
	transform: translateY(-3px);
	border: none;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}
@media only screen and (max-width: 600px) {
    .wpjankari-social-sharing {
		display: inline-block;
    }
}
.wpjankari-social-sharing svg {
    position: relative;
    top: 0.15em;
    display: inline-block;
}
.wpjankari-social-facebook {
    fill: #fff;
    background-color: rgba(59, 89, 152, 1);
}
.wpjankari-social-twitter {
    fill: #fff;
    background-color: rgba(0, 0, 0);
}
.wpjankari-social-whatsapp {
    fill: #fff;
    background-color: rgba(37, 211, 102, 1);
}
.wpjankari-social-telegram {
    fill: #fff;
    background-color: rgb(2, 126, 189);
}
.wpjankari-social-more {
    fill: #fff;
    background-color: rgba(0, 0, 0);
}
/*Follow Us Button*/
.whatsapphighlight {
	animation: WPLiteTheme-GreenBorderAnimation 1s infinite;
}
@keyframes WPLiteTheme-GreenBorderAnimation {
	0% {
		border-color: transparent;
	}
	50% {
		border-color: #25d366;
	}
	100% {
		border-color: transparent;
	}
}
.telegramhighlight {
	animation: WPLiteTheme-BlueBorderAnimation 1s infinite;
}
@keyframes WPLiteTheme-BlueBorderAnimation {
	0% {
		border-color: transparent;
	}
	50% {
		border-color: #0086ce;
	}
	100% {
		border-color: transparent;
	}
}
/*Tag Cloud*/
.widget_epcl_tag_cloud a, .widget_tag_cloud a, .wp-block-tag-cloud a {
    font-size: 12px!important;
    margin-bottom: 8px;
    margin-right: 8px;
}
.widget_epcl_tag_cloud a, .widget_tag_cloud a, .wp-block-tag-cloud a,  div.tags a{
    color: #333333;
    display: inline-block;
    padding: 4px 15px;
    line-height: 1.2;
    margin-right: 10px;
    background: #fff;
    border: 1px solid #333333;
    border-radius: 25px;
}
/* =====================================================================
   PunjabIP.pk: Urdu (RTL) blog design
   Brand blue #0b4f8a, hover #083c69, gold accent #f2b705
   ===================================================================== */

/* ---------- Urdu font (only for Urdu text) ----------
   The site is English. Jameel Noori Nastaleeq is used only for Urdu letters
   (unicode-range), so the font file downloads only on pages that have Urdu text.
   Until it has loaded, phones show their own Nastaleeq font. */
@font-face {
	font-family: "Jameel Noori PIP";
	src: url("assets/fonts/jameel-noori-punjabip.woff2") format("woff2");
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
/* Same file, also covering the space character: used only inside Urdu blocks so that
   word spacing matches Nastaleeq. English pages never request it. */
@font-face {
	font-family: "Jameel Noori PIP Block";
	src: url("assets/fonts/jameel-noori-punjabip.woff2") format("woff2");
	font-display: swap;
	unicode-range: U+0020, U+00A0, U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
	font-family: "PIP Urdu Fallback";
	src: local("Noto Nastaliq Urdu"), local("NotoNastaliqUrdu-Regular"), local("Urdu Typesetting"), local("Mehr Nastaliq Web");
	unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
:root {
	--pip-urdu-font: "Jameel Noori PIP", "PIP Urdu Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--pip-blue: #0b4f8a;
	--pip-blue-dark: #083c69;
	--pip-gold: #f2b705;
}
/* Urdu paragraphs, headings and lists: added automatically by the theme when a block
   is mostly Urdu, or by hand with the CSS class "urdu" (Block > Advanced > Additional CSS class). */
.pip-urdu, .urdu, [lang="ur"] {
	font-family: "Jameel Noori PIP Block", var(--pip-urdu-font);
	direction: rtl;
	text-align: right;
	font-weight: 400;
}
p.pip-urdu, li.pip-urdu, .pip-urdu li, p.urdu, .urdu p, .urdu li { font-size: 1.4em; line-height: 2.1; }
/* Nastaleeq looks smaller than English at the same size, so Urdu headings get a bit more */
h1.pip-urdu, h1.urdu { font-size: 36px; }
h2.pip-urdu, h2.urdu { font-size: 30px; }
h3.pip-urdu, h3.urdu { font-size: 25px; }
h4.pip-urdu, h4.urdu { font-size: 22px; }
@media (max-width: 768px) {
	h1.pip-urdu, h1.urdu { font-size: 31px; }
	h2.pip-urdu, h2.urdu { font-size: 27px; }
	h3.pip-urdu, h3.urdu { font-size: 24px; }
}
h1.pip-urdu, h2.pip-urdu, h3.pip-urdu, h4.pip-urdu, h1.urdu, h2.urdu, h3.urdu, h4.urdu { line-height: 1.8; font-weight: 400; }
ul.pip-urdu, ol.pip-urdu { padding: 0 1.4em 0 0; margin-left: 0; }
.pip-urdu strong, .pip-urdu b, .urdu strong, .urdu b { font-weight: 400; background: linear-gradient(transparent 62%, #fff1bf 62%); }
blockquote.pip-urdu { border-left: 0; border-right: 5px solid var(--pip-blue); padding: 6px 18px 6px 0; }

/* ---------- Homepage: H1 and About box ---------- */
.pip-home-h1 { font-size: 24px; line-height: 1.35; font-weight: 700; margin: 0 0 16px; color: var(--text-1, #1d1d1d); }
.pip-home-h1 span { color: var(--pip-blue); }
.pip-about {
	position: relative;
	background: linear-gradient(160deg, #ffffff 0%, #eef5fc 100%);
	border: 1px solid #d5e4f3;
	border-left: 5px solid var(--pip-blue);
	border-radius: 14px;
	padding: 14px 20px 16px;
	margin: 0 0 26px;
	box-shadow: 0 2px 4px rgba(11, 79, 138, .06), 0 10px 24px -10px rgba(11, 79, 138, .25);
}
.pip-about p { margin: 0 0 8px; font-size: 16px; line-height: 1.7; color: var(--text-2, #383838); }
.pip-about p:last-child { margin-bottom: 0; }
.pip-about .pip-about__note { font-size: 14px; color: #6b5300; }
.pip-section-title {
	display: inline-block;
	font-size: 19px; line-height: 1.5; font-weight: 700;
	color: #fff;
	background: linear-gradient(180deg, #1667ad 0%, var(--pip-blue) 55%, var(--pip-blue-dark) 100%);
	border-radius: 10px;
	padding: 6px 18px;
	margin: 0 0 18px;
	box-shadow: 0 4px 0 #062d50, 0 8px 14px -4px rgba(6, 45, 80, .45);
}
@media (max-width: 768px) {
	.pip-home-h1 { font-size: 21px; margin-top: 0; }
	.pip-about { padding: 12px 14px 14px; }
	.pip-about p { font-size: 15px; }
}
img[src*="gravatar.com/avatar"] { height: auto; aspect-ratio: 1/1; object-fit: cover; }

/* ---------- 3D cards: Latest Posts sidebar, Related Posts, Author box ---------- */
.gb-element-3965e7e6,
.gb-element-d151f654 {
	background: linear-gradient(160deg, #ffffff 0%, #f0f6fc 100%) !important;
	border: 1px solid #d5e4f3 !important;
	border-radius: 16px !important;
	box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(11, 79, 138, .06), 0 10px 24px -8px rgba(11, 79, 138, .22), 0 6px 0 -2px #cfe0f1 !important;
}
.gb-element-f69fd371 {
	background: linear-gradient(160deg, #ffffff 0%, #f0f6fc 100%);
	border: 1px solid #d5e4f3;
	border-radius: 16px;
	padding: 24px 20px 26px;
	box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(11, 79, 138, .06), 0 10px 24px -8px rgba(11, 79, 138, .22), 0 6px 0 -2px #cfe0f1;
}
/* 3D ribbon headings */
.gb-text-85764759,
.gb-text-8cb6bae8 {
	position: relative;
	background: linear-gradient(180deg, #1667ad 0%, var(--pip-blue) 55%, var(--pip-blue-dark) 100%) !important;
	color: #fff !important;
	border-radius: 10px;
	font-weight: 700;
	letter-spacing: .3px;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .15) inset, 0 4px 0 #062d50, 0 8px 14px -4px rgba(6, 45, 80, .45);
}
.gb-text-85764759::after,
.gb-text-8cb6bae8::after {
	content: ""; position: absolute; left: 50%; bottom: -9px; width: 34px; height: 4px; margin-left: -17px; border-radius: 4px; background: var(--pip-gold);
}
/* Post items inside the cards */
.gb-looper-94adaf45 > .gb-loop-item,
.gb-looper-87441092 > .gb-loop-item {
	background: #fff;
	border: 1px solid #e1ebf5;
	border-radius: 12px;
	padding: 8px;
	box-shadow: 0 3px 0 #e1ebf5, 0 6px 14px -8px rgba(16, 28, 45, .25);
	transition: transform .2s ease, box-shadow .2s ease;
}
.gb-looper-94adaf45 > .gb-loop-item:hover,
.gb-looper-87441092 > .gb-loop-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 0 #d3e3f3, 0 14px 22px -10px rgba(11, 79, 138, .35);
}
.gb-looper-87441092 > .gb-loop-item img,
.gb-looper-94adaf45 > .gb-loop-item img { border-radius: 8px; }
/* Author photo: sharp and with a 3D ring */
.gb-media-c5e4fa05,
.gb-media-99804067 {
	image-rendering: auto;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pip-blue), 0 8px 16px -6px rgba(6, 45, 80, .45);
}
@media (prefers-reduced-motion: reduce) {
	.gb-looper-94adaf45 > .gb-loop-item, .gb-looper-87441092 > .gb-loop-item { transition: none; }
	.gb-looper-94adaf45 > .gb-loop-item:hover, .gb-looper-87441092 > .gb-loop-item:hover { transform: none; }
}

/* ---------- Footer categories list (filled automatically with your categories) ---------- */
.pip-footer-cats { list-style: none; margin: 0; padding: 0; }
.pip-footer-cats li { margin: 0 0 4px; }
.pip-footer-cats a { color: inherit; text-decoration: none; }
.pip-footer-cats a:hover { text-decoration: underline; }
.pip-footer-cats .children { display: none; }

