/*
Theme Name: GenerateQuiz
Theme URI: https://generatequiz.com
Author: Gen Q
Author URI: https://generatequiz.com/about
Description: Generatequiz is a lightweight WordPress theme built with a focus on speed and usability.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatequiz
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options

Generatequiz, Copyright 2014-2025 EDGE22 Studios LTD.
Generatequiz is distributed under the terms of the GNU GPL

Generatequiz is based on Underscores http://underscores.me/, (C) 2012-2025 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/
:root{
	--sk-text:   #222;
	--sk-muted:  #666;
	--sk-accent: #0B5CAB;
	--sk-border: #e6e6e6;
	--sk-soft:   #fafbfc;
  
	--fz-h1: clamp(26px, 3.2vw, 32px);
	--fz-h2: clamp(20px, 2.4vw, 24px);
	--fz-h3: clamp(18px, 2.0vw, 20px);
	--fz-body: clamp(16px, 1.6vw, 18px);
  
	--lh-body: 1.75;
	--lh-compact: 1.5;
	--sp-xs: 10px;
	--sp-sm: 14px;
	--sp-md: 20px;
	--sp-lg: 28px;
	--radius: 10px;
  }
  
  body, .entry-content {
	color: var(--sk-text);
	font-size: var(--fz-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  }
  
  .inside-header {
	  padding: 20px 4px;
  }
  
  body, .entry-content, .main-navigation a {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  }
  .site-content a { text-decoration: none; }
  
  h1,h2,h3,h4,h5,h6,.site-title,.entry-title {
	font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", STSong, serif;
	letter-spacing: .2px;
  }
  
  .entry-title, h1 {
	font-size: var(--fz-h1);
	font-weight: 700;
	color: var(--sk-text);
	margin: 0 0 var(--sp-md);
  }
  
  h2 {
	font-size: var(--fz-h2);
	font-weight: 700;
	margin: var(--sp-lg) 0 var(--sp-sm);
	padding-bottom: 6px;
	border-bottom: 2px solid var(--sk-border);
  }
  
  h3 {
	font-size: var(--fz-h3);
	font-weight: 700;
	margin: var(--sp-md) 0 var(--sp-xs);
	color: var(--sk-text);
  }
  
  .entry-meta, .posted-on, .byline { color: var(--sk-muted); font-size: 90%; }
  
  .entry-content p {
	margin: 0 0 var(--sp-md);
	line-height: var(--lh-body);
	text-indent: 0;
  }
  
  .entry-content p + h2, .entry-content p + h3 {
	margin-top: var(--sp-lg);
  }
  
  .entry-content ul, .entry-content ol {
	margin: 0 0 var(--sp-md) 1.2em;
	padding: 0;
	line-height: var(--lh-body);
  }
  
  .entry-content ul li {
	margin-bottom: 10px;
	line-height: 1.8;
  }
  .entry-content li::marker { color: #555; }
  
  .entry-content table, .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--sp-sm) 0 var(--sp-md);
	font-size: var(--fz-body);
	line-height: var(--lh-compact);
	background: #fff;
	border: 1px solid var(--sk-border);
	border-radius: var(--radius);
  }
  
  .entry-content th, .entry-content td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--sk-border);
  }
  
  .entry-content thead th {
	background: var(--sk-soft);
	text-align: left;
	font-weight: 700;
  }
  .entry-content tbody tr:last-child td { border-bottom: 0; }
  
  .entry-content blockquote {
	margin: var(--sp-md) 0;
	padding: 14px 18px;
	border-left: 4px solid var(--sk-accent);
	background: var(--sk-soft);
	color: #333;
  }
  .entry-content blockquote p { margin: 0; }
  
  .entry-content hr { border: 0; border-top: 1px solid var(--sk-border); margin: var(--sp-lg) 0; }
  .entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 90%;
	background: #f6f8fa;
	padding: 2px 6px;
	border-radius: 6px;
  }
  
  
  .page .entry-title, .single .entry-title {
	font-size: var(--fz-h1);
	line-height: 1.25;
	margin-bottom: var(--sp-sm);
  }
  
  .blog .inside-article, .archive .inside-article {
	border: 1px solid var(--sk-border);
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 28px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  .blog .entry-title, .archive .entry-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
  }
  .blog .entry-title a { color: var(--sk-text); text-decoration: none; }
  .blog .entry-title a:hover { color: var(--sk-accent);}
  .blog .entry-meta { font-size: 14px; color: var(--sk-muted); margin-bottom: 8px; }
  .blog .entry-summary {
	font-size: 16px;
	line-height: 1.7;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 10px;
  }
  .blog .read-more {
	display: inline-block;
	padding: 6px 12px;
	font-size: 14px;
	background: var(--sk-accent);
	color: #fff !important;
	border-radius: 4px;
	text-decoration: none;
  }
  .blog .read-more:hover { background: #09498a; }
  
  .sidebar .widget {
	border: 1px solid var(--sk-border);
	border-radius: 6px;
	padding: 15px;
	margin-bottom: 20px;
	background: var(--sk-soft);
	font-size: 90%;
	color: #555;
  }
  .sidebar .widget-title {
	font-size: 16px;
	font-weight: 700;
	border-bottom: 1px solid #ddd;
	padding-bottom: 6px;
	margin-bottom: 12px;
  }
  
.sk-header-inner {
	display: flex;
	align-items: center;
    flex: 1 1 auto;
    min-width: 0;
	justify-content: space-between;
	gap: 24px;
}

.sk-header-left {
	display: flex;
	align-items: center;
	gap: 36px;
	flex: 0 0 auto;
}

.sk-site-branding {
	display: flex;
	align-items: center;
	gap: 16px;
}

.sk-header-left .main-navigation {
	position: static;
}

.sk-header-left .inside-navigation {
	display: flex;
	align-items: center;
	gap: 20px;
}

.sk-header-left .menu-toggle {
	margin: 0;
}

.sk-header-left #primary-menu {
	margin: 0;
}

.sk-header-left #primary-menu > ul {
	display: flex;
	gap: 10px;
	align-items: center;
}

.sk-header-center {
	flex: 1 1 360px;
	max-width: 520px;
}

.sk-header-center .search-form {
	display: flex;
	gap: 8px;
}

.sk-header-center .search-field {
	flex: 1;
	padding: 6px 10px;
}

.sk-header-center .search-submit {
	padding: 6px 12px;
}

.sk-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sk-auth-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
    font-size: 14px;
	text-decoration: none;
	background: var(--accent, #0b5cab);
	color: #fff;
    white-space: nowrap;
	line-height: 1;
}

.sk-auth-login:focus,
.sk-auth-login:hover {
	color: #fff;
    background: #3384d5;
}

.sk-account-menu {
	position: relative;
	display: inline-flex;
}

.sk-auth-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid rgba(0,0,0,0.1);
	padding: 0;
	cursor: pointer;
}
.sk-auth-avatar:hover, .sk-auth-avatar.focus {
    background: #fff;
    border: 2px solid rgba(0,0,0,0.2);
}

.sk-auth-avatar:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.sk-account-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 150px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 10px;
	box-shadow: 0 12px 24px rgba(15,23,42,.12);
	padding: 8px 0;
	display: none;
	z-index: 50;
}

.sk-account-menu.is-open .sk-account-dropdown,
.sk-account-menu:hover .sk-account-dropdown {
	display: block;
}

.sk-account-link {
	display: block;
	padding: 10px 16px;
	color: inherit;
	text-decoration: none;
	font-size: 14px;
}

.sk-account-link:hover,
.sk-account-link:focus {
	background: rgba(11,92,171,0.08);
}

.sk-account-logout {
	color: #d63c3c;
}

.sk-account-logout:hover,
.sk-account-logout:focus {
	background: rgba(214,60,60,.08);
}

.sk-auth-avatar img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

@media (max-width: 1024px) {
	.sk-header-inner {
		flex-wrap: wrap;
		row-gap: 16px;
	}

	.sk-header-left {
		width: 100%;
		justify-content: space-between;
	}

	.sk-header-center {
		order: 3;
		width: 100%;
	}

	.sk-header-right {
		order: 2;
	}

	.sk-header-left #primary-menu > ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}
