/*
Theme Name: Exam Prep Arena
Theme URI: https://linktr.ee/extserve
Description: Theme by Muhammad Sufyan
Version: 1.00
Author: Muhammad Sufyan
*/

html {
  scroll-behavior: smooth !important;
}
.custom-logo {
  height: auto;
  max-width: 100%;
  display: block;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", Sans-serif;
}
.home .exam-board span.elementor-post-info__terms-list-item {
    border: 1px solid var(--e-global-color-accent);
}
.coaches-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px;
}
.coach-box, .our-coach-column.our-coach-name-subjects {
    border: 3px solid var(--e-global-color-accent);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-content: center;
    gap: 20px;
    justify-content: center;
	padding: 15px 5px;
}
.coach-name, .our-coach-name {
    font-size: 40px;
    line-height: 40px;
    color: var(--e-global-color-accent);
    font-weight: 500;
    font-family: "Montserrat", Sans-serif;
    text-align: center !important;
}
.coach-subjects, .our-coach-subjects {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.coach-subjects a, .our-coach-subjects a{
    background: var(--e-global-color-accent);
    padding: 10px 30px;
    border-radius: 19px;
    color: #fff;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}
.coach-description, .our-coach-description {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    font-style: normal;
    display: block;
    text-align: center;
	font-style: normal;
	color: var(--e-global-color-accent);
}
.our-coaches-container {
    display: flex;
    flex-wrap: wrap;
}

.our-coach-box {
    width: 100%;
    margin-bottom: 20px;
}

.our-coach-details {
    display: flex;
    flex-wrap: wrap;
	align-items: center;
}
a.num-link:hover {
    color: #000 !important;
}
.our-coach-column {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.our-coach-experience {
    text-align: center;
    font-size: 18px;
    color: var(--e-global-color-accent);
    font-family: "Montserrat", Sans-serif;
	font-weight: 500;
}
.our-coach-link {
    text-align: center;
}
.our-coach-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--e-global-color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
	border:1px solid var(--e-global-color-accent);
}
a.our-coach-button:hover {
    background: transparent;
    color: var(--e-global-color-accent);
}
.our-coach-link a {
    font-size: 16px;
    font-family: 'Montserrat';
    border-radius: 20px;
}
/* coaches */
/* Container for the coaches */
.our-coaches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
/* Container for coach details */
.our-coach-details {
    display: flex;
    justify-content: space-between;
}

/* First column for coach name and subjects */
.our-coach-name-subjects {
    flex: 1;
}

/* Second column for coach description */
.our-coach-description {
    flex: 1;
}
/* -------------------------- */
.our-coaches-container {
    display: flex;
    flex-direction: column;
}

.our-coach-box {
    width: 100%;
    margin-bottom: 20px;
}

.our-coach-details {
    display: flex;
    flex-wrap: wrap;
}

.our-coach-column {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}

.our-coach-name {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.our-coach-subjects,
.our-coach-experience {
    margin-bottom: 10px;
}

/* .our-coach-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
} */

.our-coach-button:hover {
    background-color: #005177;
}

/* Alternating column order styles */
.reverse-order {
    flex-direction: row-reverse;
}

/* Alternating text alignment for description */
.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}
.exam-board span.elementor-post-info__terms-list-item {
    color: var(--e-global-color-accent);
    padding: 6px 12px;
    border-radius: 25px;
	background:#fff;
}
.course-info p {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}
h2.coachhead {
    font-family: "Montserrat", Sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 25px;
    color: var(--e-global-color-primary);
}
a.enroll-button {
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 700;
	padding: 10px 20px;
	display: inline-block;
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
	border: 1px solid #fff;
    background-color: var(--e-global-color-ef911db);
    border-radius: 25px 25px 25px 25px;
}
a.enroll-button:hover {
	background:var(--e-global-color-primary);
	color:#fff;
	
}
p {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
}
.single li{
	color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
	font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}
.menuc li{
	font-size:16px;
}
.links a:hover {
	color: var(--e-global-color-primary) !important;
}
.subject-courses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
ul.elementor-inline-items.elementor-icon-list-items.elementor-post-info {
    grid-gap: 20px;
}
.coach-courses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
.topical-past .uc_container.uc-items-wrapper {
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}
.topical-past .uc_ac_box .uc-heading.uc_trigger {
    flex-direction: row-reverse;
    justify-content: space-between;
}
.topical-past .uc_ac_box span.fas.fa-chevron-down.uc_dactive.bbb.ue_accordion_icon , .topical-past .uc_ac_box span.fas.fa-chevron-up.uc_active.bbb.ue_accordion_icon {
    border: 1px solid;
    border-width: 0px 0px 0px 1px;
}
/* .page-links.elementor-page-links {
    display: flex;
    justify-content: center;
    grid-gap: 20px;
	align-items: center;
} */
span.page-links-title.elementor-page-links-title {
    display: none;
}
.page-links.elementor-page-links {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	margin-top: 20px;
}
span.post-page-numbers.current {
    background: #0890FF;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
	width: 35px;
    text-align: center;
}
a.post-page-numbers {
    background: #1979D7;
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
	width: 35px;
    text-align: center;
}
a.post-page-numbers:hover {
    background: #0890FF;
}
span.sub-arrow svg {
    fill: #1979D7;
}
.cat-menu a {
    display: flex;
    justify-content: space-between;
	padding: 12px 2px 12px 11px !important;
}
.cat-menu a span.sub-arrow {
    background: #fff;
	padding: 16px !important;
    z-index: 999 !important;
}
.cat-menu a span.sub-arrow svg {
    z-index: 999 !important;
}
.exam-session {
    display: flex;
    flex-direction: column;
    grid-gap: 10px;
}
.exam-boards span, .session-types span {
    color: var(--e-global-color-accent);
    padding: 6px 12px;
    border-radius: 25px;
    background: #fff;
    display: inline-block;
    font-weight: 600;
	font-size: 20px;
}
.exam-boards span a, .session-types span a {
    color: var(--e-global-color-accent);
}
.exam-board span.elementor-post-info__terms-list a {
    background: #fff;
    color: var(--e-global-color-accent) !important;
    padding: 6px 12px;
    border-radius: 25px;
}
.banner-slider .exam-board span.elementor-post-info__terms-list a {
    background: #fff;
    color: var(--e-global-color-accent) !important;
    padding: 6px 12px;
	border:1px solid var(--e-global-color-accent); 
    border-radius: 25px;
}
.post-content p {
    color: #fff !important;
}
/* new post */
        .main {
            background: #f7fafd;
/*             font-family: 'Segoe UI', Arial, sans-serif; */
            margin: 0;
        }
        .main .container {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            padding: 28px 32px 32px 32px;
            margin: 0 auto;
            border-left: 4px solid #2196f3;
        }
        .question-title {
            font-weight: bold;
            font-size: 1.15em;
            margin-bottom: 8px;
            background: #1976d2;
            color: #fff;
            padding: 20px;
            border-radius: 6px;
            word-break: break-word;
        }
        .container .question-title[style*="background:#222"] {
            background: #222 !important;
        }
        .figure-caption {
            text-align: center;
            font-size: 0.95em;
            margin-bottom: 18px;
        }
        .figure-caption img {
            max-width: 100%;
            height: auto;
            margin-bottom: 4px;
        }
        .math {
            margin: 10px 0;
            color: #1976d2;
            font-size: 1.1em;
            word-break: break-word;
        }
        .part {
            margin-top: 22px;
            margin-bottom: 10px;
        }
        .marks {
            float: right;
            background: #1976d2;
            color: #fff;
            border-radius: 16px;
            padding: 4px 14px;
            font-size: 1em;
            font-weight: 600;
            margin-top: -4px;
        }
        .clear { clear: both; }
        .shaded {
            background: #eaf6ff;
            padding: 10px 16px;
            border-radius: 5px;
            margin: 10px 0;
            border-left: 3px solid #2196f3;
        }
        ol[type="i"] {
            margin-left: 20px;
            color: #1976d2;
            font-size: 1.08em;
        }
/*         hr {
            border: none;
            border-top: 1px solid #e0e0e0;
            margin: 18px 0 18px 0;
        } */
        .solution-section {
            margin-top: 40px;
        }
        .solution-title {
            color: #1976d2;
            font-weight: bold;
            font-size: 17px;
            margin-bottom: 6px;
        }
        .solution-subtitle {
            color: #1976d2;
            font-style: italic;
/*             font-size: 1.05em; */
            margin-bottom: 2px;
        }
        .solution-key {
            margin-bottom: 10px;
        }
        .solution-key ul {
            margin: 0 0 0 20px;
            color: #222;
        }
        .solution-key li {
            margin-bottom: 2px;
        }
/*         .solution-key b {
            color: #222;
        } */
        .solution-step {
            margin-bottom: 10px;
        }
        .solution-note {
            color: #1976d2;
            font-size: 0.98em;
            font-style: italic;
            margin-bottom: 10px;
        }
        .solution-math {
			color: #1976d2;
			font-size: 16px;
			line-height: 18px;
			/* margin: 0 0 0 30px; */
			word-break: break-word;
		}
        .solution-final {
            color: #009933;
            font-weight: bold;
            font-style: italic;
            margin-top: 10px;
        }
        .solution-final-box {
            display: inline-block;
            background: #eaffea;
            border: 2px solid #009933;
            color: #009933;
            font-weight: bold;
            font-size: 1.1em;
            padding: 4px 16px;
            border-radius: 6px;
            margin-top: 8px;
        }
        .solution-img-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 18px 0 18px 0;
        }
        .solution-img-center img {
            max-width: 100%;
            height: auto;
            border: 2px solid #222;
            border-radius: 12px;
            margin-bottom: 4px;
        }
        .solution-img-caption {
            font-size: 1em;
            color: #222;
            margin-top: 2px;
        }
        .solution-img-credit {
            font-size: 0.95em;
            color: #444;
            margin-top: 4px;
            margin-bottom: 8px;
        }
        .solution-math-inline {
            color: #1976d2;
            font-size: 16px;
            display: inline;
        }
        .solution-math-green {
            color: #009933;
            font-size: 1.08em;
            display: inline;
        }
        .solution-step ol {
            margin-left: 20px;
        }
        .solution-step li {
            margin-bottom: 6px;
        }
        @media (max-width: 900px) {
            .container {
                max-width: 98vw;
                padding: 18px 8px 24px 8px;
            }
            .question-title {
                font-size: 1em;
                padding: 14px;
            }
        }
        @media (max-width: 600px) {
            .container {
                padding: 10px 2vw 18px 2vw;
                border-left-width: 2px;
            }
            .question-title {
                font-size: 0.98em;
                padding: 10px;
            }
            .solution-math, .math {
                font-size: 1em;
                margin-left: 0;
            }
            .solution-final-box {
                font-size: 1em;
                padding: 3px 8px;
            }
        }

/* new post */
/* new testing */
.part li, .part .shaded, .part p, .part .math {
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 18px;
}
.part strong {
    color: #000 !important;
}
.part.single-row mjx-container[jax="CHTML"][display="true"] {
    display: inline;
}
span.top-bottom-gap {
    margin: 10px 0 !important;
    display: block;
}
.math, .MJX-TEX {
    font-size: 20px !important;
    line-height: 17px !important;
}
.main p {
	font-size: 16px !important;
}
.solution-img-center img {
    max-width: 50% !important;
}
.single-topical-past-paper.postid-3345 .related-course, .single-topical-past-paper.postid-3503 .related-course {
    display: none;
}
mjx-container[jax="CHTML"][display="true"]{
	text-align:left !important;
}
strong {
    color: #1979d7;
}
.math mjx-container.MathJax.CtxtMenu_Attached_0 {
    margin: 5px 0px;
}
/* new testing */
p .solution-final {
	color:#009933;
}
.download-btn h2.elementor-heading-title.elementor-size-default a {
    background-color: var(--e-global-color-primary);
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    fill: var(--e-global-color-ef911db);
    color: var(--e-global-color-ef911db);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-primary);
    border-radius: 25px 25px 25px 25px;
	padding: 11px 20px;
}
.download-btn h2.elementor-heading-title.elementor-size-default a:hover {
    background-color: var(--e-global-color-ef911db);
    color: var(--e-global-color-primary);
}
/* worksheet table css */
/* ==============================
   TABLE BASE
   ============================== */
.single-booklet table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
/*   font-family: Arial, sans-serif; */
  border: 1px solid #dcdcdc;
}

/* ==============================
   CELLS
   ============================== */
.single-booklet table td {
    padding: 14px;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    vertical-align: top;
    font-weight: 500;
}

/* ==============================
   FIRST ROW (HEADER LOOK)
   ============================== */
.single-booklet table tr:first-child td {
  background: #0d6efd;
  color: #ffffff;
  font-weight: 600;
  border-color: #0b5ed7;
}

/* ==============================
   COLUMN STYLING
   ============================== */
.single-booklet table tr td:nth-child(1) {
  width: 18%;
/*   font-weight: 600; */
  color: #0d6efd;
}

.single-booklet table tr td:nth-child(2) {
  width: 27%;
/*   font-weight: 600; */
}

.single-booklet table tr td:nth-child(3) {
  width: 55%;
}

/* Header row color override fix */
.single-booklet table tr:first-child td {
  color: #fff;
}
.single-booklet table tr:first-child td strong {
    color: #fff;
}

/* ==============================
   ROW HOVER
   ============================== */
.single-booklet table tr:not(:first-child):hover {
  background: #f4f8ff;
}

/* new css	 */
/* Default: Desktop */
.desktop-view {
  display: block;
}

.mobile-view {
  display: none;
}
p.leftptag {
    text-align: left;
}	
/* new css	 */	


/* ==============================
   MOBILE RESPONSIVE
   ============================== */
@media (max-width: 768px) {

  /* Scroll container */
  .single-booklet table {
    display: table;
    width: 100%;
    min-width: 700px; /* 👈 main fix */
    overflow-x: auto;
    border-collapse: collapse;
  }

  /* Table wrapper scroll */
  .single-booklet {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent awkward breaks */
  .single-booklet table td,
  .single-booklet table th {
    white-space: normal;
    word-break: normal;
  }

  /* Better readability */
  .single-booklet table td {
    padding: 12px;
    font-size: 14px;
  }
	/* Scroll wrapper */
  .single-booklet .tablecontainer {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Table stays table */
  .single-booklet .tablecontainer table {
    width: 100%;
    min-width: 700px; /* force horizontal scroll */
    border-collapse: collapse;
  }

  /* Clean text wrapping */
  .single-booklet .tablecontainer td {
    white-space: normal;
    word-break: normal;
    padding: 12px;
  }
}


/* worksheet table css */
@media (max-width:767px){
	
/* new css	 */
 .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
  }	
.solution-final-box mjx-container[jax="CHTML"][display="true"], mjx-container[jax="CHTML"][display="true"]  {
    margin: 0px;
}	
/* new css	 */	
	.our-coaches-container {
    display: flex !important;
    flex-direction: column !important;
}
.our-coach-details, .coaches-container {
    display: flex;
    flex-direction: column !important;
}
.our-coach-column {
    width: 100% !important;
}
.our-coach-description {
    text-align: left !important;
}
/* .course-item {
    flex-direction: column !important;
    width: 100% !important;
} */
.coach-description, .our-coach-description {
    font-size: 18px;
}
.coach-name, .our-coach-name {
    font-size: 30px;
    line-height: 35px;
}
.subject-courses, .coach-courses, .session-type-courses, .exam-board-courses .row {
    grid-template-columns: 1fr !important;
}
.course-item {
    flex-direction: column !important;
}
.page-links.elementor-page-links {
    display: grid;
    justify-content: center;
    grid-gap: 4px;
    align-items: center;
    flex-direction: column;
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.PL0 p span {
    font-size: 11pt !important;
}
.PL0 p {
    font-size: 15pt !important;
}
p.P161 span {
    font-size: 5pt !important;
}
div#h5p_6684751e715a2 p.P161 {
    margin-left: 0 !important;
}
body .single-topical-past-paper{
	overflow-x:hidden !important;	
}
.single p, .single li {
    font-size: 16px;
    line-height: 20px;
}
.math {
    margin-left: 0 !important;
}
.main .container {
	padding: 28px 8px 30px 8px !important;
}
ol {
    padding: 0px 12px;
}
.single li {
    font-size: 14px;
}
.math, .MJX-TEX {
    font-size: 16px !important;
    line-height: 12px !important;
}
span.marks {
    margin: 4px;
    padding: 4px 10px;
    font-size: 13px;
}
/* resonsive overflow testing */
/* .math {
  overflow-x: auto; 
  overflow-y: hidden;
  max-width: 100%;
}

.math mjx-container {
  display: inline-block !important;
  max-width: 100%;
  overflow-x: auto;
  white-space: normal !important;
  text-align: center;
}

.math mjx-math {
  display: inline-block !important;
  max-width: 100%;
  word-wrap: break-word;
} */
.math,
.solution-math {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  display: block;
  text-align: center;
}

.math mjx-container,
.solution-math mjx-container {
  display: block !important;
  max-width: 100%;
  overflow-x: auto;
  white-space: normal !important;
}

.math mjx-math,
.solution-math mjx-math {
  display: inline-block !important;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;
}
.worksheet-grid {
    grid-template-columns: 1fr !important;
}	
/* resonsive overflow testing */	
}