/* TORK 2019 theme — measurements taken from the original tork2019.ozyegin.edu.tr design. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(../fonts/open-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(../fonts/open-sans-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: "Open Sans"; font-style: italic; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(../fonts/open-sans-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-stretch: 100%; font-display: swap; src: url(../fonts/open-sans-italic-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: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/raleway-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/raleway-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; }

/* ---------- Tokens ---------- */
:root {
	--tork-accent: #4582ff;
	--tork-navy: #1e3d7d;
	--tork-burgundy: #961a4c;
	--tork-heading: #252525;
	--tork-text: #636363;
	--tork-light: #f3f4f8;
	--tork-dark: #1f1e23;
	--tork-font: "Open Sans", Arial, sans-serif;
	--tork-font-heading: Raleway, Arial, sans-serif;
	--tork-container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--tork-text); font: 400 14px/1.8 var(--tork-font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }
a { color: var(--tork-heading); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--tork-accent); }
p { margin: 0 0 10px; }
h1, h2, h3, h4, h5, h6 { margin: 12.5px 0; color: var(--tork-heading); font-family: var(--tork-font-heading); font-weight: 700; line-height: 1.1; }
h1 { font-size: 32px; } h2 { font-size: 28px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 12px; }
h4, h5 { line-height: 1.4; }
strong, b { font-weight: 700; }
ul, ol { margin: 0 0 10px; padding-left: 30px; }
hr { margin: 0 0 36px; border: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
table { width: 100%; max-width: 100%; margin: 0 0 25px; border: 1px solid #ddd; border-collapse: collapse; border-spacing: 0; }
td, th { padding: 8px; border: 1px solid #ddd; text-align: inherit; vertical-align: top; }
th { font-weight: 700; }
.rtecenter { text-align: center; } .rteright { text-align: right; } .rtejustify { text-align: justify; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--tork-heading); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
:focus-visible { outline: 2px solid var(--tork-accent); outline-offset: 2px; }
.tork-container { width: 100%; max-width: var(--tork-container); margin: 0 auto; padding: 0 15px; }
.tork-icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }

/* ---------- Header ---------- */
.tork-header { --tork-menu-color: #000; --tork-menu-hover: var(--tork-accent); position: relative; z-index: 99; margin-top: 1px; background: #fff; box-shadow: 0 3px 4px rgba(0, 0, 0, .14); }
.elementor-widget-tork-site-header:not(.tork-header-shadow-yes) .tork-header { box-shadow: none; }
.tork-header__inner { display: flex; align-items: center; min-height: 75px; }
.tork-header__brand { flex: 0 0 auto; margin-right: auto; padding: 12px 0; }
.tork-header__logo { display: block; line-height: 0; }
.tork-header__logo img { width: auto; height: 50px; }
.tork-menu, .tork-menu ul { margin: 0; padding: 0; list-style: none; }
.tork-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.tork-menu > li { position: relative; }
.tork-menu > li > a { display: block; padding: 26px 10px; color: var(--tork-menu-color); font: 700 12px/21.6px var(--tork-font-heading); letter-spacing: .5px; text-transform: uppercase; }
.tork-menu > li > a:hover, .tork-menu > li:focus-within > a, .tork-menu > .current-menu-item > a, .tork-menu > .current-menu-ancestor > a { color: var(--tork-menu-hover); }
.tork-menu > .menu-item-has-children > a { padding-right: 22px; }
.tork-submenu-toggle { position: absolute; top: 50%; right: 4px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: -9px; padding: 0; border: 0; background: none; color: var(--tork-menu-color); cursor: pointer; pointer-events: none; }
.tork-submenu-toggle .tork-icon { width: 14px; height: 14px; }
.tork-menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 999; width: 280px; padding: 15px 20px 5px; background: #fff; border-top: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 4px 4px 1px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.tork-menu > li:last-child > .sub-menu, .tork-menu > li:nth-last-child(2) > .sub-menu { right: 0; left: auto; }
.tork-menu > li:hover > .sub-menu, .tork-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tork-menu .sub-menu a { display: block; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid rgba(0, 0, 0, .1); color: var(--tork-heading); font: 700 14px/26px var(--tork-font-heading); }
.tork-menu .sub-menu li:last-child a { border-bottom: 0; }
.tork-menu .sub-menu a:hover, .tork-menu .sub-menu .current-menu-item > a { color: var(--tork-accent); }
.tork-header__tools { display: flex; align-items: center; gap: 12px; margin-left: 10px; }
.tork-lang { color: #252525; font: 700 12px/21.6px var(--tork-font-heading); }
.tork-search { position: relative; }
.tork-search__toggle, .tork-burger, .tork-nav__close { padding: 0; border: 0; background: none; color: var(--tork-heading); cursor: pointer; }
.tork-search__toggle { display: flex; padding: 4px 0; font-size: 14px; }
.tork-search__panel { position: absolute; top: calc(100% + 22px); right: 0; z-index: 99; width: 305px; padding: 20px; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.tork-searchform { display: flex; gap: 8px; }
.tork-searchform__input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #ccc; border-radius: 5px; font: inherit; }
.tork-searchform__submit { height: 38px; padding: 0 14px; border: 0; border-radius: 5px; background: var(--tork-accent); color: #fff; font: 700 12px var(--tork-font-heading); text-transform: uppercase; cursor: pointer; }
.tork-burger { display: none; position: relative; width: 36px; height: 32px; }
.tork-burger span:not(.screen-reader-text) { position: absolute; left: 6px; width: 24px; height: 2px; background: #222; transition: transform .2s, opacity .2s; }
.tork-burger span:nth-child(1) { top: 9px; } .tork-burger span:nth-child(2) { top: 15px; } .tork-burger span:nth-child(3) { top: 21px; }
.tork-nav__close { display: none; }

@media (max-width: 991px) {
	.tork-burger { display: block; }
	.tork-nav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 9999; width: 350px; max-width: 85vw; padding: 60px 20px 30px; overflow-y: auto; background: #fff; box-shadow: 0 4px 4px 1px rgba(0, 0, 0, .2); transform: translateX(-105%); visibility: hidden; transition: transform .3s, visibility .3s; }
	/* The dimmed backdrop is the drawer's own shadow: it stays inside the header's stacking context. */
	.tork-nav-open .tork-nav { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .4); }
	.tork-nav__close { display: block; position: absolute; top: 14px; right: 14px; font-size: 24px; }
	.tork-menu { display: block; }
	.tork-menu > li { border-bottom: 1px solid rgba(0, 0, 0, .08); }
	.tork-menu > li > a { padding: 12px 40px 12px 0; }
	.tork-submenu-toggle { top: 10px; right: 0; width: 32px; height: 32px; margin: 0; pointer-events: auto; }
	.tork-submenu-toggle[aria-expanded="true"] .tork-icon { transform: rotate(180deg); }
	.tork-menu .sub-menu { position: static; display: none; width: auto; padding: 0 0 10px 15px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
	.tork-menu .sub-menu.is-open { display: block; }
	.tork-menu .sub-menu a { margin: 0; padding: 6px 0; border: 0; font-size: 13px; }
	.tork-search__panel { position: fixed; top: 76px; right: 15px; left: 15px; width: auto; }
}

/* ---------- Page header / headings ---------- */
.tork-page-header .tork-container { padding-top: 5px; padding-bottom: 20px; }
.tork-page-title { margin: 0; padding-bottom: 8px; font-size: 32px; line-height: 1.1; }
.tork-heading__line { display: block; width: 50px; height: 2px; margin: 10px var(--tork-line-mr, auto) 10px var(--tork-line-ml, 0); background: var(--tork-accent); }
.tork-page-header .tork-heading__line { margin-left: 0; }
.tork-meta { margin: 0; font-size: 13px; }
.tork-heading { padding: 5px 0 25px; }
.tork-heading__title { margin: 0; padding-bottom: 8px; color: var(--tork-heading); font: 700 32px/1.1 var(--tork-font-heading); }
.tork-heading__title a { color: inherit; }
.tork-heading--small { padding: 30px 30px 20px; margin-bottom: 0; }
.tork-heading--small .tork-heading__title { font-size: 20px; line-height: 30px; }
.tork-heading-has-desc .tork-heading--small { padding-bottom: 0; }
.tork-heading--sub .tork-heading__title { padding: 0; color: var(--tork-accent); font: 400 14px/25.2px var(--tork-font-heading); letter-spacing: .5px; text-transform: uppercase; }
@media (max-width: 767px) {
	.tork-page-title, .tork-heading__title { font-size: 26px; }
	.tork-heading--small .tork-heading__title { font-size: 20px; }
	.tork-heading--sub .tork-heading__title { font-size: 14px; }
}

/* ---------- Hero ---------- */
.tork-hero { position: relative; height: min(500px, 42.74vw); overflow: hidden; background: #f5f5f5; }
.tork-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.tork-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tork-hero__text { position: absolute; top: 19%; left: 0; right: 0; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 15px; color: #fff; }
.tork-hero__title, .tork-hero__subtitle { margin: 0; color: inherit; font: 700 clamp(16px, 3.25vw, 38px)/1 var(--tork-font-heading); letter-spacing: 1px; text-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.tork-hero__subtitle { margin-top: .84em; }
.tork-hero__link { position: absolute; inset: 0; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
	.tork-hero-animate-yes .tork-hero__title { animation: tork-zoom-in .6s cubic-bezier(.19, 1, .22, 1) both; }
	.tork-hero-animate-yes .tork-hero__subtitle { animation: tork-drop-in .6s cubic-bezier(.19, 1, .22, 1) .15s both; }
}
@keyframes tork-zoom-in { from { opacity: 0; transform: scale(1.6); transform-origin: left center; } to { opacity: 1; transform: none; } }
@keyframes tork-drop-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

/* ---------- People grid ---------- */
.tork-people { --tork-person-blue: var(--tork-navy); --tork-person-burgundy: var(--tork-burgundy); --tork-cols: 4; --tork-gap: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--tork-gap); margin-bottom: 30px; }
.tork-person { display: block; flex: 0 0 calc((100% - (var(--tork-cols) - 1) * var(--tork-gap)) / var(--tork-cols)); min-width: 0; padding: 30px; border: 3px solid var(--tork-person-blue); color: #333; line-height: 25.2px; }
.tork-person--burgundy { border-color: var(--tork-person-burgundy); }
.tork-person__name { display: block; color: #333; }
.tork-person__aff { display: block; color: #333; font-style: normal; }
.tork-person__aff--italic { font-style: italic; }
a.tork-person:hover .tork-person__name { color: var(--tork-accent); }

/* ---------- Elementor content ---------- */
.elementor-widget-text-editor { color: var(--tork-text); }
.elementor-widget-text-editor table[align="center"] { margin-left: auto; margin-right: auto; }
.elementor-widget-text-editor iframe { border: 0; }
.elementor-widget-text-editor hr { margin: 0 0 36px; }
.tork-body a { color: #000; }
.tork-body a:hover { color: var(--tork-accent); }
.tork-sponsors .elementor-widget-image img { width: auto; max-width: 300px; height: 60px; object-fit: contain; }

/* Toggle/accordion widgets styled like the original panels. */
.tork-accordion .elementor-toggle-item, .tork-accordion .elementor-accordion-item { margin-bottom: 5px; border: 1px solid #ddd; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.tork-accordion .elementor-tab-title { padding: 10px 15px; border: 0; background: #f5f5f5; color: #333; font: 700 14px/19.6px var(--tork-font-heading); }
.tork-accordion .elementor-tab-title a, .tork-accordion .elementor-tab-title .elementor-toggle-icon { color: #333; }
.tork-accordion .elementor-tab-title.elementor-active a { color: var(--tork-accent); }
.tork-accordion .elementor-tab-content { padding: 15px; border: 0; border-top: 1px solid #ddd; color: var(--tork-text); }

@media (max-width: 767px) {
	.elementor-widget-text-editor table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.tork-sponsors .elementor-widget-image { margin-bottom: 20px; }
}

/* ---------- Non-Elementor content (posts, search, 404) ---------- */
.tork-prose { padding-bottom: 40px; }
.tork-prose > *:last-child { margin-bottom: 0; }
.tork-prose img.alignleft, .alignleft { float: left; margin: 0 20px 10px 0; }
.tork-prose img.alignright, .alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 12px; color: #888; }
.tork-single__thumb { margin-bottom: 20px; }
.tork-list { padding-bottom: 40px; }
.tork-card { padding: 20px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.tork-card__title { margin: 0 0 6px; font-size: 20px; }
.tork-404 .tork-searchform { max-width: 420px; margin: 20px 0; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.tork-comments { padding: 30px 0; }

/* ---------- Footer ---------- */
.tork-footer { --tork-accent: #4582ff; line-height: 28px; }
.tork-footer__main { padding: 40px 0; background: var(--tork-light); color: var(--tork-text); }
.tork-footer__grid { display: grid; grid-template-columns: 3fr 4fr 5fr; column-gap: 30px; }
.tork-footer__title, .tork-copyright { position: relative; }
.tork-footer__title::after, .tork-copyright::after { content: ""; position: absolute; bottom: 0; left: 0; width: 60px; height: 1px; background: var(--tork-accent); }
.tork-footer__title { margin: 0 0 10px; padding-bottom: 10px; color: #000; font: 700 14px/30.8px var(--tork-font-heading); letter-spacing: 1px; text-transform: uppercase; }
.tork-contact { margin: 0; padding: 0; list-style: none; }
.tork-contact .tork-icon { width: 20px; height: 16px; margin-right: 3px; fill: var(--tork-accent); vertical-align: -2px; }
.tork-contact a { color: inherit; }
.tork-footer__social { text-align: center; }
.tork-footer__subtitle { margin: 12.5px 0; color: var(--tork-accent); font: 700 16px/22.4px var(--tork-font-heading); letter-spacing: 1px; text-transform: uppercase; }
.tork-footer__social ul { display: inline-block; margin: 0; padding: 0; list-style: none; }
.tork-footer__social li { display: inline-block; padding: 5px 10px 10px; }
.tork-footer__social a { color: #000; }
.tork-footer__social a:hover { color: var(--tork-accent); }
.tork-footer__bottom { padding: 20px 0; background: var(--tork-dark); color: #fff; }
.tork-copyright { margin: 0 0 10px; padding-bottom: 10px; color: #fff; font: 700 14px/30.8px var(--tork-font-heading); letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 767px) {
	.tork-footer__grid { grid-template-columns: 1fr; row-gap: 20px; }
	.tork-copyright { font-size: 12px; line-height: 20px; }
}

/* Elementor header/footer templates: no extra spacing around them. */
.tork-location > .elementor > .e-con, .tork-location .elementor-section-wrap > .e-con { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; }
