/*
Theme Name: Rixinfo Child
Template: generatepress
Description: Rixosslot bilgi sitesi için GeneratePress alt teması.
Version: 1.0.4
License: GPL-2.0-or-later
Text Domain: rixinfo-child
*/

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/poppins-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--rix-petrol: #003D45;
	--rix-teal: #015560;
	--rix-turuncu: #FC7212;
	--rix-seftali: #FFD2B4;
	--rix-sis: #EEF4F5;
}

/* Çerçeve: petrol zemin, beyaz içerik kutusu */
body { background-color: var(--rix-petrol); color: #14262a; font-size: 17px; line-height: 1.7; }
::selection { background: var(--rix-seftali); color: var(--rix-petrol); }
:where(a, button, [tabindex]):focus-visible { outline: 3px solid var(--rix-teal); outline-offset: 3px; }
.site-header a:focus-visible, .main-navigation a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }
.separate-containers .inside-article { padding: 32px 40px 40px; border-radius: 4px; }
.separate-containers .site-main { margin-top: 24px; margin-bottom: 32px; }

/* Başlıklar: Poppins, ölçülü */
h1, h2, h3, .entry-title { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--rix-petrol); letter-spacing: -0.01em; }
h1, .entry-title { font-size: 2.25rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.6em; }
h2 { font-size: 1.6rem; font-weight: 700; line-height: 1.3; margin: 1.6em 0 0.5em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.entry-content > h2:first-child { margin-top: 0.4em; }
.entry-header { margin-bottom: 0; }

/* Header + menü */
.site-header .inside-header { padding: 12px 20px; }
.site-logo img { width: 160px; height: auto; }
.main-navigation .main-nav ul li a { font-family: "Poppins", system-ui, sans-serif; font-weight: 600; font-size: 15px; padding-left: 14px; padding-right: 14px; }
.main-navigation .menu-bar-items { align-items: center; }
.rix-cta {
	display: inline-flex; align-items: center; min-height: 44px;
	margin-left: 10px; padding: 0 18px; border-radius: 4px;
	background: var(--rix-turuncu); color: var(--rix-petrol) !important;
	font-family: "Poppins", system-ui, sans-serif; font-weight: 700; font-size: 19px; line-height: 1;
	text-decoration: none; white-space: nowrap;
}
.rix-cta:hover { filter: brightness(1.08); }
/* GP menü link kuralı display:block ve 15px satır yüksekliği veriyor; düğmeyi geri al. */
.main-navigation .menu-bar-items a.rix-cta, .mobile-menu-control-wrapper .menu-bar-items a.rix-cta {
	display: inline-flex; align-items: center; height: 44px; line-height: 1; padding: 0 18px;
	font-size: 19px; font-weight: 700;
}
.main-navigation.toggled .main-nav ul li a { border-bottom: 1px solid rgba(255,255,255,0.12); }

/* Banner */
.rix-banner { display: block; margin: 0 0 1.4em; line-height: 0; border-radius: 4px; overflow: hidden; }
.rix-banner video, .rix-banner img { width: 100%; height: auto; aspect-ratio: 1000 / 90; display: block; }

/* Güncel adres kutusu */
.rix-adres {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
	background: var(--rix-sis); border-left: 4px solid var(--rix-turuncu); border-radius: 4px;
	padding: 16px 20px; margin: 1.2em 0 1.6em;
}
/* Klasik temada grup içeriği .wp-block-group__inner-container ile sarılıyor, GP ona 40px dolgu veriyor. */
.rix-adres, .rix-ozet { display: block; }
.rix-adres > .wp-block-group__inner-container {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
	padding: 0; margin: 0; max-width: none;
}
.rix-adres .wp-block-group__inner-container .wp-block-group__inner-container,
.rix-ozet > .wp-block-group__inner-container { padding: 0; margin: 0; max-width: none; }
.rix-adres .wp-block-group { margin: 0; }
.rix-adres p { margin: 0; }
.rix-adres__ad { font-family: "Poppins", system-ui, sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--rix-petrol); overflow-wrap: anywhere; }
.rix-adres__not { font-size: 14px; color: #3d5559; }
.rix-adres .wp-block-buttons { margin: 0; }

/* Düğme: turuncu zemin, petrol yazı (4.31:1, büyük metin kuralı: 19px kalın) */
.wp-block-button__link, .wp-element-button {
	background: var(--rix-turuncu) !important; color: var(--rix-petrol) !important;
	font-family: "Poppins", system-ui, sans-serif; font-weight: 700; font-size: 19px !important;
	border-radius: 4px; padding: 12px 26px; min-height: 48px; display: inline-flex; align-items: center;
}
.wp-block-button__link:hover { filter: brightness(1.08); }

/* Tablo: sade */
.entry-content table { border: 0; border-collapse: collapse; width: 100%; font-size: 16px; margin: 0; }
.entry-content table th, .entry-content table td { border: 0; border-bottom: 1px solid #dfe9ea; padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.entry-content table thead th { border-bottom: 2px solid var(--rix-petrol); font-family: "Poppins", system-ui, sans-serif; font-weight: 600; font-size: 14px; color: #3d5559; }
.entry-content table td:first-child { font-weight: 600; color: var(--rix-petrol); width: 34%; }
.entry-content .wp-block-table { margin: 0.5em 0 1.5em; }
/* Üç sütunlu tabloda ilk sütun içeriği kadar (sıra numarası, kısa ad) */
.entry-content table tr:has(td:nth-child(3)) td:first-child { width: auto; white-space: nowrap; }
.entry-content .wp-block-table figcaption { font-size: 14px; color: #3d5559; text-align: left; }

/* Kısa özet kutusu */
.rix-ozet { background: #FFF4EC; border-radius: 4px; padding: 16px 20px; margin: 1.4em 0; }
.rix-ozet ul { margin: 0.4em 0 0 1.2em; }
.rix-ozet li { margin: 0.25em 0; }

.kimlik { white-space: nowrap; }

/* Şikayet mesajı şablonu */
.entry-content pre.rix-sablon {
	background: var(--rix-sis); border: 1px dashed #9fb3b6; border-radius: 4px;
	padding: 16px 18px; margin: 0.5em 0 1.5em; white-space: pre-wrap; overflow-wrap: anywhere;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; line-height: 1.65; color: #14262a;
}

/* Alt bilgi */
.site-info { font-size: 14px; }
.site-info .inside-site-info { flex-direction: column; align-items: flex-start; gap: 10px; }
.rix-alt-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.rix-alt-menu a { color: #fff; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.rix-alt-menu a:hover { text-decoration: underline; }
.rix-alt-not { margin: 0; color: #dfe9ea; }
.rix-18 { display: inline-block; border: 2px solid #fff; border-radius: 3px; padding: 0 6px; margin-right: 6px; font-weight: 700; color: #fff; }

@media (max-width: 768px) {
	body { font-size: 16px; }
	.separate-containers .inside-article { padding: 20px 16px 28px; }
	.separate-containers .site-main { margin: 12px 0 20px; }
	h1, .entry-title { font-size: 1.75rem; }
	h2 { font-size: 1.35rem; }
	.site-logo img { width: 128px; }
	.rix-cta { font-size: 19px; padding: 0 14px; min-height: 44px; }
	.rix-adres { padding: 14px 16px; }
	.entry-content table td:first-child { width: 40%; }
}
