/* rem yerine px: smarty kök yazı boyutu küçük olduğu için rem değerleri küçülüyordu.
   HKÜ kurumsal footer — mf.hku.edu.tr (akademia) footer'ının smarty için kapsamlı kopyası.
   Tüm kurallar .hku-footer altında; smarty stilleriyle çakışmaz. */

/* smarty'nin eski footer'ı (widget'lar + PNG sosyal ikonlu telif şeridi) */
footer.footer { display: none !important; }

.hku-footer {
	--hf-bordo-900: #3F0C15;
	--hf-bordo-800: #52121E;
	--hf-gold-500: #C7A446;
	background: var(--hf-bordo-900);
	color: #d9c4c7;
	font-size: 15px;
	line-height: 1.5;
	font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}
.hku-footer *, .hku-footer *::before, .hku-footer *::after { box-sizing: border-box; }
.hku-footer a { color: #d9c4c7; text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
.hku-footer a:hover, .hku-footer a:focus-visible { color: #fff; }
.hku-footer a:focus-visible { outline: 2px solid var(--hf-gold-500); outline-offset: 3px; }
.hku-footer ul { list-style: none; margin: 0; padding: 0; }
.hku-footer li + li { margin-top: 10px; }

.hku-footer__wrap { max-width: 1340px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); }
.hku-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 40px;
	padding-block: clamp(40px, 5vw, 62px);
}

/* Marka sütunu */
.hku-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hku-footer__lockup { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hku-footer__lockup img { width: 84px; height: 84px; object-fit: contain; display: block; }
.hku-footer__name { font-family: "PT Serif", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 24px; line-height: 1.1; color: #fff; }
.hku-footer__sub { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11.8px; letter-spacing: .14em; text-transform: uppercase; color: var(--hf-gold-500); }

.hku-footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.hku-footer__social a {
	width: 38px; height: 38px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 8px;
	display: grid; place-items: center;
	color: #d9c4c7;
}
.hku-footer__social a:hover, .hku-footer__social a:focus-visible { background: #fff; color: var(--hf-bordo-800); border-color: #fff; }
.hku-footer__social svg { width: 18px; height: 18px; }

.hku-footer__apps { display: flex; gap: 8px; margin-top: 20px; width: 100%; max-width: 320px; }
.hku-footer__app {
	flex: 1 1 0; min-width: 0;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 8px 10px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 11px;
	background: rgba(255, 255, 255, .06);
	color: #fff !important;
}
.hku-footer__app:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .55); }
.hku-footer__app svg { width: 20px; height: 20px; flex: 0 0 auto; }
.hku-footer__app span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.hku-footer__app small { font-size: 9.9px; opacity: .78; }
.hku-footer__app b { font-size: 13.4px; font-weight: 700; white-space: nowrap; }

/* Link sütunları */
.hku-footer .hku-footer__h {
	color: #fff;
	font-size: 13.1px;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 500;
	margin: 0 0 16px;
}

/* İletişim */
.hku-footer__contact .fc { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 11px; line-height: 1.55; color: #fff; }
.hku-footer__contact .fc svg { width: 18px; height: 18px; color: var(--hf-gold-500); flex: 0 0 auto; margin-top: 2px; }
.hku-footer__contact a.fc:hover, .hku-footer__contact a.fc:hover svg { color: var(--hf-gold-500); }
.hku-footer__contact .fc--tel { align-items: center; margin-top: 4px; font-size: 17.9px; font-weight: 700; }
.hku-footer__contact .fc--tel svg { width: 19px; height: 19px; margin-top: 0; }

/* Yasal bant */
.hku-footer__legalband { background: rgba(0, 0, 0, .28); border-top: 1px solid rgba(255, 255, 255, .08); }
.hku-footer__legal { padding-block: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; font-size: 13.4px; }
.hku-footer__legal > a { position: relative; color: #c4abae; text-decoration: underline; }
.hku-footer__legal > a + a::before { content: ""; position: absolute; left: -12px; top: 50%; width: 1px; height: 11px; background: rgba(255, 255, 255, .2); transform: translateY(-50%); }
.hku-footer__copy { margin-left: auto; color: #c4abae; }
.hku-footer__copy a { font-weight: 600; }

@media (max-width: 991px) {
	.hku-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
	.hku-footer__top { grid-template-columns: 1fr; }
	.hku-footer__col, .hku-footer__contact { text-align: center; }
	.hku-footer__contact .fc { justify-content: center; }
	.hku-footer__legal { justify-content: center; text-align: center; }
	.hku-footer__copy { margin-left: 0; width: 100%; }
}

html.a11y-contrast .hku-footer, html.hku-a11y-contrast .hku-footer { background: #000; }
