/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root{
	/* Borders & UI */
	--radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px; 
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}


.gb-text-3d4e7605{
	writing-mode: vertical-rl; 
}

/* Mobile share – hidden by default */
#pwpk-share-toggle,
#pwpk-share-panel {
    display: none;
}
@media (max-width: 767px) {
    #pwpk-share-toggle {
        position: fixed;
        right: 0;
        top: 50%;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        user-select: none;
        writing-mode: vertical-lr;
        transform: translateY(-50%) rotate(180deg);
        background: var(--brand-dark);
        color: var(--bg-alt);
        padding: 16px 6px;
        font-size: 0.90rem;
        text-transform: uppercase;
        border-radius: 0 12px 12px 0;
    }
    #pwpk-share-panel {
        position: fixed;
        right: -120px; /* hidden state */
        top: 50%;
        transform: translateY(-50%);
        z-index: 9998;
        display: flex;
        flex-direction: column;
        gap: 12px;
        transition: right 0.25s ease;
        background: white;
        padding: 5px;
        border-radius: 99px;
        border: 1px solid var(--border-color);
    }
    #pwpk-share-panel.active {
        right: 40px; 
    }
    #pwpk-share-panel button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #ffffff;
        color: var(--text-muted);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        transition: color 0.2s ease, border-color 0.2s ease;
    }
	#pwpk-share-panel button[data-share="facebook"]{
		background-color: #1877f2;
		color: #ffffff;
	}
	#pwpk-share-panel button[data-share="twitter"]{
		background-color: #000000;
		color: #ffffff;
	}
	#pwpk-share-panel button[data-share="whatsapp"]{
		background-color: #25d366;
		color: #ffffff;
	}
	#pwpk-share-panel button[data-share="linkedin"]{
		background-color: #0a66c2;
		color: #ffffff;
	}
	#pwpk-share-panel .pwpk-copy-link{
		background-color: var(--brand-dark);
		color: #ffffff;
	}
	#pwpk-share-panel .pwpk-copy-link.is-copied {
		background-color: #04cc4d; 
		color: #ffffff;
	}
}
/*  Blog post article design */
article.gb-element-8f7c5b70 .dynamic-entry-content {
    font-size: 1.125rem;
    color: var(--text-main);
    line-height: 1.8;
}

article.gb-element-8f7c5b70 .dynamic-entry-content p {
    margin-bottom: 24px;
}

article.gb-element-8f7c5b70 .dynamic-entry-content .lead {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-solid);
    padding-left: 20px;
}

article.gb-element-8f7c5b70 .dynamic-entry-content h2 {
    font-size: 2rem;
    margin-top: 60px;
    margin-bottom: 20px;
}

article.gb-element-8f7c5b70 .dynamic-entry-content h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

article.gb-element-8f7c5b70 .dynamic-entry-content h4 {
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--brand-dark);
}

article.gb-element-8f7c5b70 .dynamic-entry-content ul,
article.gb-element-8f7c5b70 .dynamic-entry-content ol {
    margin-bottom: 24px;
    line-height: 1.8;
}

article.gb-element-8f7c5b70 .dynamic-entry-content ul li,
article.gb-element-8f7c5b70 .dynamic-entry-content ol li {
    margin-bottom: 12px;
    color: var(--text-main);
}

article.gb-element-8f7c5b70 .dynamic-entry-content ul li {
    list-style-type: disc;
}

article.gb-element-8f7c5b70 .dynamic-entry-content ol li {
    list-style-type: decimal;
}

article.gb-element-8f7c5b70 .dynamic-entry-content strong {
    font-weight: 700;
    color: var(--brand-dark);
}

/* Inline code only (not in code blocks) */
article.gb-element-8f7c5b70 .dynamic-entry-content p code,
article.gb-element-8f7c5b70 .dynamic-entry-content li code,
article.gb-element-8f7c5b70 .dynamic-entry-content h2 code,
article.gb-element-8f7c5b70 .dynamic-entry-content h3 code,
article.gb-element-8f7c5b70 .dynamic-entry-content h4 code {
    background: var(--bg-alt);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Fira Code', 'Consolas', monospace;
    color: #d63384;
    border: 1px solid var(--border-color);
}

/* Hyperlinks */
article.gb-element-8f7c5b70 .dynamic-entry-content a {
    color: var(--primary-solid);
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    font-weight: 500;
}

article.gb-element-8f7c5b70 .dynamic-entry-content a:hover {
    color: var(--brand-dark);
    text-decoration-color: var(--brand-dark);
    text-underline-offset: 4px;
}

article.gb-element-8f7c5b70 .dynamic-entry-content h2:first-of-type {
    margin-top: 0px;
}

article.gb-element-8f7c5b70 .dynamic-entry-content blockquote {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    font-size: 1.25rem;
    font-family: serif;
    font-style: italic;
    color: var(--brand-dark);
    border: none;
}
article.gb-element-8f7c5b70 .dynamic-entry-content blockquote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-style: normal;
    font-family: "Be Vietnam Pro", sans-serif;
    color: var(--text-muted);
    font-weight: 600;
}

/* Tablet Responsive Typography */
@media (max-width: 992px) {
    article.gb-element-8f7c5b70 .dynamic-entry-content {
        font-size: 1.0625rem;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h2 {
        font-size: 1.75rem;
        margin-top: 48px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h2:first-of-type {
        margin-top: 0px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h3 {
        font-size: 1.35rem;
        margin-top: 36px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h4 {
        font-size: 1.15rem;
        margin-top: 28px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content .lead {
        font-size: 1.2rem;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content blockquote {
        font-size: 1.125rem;
        padding: 24px;
    }
}

/* Mobile Phone Responsive Typography */
@media (max-width: 600px) {
	    /* Mobile Typography */
    article.gb-element-8f7c5b70 .dynamic-entry-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h2 {
        font-size: 1.5rem;
        margin-top: 40px;
        margin-bottom: 16px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h2:first-of-type {
        margin-top: 0px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h3 {
        font-size: 1.2rem;
        margin-top: 32px;
        margin-bottom: 12px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content h4 {
        font-size: 1.1rem;
        margin-top: 24px;
        margin-bottom: 10px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content .lead {
        font-size: 1.1rem;
        margin-bottom: 32px;
        padding-left: 16px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content p {
        margin-bottom: 20px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content blockquote {
        font-size: 1.05rem;
        padding: 20px;
        margin: 32px 0;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content ul,
    article.gb-element-8f7c5b70 .dynamic-entry-content ol {
        margin-bottom: 20px;
    }
    
    article.gb-element-8f7c5b70 .dynamic-entry-content ul li,
    article.gb-element-8f7c5b70 .dynamic-entry-content ol li {
        margin-bottom: 10px;
    }
}
/* Rich Media: Images */
article.gb-element-8f7c5b70 .dynamic-entry-content figure {
    margin: 40px 0;
}
article.gb-element-8f7c5b70 .dynamic-entry-content img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: 100%;
}
article.gb-element-8f7c5b70 .dynamic-entry-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
}

