/*
Theme Name: ZConnect2
Theme Version: 2
Author: Kailash Nadh
*/

* {
	box-sizing: border-box;
}

:root {
	--color-blue: #1669c9;
	--color-grey: #222;
	--color-white: #fff;
}

body {
	font-family: Inter, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	color: #444;
}

h1 {
	font-size: 2.3rem;
	line-height: 3rem;
}
h2 {
	font-size: 1.7rem;
	line-height: 2.1rem;
}
h3 {
	font-size: 1.5rem;
	line-height: 1.9rem;
}
h4 {
    line-height: 1.5rem;
    font-size: 1.1rem;
}

h1, h2, h3, h4, h5 {
	font-family: "Source Serif 4";
	letter-spacing: 0;
	color: var(--color-grey);
	font-weight: 600;
	margin-top: 0;
}

p {
	margin: 10px 0 20px 0;
}

img {
	max-width: 100%;
	height: auto;
}

hr {
	border: 0;
	background: #ddd;
	height: 1px;
	margin: 20px 0;
}

.title {
	margin-bottom: 20px;
	font-weight: 600;
}

.flag {
    font-family: Inter, sans-serif;
	position: relative;
	background: #d6e9ff;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.65rem;
	letter-spacing: 2px;
	display: inline-block;
	padding: 2px 20px 2px 10px;
	color: var(--color-grey);
    line-height: 1.1rem;
}
	.flag::after {
		content: '';
		position: absolute;
		right: 0;
		top: -5px;
		bottom: 0;
		width: 0;
		height: 0;
		border-top: 15px solid transparent;
		border-bottom: 15px solid transparent;
		border-right: 15px solid white;
	}

.pagination a {
	display: inline-block;
	margin: 0 15px;
}

#wrap {
	margin: 0 0 20px 0;
}

#header {
	margin-bottom: 45px;
	position: relative;
	box-shadow: 2px 1px 2px #e7e7e7;
	padding: 15px 0 10px 15px;
}
	#header .logo img {
		max-height: 32px;
	}
	#header form,
	#header form * {
		display: inline-block;
	}
	#header form .submit {
		display: none;
	}
	#header form .q {
		background: #f2f2f2 url('images/search.html') no-repeat 10px 7px;
		background-size: 12px 12px;
		border-radius: 30px;
		border: 0;
		padding: 5px 15px 5px 30px;
		max-width: 200px;
	}
	#header form .q:focus {
		border-color: #ccc;
	}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
    .nav li {
        display: inline-block;
        margin-left: 30px;
    }
    .nav li.current_page_item a,
    .nav li.current-menu-item a {
        color: var(--color-blue);
    }
    .nav #burger {
        display: none;
        position: fixed;
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }

.copyright {
	padding: 20px 0 0 0;
	font-size: .85em;
	text-align: center;
}

/* ________________________________________________________ */

.box {
	box-shadow: 2px 2px 4px #eee;
	padding: 30px;
	border: 1px solid #e7e7e7;
	border-radius: 8px;
}
	.box.no {
		padding: 0;
	}
	.box .title h4 {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;  
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: normal;
	}
	.pad {
		padding: 30px;
		border-radius: 8px;
	}

.meta .date,
.meta .comment-count {
    line-height: 1rem;
}
.meta .date,
.meta .description,
.meta .comment-count {
	font-size: 0.775rem;
}
.meta .description,
.meta .date,
.meta .comment-count a {
	color: #777;
}
.author + .fields {
	margin-top: 15px;
}
.author {
	display: flex;
	align-items: center;
}
.author a {
    font-size: 0.775rem;
}
.author img {
	border-radius: 100%;
}
	.author.small img {
		max-width: 36px;
		margin-right: 15px;
		border: 2px solid #eee;
		background: var(--color-white);
		padding: 2px;
	}



article.box {
	box-shadow: 2px 2px 4px #eee;
	border: 1px solid #e7e7e7;
	border-radius: 8px;
	margin-bottom: 30px;
}
	article.primary.box {
		padding: 30px 40px !important;
	}

	article.box .meta .flag {
		margin-left: -30px;
	}
	article.box .meta.top {
		margin-bottom: 20px;
	}
	article.box .meta.bottom {
		margin-top: 30px;
	}
	article .share {
		margin-top: 10px;
	}
	article .share a {
		margin-right: 15px;
	}
	article .share a[data-share-target] {
		display: none;
	}
	article .content p a {
		color: var(--color-blue);
		text-decoration: underline;
	}
	article .content a:hover {
		color: var(--color-grey);
	}
	article.post h1,
	article.post h2,
	article.post h3,
	article.post h4 {
		margin-top: 30px;
	}

article iframe:not(.post-likes-widget) {
	margin: 0 auto;
	display: block;
	border-radius: 5px;
	background: #f5f5f7;
	padding: 10px;
	width: 100%;
	min-height: 450px;
}	

article.update.box {
	padding-top: 15px;
	padding-bottom: 15px;
}
article.update.box .meta .date {
	margin-right: -10px;
}


.sharedaddy {
	margin-top: 45px;
}

.featured .thumb {
	border: 1px solid #eee;
	padding: 2px;
	width: 60px;
	height: 60px;
	max-width: 100%;
	max-height: 100%;
	overflow: hidden;
	display: block;
	border-radius: 8px;
}
	.featured .thumb img {
		border-radius: 8px;
	}
	.featured li h4 {
		margin: 0 0 10px 0;
	}
	.featured li {
		border-bottom: 1px solid #eee;
		padding: 20px 0 20px 0;
	}
	.featured .meta {
        line-height: 1;
    }
    .featured .meta .fields .columns {
		margin-top: 0;
		margin-bottom: 0;
	}

.top-tags a {
	display: inline-block;
	margin-left: 5px;
}

section.section {
	margin: 30px 0 60px 0;
}
section.section .section-title {
	margin: 0 0 30px 0;
	font-weight: 600;
}
	section.section .thumb img {
		border-radius: 5px;
	}

section.general {
	padding-top: 60px;
	border-top: 1px solid #eee;
}
	section.general .left {
		border-right: 1px solid #e7e7e7;
	}
	section.general hr {
		margin: 1px 0;
	}
	section.general .featured .flag {
		display: none;
	}
	section.general .body .pad {
		padding-top: 45px;
		padding-left: 10px;
	}

section.varsity .boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
	section.varsity .box {
		flex-basis: calc(50% - 10px);
		border-top-width: 8px;
	}
	section.varsity .title {
		margin: 0;
		min-height: 90px;
	}
	section.varsity .meta {
		border-top: 1px solid #e7e7e7;
		margin: 0 -30px;
		padding: 15px 30px 0 30px;
	}
	section.varsity .pitch {
		background: #f5f5f7;
		padding-bottom: 40px;
	}

section.subtext {
section.rainmatter,
	background: #f5f5f7;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 60px 0;
}
	section.subtext .box {
		background: var(--color-white);
		border-top-width: 1px;
	}
	section.subtext .section-title,
	section.rainmatter .section-title {
		margin: 45px 0 15px 0;
	}

	section.rainmatter .boxes .box {
	  border-top-color: #000080;
	}

section .recent img {
	background: #eee;
	display: block;
	border-radius: 8px;
	border: 1px solid #e7e7e7;
	overflow: hidden;
}


section.single {
	max-width: 750px;
	margin: 0 auto;
}
	.single .title {
		margin-bottom: 20px;
	}
	.single article .thumb {
		margin-bottom: 45px;
		text-align: center;
	}
	.single article .thumb img {
		border-radius: 8px;
	}
	.single article .content {
		margin: 60px 0 60px 0;
	}
	.single article .author {
		border-top: 1px solid #e7e7e7;
		padding: 15px 0;
	}
	.single article .author .description {
		flex-basis: 0;
		color: #888;
	}

#respond, .comments {
	margin-top: 50px;
}
.comments .comment-count {
	font-size: 1.2rem;
	font-weight: bold;
	display: block;
	margin-bottom: 30px;
}
.comments .comment-count .num a {
	font-size: 1.2rem;
	padding: 7px 10px;
}

#respond textarea {
	width: 100%;
	min-height: 200px;
}
	.comment-list li {
		list-style-type: none;
	}
	.comment-list > li.comment {
		margin-bottom: 30px;
	}
	.comment-list li.comment a {
		color: #187CD0;
	}

	.comment-list li.comment .comment-meta a {
		color: var(--color-grey);
	}

	.comment-list li .avatar { 
		float: right;
		border: 1px solid #eee;
		padding: 2px;
		background: var(--color-white);
	}
	.comment-list img.avatar {
	    max-height: 32px;
	    width: auto;
	}
	.comment-list .comment-meta {
		margin-bottom: 10px;
	}
	.comment-list cite {
		font-weight: 600;
		font-style: normal;
	}
	.comment-list li .comment-reply-link {
		color: #428bca;
	}
		.comment-list li a:hover {
			color: var(--color-grey);
		}
	.comment-list .comment-body {
		position: relative;
		font-size: 13px;
		border-bottom: 1px solid #e7e7e7;
		padding-bottom: 10px;
		margin-bottom: 10px;
	}
	.comment-list .commentlike {
		position: absolute;
		top: 30px;
		right: 0;
		font-size: 0.5rem;
	}
	.comment-list .children {
		padding: 0 0 0 20px;
	}
	#cancel-comment-reply-link {
		font-size: 12px;
		font-family: sans-serif;
		display: block;
	}
/* ________________________________________________________ */

.comment-count {
    display: flex;
}
    .comment-count img {
        max-width: 18px;
        margin-right: 5px;
    }

#sitemap ul {
	list-style-type: none;
}
	#sitemap .cat .sitemap,
	#sitemap .cat .posts {
		margin-left: 30px;
	}
#sitemap > ul {
	margin: 0;
	padding: 0;
}
#sitemap ul ul {
	margin: 0 0 15px 0;
}
#sitemap ul ul h2 {
	font-size: 22px;
}
#sitemap .posts li {
	border-bottom: 1px solid #ddd;
	margin-bottom: 2px;
	padding-bottom: 2px;
}

/* ________________________________________________________ */

a {
	text-decoration: none;
	color: var(--color-grey);
}
	a.blue {
		color: var(--color-blue);
	}
	a.blue:hover {
		color: var(--color-grey);
	}

a:hover {
	color: var(--color-blue);
}

a img {
	border: 0;
}


.align-right {
	text-align: right;
}
.alignleft {
	float: left;
	margin: 5px 10px 5px 0;
}
.alignright {
	float: right;
	margin: 5px 0 5px 10px;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin: 10px auto;
	text-align: center;
}
img.alignleft {
	float: left;
	margin: 5px 10px 5px 0;
}
img.alignright {
	float: right;
	margin: 5px 0 5px 10px;
}
img.aligncenter {
	display: block;
	margin: 10px auto;
	text-align: center;
}
.wp-caption {
	box-shadow: 1px 1px 0 #f3f3f3;
	border: 1px solid #e7e7e7;
	padding: 15px;
	border-radius: 3px;
	text-align: center;
	margin-bottom: 30px !important;
	width: auto !important;
}
	.wp-caption img {
		border: none;
		margin: 0;
		padding: 0;
		width: auto;
		height: auto;
		max-width: 100% !important;
	}
	.wp-caption p.wp-caption-text {
		color: #999;
		margin: 0;
		padding: 0 4px 5px;
	}

.noul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.clear {
	clear: both;
	line-height: 0;
	padding: 0;
	margin: 0;
}

.subscribe input[type=email] {
	width: 100%;
	padding: 15px;
	font-size: 1.3rem;
}
.subscribe button {
	font-size: 1.2rem;
	padding: 15px 25px;
}
	.subscribe .lists {
		margin-top: 15px;
	}
	.subscribe .list {
		display: inline-block;
		margin-right: 15px;
		cursor: pointer;
	}

.blog-desc {
	display: none;
	color: #999;
}

button, .button-primary {
	background: var(--color-blue);
	border: 0;
	border-radius: 50px;
	padding: 10px 30px;
	color: var(--color-white);
	cursor: pointer;
	font-weight: 500;
	display: inline-block;
}
	.button.button-primary:hover {
		background: var(--color-grey);
		color: var(--color-white);
	}
textarea {
	border: 1px solid #ddd;
	padding: 10px;
	font-family: Inter, sans-serif;
}
input[type="submit"].button-primary, input[type="reset"].button-primary, input[type="button"].button-primary {
	background: var(--color-blue);
}

input, textarea {
	font-family: Inter, sans-serif;
	padding: 5px;
	border: 1px solid #ddd;
	border-radius: 3px;
}

@media screen and (max-width: 650px) {
    body {
        font-size: 15px;
        line-height: 1.4;
    }
    h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
    article.primary.box,
	.box {
		padding: 15px !important;
	}
	#header {
		margin: 0 0 15px 0;
		padding: 10px 10px;
	}
	section.home {
		margin: 0;
	}
    #header #burger {
        display: block;
        float: right;
        font-size: 1.5rem;
        z-index: 1000;
    }
    #header .search {
    	margin: 5px 0;
    }
    #header .search input {
    	display: block;
    	width: 100%;
    	max-width: none;
    }
    #header form,
    #header form * {
    	display: block;
    }
    #header .menu {
        display: none;
        position: fixed;
        background: var(--color-white);
        top: 0;
        left: 0;
        right: 0;
        padding: 15px;
        z-index: 900;

        text-align: center;
        box-shadow: 2px 2px 3px #ddd;
    }
	    #header .menu li {
	        display: block;
	        margin: 0 0 15px 0;
	    }

	.featured .columns {
		min-width: auto !important;
	}
	.featured .thumb {
		width: 50px;
		height: auto;
	}

	.pad {
		padding: 15px;
	}
	section.general .body .pad {
		padding: 15px;
	}

	section.home .primary .meta {
		display: none;
	}
	section.home .primary {
		border-radius: 0;
		border-bottom: 1px solid #eee !important;
	}

	section.varsity .box {
		flex-basis: 100%;
	}

	section.general .left {
		min-height: auto;
	}
	section.varsity .title {
		margin: 0;
		min-height: auto;
	}
	.meta .fields .columns {
		min-width: auto !important;
	}
	article.box .meta .flag {
		margin-left: -15px;
	}
	.subscribe .submit {
		margin-top: 15px;
	}
	.blog-desc {
		color: #999;
		margin-bottom: 20px;
		text-align: center;
		display: block;
	}

	.top-tags {
		margin-top: 30px;
	}
	.top-tags strong {
		display: block;
	}
	.top-tags a {
		display: block;
		margin: 5px 0 0 15px;
	}
}
