/*
Theme Name: StudySkillHub
Theme URI: https://studyskillhub.online/
Template: blocksy
Author: StudySkillHub/*
Theme Name: StudySkillHub
Theme URI: https://studyskillhub.online/
Template: blocksy
Author: StudySkillHub
Author URI: https://studyskillhub.online/
Description: A clean, modern education theme for StudySkillHub — study in the USA, scholarships and skills guides for international students. Deep blue and teal with a warm gold accent.
Tags: education,blog,grid-layout,wide-blocks,custom-header,custom-menu,featured-images,sticky-post,translation-ready
Version: 1.0.5

Updated: 2026-11-14 08:42:05
*/

/* ============================================================
   StudySkillHub — custom design
   Palette: deep blue #0A2540 · teal #0E9384 · gold #E8A317
   ============================================================ */

:root {
	--ssh-navy: #0a2540;
	--ssh-navy-deep: #071a2e;
	--ssh-navy-soft: #123a63;
	--ssh-teal: #0e9384;
	--ssh-teal-dark: #0b7a6e;
	--ssh-teal-light: #e6f5f2;
	--ssh-gold: #e8a317;
	--ssh-gold-dark: #c98a12;
	--ssh-ink: #1c2b3a;
	--ssh-muted: #5b6b7c;
	--ssh-line: #e6edf3;
	--ssh-bg: #f4f7fa;
	--ssh-radius: 16px;
	--ssh-shadow: 0 10px 30px rgba(10, 37, 64, 0.09);
	--ssh-shadow-lg: 0 18px 44px rgba(10, 37, 64, 0.16);
}

/* ---------- Base ---------- */
body {
	background-color: var(--ssh-bg);
	color: var(--ssh-ink);
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--ssh-teal-dark);
}

a:hover,
a:focus {
	color: var(--ssh-navy);
}

::selection {
	background: var(--ssh-gold);
	color: var(--ssh-navy-deep);
}

/* ---------- Header ---------- */
header.ct-header,
#header {
	background: #ffffff;
	border-bottom: 1px solid var(--ssh-line);
}

.site-title a,
.ct-site-title a {
	color: var(--ssh-navy);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.site-title a:hover,
.ct-site-title a:hover {
	color: var(--ssh-teal-dark);
}

.site-description,
.ct-site-description {
	color: var(--ssh-muted);
	font-weight: 500;
}

/* Primary menu */
.ct-menu > li > a {
	color: var(--ssh-navy);
	font-weight: 600;
}

.ct-menu > li > a:hover,
.ct-menu > li.current-menu-item > a,
.ct-menu > li.current-category-ancestor > a {
	color: var(--ssh-teal-dark);
}

.ct-menu > li.current-menu-item > a {
	box-shadow: inset 0 -3px 0 var(--ssh-gold);
}

/* ---------- Homepage hero ---------- */
.ssh-hero {
	background:
		radial-gradient(720px 340px at 88% -10%, rgba(20, 184, 166, 0.35), rgba(20, 184, 166, 0) 62%),
		radial-gradient(560px 300px at -8% 108%, rgba(232, 163, 23, 0.22), rgba(232, 163, 23, 0) 60%),
		linear-gradient(118deg, var(--ssh-navy-deep) 0%, var(--ssh-navy) 55%, var(--ssh-navy-soft) 100%);
	color: #ffffff;
	padding: 72px 0 66px;
}

.ssh-hero__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}

.ssh-hero__eyebrow {
	display: inline-block;
	margin: 0 0 18px;
	padding: 7px 16px;
	border: 1px solid rgba(232, 163, 23, 0.55);
	border-radius: 999px;
	background: rgba(232, 163, 23, 0.12);
	color: #f5c65c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ssh-hero h1 {
	margin: 0 auto 16px;
	max-width: 820px;
	color: #ffffff;
	font-size: clamp(34px, 5.2vw, 56px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 800;
}

.ssh-hero h1 .ssh-hero__accent {
	color: var(--ssh-gold);
}

.ssh-hero__intro {
	margin: 0 auto 28px;
	max-width: 680px;
	color: #c9d8e6;
	font-size: 18px;
	line-height: 1.6;
}

.ssh-hero__search {
	max-width: 620px;
	margin: 0 auto 22px;
}

.ssh-hero__search .search-form {
	display: flex;
	gap: 8px;
	padding: 7px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.ssh-hero__search .search-form label {
	flex: 1;
	margin: 0;
	font-weight: 400;
}

.ssh-hero__search .search-field {
	width: 100%;
	height: 48px;
	padding: 0 10px 0 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ssh-ink);
	font-size: 16px;
	box-shadow: none;
}

.ssh-hero__search .search-field:focus {
	outline: none;
	box-shadow: none;
}

.ssh-hero__search .search-submit,
.ssh-hero__search button[type="submit"] {
	height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ssh-teal);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.ssh-hero__search .search-submit:hover,
.ssh-hero__search button[type="submit"]:hover {
	background: var(--ssh-navy);
}

.ssh-hero__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 20px;
}

.ssh-hero__btn {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.ssh-hero__btn:hover,
.ssh-hero__btn:focus {
	border-color: var(--ssh-gold);
	background: var(--ssh-gold);
	color: var(--ssh-navy-deep);
}

.ssh-hero__note {
	margin: 0;
	color: #9db4c8;
	font-size: 13.5px;
	letter-spacing: 0.01em;
}

.ssh-hero__note strong {
	color: #e8eef4;
	font-weight: 600;
}

/* ---------- Archive title area ---------- */
.home .hero-section,
.blog .hero-section {
	padding-top: 40px;
	padding-bottom: 8px;
}

.archive .hero-section {
	background: linear-gradient(180deg, #ffffff 0%, var(--ssh-bg) 100%);
	border-bottom: 1px solid var(--ssh-line);
}

.hero-section .page-title,
.hero-section .entry-title {
	color: var(--ssh-navy);
}

.hero-section .ct-breadcrumbs,
.rank-math-breadcrumb {
	color: var(--ssh-muted);
	font-size: 13.5px;
}

.archive-description {
	color: var(--ssh-muted);
	font-size: 17px;
	max-width: 720px;
}

/* ---------- Post cards ---------- */
.entry-card {
	background: #ffffff;
	border: 1px solid var(--ssh-line);
	border-radius: var(--ssh-radius);
	box-shadow: 0 2px 10px rgba(10, 37, 64, 0.04);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.entry-card:hover {
	transform: translateY(-4px);
	border-color: #cfdbe7;
	box-shadow: var(--ssh-shadow-lg);
}

.entry-card .ct-image-container img {
	transition: transform 0.5s ease;
}

.entry-card:hover .ct-image-container img {
	transform: scale(1.05);
}

.entry-card .entry-title a {
	color: var(--ssh-navy);
}

.entry-card .entry-title a:hover {
	color: var(--ssh-teal-dark);
}

.entry-card .entry-excerpt p {
	color: var(--ssh-muted);
}

.entry-card .ct-terms a {
	background: var(--ssh-teal-light);
	color: var(--ssh-teal-dark);
	font-weight: 700;
}

.entry-card .ct-terms a:hover {
	background: var(--ssh-gold);
	color: var(--ssh-navy-deep);
}

.entry-card .entry-meta,
.entry-card .entry-meta a {
	color: #7b8a9a;
}

.entry-card .entry-meta a:hover {
	color: var(--ssh-teal-dark);
}

.entry-card .entry-button a,
.entry-card .more-link {
	color: var(--ssh-teal-dark);
	font-weight: 700;
}

.entry-card .entry-button a:hover {
	color: var(--ssh-gold-dark);
}

/* ---------- Buttons ---------- */
.button,
.ct-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	border-radius: 999px;
	font-weight: 700;
}

.wp-block-button__link:hover {
	background: var(--ssh-teal-dark);
}

/* Pagination */
.pagination .page-numbers.current,
.ct-pagination .current {
	background: var(--ssh-navy);
	border-color: var(--ssh-navy);
	color: #ffffff;
}

.pagination a.page-numbers:hover {
	background: var(--ssh-teal);
	border-color: var(--ssh-teal);
	color: #ffffff;
}

/* ---------- Single post ---------- */
.single-post h1.entry-title {
	color: var(--ssh-navy);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.single-post .ct-featured-image {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--ssh-shadow);
}

.single-post .ct-featured-image img {
	border-radius: 18px;
}

.single-post .entry-content h2 {
	margin-top: 1.6em;
	padding-left: 14px;
	border-left: 4px solid var(--ssh-gold);
	color: var(--ssh-navy);
	letter-spacing: -0.01em;
}

.single-post .entry-content h3 {
	color: var(--ssh-teal-dark);
}

.single-post .entry-content a:not(.wp-block-button__link) {
	color: var(--ssh-teal-dark);
	text-decoration: underline;
	text-decoration-color: rgba(14, 147, 132, 0.45);
	text-underline-offset: 3px;
}

.single-post .entry-content a:hover {
	color: var(--ssh-navy);
}

.single-post .entry-content blockquote {
	border-left: 4px solid var(--ssh-teal);
	background: var(--ssh-teal-light);
	border-radius: 0 12px 12px 0;
	padding: 18px 22px;
	color: var(--ssh-navy);
}

.single-post .entry-content img {
	border-radius: 12px;
}

.single-post .entry-content ul li::marker {
	color: var(--ssh-teal);
}

.single-post .entry-meta .ct-terms a {
	background: var(--ssh-teal-light);
	color: var(--ssh-teal-dark);
	border-radius: 999px;
}

/* Author box */
.ct-author-box {
	border: 1px solid var(--ssh-line);
	border-radius: var(--ssh-radius);
	background: #ffffff;
	box-shadow: var(--ssh-shadow);
}

.ct-author-box .author-name a {
	color: var(--ssh-navy);
}

/* Tags */
.entry-tags a,
.tagcloud a {
	border-radius: 999px;
	border-color: var(--ssh-line);
	color: var(--ssh-muted);
}

.entry-tags a:hover,
.tagcloud a:hover {
	background: var(--ssh-navy);
	border-color: var(--ssh-navy);
	color: #ffffff;
}

/* ---------- Sidebar / widgets ---------- */
.ct-sidebar .widget-title {
	color: var(--ssh-navy);
}

.ct-sidebar .widget-title::after {
	background: var(--ssh-gold);
}

.ct-sidebar .widget {
	border: 1px solid var(--ssh-line);
	border-radius: var(--ssh-radius);
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(10, 37, 64, 0.04);
}

.ct-sidebar .widget a {
	color: var(--ssh-ink);
}

.ct-sidebar .widget a:hover {
	color: var(--ssh-teal-dark);
}

.ct-sidebar .wp-block-search__button,
.ct-sidebar .widget_search .search-submit {
	background: var(--ssh-navy);
	color: #ffffff;
}

.ct-sidebar .wp-block-search__button:hover {
	background: var(--ssh-teal-dark);
}

/* ---------- Footer ---------- */
footer.ct-footer,
#footer {
	background: var(--ssh-navy);
	color: #c7d3e0;
}

footer.ct-footer a,
#footer a {
	color: #dbe6f0;
}

footer.ct-footer a:hover,
#footer a:hover {
	color: var(--ssh-gold);
}

footer.ct-footer .widget-title,
#footer .widget-title {
	color: #ffffff;
}

footer.ct-footer .widget-title::after {
	background: var(--ssh-gold);
}

.ct-footer-copyright,
footer.ct-footer [data-row="bottom"] {
	background: var(--ssh-navy-deep);
	color: #9db4c8;
}

.ct-footer-copyright a {
	color: var(--ssh-gold);
}

footer.ct-footer .ct-footer-menu a {
	color: #dbe6f0;
	font-weight: 600;
}

footer.ct-footer .ct-footer-menu a:hover {
	color: var(--ssh-gold);
}

/* ---------- Comments ---------- */
.comments-area .comment-reply-link,
.comment-form input[type="submit"] {
	background: var(--ssh-navy);
	color: #ffffff;
}

.comments-area .comment-reply-link:hover,
.comment-form input[type="submit"]:hover {
	background: var(--ssh-teal-dark);
}

/* ---------- Empty states ---------- */
.ssh-empty {
	max-width: 680px;
	margin: 30px auto 60px;
	padding: 40px 34px;
	border: 1px solid var(--ssh-line);
	border-radius: var(--ssh-radius);
	background: #ffffff;
	box-shadow: var(--ssh-shadow);
	text-align: center;
}

.ssh-empty h2 {
	color: var(--ssh-navy);
	margin-top: 0;
}

.ssh-empty p {
	color: var(--ssh-muted);
}

.ssh-empty .ssh-hero__btn {
	border-color: var(--ssh-navy);
	background: var(--ssh-navy);
	color: #ffffff;
}

.ssh-empty .ssh-hero__btn:hover {
	border-color: var(--ssh-gold);
	background: var(--ssh-gold);
	color: var(--ssh-navy-deep);
}

.ssh-latest-heading {
	color: var(--ssh-navy);
	font-size: 26px;
	text-align: center;
	margin: 34px 0 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.ssh-hero {
		padding: 52px 0 48px;
	}

	.ssh-hero__intro {
		font-size: 16.5px;
	}

	.ssh-hero__search .search-form {
		flex-direction: column;
		gap: 6px;
		border-radius: 18px;
		padding: 8px;
	}

	.ssh-hero__search .search-field {
		text-align: center;
	}

	.ssh-hero__search .search-submit,
	.ssh-hero__search button[type="submit"] {
		width: 100%;
	}

	.site-description,
	.ct-site-description {
		font-size: 12px;
	}

	.single-post .entry-content h2 {
		font-size: 23px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.entry-card,
	.entry-card .ct-image-container img {
		transition: none;
	}
}





/* ---------- Polish: fonts, sticky header, hero search ---------- */
body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.site-title a,
.entry-title a,
.ssh-hero h1 {
	font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* Sticky header */
header#header {
	position: sticky;
	top: 0;
	z-index: 300;
	box-shadow: 0 6px 20px rgba(10, 37, 64, 0.08);
}

body.admin-bar header#header {
	top: 32px;
}

/* Block-style search form used in the hero: white pill, readable text */
.ssh-hero__search .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
	padding: 7px;
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.ssh-hero__search .wp-block-search__input {
	flex: 1;
	height: 48px;
	padding: 0 10px 0 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ssh-ink);
	font-size: 16px;
}

.ssh-hero__search .wp-block-search__input::placeholder {
	color: #7b8a9a;
}

.ssh-hero__search .wp-block-search__button {
	height: 48px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ssh-teal);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.ssh-hero__search .wp-block-search__button:hover {
	background: var(--ssh-navy);
}

@media (max-width: 768px) {
	.ssh-hero__search .wp-block-search__inside-wrapper {
		flex-direction: column;
		border-radius: 18px;
	}

	.ssh-hero__search .wp-block-search__input {
		text-align: center;
	}

	.ssh-hero__search .wp-block-search__button {
		width: 100%;
	}

	body.admin-bar header#header {
		top: 46px;
	}
}
/* ---------- Final overrides: current menu colour and hero search ---------- */
.ct-menu > li.current-menu-item > a,
.ct-menu > li.current-category-ancestor > a {
	color: var(--ssh-teal-dark) !important;
}

.ssh-hero__search form,
.ssh-hero__search .search-form,
.ssh-hero__search .wp-block-search__inside-wrapper {
	background: #ffffff !important;
}

.ssh-hero__search input,
.ssh-hero__search input[type="search"],
.ssh-hero__search .wp-block-search__input {
	background-color: #ffffff !important;
	color: #1c2b3a !important;
}

.ssh-hero__search input::placeholder,
.ssh-hero__search .wp-block-search__input::placeholder {
	color: #7b8a9a !important;
}
/* Current menu item: beat Blocksy's own current-item colour with higher specificity. */
header#header .ct-menu > li.current-menu-item > a,
header#header .ct-menu > li.current_page_item > a,
header#header .ct-menu a[aria-current="page"] {
  color: var(--ssh-teal-dark) !important;
  box-shadow: inset 0 -3px 0 var(--ssh-gold);
}
/* Mobile hero search: keep a single-row white pill so the field stays usable. */
@media (max-width: 768px) {
  .ssh-hero__search form,
  .ssh-hero__search .search-form,
  .ssh-hero__search .wp-block-search__inside-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 999px !important;
    padding: 7px !important;
  }
  .ssh-hero__search .search-form > label,
  .ssh-hero__search form > label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .ssh-hero__search input[type="search"],
  .ssh-hero__search .search-field,
  .ssh-hero__search .wp-block-search__input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  .ssh-hero__search .search-submit,
  .ssh-hero__search button[type="submit"],
  .ssh-hero__search .wp-block-search__button {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
}
/* Footer socials: keep the X (Twitter) link readable on the navy footer. */
footer.ct-footer [data-network="x"],
#footer [data-network="x"] {
  color: #ffffff !important;
}
footer.ct-footer [data-network="x"] svg,
#footer [data-network="x"] svg,
footer.ct-footer [data-network="x"] svg path,
#footer [data-network="x"] svg path {
  fill: #ffffff !important;
}
/* Footer socials: all white so every network stays readable on the navy footer. */
footer.ct-footer .ct-social-box a,
#footer .ct-social-box a,
footer.ct-footer [data-network],
#footer [data-network] {
  color: #ffffff !important;
}
footer.ct-footer .ct-social-box a svg,
#footer .ct-social-box a svg,
footer.ct-footer .ct-social-box a svg path,
#footer .ct-social-box a svg path,
footer.ct-footer [data-network] svg,
#footer [data-network] svg,
footer.ct-footer [data-network] svg path,
#footer [data-network] svg path {
  fill: #ffffff !important;
}