/* =========================================================
   Gaon Connection Style Theme — main stylesheet
   Font sizes kept at normal/base scale (16px root) as requested.
   ========================================================= */

:root {
	--gc-red: #c1272d;
	--gc-dark: #1a1a1a;
	--gc-text: #222222;
	--gc-grey: #6b6b6b;
	--gc-border: #e2e2e2;
	--gc-bg: #ffffff;
	--gc-black-footer: #0d0d0d;
	--gc-max-width: 1200px;
	--gc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--gc-font);
	color: var(--gc-text);
	font-size: 1rem;
	line-height: 1.6;
	background: var(--gc-bg);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gc-red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

.gc-container {
	max-width: var(--gc-max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.gc-mobile-only { display: none; }
.gc-desktop-only { display: inline-flex; }

/* =========================================================
   HEADER
   ========================================================= */
.gc-header {
	border-bottom: 1px solid var(--gc-border);
	background: var(--gc-bg);
	position: relative;
	z-index: 40;
}

.gc-logo-row { padding: 14px 0; }
.gc-logo-row-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.gc-logo-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.gc-logo-wrap img { max-height: 55px; width: auto; }
.gc-logo-text {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--gc-dark);
}
.gc-tagline {
	color: var(--gc-red);
	font-size: 0.65rem;
	letter-spacing: 0.5px;
	font-weight: 600;
	margin-top: 2px;
}

.gc-hamburger-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 26px;
	height: 22px;
	padding: 0;
}
.gc-hamburger-btn span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--gc-dark);
	border-radius: 2px;
}

.gc-search-toggle { align-items: center; justify-content: center; padding: 6px; }
.gc-icon-search {
	display: block;
	width: 18px;
	height: 18px;
	border: 2px solid var(--gc-dark);
	border-radius: 50%;
	position: relative;
}
.gc-icon-search::after {
	content: '';
	position: absolute;
	width: 2px;
	height: 8px;
	background: var(--gc-dark);
	bottom: -7px;
	right: -3px;
	transform: rotate(-45deg);
}

/* Nav row (desktop bar) */
.gc-nav-row { border-top: 1px solid var(--gc-border); position: relative; }
.gc-nav-row-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.gc-desktop-hamburger { display: none; }

.gc-primary-nav {
	display: flex;
	align-items: center;
	flex: 1;
}
.gc-top-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}
.gc-top-menu li a,
.gc-more-item .gc-more-btn {
	display: inline-block;
	padding: 14px 12px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--gc-dark);
	white-space: nowrap;
}
.gc-top-menu li a:hover,
.gc-more-item .gc-more-btn:hover,
.gc-more-item.active .gc-more-btn {
	color: var(--gc-red);
}
.gc-more-item { position: relative; }

/* More dropdown panel */
.gc-more-panel {
	display: none;
	border-top: 1px solid var(--gc-border);
	background: #fafafa;
	padding: 20px 0;
}
.gc-more-panel.open { display: block; }
.gc-more-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px 20px;
}
.gc-more-grid li a {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--gc-dark);
}
.gc-more-grid li a:hover { color: var(--gc-red); }

/* Search box */
.gc-search-box { display: none; border-top: 1px solid var(--gc-border); padding: 14px 0; background: #fafafa; }
.gc-search-box.open { display: block; }
.gc-search-form { display: flex; gap: 8px; max-width: 480px; }
.gc-search-field {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--gc-border);
	border-radius: 4px;
	font-size: 0.95rem;
}
.gc-search-submit {
	padding: 10px 18px;
	background: var(--gc-red);
	color: #fff;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9rem;
}

/* =========================================================
   MOBILE DRAWER
   ========================================================= */
.gc-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 50;
	display: none;
}
.gc-drawer-overlay.open { display: block; }

.gc-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 320px;
	max-width: 85vw;
	background: #fff;
	z-index: 60;
	transform: translateX(-100%);
	transition: transform 0.28s ease;
	display: flex;
	flex-direction: column;
	box-shadow: 2px 0 12px rgba(0,0,0,0.15);
}
.gc-drawer.open { transform: translateX(0); }

.gc-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--gc-border);
	flex: 0 0 auto;
}
.gc-drawer-title { font-size: 1.15rem; font-weight: 700; color: var(--gc-dark); }
.gc-drawer-close { font-size: 1.6rem; line-height: 1; color: var(--gc-dark); }

.gc-drawer-body { overflow-y: auto; padding: 6px 20px 30px; flex: 1 1 auto; }

.gc-drawer-menu > li.menu-depth-0 {
	border-bottom: 1px solid var(--gc-border);
	padding: 10px 0;
}
.gc-drawer-menu > li.menu-depth-0:last-child { border-bottom: none; }
.gc-drawer-menu > li.menu-depth-0 > a {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--gc-dark);
	padding: 4px 0;
}
.gc-drawer-menu .sub-menu { margin-top: 4px; }
.gc-drawer-menu .sub-menu li a {
	display: block;
	font-size: 0.95rem;
	font-weight: 400;
	color: var(--gc-text);
	padding: 6px 0;
}
.gc-drawer-menu .sub-menu li a:hover { color: var(--gc-red); }
.gc-drawer-menu-more { margin-top: 4px; }
.gc-drawer-menu-more li a {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--gc-dark);
	padding: 10px 0;
	border-bottom: 1px solid var(--gc-border);
}
.gc-drawer-menu-more li:last-child a { border-bottom: none; }

/* =========================================================
   CARD GRID (index / archive / category / search)
   ========================================================= */
.gc-archive-wrap { padding: 30px 0 50px; }
.gc-archive-title { font-size: 1.6rem; margin: 0 0 20px; }
.gc-archive-desc { color: var(--gc-grey); margin-bottom: 20px; }

.gc-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 26px;
}
.gc-card { border: 1px solid var(--gc-border); border-radius: 6px; overflow: hidden; }
.gc-card-thumb, .gc-card-thumb-placeholder { width: 100%; height: 180px; object-fit: cover; background: #eee; }
.gc-card-body { padding: 14px 16px 18px; }
.gc-card-cat {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--gc-red);
	text-transform: uppercase;
	margin-bottom: 6px;
}
.gc-card-title { font-size: 1.05rem; line-height: 1.35; margin: 0 0 8px; }
.gc-card-title a:hover { color: var(--gc-red); }
.gc-card-excerpt { font-size: 0.88rem; color: var(--gc-grey); margin: 0 0 10px; }
.gc-card-meta { font-size: 0.78rem; color: var(--gc-grey); }
.gc-meta-sep { margin: 0 6px; }

.gc-pagination { margin-top: 30px; display: flex; gap: 10px; justify-content: center; }
.gc-pagination .page-numbers {
	padding: 8px 13px;
	border: 1px solid var(--gc-border);
	border-radius: 4px;
	font-size: 0.9rem;
}
.gc-pagination .page-numbers.current { background: var(--gc-red); color: #fff; border-color: var(--gc-red); }

/* =========================================================
   SINGLE POST
   ========================================================= */
.gc-single-wrap { padding: 24px 0 60px; }

.gc-breadcrumb { font-size: 0.85rem; color: var(--gc-grey); margin-bottom: 14px; }
.gc-breadcrumb a { color: #1565c0; }
.gc-breadcrumb-sep { margin: 0 6px; }
.gc-breadcrumb-current { color: var(--gc-grey); }

.gc-single-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	align-items: start;
}

.gc-single-title { font-size: 1.9rem; line-height: 1.3; margin: 0 0 12px; }

.gc-single-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--gc-grey);
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.gc-share-btn {
	margin-left: auto;
	border: 1px solid var(--gc-border);
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gc-dark);
}
.gc-share-btn:hover { border-color: var(--gc-red); color: var(--gc-red); }

.gc-single-intro { font-size: 1.05rem; color: #333; margin-bottom: 18px; }

.gc-single-feature-image { margin: 0 0 22px; }
.gc-single-feature-image img { border-radius: 4px; width: 100%; }
.gc-single-feature-image figcaption { font-size: 0.8rem; color: var(--gc-grey); margin-top: 8px; text-align: center; }

.gc-single-content { font-size: 1rem; color: var(--gc-text); }
.gc-single-content p { margin: 0 0 18px; }
.gc-single-content h2 { font-size: 1.3rem; margin: 28px 0 12px; }
.gc-single-content h3 { font-size: 1.12rem; margin: 22px 0 10px; }
.gc-single-content img { border-radius: 4px; margin: 16px 0; }

.gc-single-tags { margin: 26px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gc-tag-pill {
	border: 1px solid var(--gc-border);
	padding: 6px 12px;
	border-radius: 16px;
	font-size: 0.8rem;
	color: var(--gc-dark);
}
.gc-tag-pill:hover { border-color: var(--gc-red); color: var(--gc-red); }

.gc-author-box {
	display: flex;
	gap: 14px;
	padding: 18px;
	background: #fafafa;
	border-radius: 6px;
	margin-top: 10px;
}
.gc-author-avatar { border-radius: 50%; width: 56px; height: 56px; }
.gc-author-role { font-size: 0.7rem; color: var(--gc-grey); font-weight: 700; letter-spacing: 0.5px; }
.gc-author-name { display: block; font-size: 1rem; font-weight: 700; margin: 2px 0 6px; }
.gc-author-bio { font-size: 0.85rem; color: var(--gc-grey); margin: 0 0 6px; }
.gc-author-readmore { font-size: 0.82rem; color: var(--gc-red); font-weight: 600; }

/* Sidebar / related news */
.gc-related-heading {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--gc-dark);
}
.gc-related-list { display: flex; flex-direction: column; gap: 16px; }
.gc-related-link { display: flex; gap: 12px; }
.gc-related-thumb { flex: 0 0 90px; }
.gc-related-thumb img { border-radius: 4px; width: 90px; height: 64px; object-fit: cover; }
.gc-related-title { display: block; font-size: 0.9rem; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.gc-related-link:hover .gc-related-title { color: var(--gc-red); }
.gc-related-author { font-size: 0.78rem; color: var(--gc-grey); }

.gc-comments-wrap { margin-top: 40px; }

/* =========================================================
   FOOTER
   ========================================================= */
.gc-footer { background: var(--gc-black-footer); color: #cfcfcf; margin-top: 40px; padding: 50px 0 0; }
.gc-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 30px;
	padding-bottom: 40px;
}
.gc-footer-heading {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	margin: 0 0 16px;
}
.gc-contact-heading { margin-top: 22px; }
.gc-footer-section-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gc-footer-menu li { margin-bottom: 12px; }
.gc-footer-menu li a { font-size: 0.85rem; color: #cfcfcf; }
.gc-footer-menu li a:hover { color: #fff; }

.gc-social-icons { display: flex; gap: 10px; margin-bottom: 6px; }
.gc-social-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #2a2a2a;
	display: flex;
	align-items: center;
	justify-content: center;
}
.gc-social-icon:hover { background: var(--gc-red); }
.gc-social-icon span { width: 14px; height: 14px; display: block; background: #fff; mask-size: contain; -webkit-mask-size: contain; }

.gc-contact-address { font-style: normal; font-size: 0.85rem; line-height: 1.5; margin-bottom: 8px; display: block; }
.gc-contact-email { font-size: 0.85rem; color: #cfcfcf; }
.gc-contact-email:hover { color: #fff; }

.gc-footer-bottom { border-top: 1px solid #2a2a2a; padding: 20px 0; }
.gc-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gc-footer-logo-wrap img { max-height: 34px; filter: brightness(0) invert(1); }
.gc-footer-logo-text { color: #fff; font-weight: 700; font-size: 1.1rem; }
.gc-footer-copyright { font-size: 0.8rem; color: #9a9a9a; margin: 0; }

/* =========================================================
   PAGE / 404
   ========================================================= */
.gc-page-wrap, .gc-404-wrap { padding: 30px 0 60px; max-width: 800px; margin: 0 auto; }
.gc-page-title { font-size: 1.8rem; margin-bottom: 16px; }
.gc-page-thumb { margin-bottom: 20px; }
.gc-page-content p { margin: 0 0 18px; }

/* =========================================================
   RESPONSIVE — Mobile (<= 900px), matches provided mobile screenshots
   ========================================================= */
@media (max-width: 900px) {
	.gc-mobile-only { display: inline-flex; }
	.gc-desktop-only { display: none; }

	.gc-logo-row { padding: 10px 0; }
	.gc-logo-row-inner { justify-content: space-between; }
	.gc-hamburger-btn { display: flex; }
	.gc-logo-wrap img { max-height: 38px; }
	.gc-logo-text { font-size: 1.25rem; }
	.gc-tagline { font-size: 0.55rem; }

	/* Nav row stays visible on mobile as a horizontally scrollable strip
	   (matches the provided mobile screenshot showing a scrollable top-bar). */
	.gc-nav-row-inner { padding: 4px 0; }
	.gc-primary-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.gc-primary-nav::-webkit-scrollbar { display: none; }
	.gc-top-menu { flex-wrap: nowrap; }
	.gc-top-menu li a, .gc-more-item .gc-more-btn { padding: 12px 10px; font-size: 0.85rem; }
	.gc-more-grid { grid-template-columns: 1fr; }

	.gc-single-grid { grid-template-columns: 1fr; }
	.gc-single-title { font-size: 1.5rem; }
	.gc-footer-grid { grid-template-columns: 1fr; }
	.gc-footer-section-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
	.gc-card-grid { grid-template-columns: 1fr; }
	.gc-drawer { width: 300px; }
}
