/*
Theme Name: AZ Glory Casino
Theme URI: https://az-glory-casino.com/
Author: az-glory-casino.com
Author URI: https://az-glory-casino.com/
Description: Azərbaycan bazarı üçün hazırlanmış onlayn kazino mövzusu. Ana səhifə, bonus və mobil tətbiq şablonları, FAQ akkordeonu, Schema.org işarələməsi və Customizer ayarları daxildir.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: az-glory-casino
Tags: casino, affiliate, landing-page, custom-colors, custom-logo, custom-menu, translation-ready
*/

/* ==========================================================================
   Əsas dizayn qaydaları assets/css/theme.css faylındadır.
   Bu fayl ondan sonra yüklənir və məqalə tipoqrafiyasını tamamlayır.
   ========================================================================== */

/* --- Əlçatanlıq --- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.azgc-skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 20px;
	border-radius: 6px;
	background: var(--accent-red-500);
	color: #fff;
	font-size: 14px;
}

.azgc-logo-text {
	display: flex;
	align-items: center;
	height: 50px;
	font-size: 22px;
	font-weight: 700;
	color: var(--accent-red-500);
	white-space: nowrap;
}

/* --- Məqalə başlığı --- */

.article-header {
	display: flex;
	flex-direction: column;
	row-gap: 16px;
}

.article-header h1 {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--text-1);
}

.article-header > p {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	color: #3b3b4d;
}

/* --- Məzmun bölmələri --- */

.content-section {
	display: flex;
	flex-direction: column;
	row-gap: 14px;
	padding-top: 8px;
	scroll-margin-top: 80px;
}

.content-section h2 {
	margin-top: 16px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text-1);
}

.content-section h3 {
	margin-top: 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--accent-red-500);
}

.content-section p,
.content-section li {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.75;
	color: #2c2c3a;
}

.content-section a {
	color: var(--accent-red-500);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.content-section a:hover {
	color: var(--indigo-700);
}

/* --- Səhifə məzmunu (TOC) --- */

.article-toc {
	padding: 24px;
	border-radius: 12px;
	background: var(--surface);
	box-shadow: 0 2px 8px rgba(16, 16, 24, 0.06);
}

.article-toc h2 {
	margin-bottom: 16px;
	font-size: 20px;
	font-weight: 700;
	text-align: left;
	color: var(--text-1);
}

.article-toc ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: azgc-toc;
}

.article-toc li {
	counter-increment: azgc-toc;
}

.article-toc a {
	display: flex;
	gap: 10px;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.5;
	color: #2c2c3a;
	transition: color 0.2s ease-out;
}

.article-toc a::before {
	content: counter(azgc-toc) ".";
	flex: 0 0 auto;
	font-weight: 600;
	color: var(--accent-red-500);
}

.article-toc a:hover {
	color: var(--accent-red-500);
}

/* --- Cədvəllər --- */

.table-wrapper {
	width: 100%;
	overflow-x: auto;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(16, 16, 24, 0.06);
	-webkit-overflow-scrolling: touch;
}

.table-wrapper table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 15px;
}

.table-wrapper caption {
	padding: 16px 20px;
	text-align: left;
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	background: var(--grad-dark-btn);
}

.table-wrapper th,
.table-wrapper td {
	padding: 12px 20px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(58, 58, 82, 0.1);
	font-weight: 300;
	line-height: 1.6;
	color: #2c2c3a;
}

.table-wrapper th {
	font-weight: 600;
	color: var(--text-1);
	background: var(--surface);
	white-space: nowrap;
}

.table-wrapper tr:last-child th,
.table-wrapper tr:last-child td {
	border-bottom: 0;
}

.table-wrapper tbody tr:hover td {
	background: rgba(57, 89, 217, 0.04);
}

/* --- Addım-addım siyahılar --- */

.howto-list {
	display: flex;
	flex-direction: column;
	row-gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: azgc-step;
}

.howto-list > li {
	position: relative;
	counter-increment: azgc-step;
	padding: 16px 20px 16px 60px;
	border-radius: 10px;
	background: var(--surface);
}

.howto-list > li::before {
	content: counter(azgc-step);
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--grad-dark-btn);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.howto-list > li > span {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: 600;
	color: var(--text-1);
}

.howto-list > li > p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
	color: #2c2c3a;
}

/* --- Qeyd bloku --- */

.notice-box {
	padding: 18px 20px;
	border-left: 4px solid var(--indigo-700);
	border-radius: 8px;
	background: rgba(252, 70, 101, 0.07);
}

.notice-box p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: #2c2c3a;
}

/* --- CTA düyməsi --- */

.article-cta-wrapper {
	display: flex;
	margin-top: 8px;
}

.article-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 32px;
	border-radius: 8px;
	background: var(--grad-red);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.article-cta-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(57, 89, 217, 0.32);
}

/* --- Kiçik kartlar şəbəkəsi --- */

.bonus-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.bonus-card {
	padding: 20px;
	border-radius: 12px;
}

.bonus-card h3 {
	margin-bottom: 8px;
	font-size: 17px;
	font-weight: 600;
	color: var(--accent-red-500);
}

.bonus-card p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
	color: #2c2c3a;
}

/* --- Şəkil yer tutucuları --- */

.azgc-img-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 240px;
	padding: 24px;
	border: 2px dashed rgba(57, 89, 217, 0.35);
	border-radius: 12px;
	background: var(--surface);
	text-align: center;
}

.azgc-img-placeholder__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--grad-dark-btn);
	color: #fff;
	font-size: 26px;
	line-height: 1;
}

.azgc-img-placeholder__text {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-1);
}

.azgc-img-placeholder__path {
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(57, 89, 217, 0.1);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	color: var(--accent-red-500);
}

.azgc-banner-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 380px;
	padding: 32px;
}

.azgc-banner-placeholder .azgc-img-placeholder {
	max-width: 520px;
	min-height: 200px;
	border-color: rgba(57, 89, 217, 0.45);
	background: #fff;
}

/* --- Səhifələmə (arxiv) --- */

.navigation.pagination {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.nav-links {
	display: flex;
	gap: 8px;
}

.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	background: var(--surface);
	font-size: 15px;
	color: var(--text-1);
}

.page-numbers.current {
	background: var(--grad-dark-btn);
	color: #fff;
}

/* --- Uyğunlaşdırma --- */

@media screen and (max-width: 1024px) {
	.article-header h1 {
		font-size: 28px;
	}

	.content-section h2 {
		font-size: 23px;
	}
}

@media screen and (max-width: 668px) {
	.article-header h1 {
		font-size: 24px;
	}

	.article-header > p {
		font-size: 15px;
	}

	.content-section h2 {
		font-size: 21px;
	}

	.content-section h3 {
		font-size: 17px;
	}

	.content-section p,
	.content-section li {
		font-size: 15px;
	}

	.article-toc {
		padding: 18px;
	}

	.article-toc ol {
		grid-template-columns: 1fr;
	}

	.table-wrapper th,
	.table-wrapper td {
		padding: 10px 14px;
		font-size: 14px;
	}

	.table-wrapper caption {
		padding: 14px;
		font-size: 16px;
	}

	.howto-list > li {
		padding: 14px 16px 14px 54px;
	}

	.article-cta-button {
		width: 100%;
		padding: 0 20px;
	}

	.azgc-banner-placeholder {
		min-height: 220px;
		padding: 16px;
	}
}

/* ==========================================================================
   Baza stillərinin üstünə yazılan düzəlişlər.
   assets/css/theme.css faylında `.text-block-second-content ol|ul|p|a` üçün
   ümumi qaydalar var — onlar bizim bloklarımızı pozmasın deyə burada
   eyni və ya daha yüksək spesifikliklə dəqiqləşdirilir.
   ========================================================================== */

/* Məzmun sarğısı blok kimi davransın (bazada `display: inline` təyin edilib). */
.text-block-second-content-visible {
	display: block;
}

/* Flex elementlərində `min-width: auto` geniş cədvəllər ucbatından
   üfüqi sürüşmə yaradır. Sıfırlanır ki, cədvəl özü sürüşsün. */
.base-block,
.base-block > *,
.text-block-second,
.text-block-second-content,
.text-block-second-content-visible,
.content-section,
.content-section > *,
.article-header,
.article-header > * {
	min-width: 0;
	max-width: 100%;
}

.table-wrapper,
.glory-bonuses__table-wrap {
	max-width: 100%;
	overflow-x: auto;
}

.table-wrapper table {
	min-width: 480px;
}

.content-section img,
.article-header img {
	max-width: 100%;
	height: auto;
}

/* Sıralı siyahılarda ikiqat nömrələmənin qarşısı alınır:
   nömrə yalnız ::before sayğacı ilə göstərilir. */
.text-block-second-content .howto-list,
.text-block-second-content .article-toc ol {
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
}

/* Səhifə məzmunundaki linklərin rəngi. */
.text-block-second-content .article-toc a,
.text-block-second-content .article-toc a:not([class]) {
	color: #2c2c3a;
	text-decoration: none;
}

.text-block-second-content .article-toc a:hover,
.text-block-second-content .article-toc a:not([class]):hover {
	color: var(--accent-red-500);
	text-decoration: none;
}

/* Məqalə mətnindəki linklər brend rəngində olsun. */
.text-block-second-content .content-section a:not([class]) {
	color: var(--accent-red-500);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.text-block-second-content .content-section a:not([class]):hover {
	color: var(--indigo-700);
}

/* Bölmələr flex + row-gap ilə qurulduğu üçün əlavə margin-lar sıfırlanır. */
.text-block-second-content .content-section > p,
.text-block-second-content .content-section > h3,
.text-block-second-content .content-section > .table-wrapper,
.text-block-second-content .content-section > .howto-list,
.text-block-second-content .content-section > .notice-box,
.text-block-second-content .content-section > .bonus-grid,
.text-block-second-content .howto-list p {
	margin-bottom: 0;
}

.text-block-second-content .content-section > h2 {
	margin-top: 24px;
	margin-bottom: 0;
}

.text-block-second-content .article-header > p {
	margin-bottom: 0;
}

/* FAQ sualı cavabdan daha qabarıq görünsün (bazada 14px / 300 idi). */
.faq-content .faq-item-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}

.faq-content .faq-item-content-visible {
	font-size: 15px;
	line-height: 1.7;
	color: #2c2c3a;
}

.faq-content .faq-item {
	transition: box-shadow 0.2s ease-out;
}

.faq-content .faq-item:hover {
	box-shadow: 0 4px 14px rgba(16, 16, 24, 0.1);
}

/* Məzmun daxilindəki şəkillərin mərkəzlənməsi. */
.text-block-second-content .article-image-wrapper img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}
