/*
Theme Name: Quiz Norveççe
Theme URI: https://dursoft.com
Author: Quiz Norveççe
Author URI: https://dursoft.com
Description: Avansert WordPress-tema - Optimalisert for engelske eksamener og utdanningsinnhold. Norsk grensesnittversjon.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quiz-tayca
Domain Path: /languages
Tags: education, english, exams, tests, responsive, modern, performance, norwegian
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/*--------------------------------------------------------------
0. Reset
--------------------------------------------------------------*/
html {
  -webkit-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  word-wrap: break-word;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  color: #333;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #333;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #eee;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

sup {
  top: -.5em;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.no-list-style {
  list-style: none;
  margin: 0;
  padding: 0;
}

figure > img {
  display: block;
}

img {
  height: auto;
  max-width: 100%;
  /* Layout shift önleme için varsayılan boyutlar */
  width: auto;
  aspect-ratio: attr(width) / attr(height);
}

/* Boyutu belirtilmemiş resimler için layout shift önleme */
img:not([width]):not([height]) {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #f8f9fa;
}

/* Exam featured image için sabit boyutlar */
.exam-featured-image {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  display: block !important;
  background-color: #f8f9fa !important;
}

img[class*="align"],
img[class*="attachment-"] {
  height: auto;
}

embed,
iframe,
object {
  max-width: 100%;
  width: 100%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.5075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
1. Defaults
--------------------------------------------------------------*/
/* WordPress Standard Typography */
h1, h2, h3, h4, h5, h6 {
  color: #23282d;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  clear: both;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.875rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: 1.125rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* WordPress Standard Content Styles */
.entry-content {
  line-height: 1.6;
  word-wrap: break-word;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #23282d;
  font-weight: 600;
  line-height: 1.2;
  clear: both;
}

.entry-content h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.entry-content h2 {
  font-size: 1.875rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.entry-content h4 {
  font-size: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.entry-content h5 {
  font-size: 1.125rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.entry-content h6 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* WordPress Standard Paragraph Styles */
.entry-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* WordPress Standard List Styles */
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin-bottom: 0;
  margin-top: 0.5rem;
}

/* WordPress Standard Blockquote */
.entry-content blockquote {
  border-left: 4px solid #0073aa;
  margin: 1.5rem 0;
  padding-left: 1rem;
  font-style: italic;
  color: #666;
}

/* WordPress Standard Strong/Bold */
.entry-content strong,
.entry-content b {
  font-weight: 700;
}

/* WordPress Standard Emphasis */
.entry-content em,
.entry-content i {
  font-style: italic;
}

/* WordPress Standard Links */
.entry-content a {
  color: #0073aa;
  text-decoration: underline;
}

.entry-content a:hover,
.entry-content a:focus {
  color: #005177;
}

/* WordPress Standard Code */
.entry-content code {
  background: #f1f1f1;
  padding: 0.125rem 0.25rem;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.875rem;
}

.entry-content pre {
  background: #f1f1f1;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.entry-content pre code {
  background: none;
  padding: 0;
}

strong,
b {
  font-weight: bold;
}

input,
textarea,
select {
  -webkit-appearance: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea {
  font-size: 15px;
  font-weight: normal;
  background-color: #fff;
  border: 1px solid #ddd;
  outline: none;
  color: #333;
}

input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #bfbfbf;
  outline: none;
}

textarea {
  padding: 10px 15px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"] {
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
}

button,
.btn,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  border: none;
  color: #fff;
  padding: 0 15px;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  -webkit-backface-visibility: hidden;
  background-color: #2baae1;
  /* Layout shift önleme için sabit boyutlar */
  min-width: 80px;
  box-sizing: border-box;
  contain: layout style;
}

button:hover,
.btn:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  opacity: 0.85;
  text-decoration: none;
}

button:focus,
textarea:focus {
  outline: 0;
}

table {
  font-size: 14px;
  color: #333333;
  border-width: 1px;
  border-color: #e9e9e9;
  border-collapse: collapse;
  width: 100%;
}

table th {
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  border-color: #e6e6e6;
  background-color: #f0f0f0;
}

table tr:hover td {
  background-color: #f9f9f9;
}

table td {
  border-width: 1px;
  padding: 8px;
  border-style: solid;
  border-color: #e6e6e6;
  background-color: #ffffff;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
  text-align: center;
  clear: both;
}

.alignnone {
  display: block;
}

/* Clear Floats */
.clear:before,
.clear:after {
  content: "";
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  clear: both;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
}

.sticky,
.bypostauthor {
  background: inherit;
  color: inherit;
}

html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  background: #eceff1 !important;
  color: #414141;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
  margin: 0;
  padding: 0;
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html,
body {
  background-color: #eceff1 !important;
  margin: 0;
  padding: 0;
  padding-bottom: 0 !important;
}

/* STICKY FOOTER İÇİN SITE WRAPPER */
#page {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

/* MAIN CONTENT FLEX GROW */
.site-content {
  flex: 1 !important;
  /* Layout shift önleme için minimum yükseklik */
  min-height: 400px !important;
  /* İçerik yüklenirken layout shift önleme */
  contain: layout style !important;
}

a {
  color: #222;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #2baae1;
}

a:visited {
  color: #222;
}

a:active, a:focus {
  outline: 0;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# GLOBAL LAYOUT - TÜM SAYFALAR İÇİN ZORUNLU GENİŞLİK KURALLARI
--------------------------------------------------------------*/

/* TÜM SAYFA TÜRLERİ İÇİN ZORUNLU BODY STİLLERİ */
body,
body.home,
body.single,
body.page,
body.category,
body.archive,
body.tag,
body.tax-post_tag,
body.search,
body.error404 {
    background-color: #eceff1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN PRIMARY CONTENT */
#primary,
body.home #primary,
body.single #primary,
body.page #primary,
body.category #primary,
body.archive #primary,
body.tag #primary,
body.tax-post_tag #primary,
body.search #primary,
body.error404 #primary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    max-width: none !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN SITE-CONTENT */
.site-content,
body.home .site-content,
body.single .site-content,
body.page .site-content,
body.category .site-content,
body.archive .site-content,
body.tag .site-content,
body.tax-post_tag .site-content,
body.search .site-content,
body.error404 .site-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: #eceff1 !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN SITE-MAIN */
.site-main,
body.home .site-main,
body.single .site-main,
body.page .site-main,
body.category .site-main,
body.archive .site-main,
body.tag .site-main,
body.tax-post_tag .site-main,
body.search .site-main,
body.error404 .site-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN CONTAINER - 1200PX SABİT GENİŞLİK */
.container,
body.home .container,
body.single .container,
body.page .container,
body.category .container,
body.archive .container,
body.tag .container,
body.tax-post_tag .container,
body.search .container,
body.error404 .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px !important;
  background-color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.site-main .container,
body.home .site-main .container,
body.single .site-main .container,
body.page .site-main .container,
body.category .site-main .container,
body.archive .site-main .container,
body.tag .site-main .container,
body.tax-post_tag .site-main .container,
body.search .site-main .container,
body.error404 .site-main .container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN SIDEBAR GİZLEME */
.sidebar,
#secondary,
body.home .sidebar,
body.home #secondary,
body.single .sidebar,
body.single #secondary,
body.page .sidebar,
body.page #secondary,
body.category .sidebar,
body.category #secondary,
body.archive .sidebar,
body.archive #secondary,
body.tag .sidebar,
body.tag #secondary,
body.tax-post_tag .sidebar,
body.tax-post_tag #secondary,
body.search .sidebar,
body.search #secondary,
body.error404 .sidebar,
body.error404 #secondary {
  display: none !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN HEADER GENİŞLİK */
#masthead {
    width: 100% !important;
    background-color: #fff !important;
}

#masthead .container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN NAVİGATİON GENİŞLİĞİ */
.main-navigation {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN SITE BRANDING GENİŞLİĞİ */
.site-branding {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN CONTENT LOOP */
.content-loop {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN POST/ARTICLE - ARAMA SAYFASI İLE AYNI */
.hentry,
article {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 2rem !important;
    background: #fff !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform, box-shadow, background-color !important;
    cursor: pointer !important;
}

/* HOVER VE TOUCH EFEKTİ - AÇIK MAVİ RENK */
.hentry:hover,
.hentry:active,
.hentry:focus,
article:hover,
article:active,
article:focus {
    background: #e3f2fd !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(43, 170, 225, 0.2) !important;
}

/* HOVER VE TOUCH EFEKTİNDE BAŞLIK RENGİ */
.hentry:hover .entry-title,
.hentry:active .entry-title,
.hentry:focus .entry-title,
article:hover .entry-title,
article:active .entry-title,
article:focus .entry-title {
    color: #2baae1 !important;
}

/* HOVER VE TOUCH EFEKTİNDE BAŞLIK LİNK RENGİ */
.hentry:hover .entry-title a,
.hentry:active .entry-title a,
.hentry:focus .entry-title a,
article:hover .entry-title a,
article:active .entry-title a,
article:focus .entry-title a {
    color: #2baae1 !important;
}

/* ANA SAYFA KATEGORİ KARTLARI İÇİN HOVER VE TOUCH EFEKTİ - PERFORMANS OPTİMİZE */
.card,
.category-card,
.quiz-card,
.home-card,
.bootstrap-card,
.list-group-item {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
               box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
               background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    will-change: transform, box-shadow, background-color !important;
}

.card:hover,
.card:active,
.card:focus,
.category-card:hover,
.category-card:active,
.category-card:focus,
.quiz-card:hover,
.quiz-card:active,
.quiz-card:focus,
.home-card:hover,
.home-card:active,
.home-card:focus,
.bootstrap-card:hover,
.bootstrap-card:active,
.bootstrap-card:focus,
.list-group-item:hover,
.list-group-item:active,
.list-group-item:focus {
    background: #e3f2fd !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(43, 170, 225, 0.2) !important;
}

.card:hover .card-title,
.card:active .card-title,
.card:focus .card-title,
.card:hover h1,
.card:active h1,
.card:focus h1,
.card:hover h2,
.card:active h2,
.card:focus h2,
.card:hover h3,
.card:active h3,
.card:focus h3,
.card:hover h4,
.card:active h4,
.card:focus h4,
.card:hover h5,
.card:active h5,
.card:focus h5,
.card:hover h6,
.card:active h6,
.card:focus h6,
.category-card:hover .card-title,
.category-card:active .card-title,
.category-card:focus .card-title,
.quiz-card:hover .card-title,
.quiz-card:active .card-title,
.quiz-card:focus .card-title,
.home-card:hover .card-title,
.home-card:active .card-title,
.home-card:focus .card-title {
    color: #2baae1 !important;
}

.card:hover .card-text,
.card:active .card-text,
.card:focus .card-text,
.category-card:hover .card-text,
.category-card:active .card-text,
.category-card:focus .card-text,
.quiz-card:hover .card-text,
.quiz-card:active .card-text,
.quiz-card:focus .card-text,
.home-card:hover .card-text,
.home-card:active .card-text,
.home-card:focus .card-text {
    color: #1976d2 !important;
}

/* BUTONLAR İÇİN ÖZEL TOUCH EFEKTİ */
.card:hover .btn,
.card:active .btn,
.card:focus .btn,
.card:hover button,
.card:active button,
.card:focus button,
.card:hover .test-button,
.card:active .test-button,
.card:focus .test-button,
.card:hover .quiz-button,
.card:active .quiz-button,
.card:focus .quiz-button {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(43, 170, 225, 0.4) !important;
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%) !important;
}

/* EXAM CARD HOVER VE TOUCH EFEKTİ - PERFORMANS OPTİMİZE */
.exam-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
               box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
               background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    background: #fff !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    will-change: transform, box-shadow, background-color !important;
}

.exam-card:hover,
.exam-card:active,
.exam-card:focus {
    background: #e3f2fd !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(43, 170, 225, 0.2) !important;
}

.exam-card:hover .exam-title,
.exam-card:active .exam-title,
.exam-card:focus .exam-title {
    color: #2baae1 !important;
}

/* EXAM IMAGE VE KATEGORİ OVERLAY */
.exam-image {
    position: relative !important;
    overflow: hidden !important;
}

.exam-category-overlay {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: rgba(43, 170, 225, 0.9) !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    z-index: 2 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.exam-card:hover .exam-category-overlay {
    background: rgba(25, 118, 210, 0.9) !important;
    transform: scale(1.05) !important;
}

/* EXAM BOTTOM - KATEGORİ KALDIRILDI */
.exam-bottom {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN THUMBNAIL WRAP - GÖRSEL İLE BAŞLIK ARASI BOŞLUK */
.thumbnail-wrap {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 250px !important;
    margin-bottom: 0 !important;
    /* Layout shift önleme */
    contain: layout style !important;
    background-color: #f8f9fa !important;
}

.thumbnail-wrap img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
    max-width: none !important;
    /* Layout shift önleme için loading placeholder */
    background-color: #f8f9fa !important;
}

/* Resim yüklenirken placeholder */
.thumbnail-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
}

.thumbnail-wrap img[src] + ::before {
    display: none;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.thumbnail-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN ENTRY HEADER */
.entry-header {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN ENTRY TITLE */
.entry-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2c3644 !important;
    margin: 1rem 0 !important;
    line-height: 1.2 !important;
}

/* SAYFA TÜRLERİNE GÖRE ENTRY TITLE BOYUTLARI */
body.page .entry-title {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    color: #2c3644 !important;
    margin: 1.2rem 0 !important;
    line-height: 1.1 !important;
    text-align: center !important;
}

body.single .entry-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
}

.entry-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.entry-title a:hover {
    color: #2baae1 !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN ENTRY SUMMARY GİZLE */
.entry-summary {
    display: none !important;
}

/* SADECE SINGLE VE PAGE SAYFALARDA ENTRY CONTENT GÖSTER */
body.single .entry-content,
body.page .entry-content {
    display: block !important;
    padding: 0 1.5rem 1rem 1.5rem !important;
    line-height: 1.6 !important;
    color: #666 !important;
}

/* DİĞER SAYFA TÜRLERİNDE ENTRY CONTENT GİZLE */
body.home .entry-content,
body.category .entry-content,
body.archive .entry-content,
body.tag .entry-content,
body.tax-post_tag .entry-content,
body.search .entry-content,
body.error404 .entry-content {
    display: none !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN FOOTER - TEK RENK VE ÇOK DÜŞÜK YÜKSEKLİK */
#colophon,
.site-footer {
    margin-top: 0.5rem !important;
    padding: 0.2rem 0 !important;
    margin-bottom: 0 !important;
    background: #333 !important;
    color: #fff !important;
    min-height: auto !important;
}

/* Footer columns için tek renk */
.footer-columns {
    background: #333 !important;
    padding: 0.2rem 0 !important;
}

/* Site bottom için tek renk - masaüstü ortalama */
#site-bottom {
    background: #333 !important;
    padding: 0.2rem 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
}

#site-bottom .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

#site-bottom .site-info {
    flex: 1 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

#site-bottom .footer-nav {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

/* Footer linkleri için beyaz renk */
#colophon a,
.site-footer a,
#colophon .widget a,
.site-footer .widget a,
#colophon .footer-widget a,
.site-footer .footer-widget a,
#colophon .site-info a,
.site-footer .site-info a,
.footer-nav a {
    color: #fff !important;
    text-decoration: none !important;
}

#colophon a:hover,
.site-footer a:hover,
#colophon .widget a:hover,
.site-footer .widget a:hover,
#colophon .footer-widget a:hover,
.site-footer .footer-widget a:hover,
#colophon .site-info a:hover,
.site-footer .site-info a:hover,
.footer-nav a:hover {
    color: #ccc !important;
    text-decoration: underline !important;
}

/* Footer metinleri için beyaz renk */
#colophon,
.site-footer,
#colophon p,
.site-footer p,
#colophon .widget,
.site-footer .widget,
#colophon .footer-widget,
.site-footer .footer-widget,
#colophon .site-info,
.site-footer .site-info {
    color: #fff !important;
}

/* Footer navigation için stil */
.footer-nav {
    text-align: center !important;
    margin-top: 0.5rem !important;
}

.footer-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
}

.footer-nav li {
    margin: 0 !important;
}

/* Footer yazı boyutu büyütme */
#site-bottom .site-info {
    font-size: 0.9rem !important;
}

.footer-nav a {
    font-size: 0.9rem !important;
    padding: 0 0.5rem !important;
}

/* Masaüstü footer navigation için geniş aralık */
@media (min-width: 769px) {
    .footer-nav ul {
        gap: 2rem !important;
    }
    
    .footer-nav a {
        padding: 0 0.5rem !important;
    }
}

/* Mobil footer override - tek renk için */
@media (max-width: 768px) {
    .site-footer,
    #colophon {
        background-color: #333 !important;
        margin-top: 0.5rem !important;
        padding: 0.5rem 0 !important;
        min-height: auto !important;
    }
    
    #site-bottom {
        background-color: #333 !important;
        padding: 0.5rem 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }
    
    #site-bottom .site-info {
        color: #fff !important;
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    .footer-nav {
        margin-top: 0.5rem !important;
    }
    
    .footer-nav ul {
        gap: 1.5rem !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .footer-nav li {
        margin-bottom: 0.5rem !important;
    }
    
    .footer-nav a {
        font-size: 0.9rem !important;
        padding: 0.3rem 0 !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .site-footer,
    #colophon {
        margin-top: 0.5rem !important;
        padding: 0.5rem 0 !important;
        min-height: auto !important;
    }
    
    #site-bottom {
        padding: 0.5rem 0 !important;
        min-height: auto !important;
    }
}

/* TÜM SAYFA TÜRLERİ İÇİN SITE-CONTENT ALT BOŞLUK */
.site-content {
    margin-bottom: 2rem !important;
}

/* TÜM SAYFA TÜRLERİ İÇİN MAIN CONTENT ALT BOŞLUK */
.site-main {
    margin-bottom: 2rem !important;
}

/* RESPONSİVE TASARIM - TÜM SAYFA TÜRLERİ */
@media (max-width: 768px) {
    /* MOBİL TOUCH OPTİMİZASYONU */
    .hentry,
    article,
    .card,
    .exam-card,
    .test-card,
    .category-card,
    .quiz-card,
    .home-card,
    .bootstrap-card,
    .card-body,
    .list-group-item {
        -webkit-tap-highlight-color: rgba(43, 170, 225, 0.2) !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    
    /* MOBİL TOUCH EFEKTLERİ - PERFORMANS OPTİMİZE TRANSİTİON */
    .hentry,
    article,
    .card,
    .exam-card,
    .test-card,
    .category-card,
    .quiz-card,
    .home-card,
    .bootstrap-card,
    .card-body,
    .list-group-item {
        transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                   box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                   background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
        will-change: transform, box-shadow, background-color !important;
    }
    
    /* MOBİL TOUCH ACTIVE STATES - PERFORMANS OPTİMİZE */
    .hentry:active,
    article:active,
    .card:active,
    .exam-card:active,
    .test-card:active,
    .category-card:active,
    .quiz-card:active,
    .home-card:active,
    .bootstrap-card:active,
    .card-body:active,
    .list-group-item:active {
        transform: translateY(-2px) scale(0.99) !important;
        box-shadow: 0 4px 15px rgba(43, 170, 225, 0.2) !important;
        background: #e3f2fd !important;
    }
    
    /* MOBİL TOUCH - BAŞLIK RENGİ DEĞİŞİMİ */
    .card:active .card-title,
    .card:active h1,
    .card:active h2,
    .card:active h3,
    .card:active h4,
    .card:active h5,
    .card:active h6,
    .category-card:active .card-title,
    .quiz-card:active .card-title,
    .home-card:active .card-title {
        color: #2baae1 !important;
    }
    
    /* MOBİL TOUCH - BUTON EFEKTLERİ OPTİMİZE */
    .card:active .btn,
    .card:active button,
    .card:active .test-button,
    .card:active .quiz-button {
        transform: translateY(-1px) scale(0.98) !important;
        box-shadow: 0 3px 12px rgba(43, 170, 225, 0.25) !important;
    }
    
    /* MOBİL TOUCH OPTİMİZASYONU - TÜM KART TÜRLERİ İÇİN */
    .card,
    .category-card,
    .quiz-card,
    .home-card,
    .bootstrap-card,
    .list-group-item,
    .test-card,
    .exam-card {
        -webkit-tap-highlight-color: rgba(43, 170, 225, 0.3) !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    
    /* MOBİL TOUCH ACTIVE STATES - TÜM KART TÜRLERİ OPTİMİZE */
    .card:active,
    .category-card:active,
    .quiz-card:active,
    .home-card:active,
    .bootstrap-card:active,
    .list-group-item:active,
    .test-card:active,
    .exam-card:active {
        background: #e3f2fd !important;
        transform: translateY(-2px) scale(0.99) !important;
        box-shadow: 0 4px 15px rgba(43, 170, 225, 0.2) !important;
    }
    
    /* MOBİL TOUCH - BAŞLIK RENGİ DEĞİŞİMİ TÜM KARTLAR */
    .card:active .card-title,
    .card:active h1,
    .card:active h2,
    .card:active h3,
    .card:active h4,
    .card:active h5,
    .card:active h6,
    .category-card:active .card-title,
    .quiz-card:active .card-title,
    .home-card:active .card-title,
    .test-card:active .test-card-title,
    .exam-card:active .exam-title {
        color: #2baae1 !important;
    }
    

/* MOBİL PERFORMANS OPTİMİZASYONU - GPU HIZLANDIRMA */
@media (max-width: 768px) {
    .card,
    .category-card,
    .quiz-card,
    .home-card,
    .bootstrap-card,
    .list-group-item,
    .test-card,
    .exam-card,
    .hentry,
    article {
        transform: translateZ(0) !important;
        backface-visibility: hidden !important;
        perspective: 1000px !important;
    }
    
    /* MOBİL HOVER EFEKTLERİNİ DEVRE DIŞI BIRAK */
    .card:hover,
    .category-card:hover,
    .quiz-card:hover,
    .home-card:hover,
    .bootstrap-card:hover,
    .list-group-item:hover,
    .test-card:hover,
    .exam-card:hover,
    .hentry:hover,
    article:hover {
        transform: none !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        background: inherit !important;
    }
    
    /* MOBİL HOVER BAŞLIK RENKLERİNİ DEVRE DIŞI BIRAK */
    .card:hover .card-title,
    .card:hover h1,
    .card:hover h2,
    .card:hover h3,
    .card:hover h4,
    .card:hover h5,
    .card:hover h6,
    .category-card:hover .card-title,
    .quiz-card:hover .card-title,
    .home-card:hover .card-title,
    .test-card:hover .test-card-title,
    .exam-card:hover .exam-title,
    .hentry:hover .entry-title,
    article:hover .entry-title {
        color: inherit !important;
    }
    
    /* MOBİL HOVER BUTON EFEKTLERİNİ DEVRE DIŞI BIRAK */
    .card:hover .btn,
    .card:hover button,
    .card:hover .test-button,
    .card:hover .quiz-button,
    .test-card:hover .test-card-button,
    .exam-card:hover .exam-button {
        transform: none !important;
        box-shadow: 0 4px 15px rgba(43, 170, 225, 0.3) !important;
        background: #2baae1 !important;
    }
}
    /* MOBİL TOUCH - KART METİN RENGİ */
    .card:active .card-text,
    .category-card:active .card-text,
    .quiz-card:active .card-text,
    .home-card:active .card-text {
        color: #1976d2 !important;
    }
    
    /* MOBİL TOUCH - BUTON EFEKTLERİ TÜM KARTLAR OPTİMİZE */
    .card:active .btn,
    .card:active button,
    .card:active .test-button,
    .card:active .quiz-button,
    .test-card:active .test-card-button,
    .exam-card:active .exam-button {
        transform: translateY(-1px) scale(0.98) !important;
        box-shadow: 0 3px 12px rgba(43, 170, 225, 0.3) !important;
    }

    /* Container Mobil Optimizasyonu */
    .container,
    body.home .container,
    body.single .container,
    body.page .container,
    body.category .container,
    body.archive .container,
    body.tag .container,
    body.tax-post_tag .container,
    body.search .container,
    body.error404 .container {
        margin: 0 10px !important;
        padding: 15px !important;
        border-radius: 8px !important;
    }
    
    /* Header Mobil */
    #masthead .container,
    .main-navigation,
    .site-branding {
        padding: 0 15px !important;
    }
    
    /* Site Content Mobil */
    .site-content {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Article/Post Kartları Mobil */
    .hentry,
    article {
        margin-bottom: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    /* Thumbnail Mobil */
    .thumbnail-wrap {
        height: 200px !important;
    }
    
    .thumbnail-wrap img {
        height: 200px !important;
    }
    
    /* Entry Header Mobil */
    .entry-header {
        padding: 1rem 1rem 0.5rem 1rem !important;
    }
    
    /* Entry Title Mobil */
    .entry-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* Sayfa Başlığı Mobil - Daha Büyük */
    body.page .entry-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        margin: 1rem 0 !important;
    }
    
    body.single .entry-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* Entry Content Mobil */
    body.single .entry-content,
    body.page .entry-content {
        padding: 0 1rem 1rem 1rem !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    /* Typography Mobil */
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.3rem !important; }
    h4 { font-size: 1.1rem !important; }
    h5 { font-size: 1rem !important; }
    h6 { font-size: 0.9rem !important; }
    
    /* Entry Content Typography Mobil */
    .entry-content h1 { font-size: 1.8rem !important; }
    .entry-content h2 { font-size: 1.5rem !important; margin-top: 1.5rem !important; }
    .entry-content h3 { font-size: 1.3rem !important; margin-top: 1.2rem !important; }
    .entry-content h4 { font-size: 1.1rem !important; margin-top: 1rem !important; }
    .entry-content h5 { font-size: 1rem !important; }
    .entry-content h6 { font-size: 0.9rem !important; }
    
    /* Paragraph Mobil */
    .entry-content p {
        margin-bottom: 1.2rem !important;
        line-height: 1.5 !important;
    }
    
    /* List Mobil */
    .entry-content ul,
    .entry-content ol {
        margin: 0 0 1.2rem 1.2rem !important;
    }
    
    /* Blockquote Mobil */
    .entry-content blockquote {
        margin: 1.2rem 0 !important;
        padding-left: 0.8rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Button Mobil */
    button,
    .btn,
    input[type="submit"],
    input[type="reset"],
    input[type="button"] {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        height: 36px !important;
        line-height: 1.2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Form Mobil */
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="password"] {
        height: 36px !important;
        line-height: 36px !important;
        padding: 0 12px !important;
        font-size: 16px !important; /* iOS zoom önleme */
    }
    
    textarea {
        padding: 8px 12px !important;
        font-size: 16px !important; /* iOS zoom önleme */
    }
    
    /* Table Mobil */
    table {
        font-size: 0.8rem !important;
        overflow-x: auto !important;
        display: block !important;
        white-space: nowrap !important;
    }
    
    table th,
    table td {
        padding: 6px !important;
        min-width: 80px !important;
    }
    
    /* Footer Mobil */
    #colophon,
    .site-footer {
        margin-top: 1.5rem !important;
        padding: 1.5rem 0 0 0 !important;
    }
    
    /* Site Content Alt Boşluk Mobil */
    .site-content {
        margin-bottom: 1.5rem !important;
    }
    
    .site-main {
        margin-bottom: 1.5rem !important;
    }
}

/* GLOBAL MOBİL ORTALAMA KURALLARI - TÜM SAYFA TÜRLERİ İÇİN */
@media (max-width: 768px) {
    /* Content Not Found Alanları İçin Güçlü Ortalama */
    .no-results.not-found,
    body.category .no-results.not-found,
    body.search .no-results.not-found,
    body.archive .no-results.not-found,
    body.tag .no-results.not-found {
        text-align: center !important;
        padding: 20px 15px !important;
        width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
        float: none !important;
        clear: both !important;
    }
    
    .no-results.not-found .page-header,
    body.category .no-results.not-found .page-header,
    body.search .no-results.not-found .page-header,
    body.archive .no-results.not-found .page-header,
    body.tag .no-results.not-found .page-header {
        text-align: center !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    .no-results.not-found .page-header .page-title,
    body.category .no-results.not-found .page-header .page-title,
    body.search .no-results.not-found .page-header .page-title,
    body.archive .no-results.not-found .page-header .page-title,
    body.tag .no-results.not-found .page-header .page-title {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    .no-results.not-found .page-content,
    body.category .no-results.not-found .page-content,
    body.search .no-results.not-found .page-content,
    body.archive .no-results.not-found .page-content,
    body.tag .no-results.not-found .page-content {
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
        width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    .no-results.not-found .page-content p,
    body.category .no-results.not-found .page-content p,
    body.search .no-results.not-found .page-content p,
    body.archive .no-results.not-found .page-content p,
    body.tag .no-results.not-found .page-content p {
        text-align: center !important;
        margin: 0 auto 15px auto !important;
        font-size: 14px !important;
        width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    .no-results.not-found .search-form,
    body.category .no-results.not-found .search-form,
    body.search .no-results.not-found .search-form,
    body.archive .no-results.not-found .search-form,
    body.tag .no-results.not-found .search-form {
        text-align: center !important;
        margin: 15px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    .no-results.not-found .search-form label,
    body.category .no-results.not-found .search-form label,
    body.search .no-results.not-found .search-form label,
    body.archive .no-results.not-found .search-form label,
    body.tag .no-results.not-found .search-form label {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    /* Arama Formu Elementleri İçin Özel Mobil Ortalama */
    .no-results.not-found .search-form .search-field,
    body.category .no-results.not-found .search-form .search-field,
    body.search .no-results.not-found .search-form .search-field,
    body.archive .no-results.not-found .search-form .search-field,
    body.tag .no-results.not-found .search-form .search-field {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto 10px auto !important;
        display: block !important;
        text-align: center !important;
        float: none !important;
        clear: both !important;
    }
    
    .no-results.not-found .search-form .search-submit,
    body.category .no-results.not-found .search-form .search-submit,
    body.search .no-results.not-found .search-form .search-submit,
    body.archive .no-results.not-found .search-form .search-submit,
    body.tag .no-results.not-found .search-form .search-submit {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
        float: none !important;
        clear: both !important;
        height: 44px !important;
        line-height: 1 !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Küçük Mobil Cihazlar (480px ve altı) */
@media (max-width: 480px) {
    /* Container Küçük Mobil */
    .container,
    body.home .container,
    body.single .container,
    body.page .container,
    body.category .container,
    body.archive .container,
    body.tag .container,
    body.tax-post_tag .container,
    body.search .container,
    body.error404 .container {
        margin: 0 5px !important;
        padding: 12px !important;
        border-radius: 6px !important;
    }
    
    /* Header Küçük Mobil */
    #masthead .container,
    .main-navigation,
    .site-branding {
        padding: 0 10px !important;
    }
    
    /* Site Content Küçük Mobil */
    .site-content {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
    
    /* Article/Post Kartları Küçük Mobil */
    .hentry,
    article {
        margin-bottom: 1.2rem !important;
        border-radius: 10px !important;
    }
    
    /* Thumbnail Küçük Mobil */
    .thumbnail-wrap {
        height: 180px !important;
    }
    
    .thumbnail-wrap img {
        height: 180px !important;
    }
    
    /* Entry Header Küçük Mobil */
    .entry-header {
        padding: 0.8rem 0.8rem 0.4rem 0.8rem !important;
    }
    
    /* Entry Title Küçük Mobil */
    .entry-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }
    
    /* Sayfa Başlığı Küçük Mobil */
    body.page .entry-title {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        text-align: center !important;
        margin: 0.8rem 0 !important;
    }
    
    body.single .entry-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }
    
    /* Entry Content Küçük Mobil */
    body.single .entry-content,
    body.page .entry-content {
        padding: 0 0.8rem 0.8rem 0.8rem !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* Typography Küçük Mobil */
    h1 { font-size: 1.6rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }
    h4 { font-size: 1rem !important; }
    h5 { font-size: 0.95rem !important; }
    h6 { font-size: 0.85rem !important; }
    
    /* Entry Content Typography Küçük Mobil */
    .entry-content h1 { font-size: 1.6rem !important; }
    .entry-content h2 { font-size: 1.3rem !important; margin-top: 1.2rem !important; }
    .entry-content h3 { font-size: 1.1rem !important; margin-top: 1rem !important; }
    .entry-content h4 { font-size: 1rem !important; margin-top: 0.8rem !important; }
    .entry-content h5 { font-size: 0.95rem !important; }
    .entry-content h6 { font-size: 0.85rem !important; }
    
    /* Paragraph Küçük Mobil */
    .entry-content p {
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
    }
    
    /* List Küçük Mobil */
    .entry-content ul,
    .entry-content ol {
        margin: 0 0 1rem 1rem !important;
    }
    
    /* Blockquote Küçük Mobil */
    .entry-content blockquote {
        margin: 1rem 0 !important;
        padding-left: 0.6rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Button Küçük Mobil */
    button,
    .btn,
    input[type="submit"],
    input[type="reset"],
    input[type="button"] {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        height: 32px !important;
        line-height: 1.2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Form Küçük Mobil */
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="password"] {
        height: 32px !important;
        line-height: 32px !important;
        padding: 0 10px !important;
        font-size: 16px !important; /* iOS zoom önleme */
    }
    
    textarea {
        padding: 6px 10px !important;
        font-size: 16px !important; /* iOS zoom önleme */
    }
    
    /* Table Küçük Mobil */
    table {
        font-size: 0.75rem !important;
    }
    
    table th,
    table td {
        padding: 4px !important;
        min-width: 60px !important;
    }
    
    /* Footer Küçük Mobil */
    #colophon,
    .site-footer {
        margin-top: 1.2rem !important;
        padding: 1.2rem 0 0 0 !important;
    }
    
    /* Site Content Alt Boşluk Küçük Mobil */
    .site-content {
        margin-bottom: 1.2rem !important;
    }
    
    .site-main {
        margin-bottom: 1.2rem !important;
    }
}

/* Çok Küçük Mobil Cihazlar (360px ve altı) */
@media (max-width: 360px) {
    /* Container Çok Küçük Mobil */
    .container,
    body.home .container,
    body.single .container,
    body.page .container,
    body.category .container,
    body.archive .container,
    body.tag .container,
    body.tax-post_tag .container,
    body.search .container,
    body.error404 .container {
        margin: 0 3px !important;
        padding: 10px !important;
        border-radius: 5px !important;
    }
    
    /* Header Çok Küçük Mobil */
    #masthead .container,
    .main-navigation,
    .site-branding {
        padding: 0 8px !important;
    }
    
    /* Entry Title Çok Küçük Mobil */
    .entry-title {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
    }
    
    /* Sayfa Başlığı Çok Küçük Mobil */
    body.page .entry-title {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
        text-align: center !important;
        margin: 0.6rem 0 !important;
    }
    
    body.single .entry-title {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
    }
    
    /* Entry Content Çok Küçük Mobil */
    body.single .entry-content,
    body.page .entry-content {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
    
    /* Typography Çok Küçük Mobil */
    h1 { font-size: 1.4rem !important; }
    h2 { font-size: 1.2rem !important; }
    h3 { font-size: 1rem !important; }
    h4 { font-size: 0.95rem !important; }
    h5 { font-size: 0.9rem !important; }
    h6 { font-size: 0.8rem !important; }
    
    /* Entry Content Typography Çok Küçük Mobil */
    .entry-content h1 { font-size: 1.4rem !important; }
    .entry-content h2 { font-size: 1.2rem !important; }
    .entry-content h3 { font-size: 1rem !important; }
    .entry-content h4 { font-size: 0.95rem !important; }
    .entry-content h5 { font-size: 0.9rem !important; }
    .entry-content h6 { font-size: 0.8rem !important; }
}

/*--------------------------------------------------------------
# POPULAR TESTS SECTION - YENİ TASARIM (3 KART)
--------------------------------------------------------------*/

/* Popüler Testler Bölümü */
.popular-tests-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: transparent;
}

.popular-tests-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3644;
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.popular-tests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Test Kartları */
.test-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform, box-shadow !important;
    cursor: pointer;
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.test-card:hover,
.test-card:active,
.test-card:focus {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(43, 170, 225, 0.25);
}

/* Test Kartı Görseli - BÜYÜK */
.test-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gerçek Test Görseli */
.test-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.test-card:hover .test-featured-image,
.test-card:active .test-featured-image,
.test-card:focus .test-featured-image {
    transform: scale(1.05);
}

/* Kategori Badge */
.test-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3644;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.test-card:hover .test-category-badge,
.test-card:active .test-category-badge,
.test-card:focus .test-category-badge {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Görsel Arka Plan - Referans Görsel Gibi */
.test-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 50%, #03A9F4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vocabulary-bg {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 50%, #388E3C 100%);
}

.reading-bg {
    background: linear-gradient(135deg, #FF7043 0%, #FF5722 50%, #E64A19 100%);
}

/* Kitap Elementleri */
.book-elements {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-book {
    position: relative;
    width: 120px;
    height: 90px;
    background: #1976D2;
    border-radius: 8px;
    transform: perspective(200px) rotateX(15deg) rotateY(-10deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.book-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.small-books {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 40px;
    height: 30px;
    background: #FFC107;
    border-radius: 4px;
    transform: perspective(100px) rotateX(10deg) rotateY(20deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.small-books::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 5px;
    width: 35px;
    height: 25px;
    background: #FF5722;
    border-radius: 4px;
    transform: rotateZ(-5deg);
}

.pencils {
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, #FFD54F 0%, #FFC107 70%, #FF8F00 100%);
    border-radius: 4px;
    transform: rotate(25deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pencils::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    width: 50px;
    height: 8px;
    background: linear-gradient(90deg, #4CAF50 0%, #388E3C 70%, #2E7D32 100%);
    border-radius: 4px;
    transform: rotate(-15deg);
}

.cubes {
    position: absolute;
    top: 60%;
    right: 20%;
    width: 25px;
    height: 25px;
    background: #E91E63;
    transform: perspective(100px) rotateX(45deg) rotateY(45deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.cubes::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: #9C27B0;
    transform: rotateZ(15deg);
}

/* Kelime Bilgisi Elementleri */
.vocabulary-elements {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.word-books {
    position: relative;
    width: 100px;
    height: 80px;
    background: #2E7D32;
    border-radius: 6px;
    transform: perspective(150px) rotateX(10deg) rotateY(-15deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dictionary {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 50px;
    height: 40px;
    background: #1565C0;
    border-radius: 4px;
    transform: rotate(-10deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.letters-floating {
    position: absolute;
    top: 30%;
    left: 15%;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 900;
    animation: float 3s ease-in-out infinite;
}

.letters-floating::before {
    content: 'ABC';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite 0.5s;
}

/* Okuma Anlama Elementleri */
.reading-elements {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.open-books {
    position: relative;
    width: 110px;
    height: 70px;
    background: #FFF;
    border-radius: 8px;
    transform: perspective(200px) rotateX(20deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.open-books::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(to bottom, #333 2px, transparent 2px, transparent 8px, #333 8px, transparent 8px, transparent 14px, #333 14px);
    background-size: 100% 16px;
}

.reading-glasses {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 40px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.reading-glasses::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -43px;
    width: 40px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.text-lines {
    position: absolute;
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 30px;
    background: linear-gradient(to bottom, transparent 2px, #333 2px, #333 4px, transparent 4px, transparent 8px, #333 8px, #333 10px, transparent 10px);
    background-size: 100% 12px;
    opacity: 0.6;
}

/* Test Kartı İçeriği */
.test-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.test-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3644;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-align: center;
}

.test-card:hover .test-card-title,
.test-card:active .test-card-title,
.test-card:focus .test-card-title {
    color: #2baae1;
}

/* Test Kartı Butonu */
.test-card-button {
    background: linear-gradient(135deg, #2baae1 0%, #1976d2 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(43, 170, 225, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.test-card-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.test-card-button:hover:before {
    left: 100%;
}

.test-card-button:hover,
.test-card-button:active,
.test-card-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 170, 225, 0.4);
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
}

/* Animasyonlar */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .popular-tests-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .test-card {
        height: 400px;
    }
    
    .test-card-image {
        height: 250px;
    }
    
    .popular-tests-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

/*--------------------------------------------------------------
# AdSense Politika Uyumluluğu İçin Stiller
--------------------------------------------------------------*/

/* Test Bilgi Kutusu */
.test-info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.1);
}

.test-info-box h3 {
    color: #1976d2;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2196f3;
    padding-bottom: 0.5rem;
}

.test-info-box p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #0d47a1;
}

.test-info-box p:last-child {
    margin-bottom: 0;
}

.test-info-box strong {
    color: #1565c0;
    font-weight: 600;
}

/* Breadcrumb Navigasyonu */
.breadcrumbs {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: #6c757d;
    font-weight: 500;
}

/* Site Haritası Stilleri */
.sitemap-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #28a745;
}

.sitemap-section h3 {
    color: #2c3644;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.sitemap-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.sitemap-list a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.sitemap-list a:hover {
    color: #0056b3;
    text-decoration: underline;
    padding-left: 0.5rem;
}

/* AdSense Uyumlu İçerik Geliştirmeleri */
.educational-value-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.educational-value-section h3 {
    color: #e65100;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.educational-value-section p {
    color: #bf360c;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.educational-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
}

.feature-item h4 {
    color: #e65100;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #bf360c;
    font-size: 0.9rem;
    margin: 0;
}

/* Kullanıcı Deneyimi İyileştirmeleri */
.user-engagement-section {
    background: #f1f8e9;
    border: 2px solid #8bc34a;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.user-engagement-section h3 {
    color: #33691e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.engagement-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(139, 195, 74, 0.2);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #558b2f;
    font-weight: 500;
}

/* Responsive Tasarım - AdSense Bileşenleri */
@media (max-width: 768px) {
    .test-info-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .test-info-box h3 {
        font-size: 1.1rem;
    }
    
    .breadcrumbs {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .breadcrumb-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        content: "↓";
        margin: 0.25rem 0;
    }
    
    .sitemap-section {
        padding: 1.5rem;
    }
    
    .sitemap-list {
        grid-template-columns: 1fr;
    }
    
    .educational-value-section {
        padding: 1.5rem;
    }
    
    .educational-features {
        grid-template-columns: 1fr;
    }
    
    .engagement-stats {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .test-info-box {
        padding: 0.75rem;
        margin: 1rem 0;
    }
    
    .test-info-box h3 {
        font-size: 1rem;
    }
    
    .breadcrumbs {
        padding: 0.5rem;
    }
    
    .sitemap-section {
        padding: 1rem;
    }
    
    .educational-value-section {
        padding: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}

/* Sponsor İçerik Alanları İçin Hazırlık */
.promo-container {
    margin: 2rem 0;
    text-align: center;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-placeholder {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

/* Sayfa İçi Navigasyon İyileştirmeleri */
.page-navigation {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #6f42c1;
}

.page-navigation h3 {
    color: #6f42c1;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.nav-link-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #6f42c1;
    transition: all 0.3s ease;
}

.nav-link-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.nav-link-item a {
    color: #6f42c1;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.nav-link-item a:hover {
    color: #5a32a3;
}

@media (max-width: 480px) {
    .test-card {
        height: 350px;
    }
    
    .test-card-image {
        height: 220px;
    }
    
    .test-card-content {
        padding: 1rem;
    }
    
    .test-card-title {
        font-size: 1rem;
    }
    
    .test-card-button {
        padding: 8px 20px;
        font-size: 0.8rem;
        line-height: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
    }
    
    .main-book {
        width: 100px;
        height: 75px;
    }
    
    .book-cover {
        font-size: 0.6rem;
    }
}

/*--------------------------------------------------------------
# Google AdSense Reklam Alanları
--------------------------------------------------------------*/

/* Büyük AdSense Banner Container - Görseldeki Gibi */
.adsense-banner-container {
    margin: 3rem 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.adsense-banner-box {
    width: 100%;
    max-width: 1000px;
    height: 200px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.adsense-banner-text {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(248, 249, 250, 0.9);
    padding: 8px 16px;
    border-radius: 4px;
}

/* AdSense Kodu Yüklendiğinde Yazıyı Gizle */
.adsense-banner-box .adsbygoogle[data-ad-status="filled"] + .adsense-banner-text,
.adsense-banner-box .adsbygoogle:not(:empty) ~ .adsense-banner-text {
    display: none;
}

/* AdSense Responsive Ayarları - Banner */
.adsense-banner-box .adsbygoogle {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border-radius: 6px;
    overflow: hidden;
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .adsense-banner-container {
        margin: 2rem 0;
        padding: 0 10px;
    }
    
    .adsense-banner-box {
        height: 150px;
        max-width: 100%;
        border-radius: 6px;
    }
    
    .adsense-banner-text {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .adsense-banner-container {
        margin: 1.5rem 0;
        padding: 0 5px;
    }
    
    .adsense-banner-box {
        height: 120px;
        border-radius: 4px;
    }
    
    .adsense-banner-text {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
}

@media (max-width: 360px) {
    .adsense-banner-box {
        height: 100px;
    }
    
    .adsense-banner-text {
        font-size: 0.8rem;
    }
}

/* AdSense Container - Genel Stil */
.adsense-container {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Yatay AdSense Reklam Alanı */
.adsense-container.horizontal-ad {
    min-height: 120px;
    max-width: 100%;
    margin: 2.5rem auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* AdSense Reklam Etiketi */
.ad-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 0.8;
}

/* AdSense Slot Container */
.adsense-slot {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    position: relative;
}

/* AdSense Responsive Ayarları */
.adsense-slot ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-height: 90px !important;
    background: transparent !important;
}

/* Öne Çıkan Testler Altı AdSense */
#featured-tests-bottom-ad {
    min-height: 100px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* AdSense Placeholder (Reklam Yüklenmediğinde) */
.adsense-slot:empty::before {
    content: "Advertisement Space";
    color: #adb5bd;
    font-size: 0.9rem;
    font-style: italic;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* AdSense Mobil Optimizasyonu */
@media (max-width: 768px) {
    .adsense-container {
        margin: 1.5rem 0;
        padding: 0.75rem;
        border-radius: 6px;
    }
    
    .adsense-container.horizontal-ad {
        min-height: 100px;
        margin: 2rem 10px;
        border-radius: 8px;
    }
    
    .adsense-slot {
        min-height: 80px;
        border-radius: 4px;
    }
    
    .adsense-slot ins.adsbygoogle {
        min-height: 80px !important;
    }
    
    #featured-tests-bottom-ad {
        min-height: 90px;
    }
    
    .ad-label {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
}

/* Küçük Mobil Cihazlar */
@media (max-width: 480px) {
    .adsense-container {
        margin: 1.2rem 0;
        padding: 0.5rem;
    }
    
    .adsense-container.horizontal-ad {
        min-height: 90px;
        margin: 1.5rem 5px;
    }
    
    .adsense-slot {
        min-height: 70px;
    }
    
    .adsense-slot ins.adsbygoogle {
        min-height: 70px !important;
    }
    
    #featured-tests-bottom-ad {
        min-height: 80px;
    }
    
    .ad-label {
        font-size: 0.65rem;
    }
}

/* Çok Küçük Mobil Cihazlar */
@media (max-width: 360px) {
    .adsense-container.horizontal-ad {
        min-height: 80px;
        margin: 1rem 3px;
    }
    
    .adsense-slot {
        min-height: 60px;
    }
    
    .adsense-slot ins.adsbygoogle {
        min-height: 60px !important;
    }
    
    #featured-tests-bottom-ad {
        min-height: 70px;
    }
}

/* AdSense Loading Animation */
.adsense-slot.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: adsense-spin 1s linear infinite;
}

@keyframes adsense-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* AdSense Container Hover Efekti */
.adsense-container:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
}

/* AdSense Responsive Banner Stilleri */
.adsense-responsive-banner {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

/* AdSense Leaderboard (728x90) */
.adsense-leaderboard {
    width: 728px;
    height: 90px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .adsense-leaderboard {
        width: 100%;
        height: 90px;
    }
}

/* AdSense Rectangle (300x250) */
.adsense-rectangle {
    width: 300px;
    height: 250px;
    margin: 0 auto;
}

@media (max-width: 320px) {
    .adsense-rectangle {
        width: 100%;
        height: 250px;
    }
}

/* AdSense Banner (320x50) - Mobil */
.adsense-mobile-banner {
    width: 320px;
    height: 50px;
    margin: 0 auto;
}

@media (max-width: 320px) {
    .adsense-mobile-banner {
        width: 100%;
        height: 50px;
    }
}

/*--------------------------------------------------------------
# LAYOUT SHIFT ÖNLEYİCİ KURALLAR - CLS OPTİMİZASYONU
--------------------------------------------------------------*/

/* Ana content container için layout shift önleme */
#content.site-content {
    contain: layout style !important;
    min-height: 400px !important;
    will-change: auto !important;
}

/* Tüm resimler için layout shift önleme */
img:not([width]):not([height]) {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    background-color: #f8f9fa !important;
    contain: layout !important;
}

/* Exam featured image için sabit boyutlar */
.exam-featured-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
    background-color: #f8f9fa !important;
    contain: layout !important;
}

/* Butonlar için layout shift önleme */
.btn,
button,
input[type="submit"],
input[type="button"] {
    contain: layout style !important;
    min-width: 80px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
}

/* Arama butonu özel kuralları - LAYOUT SHIFT OPTİMİZASYONU */
.search-form .btn {
    min-width: 100px !important;
    width: 100px !important;
    height: 40px !important;
    contain: layout !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    border: none !important;
    background: #2baae1 !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.search-form .btn:hover {
    background: #1976d2 !important;
}

/* Arama formu container optimizasyonu */
.search-form {
    contain: layout !important;
    margin-bottom: 2rem !important;
}

.search-form .input-group {
    contain: layout !important;
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    gap: 0 !important;
}

.search-form .form-control {
    flex: 1 !important;
    min-height: 40px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    border: 2px solid #e9ecef !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    padding: 0 15px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    background: white !important;
    color: #333 !important;
}

.search-form .form-control:focus {
    border-color: #2baae1 !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(43, 170, 225, 0.25) !important;
}

.search-form .btn {
    border-radius: 0 8px 8px 0 !important;
    border-left: none !important;
}

/* Kart yapıları için layout shift önleme */
.card,
.exam-card,
.category-card {
    contain: layout style !important;
    min-height: 200px !important;
}

/* Resim container'ları için layout shift önleme */
.exam-image,
.thumbnail-wrap {
    contain: layout !important;
    background-color: #f8f9fa !important;
    position: relative !important;
}

/* Loading placeholder animasyonu */
.exam-image::before,
.thumbnail-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

/* Resim yüklendiğinde placeholder'ı gizle */
.exam-image img[src],
.thumbnail-wrap img[src] {
    position: relative;
    z-index: 2;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Input group için layout shift önleme */
.input-group {
    contain: layout !important;
    display: flex !important;
    align-items: stretch !important;
}

.input-group .form-control {
    flex: 1 !important;
    min-height: 40px !important;
}

.input-group .btn {
    flex-shrink: 0 !important;
    min-width: 100px !important;
}

/* Mobil responsive layout shift önleme */
@media (max-width: 768px) {
    /* Arama formu mobil optimizasyonu */
    .search-form .input-group {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 100% !important;
    }
    
    .search-form .form-control {
        width: 100% !important;
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 8px !important;
        border: 2px solid #e9ecef !important;
        font-size: 16px !important; /* iOS zoom önleme */
        padding: 0 15px !important;
    }
    
    .search-form .btn {
        width: 100% !important;
        min-width: 100% !important;
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        padding: 0 20px !important;
    }
    
    .input-group .form-control,
    .input-group .btn {
        width: 100% !important;
        min-height: 40px !important;
    }
    
    .exam-featured-image {
        height: 200px !important;
    }
    
    .thumbnail-wrap {
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    /* Küçük mobil arama formu */
    .search-form .form-control {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 16px !important; /* iOS zoom önleme */
        padding: 0 12px !important;
    }
    
    .search-form .btn {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
        padding: 0 16px !important;
    }
    
    .exam-featured-image {
        height: 180px !important;
    }
    
    .thumbnail-wrap {
        height: 180px !important;
    }
}

@media (max-width: 360px) {
    /* Çok küçük mobil arama formu */
    .search-form .form-control {
        min-height: 36px !important;
        height: 36px !important;
        font-size: 16px !important; /* iOS zoom önleme */
        padding: 0 10px !important;
    }
    
    .search-form .btn {
        min-height: 36px !important;
        height: 36px !important;
        font-size: 0.8rem !important;
        padding: 0 12px !important;
    }
    
    .exam-featured-image {
        height: 160px !important;
    }
    
    .thumbnail-wrap {
        height: 160px !important;
    }
}

/* Performance optimizasyonu - GPU acceleration */
.exam-card,
.card,
.btn,
.exam-featured-image {
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    perspective: 1000px !important;
}

/* Critical rendering path optimizasyonu */
.above-fold {
    contain: layout style paint !important;
}

/* Font loading için layout shift önleme */
body {
    font-display: swap !important;
}

/* Async content loading için placeholder */
.content-loading {
    min-height: 200px !important;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.5s infinite !important;
}

/*--------------------------------------------------------------
# ADMIN BAR LINK RENKLERİ DÜZELTMESİ
--------------------------------------------------------------*/

/* Admin bar linkleri için beyaz renk */
#wpadminbar a,
#wpadminbar .ab-item,
#wpadminbar .ab-label,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop .ab-sub-wrapper .menupop > .ab-item {
    color: #fff !important;
    text-decoration: none !important;
}

#wpadminbar a:hover,
#wpadminbar .ab-item:hover,
#wpadminbar .ab-label:hover,
#wpadminbar .quicklinks .menupop ul li a:hover {
    color: #00b9eb !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Admin bar arka plan */
#wpadminbar {
    background: #23282d !important;
}

/* Admin bar dropdown menüler */
#wpadminbar .menupop .ab-sub-wrapper {
    background: #32373c !important;
}

#wpadminbar .quicklinks .menupop ul li {
    background: #32373c !important;
}

#wpadminbar .quicklinks .menupop ul li:hover {
    background: #0073aa !important;
}

/* Admin bar site adı */
#wpadminbar #wp-admin-bar-site-name > .ab-item {
    color: #fff !important;
}

#wpadminbar #wp-admin-bar-site-name > .ab-item:hover {
    color: #00b9eb !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Admin bar kullanıcı menüsü */
#wpadminbar #wp-admin-bar-my-account .ab-item {
    color: #fff !important;
}

#wpadminbar #wp-admin-bar-my-account .ab-item:hover {
    color: #00b9eb !important;
}