/*
Theme Name: TD Sarkari Result
Template: generatepress
Theme URI: https://tejaldigital.in
Author: Tejal Digital
Author URI: https://tejaldigital.in
Description: This is a child theme for GeneratePress for use in jumpstarting more customized development.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
.site-header {
  position: relative;
  min-height: 180px;
}
.site-main {
  margin: 0 !important;
}
.single .entry-title,
.page .entry-title {
  display: none;
}

.site-main a.visited-temp {
  color: #551a8f !important;
}

.site-main a:active {
  color: #ff0b01 !important;
}

.no-active a:active {
  color: inherit !important;
}

.no-visited a.visited-temp {
  color: #fff !important;
}

.site-main ul {
  margin-left: 1em;
  padding-left: 0.5em;
}

.site .page ul li {
  margin-bottom: 0.8em;
  line-height: 1.1;
}

body.single-post .entry-content ul li {
  margin-left: 0;
  padding-left: 0.2em;
}

.main-navigation .main-nav ul li {
  border-right: 1px solid #fff;
  padding-right: 3px;
  margin-right: 3px;
}

table[style*="border: none"] td,
table[style*="border:none"] td,
table[style*="border: 1px none"] td,
table[border="0"] td,
table[style*="border-width:0"] td,
table[style*="border:0"] td,
table:not([border]):not([style*="border"]) td {
  padding: 1px 0 !important;
}

body.search .inside-article,
body.archive .inside-article {
  border: 1px solid #ddd;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #fff;
}

body.search .entry-title a,
body.archive .entry-title a {
  font-size: 20px;
  font-weight: 600;
  color: #1a0dab;
  text-decoration: none;
}

body.search .entry-title a:hover,
body.archive .entry-title a:hover {
  color: #f00;
}

body.search .entry-summary,
body.archive .entry-summary {
  color: #444;
  line-height: 1.5;
  margin-top: 0;
  font-size: 15px;
}

body.search .post-image img,
body.archive .post-image img {
  border-radius: 6px;
  margin-bottom: 12px;
  width: 100%;
  height: auto;
}
.entry-content {
  margin-bottom: 20px;
}

.site-branding .main-title a {
  visibility: hidden;
  position: relative;
}

.site-branding .main-title a::after {
  content: "Sarkari Result";
  visibility: visible;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font: inherit;
  color: inherit;
  line-height: inherit;
}
.home_top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.home_top .job-card {
  flex: 1 1 270px;
  max-width: 270px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
}

.home_top .job-card a {
  color: #fff;
  padding: 10px;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

/* Unique background colors for each card */
.home_top .job-card:nth-child(1) {
  background: #fb0303;
}

.home_top .job-card:nth-child(2) {
  background: #fb5e03;
}

.home_top .job-card:nth-child(3) {
  background: #ed13e3;
}

.home_top .job-card:nth-child(4) {
  background: #0d13b5;
}

.home_top .job-card:nth-child(5) {
  background: #868a08;
}

.home_top .job-card:nth-child(6) {
  background: #0080ff;
}

.home_top .job-card:nth-child(7) {
  background: #5f0000;
}

.home_top .job-card:nth-child(8) {
  background: #077822;
}

/* Mobile view */
@media only screen and (max-width: 749px) {
  .home_top .job-card {
    flex: 1 1 160px;
    max-width: 160px;
  }
}
.cat-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.card-wrap {
  flex: 0 0 100%;
  display: flex;
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.category-card .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.view-all {
  margin-top: auto;
  text-align: right;
  display: inline-block;
  font-weight: bold;
}

@media (min-width: 600px) {
  .card-wrap {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (min-width: 992px) {
  .card-wrap {
    flex: 0 0 calc(33.333% - 20px);
  }
}

section.info-cards {
  margin-bottom: 20px;
}

.info-card,
.category-card {
  border: 2px solid #aa183c;
}

.info-card .header,
.category-card .title {
  background: #aa183c;
  padding: 15px;
  color: #fff;
  font-weight: 600;
}

.category-card .title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.info-card .body,
.category-card .body {
  padding: 10px;
}
