/*
Theme Name: Atoallinks
Theme URI: https://www.atoallinks.com/
Description: Atoallinks is a classic blogging theme.
Version: 1.0.2
Author: Shivani Verma
Text Domain: Atoallinks
*/

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--background);
	border-color: var(--wp--preset--color--secondary);
}

.wp-block-table figcaption {
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}

/*
 * Navigation Block
 * Reset the padding from List block
 * https://github.com/WordPress/gutenberg/issues/50486
 */
.wp-block-navigation ul {
	padding: unset;
}
:root {
    --muted: #6b6b6b;
    --brown: #505050;
    --orange: #d79c6a;
}
body {
    font-family: "Montserrat", sans-serif;
    color: #2B2B2B;
}
a {
	color: #d79c6a;
    text-decoration: none !important;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: "Montserrat";
    color: #2b2b2b;
}
.fa-brands, .fab {
    font-weight: 400;
    font-size: 14px;
}

/* Top bar */
.top-bar {
    background: #313131;
    border-bottom: 1px solid #444;
    padding: 10px 15px;
}
.side-post h6 a {
    color: #000000;
}
span.post-left {
    display: flex;
	gap: 5px;
}
.btn-login {
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 0 15px;
    font-size: 11px;
    color: #fff;
    border-radius: 100px;
    line-height: 24px;
    display: inline-block;
    position: relative;
}
.btn-login:hover {
    background: #fff;
    color: #000;
}

a.nav-link {
    color: #3d3d3db0 !important;
}

a.nav-link:hover,
a.nav-link.active {
    color: var(--brown) !important;
}

/* Menu links */
.middle-nav .nav-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--brown);
    letter-spacing: 1px;
}

.middle-nav .nav-link:hover {
    color: #000;
}

/* Icons */
.nav-icon {
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.nav-icon:hover {
    color: #000;
}

/* Bookmark count bubble */
.count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--brown);
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

/* Logo */
.site-logo {
    max-height: 55px;
}

/* Section titles */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.author-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 5px;
}

.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.main-blog {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.equal-col {
    height: 480px;
    overflow-y: auto;
}
.equal-col::-webkit-scrollbar {
    width: 4px!important;
}
.equal-col::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Tabs */
.section-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-line {
    flex-grow: 1;
    height: 1px;
    background: #5b5b5b;
    margin-left: 10px;
}

.tab-btn {
    background: none;
    border: 1px solid var(--brown);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.tab-btn.active {
    background: var(--brown);
    color: #fff;
}

/* Overlay */
.post-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 0.95) 100%);
}


/* Featured card */
.post-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;

}
.side-post img {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 10px;
}
.post-card .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 42px !important;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.0) 0%,
            rgba(0, 0, 0, 0.75) 50%,
            rgba(0, 0, 0, 0.95) 100%);
    color: #fff;
}
.badge-cat {
    color: var(--orange);
    font-weight: 700;
    font-size: 12px;
	text-transform: uppercase;
}
.post-card h3,
.post-card h4 {
    color: #fff;
}

/* Sidebar small posts */
.side-post {
    align-items: flex-start;
}

.side-post h6 {
    font-size: 18px;
    font-weight: 700 !important;
    margin: 0;
	padding-right: 9px;
    text-transform: none;
}
.side-post small {
    color: #8d8d8d;
    font-size: 11px;
    font-family: "Montserrat";
}
.post-card small {
    font-size: 11px;
    color: #fff;
}
a.nav-link.active-menu {
    color: #505050 !important;
}

/* Guest posts grid */
.guest-card {
    background: #fff;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .1);
}
.post-paragraph {
    font-size: 16px;
    color: #474747 !important;
}
.post-title {
    font-size: 24px;
    font-weight: 700;
}
.post-title a {
    color: #2b2b2b;
}
.post-info {
    color: #8d8d8d;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}
.separator {
    opacity: 0.6;
    margin: 0 6px;
}
/* Footer */
.footer {
    padding: 40px 0;
    background: #111;
    color: #fff;
    text-align: center;
}
footer .footer-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

footer .footer-link:hover {
    color: var(--orange) !important;
}

footer ul {
    list-style: none;
    padding: 0;
}


/* ABOUT PAGE HEADER */
.about-header {
    background-color: #fbfbfb;
}

.breadcrumb-text {
    font-size: 12px;
    color: #6c757d;
}

.breadcrumb-link {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-current {
    font-weight: bold;
    color: #616161;
}
span.breadcrumb-separator {
    padding: 0px 5px;
}

/* ABOUT CONTENT */
.secondary-content {
    padding: 60px 0;
}

.secondaryt-text {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}


/* FOLLOW US LINE */
.follow-line {
    width: 100%;
    height: 1px;
    background-color: #8adcab;
    margin: 15px 0;
}

/* ICON STYLING */
.follow-fa-icon {
    background: #f79468;
    color: #ffffff;
    width: 80px;
    height: 80px;
    line-height: 60px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s ease;
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HOVER EFFECT */
.follow-fa-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.icon-lg {
    font-size: 44px;
}

.guidelines-text {
    font-size: 17px;
    line-height: 30px;
}

/* all-niche css */

/* Breadcrumb font */
.breadcrumb-sm {
    font-size: 14px;
}

/* Grid Styling */


.niche-item {
    font-size: 24px;
    font-weight: 700;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
}

/* icon */
.niche-icon {
    font-size: 20px;
    width: 22px;
}

/* Hover */
.niche-item:hover {
    color: #000;
    transform: translateX(3px);
    transition: 0.2s ease-in-out;
}

/* Main Container */
.blog-container {
    max-width: 900px;
	margin: 36px 0px;
}

/* Category */
.blog-category {
    color: #d9534f;
    font-size: 13px;
}

/* Title */
.blog-title {
    font-size: 32px;
    line-height: 1.3;
    color: #111;
}

/* Meta Box */
.meta-box {
    font-size: 14px;
    color: #666;
}

/* Blog Content */
.blog-content {
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}

/* Subheadings */
.blog-subtitle {
    font-size: 22px;
}

.author-box {
    border-top: 1px solid #ddd;
    width: 100%;
}

.author-inner {
    background: #f1f1f1;
    padding: 40px;
    border-radius: 8px;
}

.author-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}


/* Featured Image */
.blog-feature-img {
    width: 100%;
    border-radius: 8px;
}

/* Meta Info Author Image */
.meta-box .meta-author-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: inline-block;
}

/* custom-pagination */

ul.page-numbers {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
	list-style: none;
}
.custom-pagination .page-numbers {
    padding: 8px 16px;
    border-radius: 50%;
    font-size: 15px;
    color: #444;
    text-decoration: none;
    transition: 0.3s;
	justify-content: center;
}
.custom-pagination .page-numbers:hover {
    color: #f63a4c;
}
.custom-pagination .current {
    background: #f63a4c;
    color: #fff !important;
}
.custom-pagination .dots {
    font-size: 18px;
    color: #444;
}
.custom-pagination .next, .custom-pagination .prev {
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: 0.3s;
}
.custom-pagination .next:hover, .custom-pagination .prev:hover {
    border-color: #f63a4c;
    color: #f63a4c;
}
footer a {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}
footer a:hover {
    color: #d79c6a;
}
i.fa-regular.fa-clock {
    padding: 0px 5px;
}
.separator-line {
    height: 0.5px;
    background: #ddd;
    flex-grow: 1;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

/**************************** Search Popup Start *********************************/
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-box {
    background: #fff;
    width: 70%;
    max-width: 900px;
    padding: 25px 30px;
    border-radius: 50px;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 15px;
}
.search-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 20px;
	font-weight: 400;
	font-style: italic;
	color: #9e9e9e;
}
.search-form i {
    font-size: 17px;
    padding-top: 3px;
    cursor: pointer;
    color: #9e9e9e;
}
/* Remove default browser clear (X) icon */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

/**************************** Search Popup End *********************************/

/**************************** MOBILE HEADER Start *********************************/
.mobile-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    color: #999;
    padding: 0px 10px;
}
.count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #505050;
    color: #fff;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 50%;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-inner {
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    padding: 25px 5px;
    transform: translateX(-100%);
    transition: .3s ease;
}
.mobile-menu.active .mobile-menu-inner {
    transform: translateX(0);
}
.close-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
}
.mobile-search input {
    border-radius: 8px;
    border: 1px solid #ddd;
    line-height: 27px !important;
    margin-bottom: 0;
    font-size: 13px;
	padding: 10px 15px;
}
.login-btn {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
}
.mobile-menu-list li {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}
.mobile-menu-list a {
    text-decoration: none;
}
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu-list li {
    border-bottom: 1px solid #ddd;
}
.mobile-menu-list li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #8d8d8d;
    font-size: 13px;
    font-weight: 700;
}
.current_page_item a {
    color: #505050;
}
.mobile-menu-list li a:hover {
    background-color: #f5f5f5;
}
.mobile-search {
    width: 100%;
}
.search-wrapper {
    position: relative;
    width: 100%;
}
.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}
.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    cursor: pointer;
}
header.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0px 10px;
}
/**************************** MOBILE HEADER End *********************************/

.blog-content h2 {
    font-size: 24px;
	padding: 15px 0px 
}
.blog-content ul {
    list-style-type: disc;
	color: #616161;
}
.single-post-wrapper {
    align-items: flex-start;
}
.post-social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 15px;
	font-size: 18px;
    color: #505050;
    transition: 0.2s ease;
}
.post-social-icons a:hover {
    background: #f5f5f5;
}
.text-muted {
    font-size: 13px;
	color: #8d8d8d!important;
}
.post-social-icons a:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: #fff;
}
.single-page-author .author-img {
    width: 130px;
    height: auto;
    object-fit: cover;
    border-radius: 1000px!important;
}
.error-404-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-404-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    padding: 40px;
}
.error-404-left {
    position: relative;
}
.error-circle {
    width: 280px;
    height: 280px;
    background: #f63a4c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-circle span {
    font-size: 96px;
    font-weight: 700;
    color: #fff;
}
.error-shadow {
    width: 160px;
    height: 12px;
    background: #eee;
    border-radius: 50%;
    margin: 20px auto 0;
}
.error-404-right h1 {
    font-size: 48px;
    margin-bottom: 16px;
    color: #505050;
	font-weight: 900;
}
.error-404-right p {
    max-width: 420px;
    font-size: 18px;
    color: #848484;
    line-height: 140%;
    margin-bottom: 40px;
}
.error-404-right form {
    margin: 20px 0;
}
.home-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #000;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
}
.home-btn:hover {
    background: #333;
}


/* Responsive tweaks */
@media (max-width: 480px) {
    .search-input {
        padding: 8px 35px 8px 12px;
        font-size: 14px;
    }
    .search-icon {
        right: 10px;
        font-size: 16px;
    }
	.error-circle {
		width: 220px;
		height: 220px;
	}
	.error-circle span {
		font-size: 85px;
	}
	.error-shadow {
		width: 100%;
	}
	.error-404-right h1 {
		font-size: 42px;
	}
	
}

@media (max-width:576px) {
    .container-lg {
        padding: 13px;
    }
    .main-blog {
        width: 100%;
        height: 340px;
        object-fit: cover;
    }
    .niche-item {
        font-size: 15px;
    }
    .post-title {
        font-size: 19px;
    }
    .guest-card {
        padding: 20px 18px;
    }
    .post-paragraph {
        font-size: 15px;
    }
    .site-logo {
        max-height: 35px;
    }
    .icon-lg {
        font-size: 24px;
    }
    .follow-fa-icon {
        width: 60px;
        height: 60px;
    }
    .blog-title {
        font-size: 23px;
    }
    .blog-subtitle {
        font-size: 20px;
    }
    .author-img {
        width: 60px;
        height: 60px;

    }
    .custom-pagination {
        gap: 6px;
    }
	.author-inner {
		flex-direction: column;
		width: 100%;
	}

}

@media (max-width:768px) {
    .mob-container {
        justify-content: center !important;
    }
    .btn-login {
        font-size: 14px;
    }
    .fa-brands, .fab {
        font-size: 16px;
    }
	.separator-line {
        display: none;
    }
	.section-header {
		align-items: flex-start;
		flex-direction: column;
	}
	.error-404-container {
		flex-direction: column;
	}

}

@media (max-width: 800px) {
	.titlebar {
		flex-direction: column;
	}
	.single-post-wrapper {
		flex-direction: column-reverse;
	}
	.post-social-icons {
		flex-direction: row!important;
		gap: 10px;
	}
}
	
@media (max-width: 992px) {
    .side-post img {
        width: 80px;
        height: 90px;
    }
    .post-card .overlay {
        padding: 18px;
    }
    .side-post h6 {
        font-size: 16px;
        padding-right: 10px;
    }

    .secondary-content {
        padding: 40px 0 80px;
        height: 100%;
    }

    .post-card .overlay {
        padding: 22px !important;
    }

    .about-text {
        font-size: 16px;
    }

}

@media (max-width:1024px) {
    .container-lg {
        padding: 13px 25px !important;
    }

}
.fw-btn {
	display: inline-block;
	margin-bottom: 0;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	text-decoration: none;
	white-space: nowrap;
	outline: none;
	padding: 8px 20px;
	font-size: 14px;
	line-height: 1.6;
	border-radius: 4px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-ms-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.fw-btn span {
	display: block;
}
.fw-btn:hover,
.fw-btn:focus {
	text-decoration: none;
	outline: none;
	opacity: 0.85;
}
.fw-btn:active {
	box-shadow: inset 0 0 20px #2e935f;
}
.fw-btn i {
	margin-right: 5px;
}
.fw-btn i.pull-right {
	margin: 0 0 0 8px;
	position: relative;
	top: 0.3em;
}
/* Additional styles */
.fw-btn.fw-btn-round {
	border-radius: 38px;
}
.fw-btn.fw-btn-square {
	border-radius: 0 !important;
}
.fw-btn.fw-btn-outline,
.fw-btn.fw-btn-borders {
	background: transparent;
	box-shadow: none;
	text-shadow: none;
}
/* Button Sizes */
.fw-btn.fw-btn-lg {
	padding: 15px 35px;
	font-size: 17px;
	line-height: 1.33;
	border-radius: 6px;
}
.fw-btn.fw-btn-lg.fw-btn-round {
	border-radius: 52px;
}
.fw-btn.fw-btn-lg i.pull-right {
	top: 0.2em;
}
.fw-btn.fw-btn-sm {
	padding: 4px 12px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
}
.fw-btn.fw-btn-sm.fw-btn-round {
	border-radius: 30px;
}
.fw-btn.fw-btn-sm i.pull-right {
	top: 0.2em;
}
.fw-btn.fw-btn-full {
	width: 100%;
}
/* Button Style 1 */
.fw-btn-1 {
	background-color: #5bcc92;
	border-color: transparent;
	border-width: 2px;
	color: #ffffff;
	font-family: Arial;
	font-size: 14px;
	font-weight: bold;
	/* btn colors */
}
.fw-btn-1.fw-btn-outline {
	border-color: #5bcc92;
	color: #5bcc92;
}
.fw-btn-1.fw-btn-outline:hover,
.fw-btn-1.fw-btn-outline:focus {
	background-color: #5bcc92;
	color: #ffffff;
}
.fw-btn-1:hover,
.fw-btn-1:focus {
	background-color: #82d8ac;
	color: #ffffff;
}
.fw-btn-1.fw-btn-rounded {
	border-radius: 4px;
}
.fw-btn-1.fw-btn-borders {
	border-top: 2px solid #5bcc92;
	border-bottom: 2px solid #5bcc92;
	color: #5bcc92;
	border-radius: 0;
}
.fw-btn-1.fw-btn-borders:hover,
.fw-btn-1.fw-btn-borders:focus {
	background-color: #5bcc92;
	color: #ffffff;
}
.fw-btn-1.fw-btn-black {
	background-color: #000000;
	border-color: #000000;
	color: #ffffff;
}
.fw-btn-1.fw-btn-black:active {
	box-shadow: inset 0 0 20px #333333;
}
.fw-btn-1.fw-btn-blue {
	background-color: #3c9beb;
	border-color: #3c9beb;
	color: #ffffff;
}
.fw-btn-1.fw-btn-blue:active {
	box-shadow: inset 0 0 20px #1267af;
}
.fw-btn-1.fw-btn-green {
	background-color: #44ac48;
	border-color: #44ac48;
	color: #ffffff;
}
.fw-btn-1.fw-btn-green:active {
	box-shadow: inset 0 0 20px #276329;
}
.fw-btn-1.fw-btn-red {
	background-color: #cb1e1b;
	border-color: #cb1e1b;
	color: #ffffff;
}
.fw-btn-1.fw-btn-red:active {
	box-shadow: inset 0 0 20px #71110f;
}
