/* Tema, galeri sayfalarinda beklenmedik sekilde dar bir icerik alani
   ayirmis olsa bile (orn. bos bir kenar cubugu alani birakarak), bu
   sinif sayfayi gercek ekran genisligine gore ortalar. */
.hh-full-bleed {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
}

.hh-gallery-single-wrap,
.hh-gallery-archive-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 15px;
}
.hh-gallery-desc { margin-bottom: 20px; line-height: 1.6; }

/* Breadcrumb */
.hh-breadcrumb { font-size: 13px; color: #666; margin-bottom: 12px; }
.hh-breadcrumb a { color: #666; text-decoration: none; }
.hh-breadcrumb a:hover { text-decoration: underline; }
.hh-crumb-sep { margin: 0 4px; opacity: .6; }

/* Reklam alanlari */
.hh-ad-slot {
	margin: 18px 0;
	text-align: center;
	overflow: hidden;
}
.hh-ad-slot:empty::before,
.hh-ad-top:empty::before {
	content: "REKLAM ALANI";
	display: block;
	background: #eee;
	color: #999;
	font-size: 13px;
	letter-spacing: .05em;
	padding: 30px 10px;
	border-radius: 4px;
}
.hh-ad-grid-cell { grid-column: 1 / -1; }

/* Iki kolon yerlesim: ana icerik + populer galeriler paneli */
.hh-single-layout { display: flex; gap: 34px; align-items: flex-start; margin-top: 10px; }
.hh-single-main { flex: 1; min-width: 0; }
.hh-single-aside { width: 260px; flex-shrink: 0; }
@media (max-width: 780px) {
	.hh-single-layout { flex-direction: column; }
	.hh-single-aside { width: 100%; }
}



.hh-section-title {
	font-size: 17px;
	margin: 34px 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #1a1a1a;
	display: inline-block;
}

/* Kategori etiketleri (chips) */
.hh-category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.hh-chip {
	display: inline-block;
	padding: 6px 14px;
	background: #f0f0f0;
	border-radius: 20px;
	font-size: 13px;
	text-decoration: none;
	color: #333;
	transition: background .2s ease;
}
.hh-chip:hover { background: #ddd; }

/* --------------------------------------------------------------- */
/* IZGARA (grid) modu                                                */
/* --------------------------------------------------------------- */
.hh-photo-grid,
.hh-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	margin: 20px 0;
}
.hh-photo-cell,
.hh-video-cell {
	position: relative;
	margin: 0;
	cursor: pointer;
	border-radius: 8px;
	overflow: hidden;
	background: #111;
}
.hh-photo-cell img,
.hh-video-thumb-inner img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}
.hh-photo-cell:hover img,
.hh-video-cell:hover img { transform: scale(1.06); }
.hh-photo-cell figcaption,
.hh-video-cell figcaption {
	padding: 8px 10px;
	font-size: 13px;
	line-height: 1.4;
	color: #fff;
	background: rgba(0,0,0,.6);
}
.hh-video-thumb-inner { position: relative; }
.hh-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	background: rgba(0,0,0,.6);
	color: #fff;
	border-radius: 50%;
	font-size: 18px;
	pointer-events: none;
}

/* --------------------------------------------------------------- */
/* LISTE (haber icinde akis) modu                                    */
/* --------------------------------------------------------------- */
.hh-list-gallery { max-width: 760px; margin: 20px auto; }
.hh-list-item { margin: 0 0 26px; }
.hh-list-item img { width: 100%; height: auto; border-radius: 6px; display: block; }
.hh-list-item figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #333; }
.hh-list-item-video { cursor: pointer; position: relative; border-radius: 6px; overflow: hidden; background: #111; }
.hh-list-item-video .hh-video-thumb-inner img { height: 380px; }
.hh-list-item-video figcaption { padding: 0 4px; }

/* --------------------------------------------------------------- */
/* HIKAYE (tek tek, sayfali) modu                                    */
/* --------------------------------------------------------------- */
.hh-story { max-width: 760px; margin: 20px auto; }
.hh-story-main { background: #000; border-radius: 6px 6px 0 0; overflow: hidden; }
.hh-story-media { width: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.hh-story-media img { width: 100%; height: auto; max-height: 640px; object-fit: contain; display: block; }
.hh-story-media iframe,
.hh-story-media video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.hh-story-caption-bar {
	background: #f5f5f5;
	color: #222;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.6;
	border-left: 4px solid #e6242c;
	border-radius: 0 0 6px 6px;
}
.hh-story-caption-bar:empty,
.hh-story-caption-bar.hh-is-empty { display: none; }
.hh-story-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 8px; }
.hh-story-pagination button {
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
}
.hh-story-pagination button.active { background: #e6242c; color: #fff; border-color: #e6242c; }
.hh-story-pagination button:hover:not(.active) { background: #f2f2f2; }
.hh-story-hint { font-size: 12px; color: #888; margin-top: 4px; }

/* Hikaye modu icin: gorsel solda, baslik/paylas/aciklama/reklam sagda */
.hh-story-hero { display: flex; gap: 30px; align-items: flex-start; margin-top: 10px; }
.hh-story-hero-media { flex: 1; min-width: 0; }
.hh-story-hero-meta { width: 320px; flex-shrink: 0; }
.hh-story-hero-meta h1 { font-size: 22px; line-height: 1.3; margin: 0 0 10px; }
.hh-story-hero-meta .hh-breadcrumb { margin-bottom: 14px; }
.hh-story-hero-meta .hh-gallery-desc { font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.hh-story-side-caption {
	background: #f5f5f5;
	color: #222;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.6;
	border-left: 4px solid #e6242c;
	border-radius: 4px;
	margin-bottom: 18px;
	min-height: 20px;
}
.hh-story-side-caption.hh-is-empty { display: none; }
@media (max-width: 780px) {
	.hh-story-hero { flex-direction: column; }
	.hh-story-hero-meta { width: 100%; }
}

/* Paylas butonlari */
.hh-share-buttons { display: flex; gap: 8px; margin-bottom: 18px; }
.hh-share-buttons a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
}
.hh-share-fb { background: #1877f2; }
.hh-share-tw { background: #000; }
.hh-share-wa { background: #25d366; }

/* Lightbox (izgara moduna ait) */
.hh-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.92);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.hh-lightbox-overlay.hh-hidden { display: none; }
.hh-lightbox-content { max-width: 92vw; max-height: 82vh; display: flex; flex-direction: column; align-items: center; }
.hh-lightbox-content img { max-width: 90vw; max-height: 75vh; object-fit: contain; border-radius: 4px; }
.hh-lightbox-caption { color: #fff; margin-top: 14px; text-align: center; max-width: 700px; font-size: 15px; line-height: 1.5; }
.hh-lightbox-close,
.hh-lightbox-prev,
.hh-lightbox-next {
	position: absolute;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	line-height: 1;
	padding: 10px;
}
.hh-lightbox-close { top: 10px; right: 15px; }
.hh-lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.hh-lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Video modal (izgara/liste moduna ait) */
.hh-video-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.92);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	flex-direction: column;
}
.hh-video-modal-overlay.hh-hidden { display: none; }
.hh-video-modal-inner { width: 90vw; max-width: 900px; position: relative; }
.hh-video-modal-inner iframe,
.hh-video-modal-inner video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	background: #000;
}
.hh-video-modal-caption { color: #fff; margin-top: 14px; text-align: center; max-width: 700px; }
.hh-video-modal-close {
	position: absolute;
	top: -46px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}

/* --------------------------------------------------------------- */
/* Arsiv sayfasi hero basligi (renkli serit)                          */
/* --------------------------------------------------------------- */
.hh-archive-hero {
	background: var(--hh-latest-accent, #f7941d);
	color: #fff;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 26px;
	border-radius: 8px;
	margin-bottom: 6px;
}
.hh-archive-hero .hh-latest-icon-box { width: 40px; height: 40px; font-size: 19px; flex-shrink: 0; }
.hh-archive-hero h1 { margin: 0; font-size: 24px; color: #fff; line-height: 1.25; }
.hh-archive-hero + .hh-breadcrumb { margin-top: 12px; }

/* --------------------------------------------------------------- */
/* Arsiv / Diger Galeriler izgarasi                                   */
/* --------------------------------------------------------------- */
.hh-archive-title { margin-bottom: 6px; }
.hh-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.hh-archive-card {
	text-decoration: none;
	color: inherit;
	display: block;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,.09);
	transition: transform .15s ease, box-shadow .15s ease;
}
.hh-archive-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.hh-archive-thumb { position: relative; }
.hh-archive-thumb img { width: 100%; height: 150px; object-fit: cover; display: block; }
.hh-archive-thumb-placeholder {
	width: 100%;
	height: 150px;
	background: #eee;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
}
.hh-type-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(0,0,0,.7);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 3px 8px;
	border-radius: 3px;
	z-index: 2;
}
.hh-archive-card h2 { font-size: 14.5px; margin: 0; line-height: 1.35; padding: 10px 12px 14px; }
.hh-empty { opacity: .7; }

/* --------------------------------------------------------------- */
/* Arsiv sayfasi alt satiri: arama / kategoriler / populer galeriler   */
/* --------------------------------------------------------------- */
.hh-archive-extra-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	margin-top: 46px;
	padding-top: 26px;
	border-top: 1px solid #eee;
}
.hh-archive-extra-row .hh-sidebar-block,
.hh-archive-extra-row .hh-popular-galleries,
.hh-archive-extra-row .hh-search-box { margin-bottom: 0; }

/* --------------------------------------------------------------- */
/* Populer Galeriler paneli                                          */
/* --------------------------------------------------------------- */
.hh-popular-galleries { margin-bottom: 30px; }
.hh-popular-list { list-style: none; margin: 0; padding: 0; }
.hh-popular-list li { margin-bottom: 12px; }
.hh-popular-list a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.hh-popular-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 4px; overflow: hidden; display: block; background: #eee; }
.hh-popular-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-popular-title { font-size: 13px; line-height: 1.4; }

/* --------------------------------------------------------------- */
/* Kenar cubugu bloklari (arama, kategoriler)                         */
/* --------------------------------------------------------------- */
.hh-sidebar-block { margin-bottom: 30px; }

.hh-search-box { display: flex; margin-bottom: 30px; }
.hh-search-box input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px 0 0 4px;
	font-size: 14px;
}
.hh-search-box button {
	border: none;
	background: #1a1a1a;
	color: #fff;
	padding: 0 16px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-size: 15px;
}

.hh-sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.hh-sidebar-cat-list li { border-bottom: 1px solid #eee; }
.hh-sidebar-cat-list li:last-child { border-bottom: none; }
.hh-sidebar-cat-list a {
	display: block;
	padding: 10px 4px;
	text-decoration: none;
	color: #333;
	font-size: 14px;
}
.hh-sidebar-cat-list a:hover { color: #e6242c; }
.hh-sidebar-cat-list li.is-active a { color: #e6242c; font-weight: 600; }

/* --------------------------------------------------------------- */
/* Ana sayfa / kenar cubugu widget'i                                 */
/* --------------------------------------------------------------- */
.hh-widget-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 10px 0; }
.hh-widget-gallery-item { display: block; text-decoration: none; color: inherit; font-size: 12px; line-height: 1.3; }
.hh-widget-gallery-item img { width: 100%; height: 80px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 4px; }
.hh-widget-thumb-placeholder {
	width: 100%;
	height: 80px;
	background: #eee;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 4px;
}
.hh-widget-all-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #e6242c;
	text-decoration: none;
}
.hh-widget-all-link:hover { text-decoration: underline; }

/* Ana sayfa widget'inda ayni kart bilesenini daha kompakt gosterme */
.hh-widget-mode { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.hh-widget-mode .hh-archive-thumb img,
.hh-widget-mode .hh-archive-thumb-placeholder { height: 90px; }
.hh-widget-mode .hh-archive-card h2 { font-size: 12.5px; margin-top: 6px; }

/* --------------------------------------------------------------- */
/* "Son Galeriler" bloklari (ana sayfa kisa kodu icin)                */
/* --------------------------------------------------------------- */
.hh-latest-block {
	margin: 24px 0;
	border: 1px solid #eee;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}
.hh-latest-header {
	background: var(--hh-latest-accent, #f7941d);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
}
.hh-latest-header-left {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.hh-latest-icon-box {
	width: 26px;
	height: 26px;
	border-radius: 5px;
	background: rgba(255,255,255,.25);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
}
.hh-latest-all {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	opacity: .95;
	white-space: nowrap;
}
.hh-latest-all:hover { text-decoration: underline; opacity: 1; }

.hh-latest-carousel { position: relative; background: #f7f7f7; padding: 18px 46px; }
.hh-latest-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.hh-latest-track::-webkit-scrollbar { display: none; }
.hh-latest-item {
	flex: 0 0 calc(25% - 11px);
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
	display: block;
}
.hh-latest-item img,
.hh-latest-item .hh-archive-thumb-placeholder {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 5px;
	display: block;
	background: #ddd;
	transition: opacity .2s ease;
}
.hh-latest-item .hh-archive-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
}
.hh-latest-item:hover img { opacity: .85; }
.hh-latest-title {
	display: block;
	text-align: center;
	margin-top: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: #222;
	line-height: 1.35;
}
.hh-latest-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: var(--hh-latest-accent, #f7941d);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	box-shadow: 0 1px 5px rgba(0,0,0,.25);
}
.hh-latest-nav:hover { filter: brightness(0.92); }
.hh-latest-prev { left: 8px; }
.hh-latest-next { right: 8px; }

@media (max-width: 900px) {
	.hh-latest-item { flex: 0 0 calc(50% - 7px); }
}
@media (max-width: 520px) {
	.hh-latest-item { flex: 0 0 78%; }
	.hh-latest-carousel { padding: 16px 40px; }
}
