/*
Theme Name: Educational University
Theme URI: https://www.theclassictemplates.com/products/free-education-center-wordpress-theme
Author: classictemplate
Author URI: https://www.theclassictemplates.com/
Description: The Educational University Theme is a modern, professional, and SEO-optimized solution crafted for universities, colleges, and institutions focused on education and e-learning, helping them build a strong and engaging digital presence. Ideal for showcasing academic programs, online courses, faculty profiles, scholarships, campus life, research projects, and alumni achievements, it features a responsive, mobile-friendly, and retina-ready layout for smooth performance across all devices. Customizable sections let you display course catalogs, workshops, admission details, virtual tours, online lectures, and academic events effortlessly. Built with lightweight, clean, and optimized code, it ensures fast loading, enhanced rankings, and a user-friendly experience. Integrated with powerful plugins like WooCommerce for course enrollment, fee payment, and product sales, The Events Calendar for academic event management, and LearnPress for managing online learning systems, this theme covers every educational need. Social media integration supports student engagement and institutional outreach, while flexible customization options for colors, fonts, and layouts help reflect the university’s identity. Whether for traditional universities or modern e-learning centers, the Educational University Theme provides a dynamic, feature-rich, and visually engaging platform to promote education and connect with students globally.
Version: 0.3.7
Tested up to: 7.0
Requires PHP: 5.6
Requires at least: 5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: educational-university
Tags: blog, portfolio, education, one-column, two-columns, three-columns, four-columns, grid-layout, left-sidebar, right-sidebar, custom-logo, post-formats, featured-images, full-width-template, custom-colors, editor-style, flexible-header, footer-widgets, wide-blocks, custom-header, translation-ready, custom-background, custom-menu, sticky-post, threaded-comments, rtl-language-support, theme-options

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Educational University WordPress Theme has been created by classictemplate (theclassictemplates.com), 2025.
Educational University WordPress Theme is released under the terms of GNU GPL
*/

* {
  margin: 0;
  padding: 0;
}

:root {
  /*--first-theme-color: #7c0603;*/
  --first-theme-color: #7c0603;
  
      --tgmrn-theme: #7c0603;
    --tgmrn-theme-dark: #5a0402;
    --tgmrn-theme-light: #a80d08;

    --tgmrn-gold: #f5b342;
    --tgmrn-gold-light: #ffd966;

    --tgmrn-bg: #f6f4f0;

    --tgmrn-text-dark: #1e1e1e;
    --tgmrn-text-muted: #5a5a5a;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: #000000;
  font-family: "Jost", serif;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  background-color: #ffffff;
}

img {
  border: none;
  margin: 0;
  padding: 0;
  height: auto;
  max-width: 100%;
}

a {
  color: #000000;
  text-decoration: none;
  word-wrap: break-word;
  cursor: pointer;
}

a:hover {
  color: #000000;
  text-decoration: none;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

.wp-caption,
.wp-caption-text,
.sticky,
.gallery-caption,
.aligncenter {
  margin: 0;
  padding: 0;
  max-width: 100% !important;
}

.sticky {
  background: #ededed;
}

.entry-content ol li,
.entry-content ul li {
  margin-left: 15px;
}

.entry-content a,
.contentsecwrap a {
  text-decoration: underline;
}

ul li ul,
ul li ul li ul,
ol li ol,
ol li ol li ol {
  margin-left: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
  word-wrap: break-word;
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 14px;
}

:hover {
  transition-duration: 0.5s;
}

.clear {
  clear: both;
}

.alignnone {
  width: 100% !important;
}

img.alignleft,
.alignleft {
  float: left;
  margin: 0 15px 0 0;
  padding: 5px;
  border: 1px solid #cccccc;
}

img.alignright,
.alignright {
  float: right;
  margin: 0 0 0 15px;
  padding: 5px;
  border: 1px solid #cccccc;
}

.left {
  float: left;
}

.right {
  float: right;
}

#comment-nav-above .nav-previous,
#comment-nav-below .nav-previous {
  float: none !important;
  margin: 10px 0;
}

h2#reply-title {
  padding-top: 20px;
}

ol.comment-list li {
  list-style: none;
  margin-bottom: 5px;
}

.comment-content p {
  color: #292D32;
}

p {
  color: #292D32;
}

.woocommerce nav.woocommerce-pagination ul,
.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background-color: var(--first-theme-color);
  color: #ffffff;
  padding: 10px 12px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: var(--first-theme-color);
  color: #ffffff;
  padding: 10px 12px;
}

.woocommerce-page p {
  color: #292D32;
}

.custom-logo{
    margin-bottom: 10px;
    text-align: center !important;
    /*margin-left: auto !important;*/
    margin-right: auto !important;
    display: block !important;
}

.single-product .product_meta {
  margin-top: 20px;
}

.single-product .woocommerce-product-gallery__wrapper img {
  height: 500px !important;
  width: 500px !important;
}

.boxlayout {
  width: 1140px;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
  box-shadow: 0 -8px 8px #8e8e8e;
}

.single-post .kk-star-ratings .kksr-legend {
  font-size: 15px !important;
}

.single-post .comment-respond .comment-form-cookies-consent {
  display: flex;
}

.single-post .comment-respond .comment-form-cookies-consent label {
  margin-left: 10px;
}

/* Wishlist */
.wishlist_table.mobile {
  padding-left: 0;
}

.wishlist_table.mobile table {
  width: auto;
}

.wishlist_table.mobile li {
  padding: 15px;
  border: 1px solid #000000;
}

.cart.wishlist_table .additional-info-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
  display: grid;
  grid-template-columns: 2fr 50%;
  gap: 10px;
}

.wishlist_table.images_grid li .item-details table.item-details-table td.label,
.wishlist_table.mobile li .item-details table.item-details-table td.label,
.wishlist_table.mobile li table.additional-info td.label,
.wishlist_table.modern_grid li .item-details table.item-details-table td.label {
  font-size: 16px !important;
  font-weight: 500;
}

.wishlist_table.mobile li .item-details table.item-details-table td,
.additional-info .value {
  font-size: 14px !important;
  padding: 6px !important;
  font-family: "Jost", serif;
}

/*post formate*/
.format-gallery .wp-block-gallery,
.format-video figure {
  margin-bottom: 15px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

a:focus,
input[type='submit']:focus,
input[type='search']:focus,
textarea:focus,
input[type='name']:focus,
input[type='email']:focus,
.toggle-nav button:focus,
a.close-button:focus,
#commentform input#email:focus,
#commentform input#url:focus,
#commentform input#author:focus,
#commentform textarea:focus,
#commentform input#eazycfc_captcha:focus,
.serach_inner button[type="submit"]:focus,
.serach_inner input[type="submit"]:focus {
  outline: -webkit-focus-ring-color auto 1px;
}

.main-nav ul.sub-menu li a:focus,
.main-nav ul ul a:focus,
.serach_inner input[type="submit"]:focus {
  border: 2px solid var(--first-theme-color);
  outline: none;
}

.main-nav a:focus,
.search-box button:focus,
.search-outer button.search-close:focus {
  border: 2px solid #000;
  outline: none;
}

input:focus {
  border: 2px solid #000000;
}

.textwidget p a,
.entry-content p a,
.entry-summary a {
  text-decoration: underline !important;
}

.comment-content p a,
.description p a {
  text-decoration: underline !important;
}

.single-post .entry-content p {
  color: #292D32;
}

/* = wide block css
-------------------------------------- */
.single-post .alignfull,
.single-post .alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*block css*/
.site-main .alignfull,
.site-main .alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px;
}

.site-main .alignfull img {
  width: 100% !important
}

.site-main .alignnone,
.site-main .aligncenter {
  width: auto !important;
}

.site-main .alignleft {
  margin-right: 10px;
}

.postsec-list .wp-block-button a:hover,
.site-main .wp-block-button a:hover,
.site-main .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover,
.postsec-list .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background):hover {
  background-color: #000000 !important;
  color: #fff !important;
}

.postsec-list .wp-block-button.is-style-squared a,
.site-main .wp-block-button.is-style-squared a {
  border-radius: 0px !important;
}

.postsec-list .wp-block-button__link,
.site-main .wp-block-button__link {
  background: var(--first-theme-color);
  color: #111 !important;
  border-radius: 30px;
  font-weight: 500 !important;
}

.site-main .wp-block-button.is-style-outline a,
.postsec-list .wp-block-button.is-style-outline a {
  background: none;
  border: 1px solid var(--first-theme-color);
  color: #fff !important;
}

.site-main img.alignleft,
.site-main .alignleft,
.site-main img.alignright,
.site-main .alignright,
.postsec-list img.alignleft,
.postsec-list .alignleft,
.postsec-list img.alignright,
.postsec-list .alignright {
  border: none;
}

.tags a {
  text-decoration: none !important;
  font-weight: 400;
  color: #ffffff !important;
  background: var(--first-theme-color);
  box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
  text-shadow: none;
  line-height: 3.5;
  padding: 8px;
  margin: 5px;
  border-radius: 5px;
  font-size: 15px;
}

.tags a:hover {
  background-color: #000000;
  color: #fff !important;
}

/*-----------------Search pop up----------------*/
.serach_inner {
  background: var(--first-theme-color);
  max-height: 150px;
  display: flex;
  justify-content: center;
  position: relative;
  box-shadow: 0px 0px 12px #c0bebe;
  transition: 1s height ease-in-out;
}

.search-close {
  position: absolute;
  top: 0;
  font-size: 40px;
  z-index: 9999;
  right: 50%;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.5s height ease-in-out;
}

.serach_inner form.search-form,
.serach_inner form.woocommerce-product-search {
  width: calc(100% - 30px);
  color: #fff;
  border: none;
  position: absolute;
  bottom: 20px;
  display: flex;
  padding: 0;
  border-radius: 0;
  background: #ffffff;
  max-width: 1200px;
  text-align: left;
  border-radius: 4px;
}

.serach_inner form.search-form label {
  width: 95%;
}

.serach_inner input.search-field {
  padding: 10px;
  font-size: 20px;
  font-weight: 500;
  color: #112b38;
  max-height: 1200px;
  border: 0;
  width: 100%;
}

.serach_inner input.search-submit {
  padding: 8px 35px;
  margin: 5px 0;
  font-size: 20px;
}

.search-box button {
  background: transparent;
  border: 0;
}

.search-outer {
  background: rgb(0 0 0 / 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  visibility: hidden;
  text-align: center;
  height: 100%;
  transition: 1s height ease-in-out;
  z-index: 999;
}

body.search-focus .search-outer {
  visibility: visible;
  transition: 1s height ease-in-out;
}

body.admin-bar .serach_inner {
  margin-top: 32px;
}

body.admin-bar .search-close {
  top: 50px;
}

button.search-submit {
  border: 0;
  background: transparent;
}

input.search-field {
  border: 1px solid #000000;
  padding: 4px 0;
  background: transparent;
  width: 95%;
}

.search-box button {
  background: none;
  border: none;
}

.serach_inner button[type="submit"],
.serach_inner input[type="submit"] {
  text-indent: -9999px;
  z-index: 1;
  background: url(images/search.png) no-repeat 16px #000000;
  margin: 0;
  background-size: 20px;
  right: 0;
  width: 60px;
  height: 100%;
  border-radius: 4px;
}

.modal-content {
  background: transparent;
  border: 0;
}

.modal-dialog {
  pointer-events: all;
}

.modal-body {
  padding: 0;
}

#myModal,
.modal-open {
  padding: 0 !important;
}

.modal-open {
  overflow-y: scroll;
}

body.admin-bar .serach_inner {
  margin-top: 32px;
}

body.admin-bar .closepop {
  top: 30px;
}

/*scroll to top*/
#button {
  background: var(--first-theme-color);
  color: #ffffff;
  cursor: pointer;
  width: fit-content;
  padding: 5px;
  padding-top: 22px;
  height: 60px;
  aspect-ratio: 1;
  text-align: center;
  position: fixed;
  border-radius: 50%;
  bottom: 60px;
  right: 20px;
  z-index: 9999;
  -moz-border-radius: 0;
  font-size: 15px;
  display: none;
}

.scroll-btn:hover {
  background: #000 !important;
}

#site-navigation .close-button {
  background: var(--first-theme-color) !important;
}

a.wc-block-components-checkout-return-to-cart-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: #000 !important;
}

.woocommerce-checkout a.wc-block-components-checkout-return-to-cart-button {
  padding: 10px 25px !important;
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: var(--first-theme-color);
  z-index: 9999;
}

.admin-bar #progress-bar {
  top: 32px;
}
/* Dot Cursor */
@media only screen and (min-width:768px){
  .cursor-point,
  .cursor-point-outline {
      z-index: 1100;
      pointer-events: none;
      position: fixed;
      top: 50%;
      left: 50% ;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      border-radius: 50%;
      
      -webkit-transition: opacity 0.3s ease-in-out,
      -webkit-transform 0.3s ease-in-out;
      transition: opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
      transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
      transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out,
      -webkit-transform 0.3s ease-in-out;
  }
  .cursor-point {
      width: 8px;
      height: 8px;
      background-color: var(--first-theme-color);
  }
  .cursor-point-outline {
      width: 30px;
      height: 30px;
      background-color: var(--first-theme-color);
      opacity: 0.4 !important;
  }
}
/* = pre loader css
-------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 999999;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(images/status.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

/*logo*/
h1.site-title,
p.site-title {
  font-size: 30px;
  margin-bottom: 0;
  font-weight: 600;
  color: #000000;
}

p.site-title a,
h1.site-title a {
  color: #000000;
  font-size: 30px;
  text-transform: capitalize;
}

.page-template-template-home-page p.site-title a,
.page-template-template-home-page h1.site-title a {
  color: #000000;
}

p.site-title {
  line-height: 1.3;
}

.page-template-template-home-page h1.site-title a:hover {
  color: var(--first-theme-color);
}

.educational-university-logo span.site-description {
  font-size: 13px;
  font-weight: 500;
  color: #000000;
}

.page-template-template-home-page .educational-university-logo span.site-description {
  color: #000000;
}

#mySidenav {
  display: inline;
}

.main-nav ul {
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-flex;
  position: relative;
  align-items: center;
  padding: 10px;
}

.page-template-template-home-page .main-nav .current-menu-item a {
  color: var(--first-theme-color);
}

.main-menu li:last-child {
  border-right: none;
}

.main-nav a {
  font-size: 14px;
  display: block;
  text-transform: capitalize;
  color: #000000;
  font-weight: 600;
  padding: 6px 8px;
}

.main-nav .main-menu {
  text-align: left;
}

.main-nav .sub-menu a {
  color: #111 !important;
}

.main-nav li ul li.current_page_item li a {
  color: #111 !important;
}

.main-nav li ul li.current_page_item a {
  color: #fff !important;
}

.main-nav ul ul li.current_page_item a {
  color: #000000 !important;
}

.main-nav li.current_page_item a,
.page-template-template-home-page .main-nav a {
  color: #000000;
  background-color: transparent;
  border-radius: 5px;
}

.page-template-template-home-page li.main-nav .current_page_item {
  color: #111;
  background-color: var(--first-theme-color);
}

.page-template-template-home-page .main-nav .sub-menu .current_page_item a {
  background: none;
}

.main-nav ul.sub-menu .current_page_item a::before,
.main-nav ul.sub-menu .current-menu-item a::before,
.main-nav ul ul .menu-item a:before {
  content: none;
}

.main-nav ul ul .menu-item-has-children>a::after {
  margin-top: 2px;
}

.main-nav .menu-item-has-children>a::after {
  content: '\f107';
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  display: inline-block;
  width: 0;
  height: 0;
  position: absolute;
  top: auto;
  bottom: auto;
  right: auto;
  margin-left: 3px;
  margin-top: 3px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
}

.main-nav .menu-item-has-children.current-menu-parent>a::after,
.main-nav .menu-item-has-children.current-menu-ancestor>a::after,
.main-nav .menu-item-has-children.current_page_parent>a::after {
  transform: translateY(-50%) rotate(0deg);
}

.main-nav ul.sub-menu li a:hover {
  color: var(--first-theme-color);
}

.main-nav ul ul {
  position: absolute;
  background: #fff;
  min-width: 250px;
  z-index: 9999;
  top: 98%;
  line-height: 30px;
  opacity: 0;
}

.main-nav ul ul ul {
  left: 100%;
  top: 0%;
}

.main-nav ul ul a {
  color: #1f1f1f;
  border: none;
  padding: 10px;
  margin-bottom: 0;
  margin-top: 5px;
}

.main-nav ul ul li {
  float: none;
  display: block;
  text-align: left;
  border-left: none;
  border-right: none !important;
  padding: 0;
  border-bottom: solid 1px #f1f1f1;
}

.main-nav li ul {
  border-top: 3px solid var(--first-theme-color);
  box-shadow: 0px 0px 12px -3px rgba(0, 0, 0, 0.4);
}

.main-nav .menu>ul>li.highlight {
  background-color: #006ccc;
}

.main-nav .menu>ul>li.highlight:hover {
  background: transparent;
}

.main-nav .menu-item-has-children:not(.off-canvas):hover>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas):focus>.sub-menu,
.main-nav .menu-item-has-children.is-focused:not(.off-canvas)>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas)[focus-within]>.sub-menum,
.main-nav .menu-item-has-children:not(.off-canvas):focus-within>.sub-menu {
  opacity: 1;
}

.main-nav ul li:hover>ul {
  opacity: 1;
}

.main-nav li.menu-item-has-children:hover>ul,
.main-nav li.menu-item-has-children:focus>ul,
.main-nav li.menu-item-has-children.focus>ul {
  opacity: 1;
}

.main-nav .sub-menu {
  opacity: 0;
  left: -9999px;
  z-index: 99999;
  width: 200px !important;
}

.main-nav ul.sub-menu li a {
  background: #ffffff !important;
  color: #000 !important;
}

ul.sub-menu ul.sub-menu {
  left: 200px !important;
}

.main-nav .menu-item-has-children:not(.off-canvas):hover>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas):focus>.sub-menu,
.main-nav .menu-item-has-children.is-focused:not(.off-canvas)>.sub-menu,
.main-nav .menu-item-has-children:not(.off-canvas)[focus-within]>.sub-menum,
.main-nav .menu-item-has-children:not(.off-canvas):focus-within>.sub-menu {
  display: block;
  left: 0;
  margin-top: 0;
  opacity: 1;
  width: auto;
  min-width: 100%;
}

ul.sub-menu ul.sub-menu {
  left: -9999px;
}

.toggle-nav,
a.close-button {
  display: none;
}

/*page css*/
.page-header {
  margin-bottom: 20px;
}

.page-header h1 {
  color: #111;
  margin-bottom: 10px;
  font-size: 35px;
  word-wrap: break-word;
}

.page-header span,
.page-header span a {
  font-size: 18px;
  word-wrap: break-word;
  display: inline;
  margin-bottom: 10px;
}

/* Topbar */
.page-template-template-home-page .main-header {
  position: absolute;
  z-index: 99;
  width: 100%;
  margin-top: 10px;
  background: transparent !important;
}

.main-header {
  background: var(--first-theme-color);
  padding: 10px 0;
}

.main-header .top-header {
  background: #ffffff;
  border-radius: 35px 35px 0 0;
  margin-left: 50px;
}

.main-header .header-sec {
  background: #ffffff;
  box-shadow: 0px 0px 15px 0px #00000040;
  border-radius: 40px;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.main-header .header-sec .top-search i {
  color: #000000;
  font-size: 15px;
  border: 2px solid #000000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-header .header-sec .header-btn a {
  background: var(--first-theme-color);
  border-radius: 50px;
  padding: 8px 25px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
}

.main-header .header-sec .header-btn a:hover {
  background: #000000;
}

.main-header .topbar .top-content {
  background: #ffffff;
  border-radius: 0 0 35px 35px;
  margin-right: 50px;
}

.main-header .top-header i,
.main-header .topbar .top-content i {
  font-size: 15px;
  color: #000000;
}

.main-header .top-header p.top-text,
.main-header .topbar .top-content .phone-no,
.main-header .topbar .top-content .mail {
  font-size: 14px;
}

.main-header .topbar .top-content .social-top-icons i {
  font-size: 13px;
}

.main-header .topbar .top-content .social-top-icons i:hover {
  color: var(--first-theme-color);
}

/*---------Sticky Header---------*/
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #ffffff;
  box-shadow: 0px 0px 15px 0px #00000040;
}

body.page-template-template-home-page.admin-bar .header-fixed,
body.admin-bar .header-fixed {
  margin-top: 30px !important;
}

.header-fixed .header-sec {
  box-shadow: none !important;
}

/* Banner */
#banner-cat .imagebox img {
  object-fit: cover;
}

#banner-cat .imagebox img,
#banner-cat .banner-bottom img,
#banner-cat .banner-wave img {
  width: 100%;
  height: 770px;
}

#banner-cat .banner-bottom,
#banner-cat .banner-wave {
  bottom: 0;
  width: 100%;
}

#banner-cat .banner-bottom {
  z-index: 1;
}

#banner-cat .banner-wave {
  z-index: 0;
}

#banner-cat .banner-main .bannerbox {
  top: 50%;
  transform: translateY(-30%);
  width: 40%;
  z-index: 2;
}

#banner-cat .banner-main .banner-img {
  top: 45%;
  right: 5%;
  transform: translateY(-30%);
  z-index: 2;
}

#banner-cat .banner-overlay {
  height: 770px;
  background: #000;
  width: 100%;
  top: 0;
  opacity: 0.7;
}

#banner-cat .bannerbox .banner-smalltitle,
#degree-section .blog-bx .degree-text {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
}

#banner-cat .bannerbox i,
#degree-section .blog-bx i {
  font-size: 16px;
}

#banner-cat .bannerbox .banner-title a {
  font-size: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#banner-cat .bannerbox i,
#banner-cat .bannerbox .banner-smalltitle,
#banner-cat .bannerbox .banner-title a,
#banner-cat .bannerbox .banner-content {
  color: #ffffff;
}

#banner-cat .bannerbox .bannerbtn a {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0px 4px 4px 0px #00000040;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 30px;
}

#banner-cat .bannerbox .bannerbtn a:hover {
  background-color: var(--first-theme-color);
  color: #ffffff;
  box-shadow: 0px 4px 4px 0px #ffffff40;
}

#banner-cat .banner-img img {
  height: 250px;
  width: 500px;
  object-fit: contain;
}

/* Degree & Courses Section */
#degree-section .blog-bx .degree-text,
#degree-section .blog-bx i {
  color: var(--first-theme-color);
}

#degree-section .blog-bx .degree-title {
  color: #000000;
  font-size: 30px;
  font-weight: 700;
}

#degree-section .degree {
  background-color: #ffffff;
  box-shadow: 0px 0px 20px 0px #00000026;
  border-radius: 15px;
  padding: 12px;
  margin-bottom: 20px;
}

#degree-section .degree .post-thumb img {
  height: 250px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

#degree-section .degree .post-thumb .post-overlay {
  position: absolute;
  height: 250px;
  width: 100%;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 56%), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  top: 0;
  border-radius: 10px;
}

#degree-section .degree .post-heading {
  color: #000000;
  font-size: 18px;
  font-weight: 600;
}

#degree-section .degree .service-content {
  border-top: 1px solid #F6ECEC;
}

#degree-section .degree .service-content .student-count,
#degree-section .degree .service-content .add-time,
#degree-section .degree .service-content .expert-text {
  color: #000000;
  font-size: 14px;
  font-weight: 500;
}

#degree-section .degree .service-content .post-price {
  color: var(--first-theme-color);
  font-size: 18px;
  font-weight: 600;
}

#degree-section .degree .bookmark {
  position: absolute;
  bottom: 5px;
  right: 10px;
}

#degree-section .degree .bookmark span.cbxwpbkmarktrig-label {
  display: none;
}

#degree-section .degree .bookmark .cbxwpbkmarktrig-icon {
  background-image: none;
  background-color: #ffffff;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#degree-section .degree .bookmark .cbxwpbkmarktrig-marked .cbxwpbkmarktrig-icon {
  background-color: var(--first-theme-color);
}

#degree-section .degree .bookmark .cbxwpbkmarktrig-icon:before {
  content: "\f02e";
  font-size: 15px;
  font-family: 'Font Awesome 7 Free';
  color: #000000;
}

#degree-section .degree .bookmark .cbxwpbkmarktrig-marked .cbxwpbkmarktrig-icon:before {
  content: "\f02e";
  font-weight: 900;
  color: #ffffff;
}

#degree-section .bookmark .cbxwpbkmarklistwrap,
#degree-section .bookmark .cbxwpbkmarkguestwrap {
  transform: translateX(-81%);
  width: 315px !important;
  max-width: 315px !important;
}

.cbxwpbookmark-default .cbxwpbookmark-mylist-wrap .cbxwpbookmark_share,
.cbxwpbookmark-default .cbx-guest-wrap.cbxwpbookmark-guest-wrap .cbx-guest-login-wrap input[type=submit] {
  background: var(--first-theme-color);
}

.cbxwpbookmark-default .cbx-guest-wrap.cbxwpbookmark-guest-wrap .cbx-guest-login-wrap input[type=submit] {
  border-color: var(--first-theme-color);
}

.cbxwpbookmark-default .cbxwpbookmark-mylist-wrap .cbx-icon {
  height: 20px;
}

.cbxwpbookmark-default .cbxbookmark-category-list-wrap,
.cbxwpbookmark-default .cbxwpbookmark-mylist-wrap {
  padding: 12px;
  display: block;
  width: 28%;
}

.cbxwpbookmark-default .cbxbookmark-category-list-wrap {
  border: 1px solid #000000;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.cbxwpbookmark-default .cbxwpbookmark-mylist-wrap {
  border: 1px solid #000000;
  border-top: none;
  border-radius: 0 0 10px 10px;
}

/* = Page lay out css
-------------------------------------- */
.postsec-list input.search-field,
.postsec-list input.search-submit {
  padding: 11px 10px;
}

.postsec-list .search-form input.search-submit,
#sidebar form .wp-block-search__button {
  background-color: var(--first-theme-color);
  color: #ffffff;
  border: 2px solid var(--first-theme-color);
  font-weight: 600;
  border-radius: 4px;
}

.postsec-list .search-form input.search-submit:hover,
#sidebar form .wp-block-search__button:hover {
  background-color: #000000;
  border-color: #000000;
}

.contentsecwrap {
  padding: 35px 0;
  clear: both;
}

.contentsecwrap p {
  margin-bottom: 20px;
}

.type-page .entry-content p {
  color: #292D32;
}

#sidebar aside.widget {
  padding: 20px;
  border-radius: 5px;
}

.listarticle {
  border-radius: 5px;
}

.listarticle h2 a {
  color: #000000;
  font-size: 30px;
  text-decoration: none;
  word-wrap: break-word;
}

.listarticle h2 a:hover {
  color: var(--first-theme-color);
}

.single_title {
  margin-bottom: 15px;
  font-size: 20px;
}

.post-thumb {
  margin: 15px 0;
}

.nav-links .page-numbers {
  background-color: var(--first-theme-color);
  color: #ffffff !important;
  padding: 10px 15px;
  text-decoration: none;
}

span.page-numbers.current,
.nav-links .page-numbers:hover {
  background-color: #000000;
  color: #ffffff;
}

/* label css
---------------------------------------------- */
label {
  margin-bottom: 0;
}

#footer .search-form label,
#sidebar .search-form label {
  width: 100%;
}

aside.widget ul,
.entry-summary li {
  list-style: none;
}

.listarticle .alignfull,
.listarticle .alignwide {
  margin-left: 0;
  margin-right: 0;
}

#recentcomments li {
  background-image: none !important;
}

#recentcomments li a {
  padding-left: 0px !important;
}

.textwidget select,
table {
  width: 100%;
}

nav.navigation.pagination {
  margin: 30px auto;
}

/*--------------------------------------------------------------
## Sidebar Style 
--------------------------------------------------------------*/
#sidebar input[type="text"],
#sidebar input[type="search"],
#footer input[type="search"] {
  border: solid 2px var(--first-theme-color);
  padding: 10px;
  width: 100%;
}

#footer input[type="search"] {
  color: #ffffff;
}

#sidebar input.search-submit,
#footer input.search-submit,
form.woocommerce-product-search button {
  padding: 10px;
  width: 100%;
  border: none;
  background: var(--first-theme-color);
  font-size: 15px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
}

input.search-submit {
  background-color: var(--first-theme-color);
  color: #ffffff;
  border: none;
  padding: 10px 20px !important;
}

.widget-area .widget::after,
.widget-area .widget::before {
  clear: both;
  content: "";
  display: table;
}

#sidebar .widget-title,
#sidebar h1,
#sidebar h2,
#sidebar h3,
#sidebar h4,
#sidebar h5,
#sidebar h6,
#sidebar form label.wp-block-search__label {
  font-size: 28px;
  font-weight: 600;
  padding-bottom: 10px;
  position: relative;
  text-align: left;
  text-transform: capitalize;
}

.entry-title h2:before {
  content: "\f185";
  display: inline-block;
  font-family: FontAwesome;
  margin-right: 5px;
}

#sidebar ul {
  list-style: outside none none;
  padding: 0;
  margin: 0;
}

#sidebar ul ul {
  border-bottom: none;
  padding-bottom: 0;
}

#sidebar ul li {
  padding: 5px;
  padding-left: 30px;
  padding-top: 5px;
  position: relative;
  color: #000000;
}

#sidebar ul li::before {
  color: var(--first-theme-color);
  content: "\f192";
  display: inline-block;
  font-family: 'Font Awesome 7 Free';
  font-weight: 900;
  font-size: 7px;
  left: 0;
  position: absolute;
  top: 12px;
  margin-left: 2px;
}

#sidebar .widget_nav_menu ul li::before {
  top: 18px;
}

#sidebar .widget a,
#sidebar .widget a:visited {
  color: #000000;
  text-decoration: none;
}

#sidebar .widget a:hover,
#sidebar .widget a:active {
  color: var(--first-theme-color);
}

#sidebar .widget {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 4px #cfcfcf;
  border-bottom: 3px solid var(--first-theme-color);
  margin-bottom: 30px;
}

#sidebar .widget:hover {
  box-shadow: 0 0 20px #cfcfcf;
}

#sidebar .widget_nav_menu ul li {
  padding: 3px 15px 5px 20px;
}

#sidebar .widget_nav_menu ul li a {
  line-height: 2.5;
}

/*Clearing floats css*/
.page-links {
  float: unset !important;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin: 20px auto;
}

.page-links a,
.page-links span {
  padding: 10px 15px;
  background-color: var(--first-theme-color);
  color: #ffffff;
}

.page-links .post-page-numbers.current,
.page-links a:hover {
  background-color: #000000;
  color: #fff;
}

/*calendar widget*/
.widget_calendar {
  text-align: center;
}

.widget_calendar h3 {
  text-align: left;
}

.widget_calendar caption {
  background: var(--first-theme-color) none repeat scroll 0 0;
  color: #ffffff;
  padding: 5px;
}

.widget_calendar .pad {
  background: #eeeeee none repeat scroll 0 0;
}

.widget_calendar #today a {
  color: #ffffff;
}

.widget_calendar #today {
  background: var(--first-theme-color) none repeat scroll 0 0;
  color: #ffffff;
}

.widget .tagcloud a {
  border: 1px solid #dddddd;
  color: #001837;
  display: inline-block;
  font-size: 16px !important;
  line-height: 1.5;
  margin-bottom: 5px;
  padding: 5px 15px;
}

.widget .tagcloud a:hover {
  border: 1px solid var(--first-theme-color);
  color: var(--first-theme-color);
}

.widget_categories li>a,
.widget_archive li>a {
  display: inline-block;
  min-width: 85%;
}

.search-form .search-submit:focus {
  box-shadow: inherit;
  outline: none;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  max-width: 100%;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

td,
th {
  border: 1px solid #ddd;
  padding: 5px;
  color: #252525;
}

#footer td,
#footer th {
  color: #fff;
}

select {
  width: 100%;
  padding: 5px;
}

#footer .tagcloud a {
  border: solid 1px #fff;
  font-size: 14px !important;
  margin: 2px 0;
  display: inline-block;
  color: #fff !important;
  padding: 5px 10px;
  font-weight: 500;
}

.tagcloud a:hover {
  background-color: var(--first-theme-color);
  border-color: var(--first-theme-color);
  color: #ffffff !important;
}

/*footer*/
#footer ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

#footer ul li {
  font-size: 15px;
  padding: 3px 15px 3px 13px;
  position: relative;
  color: #fff;
}

/*#footer ul li::before {*/
/*  color: #fff;*/
/*  content: "\f105";*/
/*  display: inline-block;*/
/*  font-family: 'Font Awesome 7 Free';*/
/*  font-weight: 900;*/
/*  font-size: 14px;*/
/*  left: 0;*/
/*  position: absolute;*/
/*  top: 3px;*/
/*}*/

#footer a .footer-widget-area {
  float: left;
  padding: 0 25px;
  width: 25%;
}

#footer a,
#footer p {
  color: #fff;
}

#footer a:hover,
#footer h6 {
  color: var(--first-theme-color);
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.postsec-list article.hentry,
.postsec-list .listarticle {
  background: #ffffff none repeat scroll 100% 0;
  box-shadow: 0 0 2px #cfcfcf;
  padding: 30px;
  position: relative;
  border-radius: 12px;
  margin-bottom: 30px;
}

.postsec-list article.hentry:hover,
.postsec-list .listarticle:hover {
  box-shadow: 0 0 20px #cfcfcf;
}

/* = Footer css
------------------------------------------- */
#footer input.search-submit {
  background: var(--first-theme-color);
  color: #ffffff;
}

#footer {
  background-color: #000000;
  color: #ffffff;
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
  color: #fff;
}

.ftr-4-box {
  width: 100%;
  float: left;
  margin: 0 4% 2% 0;
  box-sizing: border-box;
  padding: 20px 20px 20px 0px;
}

.widget-column-4 {
  margin-right: 0px !important;
}

.ftr-4-box h5 {
  font-size: 28px;
  color: var(--first-theme-color);
  margin-bottom: 0;
  border-bottom: 1px solid #000000;
  padding-bottom: 20px;
}

.ftr-4-box h5 span {
  font-weight: 300;
  color: #3dd4e5;
}

.ftr-4-box ul {
  margin: 0;
  padding: 0;
  list-style: inside disc;
}

.ftr-4-box ul li {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid #000000;
}

.ftr-4-box ul li a,
.ftr-4-box a.readmore span {
  color: #ffffff;
}

.ftr-4-box p {
  margin-bottom: 15px;
}

.copywrap {
  font-size: 18px;
  padding: 14px 10px !important;
  background-color: var(--first-theme-color);
}

.copywrap p,
.copywrap p a {
  color: #ffffff !important;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 16px;
}

#footer .copywrap a:hover {
  color: #000000;
}

.entry-content .tags a {
  color: #fff !important;
}

section .page-links a,
.wc-block-grid__product-price ins {
  text-decoration: none;
}

.copywrap .copywrap-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.copywrap .copywrap-info.center-content {
  justify-content: center;
  text-align: center;
}

.woocommerce span.onsale {
  z-index: 0;
}

.search-no-results .search-form label {
  margin-bottom: 2px
}

.search-no-results .entry-title {
  margin-bottom: 15px;
}

#footer .widget_calendar #today {
  background: #ffffff none repeat scroll 0 0;
}

#footer .widget_calendar #today a {
  color: var(--first-theme-color);
}

/* Sticky Copyright */
.sticky-copyright.active-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: bottom 0.4s;
  box-shadow: 0px 0px 8px #000000;
}

/* Mobile Portrait View */
/*@media screen and (max-width: 1000px) {*/
/*  .main-header .header-sec {*/
/*    padding-bottom: 8px;*/
/*    padding-top: 8px;*/
/*  }*/

/*  .main-nav li ul li.current_page_item li a {*/
/*    color: #ffffff !important;*/
/*  }*/

/*  p.site-title a,*/
/*  h1.site-title a {*/
/*    font-size: 23px;*/
/*  }*/

/*  .main-nav ul ul,*/
/*  .main-nav .sub-menu {*/
/*    opacity: 1;*/
/*    width: auto;*/
/*  }*/

/*  .page-template-template-home-page .main-nav .current_page_item a {*/
/*    color: var(--first-theme-color);*/
/*  }*/

/*  .main-nav .current_page_item a::before {*/
/*    content: none;*/
/*  }*/

/*  .educational-university-logo span.site-description {*/
/*    font-size: 12px;*/
/*  }*/

/*  .main-nav ul ul li {*/
/*    margin-bottom: 0;*/
/*  }*/

/*  .page-template-template-home-page .main-nav a,*/
/*  .main-nav ul.sub-menu li a {*/
/*    color: #fff !important;*/
/*    text-align: center;*/
/*    padding-left: 0;*/
/*    background-color: transparent !important;*/
/*  }*/

/*  .main-nav ul.sub-menu li a {*/
/*    padding-left: 0;*/
/*  }*/

/*  .page-template-template-home-page .sidenav .main-nav {*/
/*    background-color: #0000;*/
/*  }*/

/*  .main-nav ul {*/
/*    text-align: left;*/
/*  }*/

/*  .main-nav ul.sub-menu li a:focus,*/
/*  .main-nav ul ul a:focus,*/
/*  .main-nav a:focus {*/
/*    border: 2px solid #fff;*/
/*    outline: none;*/
/*  }*/

/*  .main-nav li ul {*/
/*    border: none;*/
/*    box-shadow: none;*/
/*    border-top: none !important;*/
/*  }*/

/*  .main-nav .sub-menu li {*/
/*    border-bottom: none;*/
/*  }*/

/*  .toggle-nav button {*/
/*    font-weight: 600;*/
/*    border: none;*/
/*    font-size: 13px;*/
/*    padding: 10px 25px;*/
/*    color: #ffffff;*/
/*    display: inline-block;*/
/*    background-color: var(--first-theme-color);*/
/*    border-radius: 25px;*/
/*  }*/

/*    .sidenav {*/
/*        height: 100vh;*/
/*        width: 320px;*/
/*        max-width: 85%;*/
/*        position: fixed !important;*/
/*        z-index: 99999;*/
/*        top: 0;*/
/*        right: -320px;*/
/*        left: auto;*/
/*        overflow-x: hidden;*/
/*        overflow-y: auto;*/
/*        background: #000;*/
/*        visibility: hidden;*/
/*        opacity: 1;*/
/*        transition: right 0.4s ease-in-out;*/
/*        padding: 20px;*/
/*        box-sizing: border-box;*/
/*    }*/

/*  .main-nav ul li a:hover {*/
/*    color: #fff;*/
/*  }*/

/*  .main-nav li {*/
/*    padding: 0 15px;*/
/*    display: block;*/
/*    border-bottom: none;*/
/*    border-right: none;*/
/*    height: auto;*/
/*  }*/

/*    body.show-main-menu .sidenav {*/
/*        visibility: visible;*/
/*        right: 0;*/
/*        left: auto;*/
/*        top: 0;*/
/*        opacity: 1;*/
/*    }*/

/*    .sidenav .close-button {*/
/*        position: absolute !important;*/
/*        top: 15px !important;*/
/*        right: 15px !important;*/
/*        left: auto !important;*/

/*        display: flex !important;*/
/*        align-items: center;*/
/*        justify-content: center;*/

/*        width: 40px;*/
/*        height: 40px;*/

/*        margin: 0 !important;*/
/*        padding: 0 !important;*/

/*        color: #fff !important;*/
/*        background: transparent !important;*/
/*        font-size: 28px;*/
/*        line-height: 1;*/
/*        text-decoration: none;*/
/*        z-index: 100000;*/
/*    }*/
    
/*    .sidenav .close-button:hover {*/
/*        color: var(--first-theme-color) !important;*/
/*    }*/
    
     /* Main menu */
/*    .sidenav .main-menu {*/
/*        display: flex;*/
/*        flex-direction: column;*/
/*        align-items: stretch;*/
/*        width: 100%;*/
/*        padding: 0;*/
/*        margin: 0;*/
/*    }*/

    /* Menu items */
/*    .sidenav .main-menu > li {*/
/*        display: block;*/
/*        width: 100%;*/
/*        padding: 0;*/
/*        margin: 0;*/
/*        border-bottom: 1px solid rgba(255,255,255,0.15);*/
/*    }*/

/*    .sidenav .main-menu > li > a {*/
/*        display: block;*/
/*        width: 100%;*/
/*        padding: 14px 10px;*/
/*        color: #fff !important;*/
/*        font-size: 16px;*/
/*        text-align: left;*/
/*        background: transparent !important;*/
/*    }*/

/*    .sidenav .main-menu > li > a:hover {*/
/*        color: var(--first-theme-color) !important;*/
/*    }*/

  /* Submenu */
/*    .sidenav .main-menu .sub-menu {*/
/*        position: static !important;*/
/*        display: none;*/
/*        width: 100% !important;*/
/*        min-width: 100% !important;*/
/*        margin: 0;*/
/*        padding: 0 0 5px 15px;*/
/*        background: transparent !important;*/
/*        border: none !important;*/
/*        box-shadow: none !important;*/
/*        opacity: 1 !important;*/
/*        visibility: visible;*/
/*    }*/

    /* Show submenu when parent is active */
/*    .sidenav .main-menu .menu-item-has-children:hover > .sub-menu,*/
/*    .sidenav .main-menu .menu-item-has-children:focus-within > .sub-menu {*/
/*        display: block;*/
/*    }*/

/*    .sidenav .main-menu .sub-menu li {*/
/*        display: block;*/
/*        width: 100%;*/
/*        padding: 0;*/
/*        border: none;*/
/*    }*/

/*    .sidenav .main-menu .sub-menu li a {*/
/*        display: block;*/
/*        padding: 10px;*/
/*        color: #fff !important;*/
/*        background: transparent !important;*/
/*        font-size: 14px;*/
/*        text-align: left;*/
/*    }*/

/*    .sidenav .main-menu .sub-menu li a:hover {*/
/*        color: var(--first-theme-color) !important;*/
/*    }*/
    
/*  .sidenav #site-navigation {*/
/*    width: 100%;*/
/*    margin-top: 45px;*/
/*  }*/

/*  .toggle-nav span {*/
/*    font-size: 30px;*/
/*    cursor: pointer;*/
/*    text-align: right;*/
/*  }*/

/*  .main-nav ul ul li,*/
/*  .menubar .nav ul li {*/
/*    display: block;*/
/*    text-align: center !important;*/
/*  }*/

/*  .toggle-nav {*/
/*    display: block;*/
/*  }*/

/*  .main-nav li.current_page_item a {*/
/*    color: #ffffff;*/
/*  }*/

/*  .main-nav ul li a {*/
/*    padding: 8px;*/
/*    text-decoration: none;*/
/*    font-size: 15px;*/
/*    color: #fff;*/
/*    display: block;*/
/*    float: none;*/
/*    margin: 5px 0;*/
/*    border-right: none;*/
/*    text-align: center;*/
/*  }*/

/*  .main-nav .menu-item-has-children>a::after {*/
/*    margin-top: 0;*/
/*  }*/

/*  .main-nav ul li ul li a:before {*/
/*    content: "\00BB \00a0";*/
/*  }*/

/*  .main-nav ul.sub-menu a:hover {*/
/*    color: #000000;*/
/*  }*/

/*  .main-nav ul ul {*/
/*    position: static;*/
/*    width: 100%;*/
/*    background: transparent;*/
/*    border-top-width: 0px;*/
/*    border-bottom-width: 0px;*/
/*    box-shadow: none;*/
/*  }*/

/*  .main-nav ul ul a {*/
/*    border-bottom: none;*/
/*    padding-left: 40px;*/
/*  }*/

/*  .main-nav ul ul li.current_page_item a {*/
/*    color: #ffffff !important;*/
/*  }*/

/*  .main-nav ul ul ul.sub-menu a {*/
/*    padding-left: 0;*/
/*  }*/

/*  #mySidenav {*/
/*    text-align: left;*/
/*    display: inline;*/
/*  }*/

/*  .main-menu {*/
/*    padding: 0em;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*  }*/

/*  .main-nav ul.sub-menu>li>a:before {*/
/*    content: unset;*/
/*  }*/

/*  .main-nav ul.sub-menu>li>a:hover:before {*/
/*    opacity: 0;*/
/*    left: 0px;*/
/*    width: 0px;*/
/*  }*/

/*  .page-template-template-home-page .main-nav .current_page_item a,*/
/*  .main-nav .current_page_item a,*/
/*  .main-nav .current_page_item a:hover {*/
/*    background: none;*/
/*  }*/

/*  .header .woo-icon {*/
/*    justify-content: space-around !important;*/
/*  }*/
/*}*/

@media screen and (max-width: 720px) {

  body.page-template-template-home-page.admin-bar .header-fixed,
  body.admin-bar .header-fixed {
    margin-top: 0px !important;
    background-color: #ffffff;
  }
}

@media screen and (min-width: 601px) and (max-width: 782px) {

  body.page-template-template-home-page.admin-bar .header-fixed,
  body.admin-bar .header-fixed {
    margin-top: 40px !important;
  }
}

@media screen and (max-width: 767px) {
  .main-header {
    background: transparent;
    border-bottom: 2px solid var(--first-theme-color);
  }

  .main-header .header-sec .educational-university-logo {
    margin-bottom: 10px;
  }

  .page-template-template-home-page .main-header {
    position: static;
    border-bottom: none;
  }

  .main-header .topbar .top-content {
    margin-right: 0;
  }

  .main-header .top-header {
    margin-left: 0;
    justify-content: center;
  }

  .main-header .topbar .top-content .phone {
    margin: 10px 0;
  }

  .main-header .header-sec .header-btn a {
    padding: 10px 18px;
    font-size: 12px;
  }

  .main-header .topbar .top-content .social-top-icons .social-icons {
    justify-content: center !important;
  }

  .main-header .header-sec .topbar-btn {
    justify-content: space-around !important;
  }

  #banner-cat .bannerbox .banner-content {
    margin-bottom: 30px !important;
  }

  #banner-cat .banner-bottom,
  #banner-cat .banner-wave {
    display: none;
  }

  #banner-cat .bannerbox {
    text-align: center;
  }

  #banner-cat .bannerbox .banner-title a {
    font-size: 28px;
    -webkit-line-clamp: 3;
  }

  #banner-cat .banner-img img {
    height: 330px;
    width: 330px;
  }

  #banner-cat .banner-main .bannerbox,
  #banner-cat .banner-main .banner-img {
    width: 100%;
    padding: 0 10px;
    z-index: auto;
  }

  #banner-cat .banner-main .bannerbox {
    top: 35%;
    left: 0;
    transform: none;
  }

  #banner-cat .banner-main .banner-img {
    bottom: 5%;
    left: 0;
    transform: none;
  }

  #banner-cat .banner-main .banner-img {
    margin-bottom: 0 !important;
    margin-top: 35px;
  }

  #degree-section .blog-bx .degree-title {
    font-size: 28px;
  }

  #footer .footer-widget {
    text-align: center;
  }

  #footer ul li {
    width: 100%;
    /*text-align: center;*/
    margin: 0 auto;
    padding: 6px 0;
  }

  #footer ul li::before {
    content: none;
  }

  .single-product .woocommerce-product-gallery__wrapper img {
    width: 100% !important;
    height: auto !important;
  }

  .woocommerce ul.products li {
    width: 100% !important;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea {
    width: 100%;
  }

  .ftr-4-box {
    width: 100%;
  }

  .boxlayout {
    width: 270px;
  }

  .admin-bar .page-template-template-home-page .header.sticky-head,
  .admin-bar .sticky-head {
    top: 0;
  }

  .educational-university-logo,
  .toggle-nav {
    text-align: center !important;
  }

  .page-template-template-home-page .product-cart .cart-count {
    background-color: var(--first-theme-color);
    color: #ffffff;
  }

  ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
    grid-template-columns: 100%;
  }

  .sidenav .close-button {
    margin-bottom: 20px !important;
  }

  .admin-bar .page-template-template-home-page .header.main.sticky-head,
  .admin-bar .main.sticky-head {
    top: 0;
  }

  tr.wc-block-cart-items__row {
    gap: 0.4em;
  }

  td.wc-block-cart-item__total {
    padding-left: 0px !important;
  }

  li.wc-block-grid__product {
    max-width: 100% !important;
    float: none;
  }

  .header.main.sticky-head {
    position: static;
    box-shadow: none;
  }

  .header.main.sticky-head {
    position: static;
    transform: none;
  }

  #sidebar {
    margin-top: 30px;
  }

  .copywrap .copywrap-info {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .copywrap .copywrap-info p,
  .copywrap .footer-social {
    flex: 1 1 100%;
    justify-content: center;
    align-items: center;
  }

  .copywrap .footer-social {
    margin-top: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  #sidebar .wp-block-search__inside-wrapper {
    flex-wrap: wrap;
  }

  #sidebar form .wp-block-search__button {
    width: 100%;
    margin-left: 0 !important;
    border-radius: 0 !important;
    margin-top: 5px;
    padding: 10px;
  }

  /*.main-header .topbar .top-content {*/
  /*  margin-right: 35px;*/
  /*}*/

  .main-header .top-header {
    margin-left: 35px;
  }

  .toggle-nav button {
    font-size: 15px;
    padding: 8px 25px;
  }

  .main-header .top-header p.top-text,
  .main-header .topbar .top-content .phone-no,
  .main-header .topbar .top-content .mail {
    font-size: 12px;
  }

  .main-header .top-header i,
  .main-header .topbar .top-content i {
    font-size: 14px;
  }

  #banner-cat .banner-main .banner-img {
    right: 5%;
  }

  #banner-cat .banner-img img {
    height: 400px !important;
    width: 300px;
  }

  #banner-cat .imagebox img,
  #banner-cat .banner-bottom img,
  #banner-cat .banner-wave img,
  #banner-cat .banner-overlay {
    height: 620px;
  }

  #banner-cat .bannerbox .banner-title a {
    font-size: 30px;
  }

  #banner-cat .banner-main .bannerbox {
    width: 58%;
  }

  p.site-title a,
  h1.site-title a,
  h1.site-title,
  p.site-title {
    font-size: 20px;
  }

  .toggle-nav {
    text-align: right !important;
  }

  ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
    grid-template-columns: 100%;
  }

  .single-product .woocommerce-product-gallery__wrapper img {
    width: 100% !important;
    height: auto !important;
  }

  .is-sticky-on.mobile.sticky-head {
    top: 40px;
  }

  .admin-bar .page-template-template-home-page .header.sticky-head,
  .admin-bar .sticky-head {
    top: 47px;
  }

  .admin-bar .page-template-template-home-page .header.main.sticky-head,
  .admin-bar .main.sticky-head {
    top: 42px;
  }

  .boxlayout {
    width: 650px;
  }

  .ftr-4-box {
    display: inline-grid;
    float: none;
  }

  tr.wc-block-cart-items__row {
    gap: 1em;
  }

  li.wc-block-grid__product {
    max-width: 48% !important;
    float: left;
    clear: both;
    margin: 0 1% 2.992em;
    flex: 1 0 48% !important;
  }

  .toggle-nav button {
    margin-bottom: 0;
  }

  .woocommerce ul.products li.product {
    width: 48% !important;
    margin: 0 6px 2.992em;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {

  .main-header .top-header p.top-text,
  .main-header .topbar .top-content .phone-no,
  .main-header .topbar .top-content .mail {
    font-size: 12px;
  }

  .main-header .top-header i,
  .main-header .topbar .top-content i {
    font-size: 14px;
  }

  #banner-cat .banner-main .banner-img {
    right: 3%;
  }

  #banner-cat .bannerbox .banner-title a {
    font-size: 38px;
  }

  #banner-cat .banner-main .bannerbox {
    width: 42%;
  }

  p.site-title a,
  h1.site-title a,
  h1.site-title,
  p.site-title {
    font-size: 20px;
  }

  .toggle-nav {
    text-align: right !important;
  }

  ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
    grid-template-columns: 100%;
  }

  .toggle-nav button {
    margin-bottom: 0;
  }

  .main-nav a,
  .main-nav .menu-item-has-children>a::after {
    font-size: 12px;
  }

  .main-nav .menu-item-has-children>a::after {
    margin-top: 2px;
  }

  .admin-bar .page-template-template-home-page .header.sticky-head,
  .admin-bar .sticky-head {
    top: 32px;
  }

  .admin-bar .page-template-template-home-page .header.main.sticky-head,
  .admin-bar .main.sticky-head {
    top: 30px;
  }

  tr.wc-block-cart-items__row {
    gap: 1em;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {

  p.site-title a,
  h1.site-title a,
  h1.site-title,
  p.site-title {
    font-size: 25px;
  }

  #banner-cat .banner-main .banner-img {
    right: 5%;
  }

  #banner-cat .banner-main .bannerbox {
    width: 45%;
  }

  #banner-cat .bannerbox .banner-title a {
    font-size: 40px;
  }
}

@media screen and (min-width: 1400px) {
  .single-product.woocommerce-page div.product div.summary {
    width: 52%;
  }
}

/*@media screen and (min-width:1600px) and (max-width:1900px) {*/
/*  .container {*/
/*    max-width: 1520px;*/
/*  }*/
/*}*/

/*@media screen and (min-width:1920px) {*/
/*  .container {*/
/*    max-width: 1620px;*/
/*  }*/
/*}*/

@media (min-width: 992px) {
    .main-menu {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        white-space: nowrap;
    }

    .main-menu > li {
        white-space: nowrap;
    }

    .main-menu > li > a {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 14px;
    }
}

/* Desktop */
@media screen and (min-width: 1200px) {
    .main-menu {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .main-menu > li {
        white-space: nowrap;
    }

    .main-menu > li > a {
        padding: 6px 7px;
        font-size: 14px;
    }
}

/* Tablet and Mobile */
@media screen and (max-width: 1199px) {
    .main-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767px) {
    /* Email + Phone in ONE ROW */
    .top-content > .row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* Email - Left side */
    .top-content .email {
        flex: 0 0 auto !important;
        width: auto !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 5px 0 !important;
        order: 1 !important;
    }

    /* Phone - Right side */
    .top-content .phone {
        flex: 0 0 auto !important;
        width: auto !important;
        justify-content: flex-end !important;
        text-align: right !important;
        padding: 5px 0 !important;
        order: 2 !important;
    }

    /* Email and phone text */
    .top-content .mail,
    .top-content .phone-no {
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Social icons - Full width below */
    .top-content .social-top-icons {
        width: 100% !important;
        flex: 0 0 100% !important;
        padding: 8px 0 !important;
        border-top: 1px solid #ddd !important;
        margin-top: 5px !important;
        order: 3 !important;
    }

    .top-content .social-icons {
        width: 100% !important;
        justify-content: center !important;
        gap: 20px !important;
    }
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    background: #fff;
}


/* =========================================================
   HERO / TITLE BOX
========================================================= */

.contact-title-box {
    position: relative;
    min-height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.40),
            rgba(0, 0, 0, 0.40)
        ),
        url("YOUR-HERO-IMAGE-URL-HERE");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    margin-bottom: 0 !important;
}

.contact-title-box .blue {
    display: none;
}

.contact-title-box .banner-heading {
    width: 100%;
    text-align: center;
    padding: 35px 15px;
}

.contact-title-box h1 {
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 500;

    margin: 0 0 10px;
}

.contact-title-box .bradcrumbs {
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.contact-title-box .bradcrumbs a {
    color: #7c0603;
    text-decoration: none;
}

.contact-title-box .bradcrumbs a:hover {
    color: #fff;
}

.contact-title-box .bradcrumbs i {
    margin: 0 7px;
    font-size: 10px;
}


.contact-phone i {
    color: #2a2a44;
    font-size: 2rem;
}

.contact-phone .c_content {
    color: #252525;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
}

.contact-phone .add-text {
    color: #999;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    padding-right: 30px;
}
.contact-phone .add-text a {
    color: #999;
}
/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-section {
    width: 100%;
    background: #fff;
    padding: 65px 0 70px;
}

.contact-row {
    align-items: flex-start;
}


/* =========================================================
   LEFT CONTACT CONTENT
========================================================= */

.contact-left-box {
    padding-right: 45px;
}

.contact-left-box h2,
.contact-left-box h3 {
    color: #292929;

    font-size: 40px;
    line-height: 1.3;
    font-weight: 500;

    margin: 0 0 12px;
}

.contact-left-box p {
    color: #999;

    font-size: 13px;
    line-height: 1.8;
    font-weight: 400;

    margin: 0 0 40px;
}


/* =========================================================
   CONTACT DETAILS
   USING YOUR ORIGINAL THEME CLASSES
========================================================= */

.contact-bottom {
    margin-left: -12px;
    margin-right: -12px;
}

.contact-bottom > div {
    padding-left: 12px;
    padding-right: 12px;
}


/* Individual contact blocks */

.contact-bottom .contact-address,
.contact-bottom .contact-email,
.contact-bottom .contact-phone {
    width: 100%;

    margin-bottom: 40px;
}


/* Inner content */

.contact-bottom .inner-cont {
    position: relative;
}


/* =========================================================
   ICONS
========================================================= */

.contact-bottom .inner-cont > i {
    display: block;

    color: #35364d;

    font-size: 17px;
    line-height: 1;

    margin-bottom: 14px;
}


/* =========================================================
   CONTACT LABEL
========================================================= */

.contact-bottom .c_content {
    color: #444;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0;

    padding-top: 0 !important;

    margin-bottom: 6px;
}


/* =========================================================
   CONTACT TEXT
========================================================= */

.contact-bottom .add-text {
    margin: 0;

    color: #999;

    font-size: 11px;
    line-height: 1.7;

    font-weight: 400;

    max-width: 220px;
}

.contact-bottom .add-text a {
    color: #999;

    text-decoration: none;

    transition: all 0.2s ease;
}

.contact-bottom .add-text a:hover {
    color: #7c0603;
}


/* =========================================================
   CONTACT FORM CARD
========================================================= */

.contact-form-card,
.contct-shortcode {
    background: #fff;

    padding: 30px 22px;

    margin-left: 10px;

    box-shadow:
        0 4px 22px rgba(0, 0, 0, 0.10);

    min-height: 260px;
}


/* =========================================================
   FORM
========================================================= */

.custom-contact-form {
    width: 100%;
    margin: 0;
}


/* Form fields */

.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    display: block;
    border: 0;
    outline: none;
    background-color: #E9E9E9;
    color: #555;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;

    padding: 12px 14px;

    margin: 0 0 14px;

    border-radius: 0;

    box-sizing: border-box;

    transition: all 0.2s ease;
}


/* Input height */

.custom-contact-form input {
    height: 42px;
}


/* Textarea */

.custom-contact-form textarea {
    min-height: 90px;

    resize: vertical;
}


/* Placeholder */

.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
    color: #999;
    opacity: 1;
}


/* Focus */

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    background: #eeeeee;

    box-shadow:
        inset 2px 0 0 #7c0603;
}


/* =========================================================
   SEND BUTTON
========================================================= */

.custom-contact-form button {
    display: inline-block;

    background: #7c0603;

    color: #fff;

    border: 0;
    border-radius: 0;

    font-family: inherit;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;

    padding: 12px 27px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.custom-contact-form button:hover {
    background: #7e1028;
}


/* =========================================================
   CONTACT FORM 7
========================================================= */

.contact-form-card .wpcf7,
.contct-shortcode .wpcf7 {
    width: 100%;
}


/* CF7 fields */

.contact-form-card .wpcf7-form-control-wrap,
.contct-shortcode .wpcf7-form-control-wrap {
    display: block;

    width: 100%;

    margin: 0 0 14px;
}


/* Text + Email */

.contact-form-card .wpcf7 input[type="text"],
.contact-form-card .wpcf7 input[type="email"],
.contct-shortcode .wpcf7 input[type="text"],
.contct-shortcode .wpcf7 input[type="email"] {
    width: 100%;

    height: 42px;

    display: block;

    border: 0;
    outline: none;

    border-radius: 0;

    background: #f3f3f3;

    color: #555;

    font-family: inherit;

    font-size: 12px;

    padding: 12px 14px;

    box-sizing: border-box;
}


/* Textarea */

.contact-form-card .wpcf7 textarea,
.contct-shortcode .wpcf7 textarea {
    width: 100%;

    min-height: 90px;

    display: block;

    border: 0;
    outline: none;

    border-radius: 0;

    background: #f3f3f3;

    color: #555;

    font-family: inherit;

    font-size: 12px;

    padding: 12px 14px;

    resize: vertical;

    box-sizing: border-box;
}


/* CF7 placeholders */

.contact-form-card .wpcf7 input::placeholder,
.contact-form-card .wpcf7 textarea::placeholder,
.contct-shortcode .wpcf7 input::placeholder,
.contct-shortcode .wpcf7 textarea::placeholder {
    color: #999;
    opacity: 1;
}


/* CF7 focus */

.contact-form-card .wpcf7 input[type="text"]:focus,
.contact-form-card .wpcf7 input[type="email"]:focus,
.contact-form-card .wpcf7 textarea:focus,
.contct-shortcode .wpcf7 input[type="text"]:focus,
.contct-shortcode .wpcf7 input[type="email"]:focus,
.contct-shortcode .wpcf7 textarea:focus {
    background: #eeeeee;

    box-shadow:
        inset 2px 0 0 #7c0603;
}


/* CF7 submit */

.contact-form-card .wpcf7 input[type="submit"],
.contct-shortcode .wpcf7 input[type="submit"] {
    display: inline-block;

    background: #7c0603;

    color: #fff;

    border: 0;
    border-radius: 0;

    font-family: inherit;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;

    padding: 12px 28px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.contact-form-card .wpcf7 input[type="submit"]:hover,
.contct-shortcode .wpcf7 input[type="submit"]:hover {
    background: #7e1028;
}


/* =========================================================
   CF7 VALIDATION / MESSAGES
========================================================= */

.wpcf7 form .wpcf7-response-output {
    margin: 15px 0 0;

    padding: 8px 12px;

    font-size: 11px;
    line-height: 1.5;
}

.wpcf7-not-valid-tip {
    font-size: 10px;

    color: #7c0603;

    margin-top: 4px;
}


/* =========================================================
   GOOGLE MAP
========================================================= */

.contact-map {
    width: 100%;

    margin-top: 45px;

    overflow: hidden;
}

.contact-map iframe {
    display: block;

    width: 100%;
    height: 400px;

    border: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .contact-title-box {
        min-height: 150px;
    }

    .contact-title-box h1 {
        font-size: 30px;
    }

    .contact-section {
        padding: 50px 0 60px;
    }

    .contact-left-box {
        padding-right: 20px;
    }

    .contact-form-card,
    .contct-shortcode {
        margin-left: 0;
    }

    .contact-bottom .add-text {
        max-width: 190px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .contact-title-box {
        min-height: 140px;

        background-position: center center;
    }

    .contact-title-box .banner-heading {
        padding: 30px 15px;
    }

    .contact-title-box h1 {
        font-size: 27px;
    }

    .contact-title-box .bradcrumbs {
        font-size: 12px;
    }


    /* Main section */

    .contact-section {
        padding: 40px 15px 50px;
    }


    /* Left content */

    .contact-left-box {
        padding-right: 0;
    }

    .contact-left-box h2,
    .contact-left-box h3 {
        font-size: 25px;
    }

    .contact-left-box p {
        font-size: 13px;

        line-height: 1.7;

        margin-bottom: 35px;
    }


    /* Details */

    .contact-bottom {
        margin-left: -8px;
        margin-right: -8px;
    }

    .contact-bottom > div {
        padding-left: 8px;
        padding-right: 8px;
    }

    .contact-bottom .contact-address,
    .contact-bottom .contact-email,
    .contact-bottom .contact-phone {
        margin-bottom: 30px;
    }

    .contact-bottom .add-text {
        max-width: 100%;
    }


    /* Form */

    .contact-form-card,
    .contct-shortcode {
        margin-left: 0;

        margin-top: 10px;

        padding: 25px 18px;

        min-height: auto;
    }


    /* Map */

    .contact-map {
        margin-top: 35px;
    }

    .contact-map iframe {
        height: 300px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .contact-title-box {
        min-height: 130px;
    }

    .contact-title-box h1 {
        font-size: 24px;
    }

    .contact-title-box .bradcrumbs {
        font-size: 11px;
    }

    .contact-section {
        padding: 35px 12px 45px;
    }

    .contact-form-card,
    .contct-shortcode {
        padding: 22px 15px;
    }

    .contact-bottom .c_content {
        font-size: 10px;
    }

    .contact-bottom .add-text {
        font-size: 11px;
    }
}

/* ==========================================
   CONTACT FORM CARD
========================================== */

.contact-form-card {
    background: #ffffff;
    padding: 35px 30px;
    margin-left: 20px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.10);

    width: 100%;
    box-sizing: border-box;
}

.contact-form-card h3 {
    color: #252525;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 400;

    margin: 0 0 25px;
    padding: 0;
}


/* ==========================================
   CONTACT FORM 7
========================================== */

.contact-form-card .wpcf7 {
    width: 100%;
}

.contact-form-card .wpcf7 form {
    width: 100%;
}


/* Remove default paragraph spacing */

.contact-form-card .wpcf7 form p {
    margin: 0 0 16px;
    padding: 0;
}


/* ==========================================
   LABELS
========================================== */

.contact-form-card .wpcf7 form label {
    display: block;

    color: #555;
    font-size: 12px;
    font-weight: 500;

    margin: 0;
}


/* ==========================================
   INPUTS
========================================== */

.contact-form-card .wpcf7 input[type="text"],
.contact-form-card .wpcf7 input[type="email"],
.contact-form-card .wpcf7 input[type="number"],
.contact-form-card .wpcf7 textarea {
    width: 100%;

    display: block;

    box-sizing: border-box;

    border: 1px solid #eeeeee;
    outline: none;

    background: #f5f5f5;

    color: #555;

    font-family: inherit;
    font-size: 13px;

    padding: 12px 14px;

    border-radius: 0;

    box-shadow: none;

    transition: all 0.3s ease;
}


/* Name / Email / Number */

.contact-form-card .wpcf7 input[type="text"],
.contact-form-card .wpcf7 input[type="email"],
.contact-form-card .wpcf7 input[type="number"] {
    height: 45px;
}


/* Message */

.contact-form-card .wpcf7 textarea {
    min-height: 120px;

    resize: vertical;
}


/* ==========================================
   PLACEHOLDER
========================================== */

.contact-form-card .wpcf7 input::placeholder,
.contact-form-card .wpcf7 textarea::placeholder {
    color: #999;
    opacity: 1;
}


/* ==========================================
   FOCUS
========================================== */

.contact-form-card .wpcf7 input[type="text"]:focus,
.contact-form-card .wpcf7 input[type="email"]:focus,
.contact-form-card .wpcf7 input[type="number"]:focus,
.contact-form-card .wpcf7 textarea:focus {

    background: #ffffff;

    border-color: #7c0603;

    outline: none;

    box-shadow: inset 2px 0 0 #7c0603;
}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.contact-form-card .wpcf7 input[type="submit"] {

    display: inline-block;

    background: #7c0603;

    color: #ffffff;

    border: none;

    outline: none;

    padding: 13px 30px;

    font-family: inherit;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.3px;

    cursor: pointer;

    border-radius: 0;

    transition: all 0.3s ease;
}


/* Hover */

.contact-form-card .wpcf7 input[type="submit"]:hover {

    background: #7e1028;

}


/* ==========================================
   CF7 SPINNER
========================================== */

.contact-form-card .wpcf7-spinner {
    margin: 0 0 0 10px;
}


/* ==========================================
   CF7 SUCCESS / ERROR MESSAGE
========================================== */

.contact-form-card .wpcf7-response-output {
    margin: 20px 0 0 !important;

    padding: 10px 12px !important;

    font-size: 12px;

    line-height: 1.5;

    border: 1px solid #ddd;
}


/* ==========================================
   VALIDATION ERROR
========================================== */

.contact-form-card .wpcf7-not-valid {
    border-color: #d33 !important;
}

.contact-form-card .wpcf7-not-valid-tip {
    color: #d33;

    font-size: 11px;

    margin-top: 5px;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 991px) {

    .contact-form-card {
        margin-left: 0;
        margin-top: 30px;
    }

}


@media (max-width: 767px) {

    .contact-form-card {
        padding: 28px 20px;
        margin-top: 30px;
    }

    .contact-form-card h3 {
        font-size: 25px;
        margin-bottom: 22px;
    }

    .contact-form-card .wpcf7 form p {
        margin-bottom: 14px;
    }

    .contact-form-card .wpcf7 input[type="text"],
    .contact-form-card .wpcf7 input[type="email"],
    .contact-form-card .wpcf7 input[type="number"] {
        height: 44px;
    }

    .contact-form-card .wpcf7 textarea {
        min-height: 110px;
    }

}


@media (max-width: 480px) {

    .contact-form-card {
        padding: 24px 16px;
    }

    .contact-form-card h3 {
        font-size: 23px;
    }

}

/* ==========================================
   FOOTER
========================================== */

#footer,
.site-footer {
    width: 100%;
    background: #25263d;
    color: #fff;
}


/* ==========================================
   MAIN FOOTER
========================================== */

.footer-main {
    padding: 65px 0 45px;
    background: #000000;
}

.footer-column {
    margin-bottom: 25px;
}

.footer-widget-box {
    padding-right: 25px;
}


/* ==========================================
   FOOTER TITLE
========================================== */

.footer-title {
    margin-bottom: 22px;
     padding-bottom: 20px;
    padding-top: 65px;
    position: relative;
    font-family: Jost;
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0em;
    text-align: left;
    color: #fff;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 2px;
    background: #7c0603;
}

/*.footer h3{*/
/*    margin-bottom: 20px;*/
/*    padding-bottom: 20px;*/
/*    padding-top: 65px;*/
/*    font-family: Jost;*/
/*    font-size: 30px;*/
/*    font-weight: 700;*/
/*    letter-spacing: 0em;*/
/*    text-align: left;*/
/*    color: #fff;*/
/*}*/

/* ==========================================
   ABOUT
========================================== */

.footer-about {
    font-family: Jost;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0em;
    text-align: left;
    color: #fff;
    padding-top: 0rem;
    padding-bottom: 20px;
}


/* ==========================================
   FOOTER LINKS
========================================== */

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    position: relative;
    color: #c5c5ca;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-links li a::before {
    /*content: "\f105";*/
    content: ">";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /*color: #7c0603;*/
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    padding-left: 5px;
}


/* ==========================================
   CONTACT
========================================== */

.footer-contact {
    margin: 0;
    padding: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.footer-contact-item i {
    width: 32px;
    /*color: #7c0603;*/
    font-size: 15px;
    margin-top: 3px;
}

.footer-contact-item p {
    color: #c5c5ca;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.footer-contact-item a {
    color: #c5c5ca;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-contact-item a:hover {
    transform: translateY(-3px);
}


/* ==========================================
   SOCIAL ICONS
========================================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7c0603;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}


/* ==========================================
   FOOTER BOTTOM
========================================== */

/*.copyright {*/
/*    background: #000000;*/
/*    border-top: 1px solid rgba(255,255,255,0.08);*/
/*    padding: 18px 0;*/
/*}*/
#footer .copyright {
    width: 100%;
    background-color: #000000;
}

.copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/*.copyright p {*/
/*    color: #999;*/
/*    font-size: 12px;*/
/*    margin: 0;*/
/*}*/

#footer .copyright p {
    padding: 12px 0;
    margin-bottom: 0;
    font-family: Jost;
    font-size: 16px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0em;
    text-align: center;
}

.copyright p:last-child {
    text-align: right;
}

#footer .copyright .credit_link a {
    /*color: #7c0603;*/
    cursor: pointer;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .footer-main {
        padding: 50px 0 25px;
    }

    .footer-widget-box {
        padding-right: 15px;
    }

    .footer-column {
        margin-bottom: 35px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .footer-main {
        padding: 45px 20px 20px;
    }

    .footer-widget-box {
        padding-right: 0;
    }

    .footer-title {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-column {
        margin-bottom: 35px;
    }

    .copyright {
        padding: 18px 20px;
    }

    .copyright-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .copyright p:last-child {
        text-align: center;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .footer-main {
        padding: 40px 15px 15px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-about,
    .footer-links li a,
    .footer-contact-item p {
        font-size: 12px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }

}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1450px;
    }
}

/* =====================================================
   TGMRN SECTIONS
   ===================================================== */

#course-categories {
    padding: 40px 0;
    background: #ffffff;
}


/* =====================================================
   SECTION HEADING
   ===================================================== */

#course-categories .section_text {
    text-align: center;
    margin-bottom: 55px;
}

#course-categories .sec_small_heading {
    margin: 0 0 10px;
    color: #7c0603;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#course-categories .cap-icon {
    font-size: 17px;
    margin-right: 5px;
}

#course-categories .sec_main_heading {
    margin: 0;
    color: #000000;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
}


/* =====================================================
   THREE COLUMN ROW
   ===================================================== */

#course-categories .tgmrn-sections-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    align-items: stretch;
}


/* =====================================================
   CARD
   ===================================================== */

#course-categories .tgmrn-section-card {
    text-align: center;
    padding: 45px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}


/* Card hover */

#course-categories .tgmrn-section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* =====================================================
   IMAGE
   ===================================================== */

#course-categories .tgmrn-section-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#course-categories .tgmrn-section-image img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}


/* Image hover */

#course-categories .tgmrn-section-card:hover
.tgmrn-section-image img {
    transform: scale(1.08);
}


/* =====================================================
   TITLE
   ===================================================== */

#course-categories .category-title {
    margin: 0 0 15px;
    color: #7c0603;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}


/* =====================================================
   DESCRIPTION
   ===================================================== */

#course-categories .category-para {
    max-width: 400px;
    margin: 0 auto;
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}


/* =====================================================
   BUTTON
   ===================================================== */

#course-categories .btn-padd {
    width: 100%;
    margin-top: 60px;
    text-align: center;
}

#course-categories .section-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #7c0603;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#course-categories .section-btn:hover {
    background: #8a1729;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 991px) {

    #course-categories {
        padding: 60px 0;
    }

    #course-categories .tgmrn-sections-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    #course-categories .tgmrn-section-card {
        padding: 35px 20px;
    }

    #course-categories .tgmrn-section-image {
        width: 120px;
        height: 120px;
    }

    #course-categories .tgmrn-section-image img {
        width: 110px;
        height: 110px;
    }

    #course-categories .category-title {
        font-size: 22px;
    }

    #course-categories .category-para {
        font-size: 14px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 767px) {

    #course-categories {
        padding: 50px 15px;
    }

    #course-categories .section_text {
        margin-bottom: 35px;
    }

    #course-categories .sec_main_heading {
        font-size: 30px;
    }

    #course-categories .tgmrn-sections-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #course-categories .tgmrn-section-card {
        padding: 35px 25px;
    }

    #course-categories .tgmrn-section-image {
        width: 130px;
        height: 130px;
    }

    #course-categories .tgmrn-section-image img {
        width: 120px;
        height: 120px;
    }

    #course-categories .category-title {
        font-size: 24px;
    }

    #course-categories .category-para {
        font-size: 15px;
    }

    #course-categories .btn-padd {
        margin-top: 40px;
    }

}

/* =====================================================
   TGMRN ABOUT SECTION
   ===================================================== */

#about.tgmrn-about-section {
    position: relative;
    padding: 100px 0;
    background: #f3f3f3;
    overflow: hidden;
}


/* =====================================================
   MAIN CONTAINER
   ===================================================== */

#about .about-contain {
    position: relative;
}


/* =====================================================
   LEFT IMAGE AREA
   ===================================================== */

#about .tgmrn-about-images {
    position: relative;
    width: 100%;
    max-width: 570px;
    height: 540px;
    margin: 0 auto;
}


/* =====================================================
   MAIN IMAGE
   ===================================================== */

#about .about-main-image {
    position: absolute;
    top: 0;
    left: 100px;
    width: 360px;
    height: 455px;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

#about .about-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =====================================================
   SMALL LEFT IMAGE
   ===================================================== */

#about .about-small-left {
    position: absolute;
    left: 0;
    top: 105px;
    width: 165px;
    height: 195px;
    z-index: 4;
}


/* =====================================================
   SMALL RIGHT IMAGE
   ===================================================== */

#about .about-small-right {
    position: absolute;
    right: 0;
    bottom: 55px;
    /*width: 259px;*/
    /*height: 310px;*/
    width: 295px;
    height: 330px;
    z-index: 4;
}


/* =====================================================
   SMALL IMAGE COMMON STYLE
   ===================================================== */

#about .about-small-image {
    overflow: hidden;
    background: #ffffff;
    padding: 5px;
    border-radius: 12px;
}

#about .about-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}


/* =====================================================
   LEFT CIRCLE
   ===================================================== */

#about .about-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(124, 6, 3, 0.25);
    border-radius: 50%;
    z-index: 1;
}

#about .about-circle::before,
#about .about-circle::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(124, 6, 3, 0.20);
    border-radius: 50%;
}

#about .about-circle::before {
    width: 115px;
    height: 115px;
    top: 15px;
    left: 15px;
}

#about .about-circle::after {
    width: 80px;
    height: 80px;
    top: 32px;
    left: 32px;
}


/* Left circle position */

#about .about-circle-left {
    left: 5px;
    bottom: 0;
}


/* Right circle position */

#about .about-circle-right {
    right: -20px;
    bottom: 15px;
}


/* =====================================================
   DECORATIVE DOTS
   ===================================================== */

#about .about-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 1;
    opacity: 0.6;
}

#about .about-dots::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #d59da0;
    border-radius: 50%;

    box-shadow:
        25px 0 #d59da0,
        50px 0 #d59da0,
        75px 0 #d59da0,

        12px 20px #d59da0,
        37px 20px #d59da0,
        62px 20px #d59da0,

        25px 40px #d59da0,
        50px 40px #d59da0,
        75px 40px #d59da0,

        12px 60px #d59da0,
        37px 60px #d59da0,
        62px 60px #d59da0;
}


/* Bottom/left dots */

#about .about-dots-left {
    left: 447px;
    top: 30px;
}


/* Top/right dots */

#about .about-dots-top {
    right: 30px;
    top: 20px;
}


/* =====================================================
   RIGHT CONTENT
   ===================================================== */

#about .tgmrn-about-content {
    padding-left: 25px;
}


/* =====================================================
   SMALL HEADING
   ===================================================== */

#about .tgmrn-about-content .sec_small_heading {
    margin-bottom: 12px;
    color: #7C0603;
    font-size: 16px;
    font-weight: 600;
}

#about .tgmrn-about-content .sec_small_heading i {
    margin-right: 6px;
    color: #7C0603;
}


/* =====================================================
   MAIN HEADING
   ===================================================== */

#about .tgmrn-about-content .sec_main_heading {
    margin-bottom: 25px;
    color: #000000;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 700;
}


/* =====================================================
   DESCRIPTION
   ===================================================== */

#about .tgmrn-about-content .section-description {
    margin-bottom: 25px;
    color: #222222;
    font-size: 15px;
    line-height: 2;
}


/* =====================================================
   WHY LIST
   ===================================================== */

#about .why-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#about .why-list ul li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 27px;
    color: #111111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

#about .why-list ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #7C0603;
    font-size: 15px;
}


/* =====================================================
   BUTTON
   ===================================================== */

#about .btn-padd {
    margin-top: 30px;
}

#about .section-btn {
    display: inline-block;
    padding: 13px 38px;
    background: #7C0603;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#about .section-btn:hover {
    background: #5f0402;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =====================================================
   1200px
   ===================================================== */

@media screen and (max-width: 1199px) {

    #about.tgmrn-about-section {
        padding: 80px 0;
    }

    #about .tgmrn-about-images {
        max-width: 500px;
        height: 500px;
    }

    #about .about-main-image {
        left: 85px;
        width: 320px;
        height: 420px;
    }

    #about .about-small-left {
        width: 145px;
        height: 180px;
    }

    #about .about-small-right {
        width: 260px;
        height: 300px;
    }

    #about .tgmrn-about-content .sec_main_heading {
        font-size: 35px;
    }

}


/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 991px) {

    #about.tgmrn-about-section {
        padding: 70px 0;
    }

    #about .tgmrn-about-images {
        max-width: 430px;
        height: 450px;
    }

    #about .about-main-image {
        left: 75px;
        width: 280px;
        height: 375px;
    }

    #about .about-small-left {
        left: 0;
        top: 85px;
        width: 125px;
        height: 160px;
    }

    #about .about-small-right {
        right: 0;
        bottom: 35px;
        width: 220px;
        height: 260px;
    }

    #about .tgmrn-about-content {
        padding-left: 10px;
    }

    #about .tgmrn-about-content .sec_main_heading {
        font-size: 30px;
    }

    #about .tgmrn-about-content .section-description {
        font-size: 14px;
    }

    #about .why-list ul li {
        font-size: 14px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 767px) {

    #about.tgmrn-about-section {
        padding: 60px 15px;
    }

    #about .tgmrn-about-images {
        max-width: 390px;
        height: 430px;
        margin-bottom: 30px;
    }

    #about .about-main-image {
        left: 70px;
        width: 250px;
        height: 340px;
    }

    #about .about-small-left {
        left: 0;
        top: 80px;
        width: 115px;
        height: 145px;
    }

    #about .about-small-right {
        right: 0;
        bottom: 30px;
        width: 190px;
        height: 225px;
    }

    #about .about-circle-left {
        left: -10px;
        bottom: 0;
        width: 110px;
        height: 110px;
    }

    #about .about-circle-right {
        right: -15px;
        bottom: 10px;
        width: 110px;
        height: 110px;
    }

    #about .about-dots-left {
        left: 240px;
        top: 15px;
    }

    #about .tgmrn-about-content {
        padding-left: 0;
        text-align: center;
    }

    #about .tgmrn-about-content .sec_small_heading {
        text-align: center;
    }

    #about .tgmrn-about-content .sec_main_heading {
        font-size: 28px;
        text-align: center;
    }

    #about .tgmrn-about-content .section-description {
        text-align: center;
        line-height: 1.8;
    }

    #about .why-list {
        text-align: left;
    }

    #about .btn-padd {
        text-align: center;
    }

}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media screen and (max-width: 480px) {

    #about .tgmrn-about-images {
        height: 370px;
    }

    #about .about-main-image {
        left: 55px;
        width: 220px;
        height: 290px;
    }

    #about .about-small-left {
        width: 100px;
        height: 125px;
        top: 70px;
    }

    #about .about-small-right {
        width: 165px;
        height: 195px;
        bottom: 25px;
    }

    #about .tgmrn-about-content .sec_main_heading {
        font-size: 25px;
    }

}

/* =====================================================
   TGMRN - LATEST NEWS / UPDATES
   Educational University Theme
   ===================================================== */

.tgmrn-latest-news {
    width: 100%;
    padding: 70px 0;
    background: #f8f8f8;
}

.tgmrn-news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =====================================================
   HEADER
   ===================================================== */

.tgmrn-news-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
}

.tgmrn-news-title-wrap {
    position: relative;
}

.tgmrn-news-small-title {
    display: block;
    margin-bottom: 7px;

    color: #7c0603;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tgmrn-news-title-wrap h3 {
    position: relative;

    margin: 0;
    padding-bottom: 12px;

    color: #151515;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.tgmrn-news-title-wrap h3:after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 55px;
    height: 3px;

    background: #7c0603;
}


/* =====================================================
   BELL / NEWS ICON
   ===================================================== */

.tgmrn-news-badge {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    background: #7c0603;
    color: #ffffff;

    font-size: 20px;

    box-shadow: 0 8px 20px rgba(160, 27, 48, 0.18);
}


/* =====================================================
   NEWS LIST
   ===================================================== */

.tgmrn-news-list {
    height: 390px;

    padding-right: 8px;

    overflow-y: auto;
}


/* Scrollbar */

.tgmrn-news-list::-webkit-scrollbar {
    width: 5px;
}

.tgmrn-news-list::-webkit-scrollbar-track {
    background: #e9e9e9;
}

.tgmrn-news-list::-webkit-scrollbar-thumb {
    background: #7c0603;
    border-radius: 10px;
}


/* =====================================================
   NEWS ITEM
   ===================================================== */

.tgmrn-news-item {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 100px;

    margin-bottom: 12px;
    padding: 15px 22px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    transition: all 0.3s ease;
}


/* Left red line */

.tgmrn-news-item:before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: #7c0603;

    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.tgmrn-news-item:hover:before {
    transform: scaleY(1);
}


/* Hover */

.tgmrn-news-item:hover {
    transform: translateX(5px);

    border-color: #e0e0e0;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}


/* =====================================================
   DATE
   ===================================================== */

.tgmrn-news-date {
    flex: 0 0 82px;

    width: 82px;
    height: 70px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    margin-right: 24px;

    background: #f7f7f7;

    border-right: 1px solid #eeeeee;

    text-align: center;
}


/* Day */

.tgmrn-date-day {
    color: #7c0603;

    font-size: 25px;
    line-height: 1;

    font-weight: 700;
}


/* Month */

.tgmrn-date-month {
    margin-top: 5px;

    color: #333333;

    font-size: 11px;
    line-height: 1;

    font-weight: 700;

    text-transform: uppercase;
}


/* Year */

.tgmrn-date-year {
    margin-top: 4px;

    color: #999999;

    font-size: 10px;
}


/* =====================================================
   NEWS CONTENT
   ===================================================== */

.tgmrn-news-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex: 1;

    min-width: 0;

    gap: 25px;
}

.tgmrn-news-link {
    display: block;

    color: #202020;

    font-size: 17px;
    line-height: 1.5;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}

.tgmrn-news-link:hover {
    color: #7c0603;
}


/* =====================================================
   ARROW
   ===================================================== */

.tgmrn-news-arrow {
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: #7c0603;

    border: 1px solid #e5e5e5;

    font-size: 12px;

    transition: all 0.25s ease;
}

.tgmrn-news-item:hover .tgmrn-news-arrow {
    background: #7c0603;
    color: #ffffff;
    border-color: #7c0603;
}


/* =====================================================
   NO NEWS
   ===================================================== */

.tgmrn-no-news {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 200px;

    gap: 10px;

    background: #ffffff;

    color: #777777;
}

.tgmrn-no-news i {
    color: #7c0603;
}


/* =====================================================
   TABLET - 1024px
   ===================================================== */

@media screen and (max-width: 1024px) {

    .tgmrn-latest-news {
        padding: 55px 0;
    }

    .tgmrn-news-container {
        padding: 0 25px;
    }

    .tgmrn-news-title-wrap h3 {
        font-size: 28px;
    }

    .tgmrn-news-item {
        padding: 15px 18px;
    }

}


/* =====================================================
   MOBILE - 767px
   ===================================================== */

@media screen and (max-width: 767px) {

    .tgmrn-latest-news {
        padding: 45px 0;
    }

    .tgmrn-news-container {
        padding: 0 15px;
    }

    .tgmrn-news-top {
        margin-bottom: 20px;
    }

    .tgmrn-news-small-title {
        font-size: 11px;
    }

    .tgmrn-news-title-wrap h3 {
        font-size: 23px;
    }

    .tgmrn-news-badge {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .tgmrn-news-list {
        height: 330px;
    }

    .tgmrn-news-item {
        min-height: 85px;

        padding: 12px;

        margin-bottom: 10px;
    }

    .tgmrn-news-date {
        flex: 0 0 62px;

        width: 62px;
        height: 62px;

        margin-right: 13px;
    }

    .tgmrn-date-day {
        font-size: 20px;
    }

    .tgmrn-date-month {
        font-size: 9px;
    }

    .tgmrn-date-year {
        font-size: 9px;
    }

    .tgmrn-news-content {
        gap: 10px;
    }

    .tgmrn-news-link {
        font-size: 14px;
        line-height: 1.45;
    }

    .tgmrn-news-arrow {
        flex: 0 0 30px;

        width: 30px;
        height: 30px;

        font-size: 10px;
    }

}


/* =====================================================
   SMALL MOBILE - 480px
   ===================================================== */

@media screen and (max-width: 480px) {

    .tgmrn-news-title-wrap h3 {
        font-size: 21px;
    }

    .tgmrn-news-badge {
        width: 40px;
        height: 40px;
    }

    .tgmrn-news-date {
        flex: 0 0 55px;

        width: 55px;
        height: 58px;

        margin-right: 10px;
    }

    .tgmrn-date-day {
        font-size: 18px;
    }

    .tgmrn-news-link {
        font-size: 13px;
    }

}

/* =====================================================
   TGMRN COURSES - HOMEPAGE
   ===================================================== */
.course{
   background-color: #E9E9E9;
}

.tgmrn-courses-intro {
    max-width: 760px;
    margin: 0 auto 35px;
}

.tgmrn-courses-intro p {
    margin: 0;

    color: #666;
    font-size: 15px;
    line-height: 1.8;
}


/* =====================================================
   COURSE CARDS
   ===================================================== */

.tgmrn-course-list {
    margin-top: 10px;
}

.tgmrn-course-card {
    height: 100%;

    padding: 30px 25px;

    background: #fff;

    border: 1px solid #eeeeee;

    text-align: center;

    transition: all 0.3s ease;
}

.tgmrn-course-card:hover {
    transform: translateY(-5px);

    border-color: #7c0603;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* Icon */

.tgmrn-course-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: #7c0603;

    color: #fff;

    font-size: 20px;
}


/* Course title */

.tgmrn-course-card h3 {
    margin: 0 0 12px;

    color: #222;

    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}


/* Description */

.tgmrn-course-card p {
    margin: 0;

    color: #777;

    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   EXPLORE MORE BUTTON
   ===================================================== */

.tgmrn-courses-button {
    margin-top: 15px;
}

.tgmrn-explore-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 28px;

    background: #7c0603;

    color: #fff !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all 0.3s ease;
}

.tgmrn-explore-btn:hover {
    background: #7f1526;

    color: #fff !important;

    transform: translateY(-2px);
}

.tgmrn-explore-btn i {
    font-size: 12px;

    transition: transform 0.3s ease;
}

.tgmrn-explore-btn:hover i {
    transform: translateX(4px);
}

/* =====================================================
   COURSES DECORATIVE SHAPES
   ===================================================== */

.course {
    position: relative;
    overflow: hidden;
}


/* Keep course content above decorative shapes */

.course .container {
    position: relative;
    z-index: 2;
}


/* Left Circle */

.course-circle {
    position: absolute;
    width: 180px;
    height: 180px;

    border-radius: 50%;

    border: 25px solid rgba(160, 27, 48, 0.08);

    pointer-events: none;
}


/* Left Position */

.course-circle-left {
    left: -90px;
    top: 80px;
}


/* Right Position */

.course-circle-right {
    right: -100px;
    bottom: 50px;
}


/* Dots */

.course-dots {
    position: absolute;

    width: 100px;
    height: 70px;

    background-image: radial-gradient(
        rgba(160, 27, 48, 0.18) 2px,
        transparent 2px
    );

    background-size: 15px 15px;

    pointer-events: none;
}


/* Top Right Dots */

.course-dots-top {
    top: 35px;
    right: 120px;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 767px) {

    .tgmrn-courses-intro {
        margin-bottom: 25px;
    }

    .tgmrn-courses-intro p {
        font-size: 14px;
    }

    .tgmrn-course-card {
        padding: 25px 20px;
    }

    .tgmrn-course-card h3 {
        font-size: 18px;
    }

}

/* =====================================================
   TGMRN WHY CHOOSE / ABOUT SECTION
   ===================================================== */

.tgmrn-why-section {
    /*padding: 80px 0;*/
    /*padding: 50px 0 50px;*/
    background: #fff;
    position: relative;
    overflow: hidden;
}


/* LEFT CONTENT */

.tgmrn-info-content {
    padding-right: 35px;
}

.tgmrn-why-section .sec_small_heading {
    margin-bottom: 12px;
    color: #7c0603;
    font-size: 16px;
    font-weight: 600;
}

.tgmrn-why-section .sec_small_heading i {
    margin-right: 8px;
}

.tgmrn-why-section .sec_main_heading {
    margin-bottom: 15px;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
}

.tgmrn-why-section .section-description {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}


/* =====================================================
   TABS
   ===================================================== */

.tgmrn-tabs {
    margin-top: 25px;
}

.tgmrn-tabs .nav-tabs {
    display: flex;
    flex-wrap: wrap;

    margin: 0;
    padding: 0;

    border: 0;
    gap: 8px;
}

.tgmrn-tabs .nav-tabs li {
    list-style: none;
    margin: 0;
}

.tgmrn-tabs .nav-tabs li a {
    display: block;

    padding: 10px 16px;

    background: #f1f1f1;

    border: 0 !important;

    color: #444;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.tgmrn-tabs .nav-tabs li.active a,
.tgmrn-tabs .nav-tabs li a:hover {
    background: #7c0603;
    color: #fff;
}


/* =====================================================
   TAB CONTENT
   ===================================================== */

.tgmrn-tabs .tab-content {
    padding-top: 25px;
}

.tgmrn-tabs .tab-pane {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.tgmrn-tabs .tab-pane h3 {
    margin-top: 0;
    margin-bottom: 10px;

    color: #222;

    font-size: 21px;
    font-weight: 700;
}

.tgmrn-tabs .tab-pane p {
    margin-bottom: 12px;
}


/* =====================================================
   PRINCIPAL IMAGE + CONTENT
   ===================================================== */

.tgmrn-tabs .msg {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.tgmrn-tabs .msg-img {
    flex: 0 0 130px;
    display: none;
}

.tgmrn-tabs .msg-img img {
    width: 130px;
    height: 150px;

    object-fit: cover;

    display: block;
}

.tgmrn-tabs .msg-text {
    flex: 1;
}

.tgmrn-tabs .msg-text a {
    display: inline-block;

    margin-top: 5px;

    color: #7c0603;

    font-weight: 600;

    text-decoration: none;
}


/* =====================================================
   RIGHT IMAGE
   ===================================================== */

.tgmrn-why-section .section-bottom-left-image {
    width: 100%;
    text-align: center;
}

.tgmrn-why-section .section-bottom-left-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: inline-block;
}


/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 991px) {

    .tgmrn-why-section {
        padding: 60px 0;
    }

    .tgmrn-info-content {
        padding-right: 0;
    }

    .tgmrn-why-section .sec_main_heading {
        font-size: 28px;
    }

    .tgmrn-why-section .section-bottom-left-image {
        margin-top: 40px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 767px) {

    .tgmrn-why-section {
        padding: 50px 0;
    }

    .tgmrn-why-section .sec_main_heading {
        font-size: 25px;
    }

    .tgmrn-why-section .section-description {
        font-size: 14px;
    }

    .tgmrn-tabs .nav-tabs {
        gap: 5px;
    }

    .tgmrn-tabs .nav-tabs li a {
        padding: 8px 11px;
        font-size: 12px;
    }

    .tgmrn-tabs .msg {
        display: block;
    }

    .tgmrn-tabs .msg-img {
        margin-bottom: 15px;
    }

    .tgmrn-tabs .msg-img img {
        width: 110px;
        height: 125px;
    }

    .tgmrn-why-section .section-bottom-left-image {
        margin-top: 30px;
    }

}
/* =====================================================
   TGMRN CUSTOM TABS - FINAL FIX
   ===================================================== */

#why-choose .tgmrn-tabs .tab-content {
    padding-top: 25px;
}

/* HIDE EVERY TAB BY DEFAULT */
#why-choose .tgmrn-tabs .tgmrn-tab-pane {
    display: none !important;
}

/* SHOW ONLY ACTIVE TAB */
#why-choose .tgmrn-tabs .tgmrn-tab-pane.active {
    display: block !important;
}


/* TAB TEXT */
#why-choose .tgmrn-tabs .tgmrn-tab-pane {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}


/* PRINCIPAL MESSAGE */
#why-choose .tgmrn-tabs .msg {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

#why-choose .tgmrn-tabs .msg-img {
    flex: 0 0 130px;
}

#why-choose .tgmrn-tabs .msg-img img {
    width: 130px;
    height: 150px;
    object-fit: cover;
    display: block;
}

#why-choose .tgmrn-tabs .msg-text {
    flex: 1;
}


/* READ MORE */
#why-choose .tgmrn-tabs .msg-text a {
    display: inline-block;
    margin-top: 5px;
    color: #7c0603;
    font-weight: 600;
    text-decoration: none;
}


/* MOBILE */
@media screen and (max-width: 767px) {

    #why-choose .tgmrn-tabs .msg {
        display: block;
    }

    #why-choose .tgmrn-tabs .msg-img {
        margin-bottom: 15px;
    }

    #why-choose .tgmrn-tabs .msg-img img {
        width: 110px;
        height: 125px;
    }

}


/* =====================================================
   TGMRN - WHY CHOOSE US / OUR FACILITIES
   ===================================================== */

.tgmrn-facilities-section {
    padding: 80px 0 90px;
    background: #E9E9E9;
}


/* =====================================================
   SECTION HEADING
   ===================================================== */

.tgmrn-facilities-heading {
    text-align: center;
    margin-bottom: 55px;
}

.tgmrn-section-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
}

.tgmrn-section-title-line span {
    display: block;
    width: 54px;
    height: 3px;
    background: #7c0603;
}

.tgmrn-section-title-line p {
    margin: 0;
    color: #777;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
}

.tgmrn-facilities-heading h2 {
    margin: 0;
    color: #2d2d2d;
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}


/* =====================================================
   FACILITY GRID
   ===================================================== */

.tgmrn-facilities-row {
    margin-left: -15px;
    margin-right: -15px;
}

.tgmrn-facilities-row > div {
    margin-bottom: 30px;
}


/* =====================================================
   FACILITY CARD
   ===================================================== */

.tgmrn-facility-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 200px;

    padding: 30px 20px;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(120, 45, 15, .90),
            rgba(95, 35, 12, .94)
        );

    border: 1px solid rgba(160, 27, 48, .15);

    box-shadow: 0 8px 18px rgba(0, 0, 0, .10);

    text-decoration: none;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}


/* Decorative background */
.tgmrn-facility-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(
            rgba(120, 45, 15, .80),
            rgba(95, 35, 12, .90)
        ),
        url('../images/books.jpg');

    background-size: cover;
    background-position: center;

    opacity: .35;

    z-index: 0;
}


/* Content above background */
.tgmrn-facility-card > * {
    position: relative;
    z-index: 1;
}


/* =====================================================
   ICON
   ===================================================== */

.tgmrn-facility-icon {
    margin-bottom: 20px;

    color: #ffb000;

    font-size: 48px;

    line-height: 1;

    transition:
        transform .3s ease,
        color .3s ease;
}


/* =====================================================
   TITLE
   ===================================================== */

.tgmrn-facility-card h3 {
    margin: 0;

    color: #fff;

    font-family: Georgia, serif;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.3;

    text-align: center;

    transition: color .3s ease;
}


/* =====================================================
   HOVER
   ===================================================== */

.tgmrn-facility-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, .18);

    text-decoration: none;
}

.tgmrn-facility-card:hover .tgmrn-facility-icon {
    transform: translateY(-5px) scale(1.05);
    color: #fff;
}

.tgmrn-facility-card:hover h3 {
    color: #ffb000;
}


/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 991px) {

    .tgmrn-facilities-section {
        padding: 65px 0 70px;
    }

    .tgmrn-facilities-heading {
        margin-bottom: 40px;
    }

    .tgmrn-facilities-heading h2 {
        font-size: 40px;
    }

    .tgmrn-facility-card {
        height: 190px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 767px) {

    .tgmrn-facilities-section {
        padding: 50px 0 55px;
    }

    .tgmrn-facilities-heading {
        margin-bottom: 30px;
    }

    .tgmrn-section-title-line {
        gap: 12px;
    }

    .tgmrn-section-title-line span {
        width: 35px;
        height: 2px;
    }

    .tgmrn-section-title-line p {
        font-size: 13px;
    }

    .tgmrn-facilities-heading h2 {
        font-size: 32px;
    }

    .tgmrn-facilities-row > div {
        margin-bottom: 20px;
    }

    .tgmrn-facility-card {
        height: 180px;
    }

    .tgmrn-facility-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .tgmrn-facility-card h3 {
        font-size: 18px;
    }

}


/* =====================================================
   TGMRN - WHY CHOOSE US / OUR FACILITIES
   ===================================================== */

/*:root {*/
/*    --tgmrn-theme: #7c0603;*/
/*    --tgmrn-theme-dark: #5a0402;*/
/*    --tgmrn-theme-light: #a80d08;*/

/*    --tgmrn-gold: #f5b342;*/
/*    --tgmrn-gold-light: #ffd966;*/

/*    --tgmrn-bg: #f6f4f0;*/

/*    --tgmrn-text-dark: #1e1e1e;*/
/*    --tgmrn-text-muted: #5a5a5a;*/
/*}*/


/* =====================================================
   SECTION
   ===================================================== */

.tgmrn-facilities-section {
    position: relative;
    padding: 80px 0 90px;
    background-color: #E9E9E9;
    background-image:
        radial-gradient(
            circle at 10% 20%,
            rgba(124, 6, 3, 0.02) 0%,
            transparent 30%
        );
    overflow: hidden;
}


/* =====================================================
   SECTION HEADING
   ===================================================== */

.tgmrn-facilities-heading {
    text-align: center;

    margin-bottom: 60px;
}


/* Small heading line */

.tgmrn-section-title-line {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-bottom: 10px;
}


.tgmrn-section-title-line span {
    display: block;

    width: 60px;
    height: 4px;

    background: var(--tgmrn-theme);

    border-radius: 4px;
}


.tgmrn-section-title-line p {
    margin: 0;

    color: var(--tgmrn-theme);

    font-family:
        'Inter',
        'Segoe UI',
        Roboto,
        Arial,
        sans-serif;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    background: rgba(124, 6, 3, 0.06);

    padding: 4px 18px;

    border-radius: 40px;
}


/* Main heading */

.tgmrn-facilities-heading h2 {
    margin: 0;

    color: var(--tgmrn-text-dark);

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size: 52px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.5px;
}


/* Highlighted word */

.tgmrn-facilities-heading h2 span {
    color: var(--tgmrn-theme);
    padding-bottom: 4px;
}


/* =====================================================
   FACILITY GRID
   ===================================================== */

.tgmrn-facilities-row {
    --tgmrn-gap: 24px;

    margin-left:
        calc(-1 * var(--tgmrn-gap) / 2);

    margin-right:
        calc(-1 * var(--tgmrn-gap) / 2);
}


.tgmrn-facilities-row > div {
    padding-left:
        calc(var(--tgmrn-gap) / 2);

    padding-right:
        calc(var(--tgmrn-gap) / 2);

    margin-bottom:
        var(--tgmrn-gap);
}


/* =====================================================
   FACILITY CARD
   ===================================================== */

.tgmrn-facility-card {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    width: 100%;

    height: 220px;

    padding: 30px 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fcfaf8 100%
        );

    border:
        1px solid rgba(124, 6, 3, 0.06);

    border-radius:
        32px 8px 32px 8px;

    box-shadow:
        0 10px 25px -8px
        rgba(0, 0, 0, 0.08);

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.35s cubic-bezier(0.2, 0, 0, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* =====================================================
   TOP ACCENT
   ===================================================== */

.tgmrn-facility-card::after {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 6px;

    background:
        linear-gradient(
            90deg,
            var(--tgmrn-theme),
            var(--tgmrn-gold),
            var(--tgmrn-theme)
        );

    opacity: 0.5;

    transition:
        opacity 0.3s ease,
        height 0.2s ease;
}


.tgmrn-facility-card:hover::after {
    opacity: 1;

    height: 8px;
}


/* =====================================================
   DECORATIVE CIRCLE
   ===================================================== */

.tgmrn-facility-card::before {
    content: '';

    position: absolute;

    top: -40%;
    right: -30%;

    width: 180px;
    height: 180px;

    background:
        radial-gradient(
            circle,
            rgba(124, 6, 3, 0.03) 0%,
            transparent 70%
        );

    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
   CARD CONTENT
   ===================================================== */

.tgmrn-facility-card > * {
    position: relative;

    z-index: 2;
}

/*FACILITY ICON*/
.tgmrn-facility-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    background: rgba(124, 6, 3, 0.04);
    border: 1px solid rgba(124, 6, 3, 0.03);
    border-radius: 30px 8px 30px 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}


/* Dynamic facility image */
.tgmrn-facility-icon img {
    display: block;
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Icon */
.tgmrn-facility-icon i {
    transition:
        transform 0.4s ease;
}

/*TITLE*/

.tgmrn-facility-card h3 {
    margin: 0;
    color: var(--tgmrn-text-dark);
    font-family:
        Georgia,
        'Times New Roman',
        serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.2px;
    transition:
        color 0.3s ease;
}

/*HOVER*/

.tgmrn-facility-card:hover {
    transform:
        translateY(-12px)
        scale(1.01);

    box-shadow:
        0 25px 40px -12px
        rgba(124, 6, 3, 0.25);

    border-color:
        rgba(124, 6, 3, 0.08);

    background: #ffffff;

    text-decoration: none;
}


.tgmrn-facility-card:hover
.tgmrn-facility-icon {

    background:
        var(--tgmrn-theme);

    color: #ffffff;

    transform:
        scale(1.02)
        rotate(-2deg);

    border-color:
        var(--tgmrn-theme);

    box-shadow:
        0 8px 20px
        rgba(124, 6, 3, 0.20);
}


.tgmrn-facility-card:hover
.tgmrn-facility-icon i {

    transform:
        scale(0.95)
        rotate(4deg);
}


.tgmrn-facility-card:hover h3 {
    color:
        var(--tgmrn-theme);
}


 /*EMPTY STATE*/

.tgmrn-no-facilities {
    text-align: center;

    color: var(--tgmrn-text-muted);

    font-size: 16px;

    padding: 30px 0;
}


 /*TABLET*/

@media screen and (max-width: 991px) {

    .tgmrn-facilities-section {
        padding: 65px 0 70px;
    }

    .tgmrn-facilities-heading h2 {
        font-size: 42px;
    }

    .tgmrn-facility-card {
        height: 200px;

        padding: 24px 16px;
    }

    .tgmrn-facility-icon {
        width: 70px;
        height: 70px;

        font-size: 38px;
    }

    .tgmrn-facility-card h3 {
        font-size: 18px;
    }
}


  /*MOBILE*/

@media screen and (max-width: 767px) {

    .tgmrn-facilities-section {
        padding: 50px 0 55px;
    }

    .tgmrn-facilities-heading {
        margin-bottom: 40px;
    }

    .tgmrn-section-title-line {
        gap: 12px;
    }

    .tgmrn-section-title-line span {
        width: 35px;
        height: 3px;
    }

    .tgmrn-section-title-line p {
        font-size: 13px;

        padding: 2px 14px;

        letter-spacing: 1.5px;
    }

    .tgmrn-facilities-heading h2 {
        font-size: 32px;
    }

    .tgmrn-facilities-heading h2 span {
        border-bottom-width: 2px;
    }

    .tgmrn-facilities-row {
        --tgmrn-gap: 16px;
    }

    .tgmrn-facilities-row > div {
        margin-bottom: 16px;
    }

    .tgmrn-facility-card {
        height: 180px;

        border-radius:
            24px 6px 24px 6px;
    }

    .tgmrn-facility-icon {
        width: 60px;
        height: 60px;

        font-size: 32px;

        margin-bottom: 12px;

        border-radius:
            20px 4px 20px 4px;
    }

    .tgmrn-facility-card h3 {
        font-size: 17px;
    }
}


/*SMALL MOBILE*/

@media screen and (max-width: 480px) {
    .tgmrn-facility-card {
        height: 160px;
        padding: 20px 12px;
    }

    .tgmrn-facility-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .tgmrn-facility-card h3 {
        font-size: 15px;
    }
}

 css
/* =====================================================
   TGMRN - ENQUIRY & COMPLAINT SECTION
   ===================================================== */

.tgmrn-forms-section {
    position: relative;
    padding: 85px 0 95px;
    background: #ffffff;
    overflow: hidden;
}


/* =====================================================
   BACKGROUND DECORATION
   ===================================================== */
.tgmrn-forms-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -180px;
    left: -180px;
    background:
        radial-gradient(
            circle,
            rgba(124, 6, 3, 0.05) 0%,
            transparent 70%
        );
    border-radius: 50%;
    pointer-events: none;
}


.tgmrn-forms-section::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -160px;
    bottom: -160px;
    background:
        radial-gradient(
            circle,
            rgba(245, 179, 66, 0.07) 0%,
            transparent 70%
        );

    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
   SECTION HEADING
   ===================================================== */

.tgmrn-forms-heading {
    position: relative;

    z-index: 2;

    text-align: center;

    margin-bottom: 55px;
}


.tgmrn-forms-label {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    margin-bottom: 12px;
}


.tgmrn-forms-label span {
    width: 55px;
    height: 3px;

    display: block;

    background: #7c0603;

    border-radius: 5px;
}


.tgmrn-forms-label p {
    margin: 0;

    color: #7c0603;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.tgmrn-forms-heading h2 {
    margin: 0;

    color: #222222;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 46px;

    font-weight: 700;

    line-height: 1.2;
}


.tgmrn-forms-heading h2 span {
    color: #7c0603;
    padding-bottom: 4px;
}


.tgmrn-forms-intro {
    max-width: 650px;

    margin: 16px auto 0;

    color: #777777;

    font-size: 16px;

    line-height: 1.7;
}


/* =====================================================
   FORM GRID
   ===================================================== */

.tgmrn-forms-row {
    position: relative;

    z-index: 2;

    margin-left: -12px;
    margin-right: -12px;
}


.tgmrn-forms-row > div {
    padding-left: 12px;
    padding-right: 12px;

    margin-bottom: 25px;
}


/* =====================================================
   FORM CARD
   ===================================================== */

.tgmrn-form-card {
    position: relative;

    height: 100%;

    padding: 35px 35px 38px;

    background: #ffffff;

    border:
        1px solid rgba(124, 6, 3, 0.09);

    border-radius:
        28px 8px 28px 8px;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.07);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.tgmrn-form-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 25px 50px
        rgba(124, 6, 3, 0.12);
}


/* =====================================================
   TOP ACCENT
   ===================================================== */

.tgmrn-form-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            #7c0603,
            #f5b342,
            #7c0603
        );
}


/* =====================================================
   FORM HEADER
   ===================================================== */

.tgmrn-form-header {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 18px;
}


/* =====================================================
   FORM ICON
   ===================================================== */

.tgmrn-form-icon {
    flex: 0 0 auto;

    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #7c0603;

    background:
        rgba(124, 6, 3, 0.06);

    border-radius:
        22px 6px 22px 6px;

    font-size: 27px;

    transition:
        all 0.3s ease;
}


.tgmrn-form-card:hover
.tgmrn-form-icon {

    color: #ffffff;

    background: #7c0603;

    transform:
        rotate(-3deg);
}


/* =====================================================
   FORM TITLE
   ===================================================== */

.tgmrn-form-overline {
    display: block;

    margin-bottom: 4px;

    color: #999999;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.tgmrn-form-header h3 {
    margin: 0;

    color: #252525;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.2;
}


/* =====================================================
   DESCRIPTION
   ===================================================== */

.tgmrn-form-description {
    margin: 0 0 25px;
    color: #707070;
    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   CONTACT FORM 7
   ===================================================== */

.tgmrn-form-box {
    width: 100%;
}


/* Labels */

.tgmrn-form-box label {
    display: block;

    color: #333333;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 7px;
}


/* Inputs */

.tgmrn-form-box input[type="text"],
.tgmrn-form-box input[type="email"],
.tgmrn-form-box input[type="tel"],
.tgmrn-form-box input[type="number"],
.tgmrn-form-box textarea,
.tgmrn-form-box select {

    width: 100%;

    min-height: 48px;

    padding: 12px 15px;

    color: #333333;

    background: #fafafa;

    border:
        1px solid #dddddd;

    border-radius: 7px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* Textarea */

.tgmrn-form-box textarea {
    min-height: 110px;

    resize: vertical;
}


/* Focus */

.tgmrn-form-box input:focus,
.tgmrn-form-box textarea:focus,
.tgmrn-form-box select:focus {

    background: #ffffff;

    border-color: #7c0603;

    box-shadow:
        0 0 0 3px
        rgba(124, 6, 3, 0.08);
}


/* Submit button */

.tgmrn-form-box input[type="submit"] {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 155px;

    min-height: 48px;

    padding: 12px 25px;

    color: #ffffff;

    background: #7c0603;

    border: none;

    border-radius: 7px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.tgmrn-form-box input[type="submit"]:hover {

    background: #5a0402;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px
        rgba(124, 6, 3, 0.22);
}


/* =====================================================
   CF7 SPACING
   ===================================================== */
   
 .wpcf7 textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.tgmrn-form-box .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}


.tgmrn-form-box p {
    margin-bottom: 15px;
}


/* CF7 response */

.tgmrn-form-box .wpcf7-response-output {

    margin:
        15px 0 0;

    padding:
        10px 12px;

    border-radius: 6px;

    font-size: 13px;
}

@media screen and (max-width: 991px) {

    .tgmrn-forms-section {
        padding: 65px 0 75px;
    }

    .tgmrn-forms-heading h2 {
        font-size: 40px;
    }

    .tgmrn-form-card {
        padding:
            30px 25px 32px;
    }

    .tgmrn-form-header h3 {
        font-size: 22px;
    }

}

@media screen and (max-width: 767px) {

    .tgmrn-forms-section {
        padding: 50px 0 60px;
    }

    .tgmrn-forms-heading {
        margin-bottom: 35px;
    }

    .tgmrn-forms-label {
        gap: 10px;
    }

    .tgmrn-forms-label span {
        width: 30px;
        height: 2px;
    }

    .tgmrn-forms-label p {
        font-size: 11px;

        letter-spacing: 1.2px;
    }

    .tgmrn-forms-heading h2 {
        font-size: 31px;
    }

    .tgmrn-forms-intro {
        font-size: 14px;

        padding: 0 10px;
    }

    .tgmrn-form-card {
        padding:
            28px 20px 30px;

        border-radius:
            24px 7px 24px 7px;
    }

    .tgmrn-form-icon {
        width: 55px;
        height: 55px;

        font-size: 23px;

        border-radius:
            18px 5px 18px 5px;
    }

    .tgmrn-form-header {
        gap: 13px;
    }

    .tgmrn-form-header h3 {
        font-size: 20px;
    }

    .tgmrn-form-description {
        font-size: 13px;

        margin-bottom: 20px;
    }

}

@media screen and (max-width: 480px) {

    .tgmrn-forms-heading h2 {
        font-size: 28px;
    }

    .tgmrn-form-card {
        padding:
            25px 16px 28px;
    }

    .tgmrn-form-header h3 {
        font-size: 18px;
    }

    .tgmrn-form-box input[type="submit"] {
        width: 100%;
    }

}
/* =====================================================
   TGMRN GALLERY ALBUM
   ===================================================== */

#foogallery-album-435 {
    width: 100%;
    margin: 40px auto;
}

/* Gallery grid */
#foogallery-album-435 .foogallery-album-gallery-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
}

/* Remove default list styling */
#foogallery-album-435 .foogallery-album-gallery-list > li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

/* Card */
#foogallery-album-435 .foogallery-pile {
    width: 100%;
    height: 280px;
    margin: 0;
}

/* Inner card */
#foogallery-album-435 .foogallery-pile-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    transition: all 0.35s ease;
}

/* Image */
#foogallery-album-435 .foogallery-pile-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Important: don't stretch tiny thumbnail */
#foogallery-album-435 .foogallery-pile-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

/* Dark overlay */
#foogallery-album-435 .foogallery-pile-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.05) 65%
    );
    z-index: 1;
}

/* Title */
#foogallery-album-435 .foogallery-pile h3 {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

    margin: 0 !important;
    padding: 45px 20px 20px !important;

    background: transparent !important;
    color: #fff !important;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

/* Image count */
#foogallery-album-435 .foogallery-pile h3 span {
    display: block;
    margin-top: 6px;

    font-size: 13px;
    font-weight: 500;

    color: rgba(255,255,255,0.85);
}

/* Hover */
#foogallery-album-435 .foogallery-pile-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

#foogallery-album-435 .foogallery-pile-inner:hover img {
    transform: scale(1.08);
}


/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 991px) {

    #foogallery-album-435 .foogallery-album-gallery-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    #foogallery-album-435 .foogallery-pile {
        height: 250px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 575px) {

    #foogallery-album-435 .foogallery-album-gallery-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #foogallery-album-435 .foogallery-pile {
        height: 240px;
    }

    #foogallery-album-435 .foogallery-pile h3 {
        font-size: 18px;
    }
}

/* SiteOrigin Buttons - TGMRN Theme Color */
.so-widget-sow-button-flat-f7f71b5337fe-476 .ow-button-base .sowb-button,
.so-widget-sow-button-flat-f7f71b5337fe-492 .ow-button-base .sowb-button,
.so-widget-sow-button-flat-4f62477906f5-362 .ow-button-base .sowb-button {
    background: var(--first-theme-color) !important;
    border: 1px solid var(--first-theme-color) !important;
    color: #ffffff !important;
}

.pageTitle h3 {
    background: #f3f3f3;
    padding: 10px;
    color: #7c0603;
}


/*TGMRN TEACHING STAFF - MODERN FACULTY DESIGN*/

.tgmrn-staff-hero {
position: relative;
padding: 85px 0 90px;
background: var(--first-theme-color, #7c0603);
overflow: hidden;
}

.tgmrn-staff-hero::before {
content: "";
position: absolute;
width: 320px;
height: 320px;
border: 60px solid rgba(255,255,255,0.06);
border-radius: 50%;
right: -100px;
top: -130px;
}

.tgmrn-staff-hero::after {
content: "";
position: absolute;
width: 220px;
height: 220px;
border: 35px solid rgba(255,255,255,0.05);
border-radius: 50%;
left: -100px;
bottom: -100px;
}

.tgmrn-staff-hero-content {
position: relative;
z-index: 2;
max-width: 750px;
margin: auto;
text-align: center;
}

.tgmrn-staff-label {
display: inline-block;
margin-bottom: 14px;
padding: 7px 18px;
border: 1px solid rgba(255,255,255,0.35);
border-radius: 30px;
color: #fff;
font-size: 12px;
font-weight: 700;
letter-spacing: 2px;
}

.tgmrn-staff-hero h1 {
margin: 0 0 18px;
color: #fff;
font-size: 46px;
font-weight: 700;
}

.tgmrn-staff-hero p {
max-width: 680px;
margin: auto;
color: rgba(255,255,255,0.9);
font-size: 16px;
line-height: 1.8;
}

/*FACULTY SECTION*/

.tgmrn-faculty-section {
padding: 75px 0;
background: #f8f8f8;
}

.tgmrn-section-heading {
margin-bottom: 45px;
text-align: center;
}

.tgmrn-section-heading > span {
display: block;
margin-bottom: 8px;
color: var(--first-theme-color, #7c0603);
font-size: 13px;
font-weight: 700;
letter-spacing: 2px;
}

.tgmrn-section-heading h2 {
margin: 0;
font-size: 34px;
font-weight: 700;
color: #222;
}

.tgmrn-heading-line {
width: 55px;
height: 3px;
margin: 16px auto 0;
background: var(--first-theme-color, #7c0603);
}

/*FACULTY CARD*/

.tgmrn-faculty-card {
position: relative;
margin-bottom: 30px;
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 5px 25px rgba(0,0,0,0.07);
transition: all 0.35s ease;
}

.tgmrn-faculty-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 35px rgba(0,0,0,0.14);
}

/*FACULTY IMAGE*/

.tgmrn-faculty-image {
position: relative;
height: 280px;
overflow: hidden;
background: #eeeeee;
}

.tgmrn-faculty-image::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 5px;
background: var(--first-theme-color, #7c0603);
}

.tgmrn-faculty-image img {
width: 100%;
height: 300px;
/*object-fit: cover;*/
object-position: center top;
display: block;
transition: transform 0.5s ease;
}

.tgmrn-faculty-card:hover .tgmrn-faculty-image img {
transform: scale(1.06);
}

/*NO PHOTO*/

.tgmrn-no-photo {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 70px;
color: #ccc;
}

/*FACULTY INFORMATION*/

.tgmrn-faculty-info {
padding: 22px 20px 24px;
text-align: center;
}

.tgmrn-faculty-info h3 {
margin: 0 0 8px;
color: #222;
font-size: 19px;
font-weight: 700;
}

.tgmrn-faculty-info p {
min-height: 42px;
margin: 0;
color: #777;
font-size: 14px;
line-height: 1.6;
}

.tgmrn-faculty-divider {
width: 35px;
height: 2px;
margin: 15px auto;
background: var(--first-theme-color, #7c0603);
}

.tgmrn-faculty-role {
color: var(--first-theme-color, #7c0603);
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
}

/*NO STAFF*/

.tgmrn-no-staff {
padding: 70px 20px;
text-align: center;
background: #fff;
border-radius: 10px;
}

.tgmrn-no-staff i {
margin-bottom: 15px;
color: var(--first-theme-color, #7c0603);
font-size: 45px;
}

.tgmrn-no-staff h3 {
margin-bottom: 8px;
}

.tgmrn-no-staff p {
margin: 0;
color: #777;
}

/*RESPONSIVE*/

@media (max-width: 991px) {
.tgmrn-staff-hero {
    padding: 65px 0;
}

.tgmrn-staff-hero h1 {
    font-size: 38px;
}

.tgmrn-faculty-section {
    padding: 60px 0;
}
 

}

@media (max-width: 575px) {
.tgmrn-staff-hero {
    padding: 50px 20px;
}

.tgmrn-staff-hero h1 {
    font-size: 30px;
}

.tgmrn-staff-hero p {
    font-size: 14px;
}

.tgmrn-section-heading h2 {
    font-size: 27px;
}

.tgmrn-faculty-section {
    padding: 45px 15px;
}

.tgmrn-faculty-image {
    height: 300px;
}
}

/* =====================================================
   TGMRN NON TEACHING STAFF
   ===================================================== */

/* Staff Section */

.tgmrn-staff-section {
    padding: 75px 0;
    background: #f8f8f8;
}

/* Section Heading */

.tgmrn-staff-section .tgmrn-section-heading {
    margin-bottom: 45px;
    text-align: center;
}

.tgmrn-staff-section .tgmrn-section-heading > span {
    display: block;
    margin-bottom: 8px;
    color: var(--first-theme-color, #7c0603);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.tgmrn-staff-section .tgmrn-section-heading h2 {
    margin: 0;
    color: #222;
    font-size: 34px;
    font-weight: 700;
}

.tgmrn-staff-section .tgmrn-section-heading p {
    max-width: 700px;
    margin: 15px auto 0;
    color: #777;
    font-size: 15px;
    line-height: 1.7;
}

/* Add heading line */

.tgmrn-staff-section .tgmrn-section-heading h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin: 16px auto 0;
    background: var(--first-theme-color, #7c0603);
}


/* =====================================================
   STAFF GRID
   ===================================================== */

.tgmrn-staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* =====================================================
   STAFF CARD
   ===================================================== */

.tgmrn-staff-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
}

.tgmrn-staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.14);
}


/* =====================================================
   STAFF IMAGE
   ===================================================== */

.tgmrn-staff-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #eeeeee;
}

/* Bottom theme line */

.tgmrn-staff-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--first-theme-color, #7c0603);
}

.tgmrn-staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.tgmrn-staff-card:hover .tgmrn-staff-image img {
    transform: scale(1.06);
}

.tgmrn-staff-no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #eeeeee;
    color: #aaa;

    font-size: 16px;
    font-weight: 600;
}


/* =====================================================
   STAFF INFORMATION
   ===================================================== */

.tgmrn-staff-info {
    padding: 22px 20px 24px;
    text-align: center;
}

.tgmrn-staff-info h3 {
    margin: 0 0 8px;
    color: #222;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.tgmrn-staff-info p {
    min-height: 42px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
   SMALL DIVIDER
   ===================================================== */

.tgmrn-staff-info h3::after {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    margin: 13px auto 0;
    background: var(--first-theme-color, #7c0603);
}


/* =====================================================
   NO STAFF
   ===================================================== */

.tgmrn-no-staff {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
}

.tgmrn-no-staff h3 {
    margin-bottom: 8px;
    color: #222;
}

.tgmrn-no-staff p {
    margin: 0;
    color: #777;
}

   /*RESPONSIVE*/

@media (max-width: 1199px) {
    .tgmrn-staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .tgmrn-staff-section {
        padding: 60px 0;
    }
    .tgmrn-staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .tgmrn-staff-image {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .tgmrn-staff-section {
        padding: 45px 15px;
    }
    .tgmrn-staff-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .tgmrn-staff-image {
        height: 330px;
    }
    .tgmrn-staff-info h3 {
        font-size: 18px;
    }
}
/* =====================================================
   TGMRN - COMMITTEE + ACTIVITIES SUBMENU FIX
   ===================================================== */

/* Submenu width */
#menu-item-231 > .sub-menu,
#menu-item-100 > .sub-menu {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    box-sizing: border-box !important;
}

/* Submenu items */
#menu-item-231 > .sub-menu > li,
#menu-item-100 > .sub-menu > li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Submenu links */
#menu-item-231 > .sub-menu > li > a,
#menu-item-100 > .sub-menu > li > a {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;

    height: auto !important;
    line-height: 1.4 !important;

    padding: 10px 15px !important;
}

/* =========================================================
   TGMRN ANTI RAGGING PAGE - MODERN DESIGN
   ========================================================= */

/* Main page content */
.post-251 .entry-content {
    margin: 0 auto;
    padding: 20px 15px 60px;
    color: #444;
}

/* Remove unwanted SiteOrigin spacing */
.post-251 .panel-layout,
.post-251 .panel-grid,
.post-251 .panel-grid-cell {
    width: 100%;
    max-width: 100%;
}

.post-251 .panel-grid {
    display: block !important;
    margin: 0 !important;
}

.post-251 .panel-grid-cell {
    float: none !important;
    display: block !important;
    padding: 0 !important;
}

/* =========================================================
   INTRODUCTION
   ========================================================= */

.post-251 .panel-grid:first-child {
    background: #fff;
    border-radius: 14px;
    padding: 35px 40px !important;
    margin-bottom: 35px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.07);
    border-top: 4px solid var(--first-theme-color, #A01B30);
}

.post-251 .panel-grid:first-child h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 15px;
    color: var(--first-theme-color, #A01B30);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.post-251 .panel-grid:first-child h3:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 65px;
    height: 3px;
    background: var(--first-theme-color, #A01B30);
    border-radius: 10px;
}

.post-251 .panel-grid:first-child p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* =========================================================
   ALL TABLES
   ========================================================= */

.post-251 table.table {
    width: 100% !important;
    margin: 25px 0 10px;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

/* Table cells */
.post-251 table.table td {
    padding: 14px 16px !important;
    border: 1px solid #e8e8e8 !important;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.5;
}

/* Table heading */
.post-251 table.table thead td,
.post-251 table.table tbody tr:first-child td strong {
    background: var(--first-theme-color, #A01B30);
    color: #fff;
    font-weight: 600;
}

/* First committee table */
.post-251 .panel-grid:first-child table td:first-child {
    width: 8%;
    text-align: center;
    font-weight: 600;
}

.post-251 .panel-grid:first-child table td:nth-child(2) {
    width: 40%;
}

.post-251 .panel-grid:first-child table td:nth-child(3) {
    width: 22%;
}

.post-251 .panel-grid:first-child table td:nth-child(4) {
    width: 30%;
}

/* Name + designation inside same cell */
.post-251 table p {
    margin: 3px 0;
}

/* Alternate table rows */
.post-251 table.table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.post-251 table.table tbody tr:hover td {
    background: #f8eeee;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.post-251 .pageTitle {
    background: transparent !important;
    padding: 0 !important;
    margin: 45px 0 20px;
    border: 0 !important;
}

.post-251 .widget-title {
    position: relative;
    display: block;
    margin: 0;
    padding: 17px 22px;
    background: var(--first-theme-color, #A01B30);
    color: #fff !important;
    border-radius: 8px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

/* Minutes heading */
.post-251 .panel-grid:not(:first-child) .widget-title {
    border-left: 5px solid #d4a72c;
}

/* =========================================================
   MINUTES CONTENT
   ========================================================= */

.post-251 .panel-grid:not(:first-child) .textwidget {
    background: #fff;
    padding: 30px 35px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}

.post-251 .panel-grid:not(:first-child) p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Bold agenda items */
.post-251 .panel-grid:not(:first-child) p strong {
    color: #333;
}

/* =========================================================
   MINUTES TABLES
   ========================================================= */

.post-251 .panel-grid:not(:first-child) table {
    margin: 20px 0 25px;
}

.post-251 .panel-grid:not(:first-child) table td:first-child {
    width: 70%;
}

.post-251 .panel-grid:not(:first-child) table td:last-child {
    width: 30%;
    font-weight: 600;
}

/* =========================================================
   SIGNATURE AREA
   ========================================================= */

.post-251 .textwidget p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   DESKTOP LAYOUT FIX
   ========================================================= */

@media (min-width: 992px) {

    .post-251 .panel-grid {
        display: block !important;
    }

    .post-251 .panel-grid-cell {
        width: 100% !important;
        max-width: 100% !important;
    }

    .post-251 .panel-grid-cell + .panel-grid-cell {
        margin-top: 40px;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-251 .entry-content {
        padding: 15px 12px 45px;
    }

    .post-251 .panel-grid:first-child {
        padding: 25px !important;
    }

    .post-251 .panel-grid:not(:first-child) .textwidget {
        padding: 25px;
    }

    .post-251 .widget-title {
        font-size: 19px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-251 .entry-content {
        padding: 10px 10px 40px;
    }

    .post-251 .panel-grid:first-child {
        padding: 22px 18px !important;
        border-radius: 10px;
    }

    .post-251 .panel-grid:first-child h3 {
        font-size: 22px;
        line-height: 1.35;
    }

    .post-251 .panel-grid:first-child p {
        font-size: 14px;
        line-height: 1.7;
    }

    .post-251 .widget-title {
        font-size: 17px;
        padding: 14px 16px;
    }

    .post-251 .panel-grid:not(:first-child) .textwidget {
        padding: 20px 16px;
    }

    .post-251 .panel-grid:not(:first-child) p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Horizontal scrolling for long tables */
    .post-251 table.table {
        display: block;
        overflow-x: auto;
        white-space: normal;
        -webkit-overflow-scrolling: touch;
    }

    .post-251 table.table td {
        min-width: 150px;
        padding: 11px 12px !important;
        font-size: 13px;
    }

    .post-251 .panel-grid:first-child table td {
        min-width: 120px;
    }

    .post-251 .pageTitle {
        margin-top: 30px;
    }
}

/* =========================================================
   EXTRA CLEANUP
   ========================================================= */

.post-251 .panel-first-child,
.post-251 .panel-last-child {
    margin-bottom: 0 !important;
}

.post-251 .so-widget-sow-editor {
    margin: 0 !important;
}

.post-251 .clearfix {
    clear: both;
}

/* Hide WordPress edit link for visitors */
.post-251 .edit-link {
    display: none;
}

/* =========================================================
   TGMRN STUDENT COUNCIL PAGE - POST 503
   Modern responsive design
   ========================================================= */

/* Main content wrapper */
.post-503 .entry-content {
    /*max-width: 1200px;*/
    /*margin: 0 auto;*/
    padding: 20px 15px 60px;
    color: #444;
}

/* =========================================================
   FIX SITEORIGIN COLUMNS
   Make every section full width
   ========================================================= */

.post-503 .panel-layout {
    width: 100%;
}

.post-503 .panel-grid {
    display: block !important;
    width: 100% !important;
    margin: 0 0 35px !important;
    padding: 0 !important;
}

.post-503 .panel-grid-cell {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
}

/* Remove old SiteOrigin spacing */
.post-503 .so-panel {
    width: 100% !important;
    margin: 0 !important;
}

.post-503 .so-widget-sow-editor {
    margin: 0 !important;
}


/* =========================================================
   CONTENT CARD
   ========================================================= */

.post-503 .pageTitle {
    position: relative;
    margin: 0 0 25px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* =========================================================
   SECTION TITLE
   ========================================================= */

.post-503 .widget-title {
    position: relative;
    display: block;
    margin: 0 !important;
    padding: 17px 24px 17px 28px !important;

    background: var(--first-theme-color, #A01B30);
    color: #fff !important;

    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;

    border-radius: 8px 8px 0 0;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);

    border-left: 5px solid #d4a72c;
}

/* Small decorative line */
.post-503 .widget-title:after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 35px;
    height: 2px;
    background: rgba(255,255,255,.45);
    transform: translateY(-50%);
}


/* =========================================================
   CONTENT AREA
   ========================================================= */

.post-503 .textwidget {
    background: #fff;
    padding: 30px 35px !important;

    border: 1px solid #e8e8e8;
    border-top: 0;

    border-radius: 0 0 10px 10px;

    box-shadow: 0 5px 25px rgba(0,0,0,.05);

    font-size: 15px;
    line-height: 1.8;
}

/* Paragraphs */
.post-503 .textwidget p {
    margin: 0 0 15px;
    color: #555;
    line-height: 1.8;
}

/* Last paragraph */
.post-503 .textwidget p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FIRST TWO NOTIFICATION SECTIONS
   ========================================================= */

.post-503 .panel-grid:first-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

    margin-bottom: 35px !important;
}

.post-503 .panel-grid:first-child .panel-grid-cell {
    margin: 0 !important;
}

/* On desktop first two cards */
@media (min-width: 992px) {

    .post-503 .panel-grid:first-child .textwidget {
        min-height: 310px;
    }
}


/* =========================================================
   SUBHEADINGS INSIDE CONTENT
   ========================================================= */

.post-503 .textwidget strong u {
    color: var(--first-theme-color, #A01B30);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Better internal headings */
.post-503 .textwidget p > strong:first-child {
    color: #333;
}


/* =========================================================
   LISTS
   ========================================================= */

.post-503 .textwidget ul,
.post-503 .textwidget ol {
    margin: 10px 0 20px;
    padding-left: 25px;
}

.post-503 .textwidget li {
    margin-bottom: 8px;
    padding-left: 5px;
    line-height: 1.7;
}

.post-503 .textwidget ul li::marker {
    color: var(--first-theme-color, #A01B30);
}

.post-503 .textwidget ol li::marker {
    font-weight: 600;
    color: var(--first-theme-color, #A01B30);
}


/* =========================================================
   IMPORTANT:
   REMOVE HUGE SPACES CREATED BY &nbsp;
   ========================================================= */

.post-503 .textwidget {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.post-503 .textwidget p {
    overflow-wrap: anywhere;
}


/* =========================================================
   MAKE LONG NAME / POSITION LINES CLEAN
   ========================================================= */

.post-503 .textwidget p {
    text-align: left;
}

/* Highlight committee information */
.post-503 .textwidget p strong:first-child {
    font-weight: 700;
}


/* =========================================================
   YEAR SECTIONS
   ========================================================= */

.post-503 #pg-503-2,
.post-503 #pg-503-3,
.post-503 #pg-503-4,
.post-503 #pg-503-5 {
    margin-top: 35px !important;
}

/* Every year section becomes a clean document card */
.post-503 #pg-503-2 .panel-grid-cell,
.post-503 #pg-503-3 .panel-grid-cell,
.post-503 #pg-503-4 .panel-grid-cell,
.post-503 #pg-503-5 .panel-grid-cell {
    margin-bottom: 35px !important;
}


/* =========================================================
   EMPHASIZED NOTIFICATION
   ========================================================= */

.post-503 .textwidget strong {
    font-weight: 650;
}

.post-503 .textwidget strong u {
    font-weight: 700;
}


/* =========================================================
   SPECIAL NOTE BOX
   ========================================================= */

.post-503 .textwidget p strong {
    color: #333;
}

/* Note paragraphs */
.post-503 .textwidget p:has(strong:first-child) {
    /* kept subtle - avoids changing normal paragraphs */
}


/* =========================================================
   REMOVE EMPTY PARAGRAPH SPACE
   ========================================================= */

.post-503 .textwidget p:empty {
    display: none;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-503 .entry-content {
        padding: 15px 12px 45px;
    }

    /* First two cards become single column */
    .post-503 .panel-grid:first-child {
        display: block !important;
    }

    .post-503 .panel-grid:first-child .panel-grid-cell {
        margin-bottom: 30px !important;
    }

    .post-503 .textwidget {
        padding: 25px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-503 .entry-content {
        padding: 10px 10px 40px;
    }

    .post-503 .panel-grid {
        margin-bottom: 25px !important;
    }

    .post-503 .panel-grid-cell {
        margin-bottom: 25px !important;
    }

    .post-503 .widget-title {
        padding: 14px 16px 14px 19px !important;
        font-size: 17px;
        line-height: 1.45;
        border-left-width: 4px;
    }

    .post-503 .widget-title:after {
        display: none;
    }

    .post-503 .textwidget {
        padding: 20px 17px !important;
        font-size: 14px;
        line-height: 1.7;
    }

    .post-503 .textwidget p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 13px;
    }

    .post-503 .textwidget li {
        font-size: 14px;
        line-height: 1.65;
    }

    .post-503 .textwidget ul,
    .post-503 .textwidget ol {
        padding-left: 22px;
    }
}


/* =========================================================
   EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .post-503 .entry-content {
        padding-left: 7px;
        padding-right: 7px;
    }

    .post-503 .widget-title {
        font-size: 16px;
        padding: 13px 14px 13px 16px !important;
    }

    .post-503 .textwidget {
        padding: 17px 14px !important;
    }

    .post-503 .textwidget p {
        font-size: 13.5px;
    }
}


/* =========================================================
   HIDE EDIT LINK
   ========================================================= */

.post-503 .edit-link {
    display: none;
}

/* =========================================================
   TGMRN - INTERNAL COMPLAINT COMMITTEE
   FULL WIDTH LAYOUT
   ========================================================= */

/* Main content */
.post-260 .entry-content {
    /*max-width: 1250px;*/
    /*margin: 0 auto;*/
    padding: 10px 20px 50px;
}

/* SiteOrigin layout */
.post-260 .panel-layout {
    display: block !important;
    width: 100%;
}

/* Every SiteOrigin row */
.post-260 .panel-grid {
    display: block !important;
    width: 100% !important;
    margin: 0 0 25px !important;
}

/* Every column */
.post-260 .panel-grid-cell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 0 25px !important;
}

/* Every panel */
.post-260 .so-panel {
    width: 100% !important;
    margin: 0 !important;
}

/* =========================================================
   CONTENT CARD
   ========================================================= */

.post-260 .pageTitle {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    margin: 0 !important;
}

/* =========================================================
   CARD TITLE
   ========================================================= */

.post-260 .widget-title {
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 17px 24px;
    background: #7c0603;
    color: #fff !important;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* =========================================================
   CARD CONTENT
   ========================================================= */

.post-260 .textwidget {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 32px;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

/* Paragraphs */
.post-260 .textwidget p {
    margin: 0 0 15px;
}

/* Strong text */
.post-260 .textwidget strong {
    color: #333;
    font-weight: 600;
}

/* Lists */
.post-260 .textwidget ul,
.post-260 .textwidget ol {
    margin: 12px 0 20px;
    padding-left: 30px;
}

.post-260 .textwidget li {
    margin-bottom: 8px;
}

/* Nested lists */
.post-260 .textwidget ol ol,
.post-260 .textwidget ul ul {
    margin-top: 5px;
    margin-bottom: 8px;
}

/* Prevent text overflow */
.post-260 .textwidget,
.post-260 .textwidget p,
.post-260 .textwidget li {
    overflow-wrap: break-word;
    word-break: normal;
}

/* =========================================================
   HEADINGS INSIDE CONTENT
   ========================================================= */

.post-260 .textwidget strong u {
    color: #7c0603;
    text-underline-offset: 3px;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.post-260 .page-header {
    margin-bottom: 25px;
}

.post-260 .page-header h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

/* =========================================================
   HOVER
   ========================================================= */

.post-260 .pageTitle {
    transition: 0.25s ease;
}

.post-260 .pageTitle:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.09);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-260 .entry-content {
        padding: 10px 15px 40px;
    }

    .post-260 .textwidget {
        padding: 24px;
        font-size: 15.5px;
    }

    .post-260 .widget-title {
        font-size: 19px;
    }

    .post-260 .page-header h1 {
        font-size: 30px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-260 .entry-content {
        padding: 5px 10px 30px;
    }

    .post-260 .panel-grid {
        margin-bottom: 18px !important;
    }

    .post-260 .panel-grid-cell {
        margin-bottom: 18px !important;
    }

    .post-260 .pageTitle {
        border-radius: 9px;
    }

    .post-260 .widget-title {
        padding: 14px 16px;
        font-size: 17px;
    }

    .post-260 .textwidget {
        padding: 20px 17px;
        font-size: 15px;
        line-height: 1.7;
    }

    .post-260 .textwidget ul,
    .post-260 .textwidget ol {
        padding-left: 23px;
    }

    .post-260 .page-header h1 {
        font-size: 25px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .post-260 .widget-title {
        padding: 13px 14px;
        font-size: 16px;
    }

    .post-260 .textwidget {
        padding: 17px 14px;
        font-size: 14px;
    }

    .post-260 .page-header h1 {
        font-size: 22px;
    }
}
/* =========================================================
   TGMRN - WOMEN CELL PAGE
   ========================================================= */

/* Main content width */
.post-262 .entry-content {
    /*max-width: 1250px;*/
    /*margin: 0 auto;*/
    padding: 10px 20px 50px;
}

/* Remove unnecessary SiteOrigin spacing */
.post-262 .panel-layout,
.post-262 .panel-grid,
.post-262 .panel-grid-cell,
.post-262 .so-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main content card */
.post-262 .textwidget {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px 35px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

/* Paragraphs */
.post-262 .textwidget > p {
    margin: 0 0 18px;
}

/* Highlight committee heading */
.post-262 .textwidget > p:nth-of-type(3) {
    margin-top: 25px;
    margin-bottom: 15px;
    padding: 13px 18px;
    background: #f8f1f3;
    border-left: 4px solid #A01B30;
    color: #A01B30;
    font-size: 18px;
    font-weight: 600;
}

/* Principal information */
.post-262 .textwidget > p:nth-of-type(4) {
    background: #fafafa;
    border-radius: 7px;
    padding: 13px 16px;
    border: 1px solid #eeeeee;
}

/* =========================================================
   COMMITTEE TABLE
   ========================================================= */

.post-262 .textwidget table.table {
    width: 100% !important;
    margin: 25px 0 5px !important;
    border-collapse: collapse !important;
    border-spacing: 0;
    background: #fff;
    font-size: 15px;
}

/* Table cells */
.post-262 .textwidget table.table td {
    padding: 14px 16px !important;
    border: 1px solid #e2e2e2 !important;
    vertical-align: middle;
    line-height: 1.5;
}

/* Table header - first row */
.post-262 .textwidget table.table tr:first-child td {
    background: #A01B30 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    text-align: left;
}

/* First column */
.post-262 .textwidget table.table td:first-child {
    width: 80px;
    text-align: center;
    font-weight: 600;
}

/* Names column */
.post-262 .textwidget table.table td:nth-child(2) {
    font-weight: 600;
    color: #333;
}

/* Designation */
.post-262 .textwidget table.table td:nth-child(3) {
    color: #555;
}

/* Contact number */
.post-262 .textwidget table.table td:nth-child(4) {
    white-space: nowrap;
    font-weight: 500;
}

/* Alternate rows */
.post-262 .textwidget table.table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Hover */
.post-262 .textwidget table.table tbody tr {
    transition: background 0.2s ease;
}

.post-262 .textwidget table.table tbody tr:hover {
    background: #f8f1f3;
}

/* Fix unwanted paragraph spacing inside table */
.post-262 .textwidget table.table td p {
    margin: 0 !important;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.post-262 .page-header {
    margin-bottom: 25px;
}

.post-262 .page-header h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-262 .entry-content {
        padding: 10px 15px 40px;
    }

    .post-262 .textwidget {
        padding: 25px;
        font-size: 15.5px;
    }

    .post-262 .page-header h1 {
        font-size: 30px;
    }

    .post-262 .textwidget table.table td {
        padding: 12px 10px !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-262 .entry-content {
        padding: 5px 10px 30px;
    }

    .post-262 .textwidget {
        padding: 20px 16px;
        border-radius: 9px;
        font-size: 15px;
        line-height: 1.7;
    }

    .post-262 .textwidget > p:nth-of-type(3) {
        font-size: 17px;
        padding: 12px 14px;
    }

    .post-262 .page-header h1 {
        font-size: 25px;
    }

    /* Horizontal scrolling for table */
    .post-262 .textwidget {
        overflow-x: auto;
    }

    .post-262 .textwidget table.table {
        min-width: 650px;
        font-size: 14px;
    }

    .post-262 .textwidget table.table td {
        padding: 11px 10px !important;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .post-262 .textwidget {
        padding: 17px 13px;
        font-size: 14px;
    }

    .post-262 .page-header h1 {
        font-size: 22px;
    }

    .post-262 .textwidget table.table {
        min-width: 620px;
    }
}
/* =========================================================
   TGMRN - ABOUT RAMTEK PAGE
   ========================================================= */

/* Main content area */
.post-142 .entry-content {
    width: 100%;
    /*max-width: 1200px;*/
    padding: 10px 0 40px;
}

/* SiteOrigin first row */
.post-142 #pg-142-0 {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 40px !important;
    align-items: start !important;
    margin: 0 !important;
}

/* Left image column */
.post-142 #pgc-142-0-0 {
    width: 270px !important;
    max-width: 270px !important;
    padding: 0 !important;
}

/* Right text column */
.post-142 #pgc-142-0-1 {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
}

/* Image boxes */
.post-142 #pgc-142-0-0 .so-panel {
    margin: 0 0 25px !important;
}

/* Images */
.post-142 #pgc-142-0-0 img {
    display: block;
    width: 270px !important;
    height: 256px !important;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

/* Image hover */
.post-142 #pgc-142-0-0 img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* Text content */
.post-142 #pgc-142-0-1 .textwidget {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* Paragraph spacing */
.post-142 #pgc-142-0-1 .textwidget p {
    margin: 0 0 18px;
}

/* First paragraph */
.post-142 #pgc-142-0-1 .textwidget p:first-child {
    margin-top: 0;
}

/* Empty SiteOrigin row - remove it */
.post-142 #pg-142-1 {
    display: none !important;
}

/* Remove unnecessary panel spacing */
.post-142 .panel-grid-cell,
.post-142 .so-panel {
    box-sizing: border-box;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.post-142 ~ * {
    box-sizing: border-box;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-142 #pg-142-0 {
        grid-template-columns: 220px minmax(0, 1fr) !important;
        gap: 25px !important;
    }

    .post-142 #pgc-142-0-0 {
        width: 220px !important;
        max-width: 220px !important;
    }

    .post-142 #pgc-142-0-0 img {
        width: 220px !important;
        height: 210px !important;
    }

    .post-142 #pgc-142-0-1 .textwidget {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-142 .entry-content {
        padding: 5px 15px 30px;
    }

    .post-142 #pg-142-0 {
        display: block !important;
    }

    .post-142 #pgc-142-0-0 {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        gap: 15px;
        margin-bottom: 25px !important;
    }

    .post-142 #pgc-142-0-0 .so-panel {
        width: 50% !important;
        margin: 0 !important;
    }

    .post-142 #pgc-142-0-0 img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover;
    }

    .post-142 #pgc-142-0-1 {
        width: 100% !important;
    }

    .post-142 #pgc-142-0-1 .textwidget {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }
}

/* Small mobile */
@media (max-width: 480px) {

    .post-142 #pgc-142-0-0 {
        display: block !important;
    }

    .post-142 #pgc-142-0-0 .so-panel {
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    .post-142 #pgc-142-0-0 img {
        height: 220px !important;
    }
}

/* =========================================================
   TGMRN - AMBIENCE PAGE
   Page ID: 155
   Theme Color: #7c0603
   ========================================================= */

/* Main content */
.post-155 .entry-content {
    max-width: 1200px;
    padding: 15px 0 45px;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   FACILITY HEADINGS
   ========================================================= */

.post-155 .entry-content h2 {
    position: relative;
    margin: 35px 0 14px;
    padding: 14px 20px 14px 22px;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
    color: #7c0603;

    background: #fff;
    border-left: 5px solid #7c0603;
    border-radius: 4px;

    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
}

/* First heading */
.post-155 .entry-content h2:first-child {
    margin-top: 0;
}

/* Small decorative line */
.post-155 .entry-content h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    margin-top: 7px;
    background: #7c0603;
    border-radius: 3px;
}

/* =========================================================
   PARAGRAPHS
   ========================================================= */

.post-155 .entry-content p {
    margin: 0 0 14px;
    padding: 0 5px;
    color: #555;
}

/* Give content after heading some breathing room */
.post-155 .entry-content h2 + p {
    margin-top: 16px;
}

/* =========================================================
   SECTION SEPARATION
   ========================================================= */

.post-155 .entry-content h2:not(:first-child) {
    margin-top: 38px;
}

/* =========================================================
   HOVER EFFECT
   ========================================================= */

.post-155 .entry-content h2 {
    transition: all 0.3s ease;
}

.post-155 .entry-content h2:hover {
    transform: translateX(4px);
    box-shadow: 0 5px 18px rgba(124,6,3,0.12);
}

/* =========================================================
   PAGE CONTENT AREA
   ========================================================= */

.post-155 {
    background: #fff;
}

.post-155 .entry-content {
    box-sizing: border-box;
}

/* =========================================================
   DESKTOP - MAKE CONTENT WIDER
   ========================================================= */

@media (min-width: 992px) {

    .post-155 .entry-content {
        width: 100%;
        max-width: 1200px;
    }

    .post-155 .entry-content p {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-155 .entry-content {
        padding: 10px 20px 35px;
        font-size: 15.5px;
    }

    .post-155 .entry-content h2 {
        font-size: 21px;
        padding: 13px 17px;
        margin-top: 30px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-155 .entry-content {
        padding: 5px 15px 30px;
        font-size: 15px;
        line-height: 1.7;
    }

    .post-155 .entry-content h2 {
        font-size: 19px;
        padding: 12px 14px;
        margin-top: 25px;
        border-left-width: 4px;
    }

    .post-155 .entry-content h2::after {
        width: 35px;
        height: 2px;
    }

    .post-155 .entry-content p {
        padding: 0;
        margin-bottom: 13px;
        text-align: left;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .post-155 .entry-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .post-155 .entry-content h2 {
        font-size: 18px;
        padding: 11px 12px;
    }
}

/* =========================================================
   TGMRN - RTI PAGE
   Page ID: 228
   Theme Color: #7c0603
   ========================================================= */

/* Main content */
.post-228 .entry-content {
    width: 100%;
    padding: 10px 0 50px;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    box-sizing: border-box;
}

/* Remove SiteOrigin spacing */
.post-228 .panel-grid,
.post-228 .panel-grid-cell,
.post-228 .so-panel {
    box-sizing: border-box;
}

.post-228 .panel-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.post-228 .panel-grid-cell {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* =========================================================
   MAIN COLLEGE TITLE
   ========================================================= */

.post-228 .textwidget > h1:first-child {
    position: relative;
    margin: 0 0 12px !important;
    padding: 18px 15px 12px;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;

    color: #7c0603;
    text-align: center;

    border-bottom: 3px solid #7c0603;
}

/* =========================================================
   DECLARATION / ABOUT RTI
   ========================================================= */

.post-228 .textwidget > h3:first-of-type {
    margin: 0 0 25px !important;
    padding: 12px 15px;

    color: #7c0603;
    text-align: center;

    font-size: 19px;
    font-weight: 600;

    background: #f8f2f1;
    border-radius: 6px;
}

/* =========================================================
   INTRODUCTION TEXT
   ========================================================= */

.post-228 .textwidget > p:first-of-type {
    margin: 0 0 28px;
    padding: 20px 22px;

    background: #fafafa;
    border-left: 5px solid #7c0603;
    border-radius: 5px;

    color: #444;
    line-height: 1.85;

    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.post-228 .textwidget h3 {
    position: relative;

    margin: 35px 0 18px;
    padding: 13px 18px;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;

    color: #7c0603;

    background: #fff;
    border-left: 5px solid #7c0603;
    border-radius: 4px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

/* Small underline */
.post-228 .textwidget h3::after {
    content: "";
    display: block;

    width: 45px;
    height: 3px;

    margin-top: 7px;

    background: #7c0603;
    border-radius: 3px;
}

/* =========================================================
   RTI 2005 LIST
   ========================================================= */

.post-228 .textwidget ul {
    margin: 0 0 30px;
    padding: 22px 28px 22px 48px;

    background: #fafafa;

    border: 1px solid #eee;
    border-left: 4px solid #7c0603;

    border-radius: 5px;

    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

/* List items */
.post-228 .textwidget ul li {
    margin-bottom: 13px;
    padding-left: 5px;

    color: #444;
    line-height: 1.75;
}

/* Last item */
.post-228 .textwidget ul li:last-child {
    margin-bottom: 0;
}

/* Bullet color */
.post-228 .textwidget ul li::marker {
    color: #7c0603;
}

/* =========================================================
   SECOND MAIN TITLE
   RTI 2005 COMMITTEE
   ========================================================= */

.post-228 .textwidget > h1:nth-of-type(2) {
    margin: 50px 0 12px !important;
    padding: 18px 15px;

    color: #fff;
    background: #7c0603;

    border-radius: 6px;

    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;

    text-align: center;

    box-shadow: 0 5px 15px rgba(124,6,3,0.18);
}

/* Notification heading after committee title */
.post-228 .textwidget > h1:nth-of-type(2) + h3 {
    margin-top: 18px !important;

    background: #f8f2f1;
    border-left: none;

    text-align: center;
}

/* =========================================================
   COMMITTEE INTRODUCTION
   ========================================================= */

.post-228 .textwidget > h1:nth-of-type(2) + h3 + p {
    margin: 0 0 25px;
    padding: 18px 22px;

    background: #fafafa;
    border-left: 5px solid #7c0603;
    border-radius: 5px;

    line-height: 1.8;
}

/* =========================================================
   RTI COMMITTEE TABLE
   ========================================================= */

.post-228 .textwidget table {
    width: 100% !important;
    margin: 25px 0 35px;

    border-collapse: collapse !important;
    border-spacing: 0;

    background: #fff;

    border: 1px solid #ddd;

    box-shadow: 0 5px 18px rgba(0,0,0,0.07);

    font-size: 15.5px;
}

/* Table cells */
.post-228 .textwidget table td {
    padding: 16px 18px !important;

    border: 1px solid #ddd !important;

    vertical-align: top;
    line-height: 1.6;

    color: #444;
}

/* First column */
.post-228 .textwidget table td:first-child {
    width: 32%;

    color: #7c0603;

    background: #f8f2f1;

    font-weight: 700;
}

/* Second column */
.post-228 .textwidget table td:nth-child(2) {
    width: 68%;
}

/* Remove paragraph spacing inside table */
.post-228 .textwidget table td p {
    margin: 4px 0 !important;
}

/* Table hover */
.post-228 .textwidget table tr {
    transition: background 0.2s ease;
}

.post-228 .textwidget table tr:hover {
    background: #fffaf9;
}

/* =========================================================
   PURPOSE / OBJECTIVES
   ========================================================= */

.post-228 .textwidget table + p {
    margin: 25px 0 12px;
    padding: 14px 18px;

    color: #7c0603;

    font-size: 20px;
    font-weight: 700;

    border-left: 5px solid #7c0603;
    background: #f8f2f1;
    border-radius: 4px;
}

/* Final objectives list */
.post-228 .textwidget table + p + ul {
    margin-top: 10px;
}

/* =========================================================
   STRONG TEXT
   ========================================================= */

.post-228 .textwidget strong {
    color: inherit;
}

/* Keep underlined important terms */
.post-228 .textwidget u {
    text-decoration-color: #7c0603;
    text-decoration-thickness: 1px;
}

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-228 .entry-content {
        padding: 10px 20px 40px;
        font-size: 15.5px;
    }

    .post-228 .textwidget > h1:first-child {
        font-size: 27px;
    }

    .post-228 .textwidget > h1:nth-of-type(2) {
        font-size: 23px;
    }

    .post-228 .textwidget h3 {
        font-size: 20px;
    }

    .post-228 .textwidget ul {
        padding-left: 40px;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-228 .entry-content {
        padding: 5px 15px 30px;
        font-size: 15px;
        line-height: 1.7;
    }

    .post-228 .textwidget > h1:first-child {
        font-size: 23px;
        padding: 14px 10px;
    }

    .post-228 .textwidget > h1:nth-of-type(2) {
        font-size: 21px;
        padding: 14px 10px;
        margin-top: 35px !important;
    }

    .post-228 .textwidget h3 {
        font-size: 18px;
        padding: 11px 13px;
    }

    .post-228 .textwidget > p:first-of-type,
    .post-228 .textwidget > h1:nth-of-type(2) + h3 + p {
        padding: 15px;
    }

    .post-228 .textwidget ul {
        padding: 17px 15px 17px 35px;
    }

    .post-228 .textwidget ul li {
        margin-bottom: 12px;
    }

    /* Responsive table */
    .post-228 .textwidget table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .post-228 .textwidget table td {
        min-width: 180px;
        padding: 12px !important;
    }

    .post-228 .textwidget table td:first-child {
        min-width: 150px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .post-228 .entry-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .post-228 .textwidget > h1:first-child {
        font-size: 21px;
    }

    .post-228 .textwidget > h1:nth-of-type(2) {
        font-size: 19px;
    }

    .post-228 .textwidget h3 {
        font-size: 17px;
    }

    .post-228 .textwidget table td {
        min-width: 160px;
        padding: 10px !important;
    }
}

/* =====================================================
   TGMRN HOMEPAGE - MOBILE HORIZONTAL SCROLL FIX
   ===================================================== */

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /*body {*/
    /*    position: relative;*/
    /*}*/
    
    #banner-cat .banner-main .banner-img {
       display: none !important;
    }
    

    /* Main homepage containers */
    #page,
    .site,
    .site-content,
    .full,
    .container,
    .container-fluid {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Bootstrap/theme rows */
    .row {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* Columns */
    [class*="col-"] {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Images */
    img {
        max-width: 100% !important;
        height: auto;
    }

    /* Sections */
    section {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .site-main {
        margin-top: 110px !important;
    }

    /* Prevent long content from pushing screen */
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    /* SiteOrigin sections */
    .panel-layout,
    .panel-grid,
    .panel-grid-cell,
    .so-panel {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Remove common negative margins */
    .panel-grid,
    .panel-grid-cell {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* 1. Prevent vertical spacing issues on full-width sections */
.facilities-section,
.about-section,
section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}

/* 2. Eliminate baseline gaps underneath images */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 3. Remove default top/bottom margins from first/last elements in sections */
.contentsecwrap > *:first-child,
section > *:first-child {
  margin-top: 0;
}

.contentsecwrap > *:last-child,
section > *:last-child {
  margin-bottom: 0;
}

/* 4. Reset paragraph gaps within feature blocks */
.facilities-section p,
.about-section p {
  margin-top: 0;
  margin-bottom: 10px; /* Adjust or set to 0 as needed */
}




/* =====================================================
   MOBILE-ONLY BACKGROUND IMAGE FOR HERO BANNER
   ===================================================== */
@media screen and (max-width: 767px) {
    #banner-cat .banner-overlay {
      height: 480px;
      background: #000000d4;
      width: 100%;
      top: 0;
      opacity: 0.7;
    }
  #banner-cat .imagebox img {
    display: none !important; /* hide desktop image on mobile */
  }

  #banner-cat .banner-page,
  #banner-cat .imagebox {
    min-height: 550px; /* REQUIRED — container has no height once <img> is hidden */
    height: auto;
    position: relative;
    background-image: url("https://tgmrn.org/demo2/wp-content/themes/educational-university/images/mobile-banner.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
   .main-header .top-header {
    display: none !important;
  }

  .main-header .topbar {
    display: none !important;
  }
  .main-header .header-sec {
      border-radius: 0px;
  }
  .main-header .close-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #ffffff;
    box-shadow: 0px 0px 15px 0px #00000040;
  }
   .main-header .close-sticky > .container,
  .main-header .header-sticky > .container {
    padding: 0 !important;
  }

}

@media screen and (max-width: 480px) {
  #banner-cat .banner-page,
  #banner-cat .imagebox {
    min-height: 480px; /* slightly shorter on very small phones */
  }
}

/* Default: Laptop + Desktop */
.tgmrn-logo-mobile {
    display: none;
}

.tgmrn-logo-desktop {
    display: inline-block;
}

.tgmrn-responsive-logos img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Tablet + Mobile */
@media (max-width: 991px) {
    .tgmrn-logo-desktop {
        display: none;
    }

    .tgmrn-logo-mobile {
        display: inline-block;
    }
}
/* 1024px and below: Logo 1 */
@media (max-width: 1024px) {
    .tgmrn-logo-desktop {
        display: none;
    }

    .tgmrn-logo-mobile {
        display: inline-block;
    }
}

/* =====================================================
   HEADER - FULLY RESPONSIVE
   ===================================================== */

/* --- DESKTOP (1200px and above) --- */
@media screen and (min-width: 1200px) {
    .main-header .header-sec .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-header .header-sec .row > [class*="col-"]:nth-child(1) {
        flex: 0 0 auto !important;
        max-width: none !important;
        text-align: left !important;
        padding: 0 !important;
    }

    .main-header .header-sec .row > [class*="col-"]:nth-child(2) {
        flex: 1 !important;
        max-width: none !important;
        text-align: center !important;
        padding: 0 15px !important;
    }

    .main-header .header-sec .row > [class*="col-"]:nth-child(3) {
        flex: 0 0 auto !important;
        max-width: none !important;
        text-align: right !important;
        padding: 0 !important;
    }

    .main-header .header-sec .educational-university-logo {
        text-align: left !important;
        margin-bottom: 0 !important;
    }

    .main-nav .main-menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .main-nav li {
        display: inline-flex !important;
        /*padding: 10px !important;*/
    }

    .main-nav a {
        font-size: 14px !important;
        padding: 6px 8px !important;
    }

    .main-header .header-sec .topbar-btn {
        justify-content: flex-end !important;
    }

    .main-header .header-sec .header-btn a {
        padding: 8px 25px !important;
        font-size: 15px !important;
    }

    .toggle-nav {
        display: none !important;
    }
}

/* --- TABLET (768px - 1199px) --- */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .main-header,
    .main-header .container,
    .main-header .header-sec {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .main-header .header-sec {
        padding: 10px 20px !important;
        border-radius: 40px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
    }

    .main-header .header-sec .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-header .header-sec .row > [class*="col-"]:nth-child(1) {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        text-align: left !important;
        padding: 0 !important;
    }

    .main-header .header-sec .row > [class*="col-"]:nth-child(2) {
        flex: 0 0 35% !important;
        max-width: 35% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .main-header .header-sec .row > [class*="col-"]:nth-child(3) {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        text-align: right !important;
        padding: 0 !important;
    }

    .main-header .header-sec .educational-university-logo {
        text-align: left !important;
        margin-bottom: 0 !important;
    }

    .toggle-nav {
        display: block !important;
        text-align: center !important;
    }

    .toggle-nav button {
        font-size: 13px !important;
        padding: 8px 25px !important;
        margin: 0 !important;
        display: inline-block !important;
        background-color: var(--first-theme-color, #7c0603) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
    }

    .main-header .header-sec .topbar-btn {
        justify-content: flex-end !important;
    }

    .main-header .header-sec .header-btn a {
        padding: 8px 20px !important;
        font-size: 13px !important;
    }

    /* Hide desktop menu, show mobile */
    .main-nav .main-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .main-nav li {
        display: block !important;
        padding: 0 !important;
    }

    .main-nav a {
        font-size: 15px !important;
    }
}

/* --- MOBILE (767px and below) --- */
@media screen and (max-width: 767px) {
    /* Prevent horizontal scroll - but allow vertical */
    .main-header,
    .main-header .container,
    .main-header .header-sec,
    .main-header .row,
    .main-header [class*="col-"] {
        overflow-x: hidden !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Allow body to scroll normally */
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }

    .main-header {
        background: #ffffff !important;
        border-bottom: 2px solid var(--first-theme-color, #7c0603) !important;
        padding: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 100 !important;
    }

    .main-header .header-sec {
        padding: 12px 15px !important;
        border-radius: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.08) !important;
        position: relative !important;
        z-index: 101 !important;
    }

    /* Stack everything vertically */
    .main-header .header-sec .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 8px !important;
    }

    /* All columns full width */
    .main-header .header-sec .row > [class*="col-"] {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Order: 1. Logo */
    .main-header .header-sec .row > [class*="col-"]:nth-child(1) {
        order: 1 !important;
        text-align: center !important;
        padding: 0 !important;
        margin-bottom: 2px !important;
    }

    .educational-university-logo {
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .tgmrn-responsive-logos img {
        max-height: 55px !important;
        width: auto !important;
    }

    /* Hide site title on mobile */
    .site-branding-text {
        display: none !important;
    }

    /* Order: 2. Menu + Contact buttons row */
    .main-header .header-sec .row > [class*="col-"]:nth-child(2) {
        order: 2 !important;
        text-align: center !important;
        padding: 0 !important;
    }

    /* Hide the original contact column */
    .main-header .header-sec .row > [class*="col-"]:nth-child(3) {
        display: none !important;
    }

    /* Make toggle-nav a flex row for buttons */
    .main-header .header-sec .row > [class*="col-"]:nth-child(2) .toggle-nav {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    /* Menu button */
    .toggle-nav button {
        font-size: 14px !important;
        padding: 10px 20px !important;
        margin: 0 !important;
        display: inline-block !important;
        background-color: var(--first-theme-color, #7c0603) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 50px !important;
        font-weight: 600 !important;
        min-width: 110px !important;
        cursor: pointer !important;
    }

    /* Mobile contact button */
    .mobile-contact-btn {
        display: inline-block !important;
        font-size: 14px !important;
        padding: 10px 20px !important;
        margin: 0 !important;
        background-color: var(--first-theme-color, #7c0603) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 50px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        min-width: 110px !important;
        text-align: center !important;
    }

    .mobile-contact-btn:hover {
        background: #000000 !important;
        color: #ffffff !important;
    }

    /* Hide topbar on mobile */
    .main-header .top-header {
        display: none !important;
    }

    .main-header .topbar {
        display: none !important;
    }

    /* Fix sticky header */
    .main-header .close-sticky {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background-color: #ffffff;
        box-shadow: 0px 2px 15px 0px #00000040;
    }

    .main-header .close-sticky > .container,
    .main-header .header-sticky > .container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .page-template-template-home-page .main-header {
        position: static !important;
    }

    /* Mobile menu - fix scrolling */
    #mySidenav.sidenav {
        height: 100vh !important;
        height: 100dvh !important;
        width: 320px !important;
        max-width: 85% !important;
        position: fixed !important;
        z-index: 99999 !important;
        top: 0 !important;
        right: -320px !important;
        left: auto !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #000 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    body.show-main-menu #mySidenav.sidenav {
        visibility: visible !important;
        right: 0 !important;
        left: auto !important;
        top: 0 !important;
        opacity: 1 !important;
    }

    /* When menu is open, prevent body scroll */
    body.show-main-menu {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }

    .sidenav .close-button {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        background: transparent !important;
        font-size: 28px !important;
        line-height: 1 !important;
        z-index: 100000 !important;
        border: none !important;
        cursor: pointer !important;
    }

    .sidenav .close-button:hover {
        color: var(--first-theme-color, #7c0603) !important;
    }

    .sidenav .main-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 45px 0 0 !important;
    }

    .sidenav .main-menu > li {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
        list-style: none !important;
    }

    .sidenav .main-menu > li > a {
        display: block !important;
        width: 100% !important;
        padding: 14px 10px !important;
        color: #fff !important;
        font-size: 16px !important;
        text-align: left !important;
        background: transparent !important;
        text-decoration: none !important;
    }

    .sidenav .main-menu > li > a:hover {
        color: var(--first-theme-color, #7c0603) !important;
    }

    /* Submenu on mobile */
    .sidenav .main-menu .sub-menu {
        position: static !important;
        display: none !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 5px 15px !important;
        opacity: 1 !important;
    }

    .sidenav .main-menu .sub-menu li {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        list-style: none !important;
    }

    .sidenav .main-menu .sub-menu li a {
        display: block !important;
        padding: 10px !important;
        color: #fff !important;
        background: transparent !important;
        font-size: 14px !important;
        text-align: left !important;
        text-decoration: none !important;
    }

    .sidenav .main-menu .sub-menu li a:hover {
        color: var(--first-theme-color, #7c0603) !important;
    }

    .sidenav .main-menu .menu-item-has-children:hover > .sub-menu,
    .sidenav .main-menu .menu-item-has-children:focus-within > .sub-menu {
        display: block !important;
    }

    .sidenav #site-navigation {
        width: 100% !important;
        margin-top: 0 !important;
    }
}

/* --- Side Navigation (Mobile) --- */
/* --- Side Navigation (Mobile / Tablet) --- */
@media screen and (max-width: 1199px) {

    .sidenav {
        height: 100vh;
        width: 320px;
        max-width: 85%;
        position: fixed !important;
        z-index: 99999;
        top: 0;
        right: -320px;
        left: auto;
        overflow-x: hidden;
        overflow-y: auto;
        background: #000;
        visibility: hidden;
        opacity: 1;
        transition: right 0.4s ease-in-out;
        padding: 20px;
        box-sizing: border-box;
    }

    body.show-main-menu .sidenav {
        visibility: visible;
        right: 0;
        left: auto;
        top: 0;
        opacity: 1;
    }

    .sidenav .close-button {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        background: transparent !important;
        font-size: 28px;
        line-height: 1;
        z-index: 100000;
    }

    .sidenav .close-button:hover {
        color: var(--first-theme-color, #7c0603) !important;
    }

    .sidenav .main-menu {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
        margin: 45px 0 0;
    }

    .sidenav .main-menu > li {
        display: block !important;
        width: 100%;
        padding: 0 !important;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .sidenav .main-menu > li > a {
        display: block;
        width: 100%;
        padding: 14px 10px;
        color: #fff !important;
        font-size: 16px;
        text-align: left;
        background: transparent !important;
    }

    .sidenav .main-menu > li > a:hover {
        color: var(--first-theme-color, #7c0603) !important;
    }

    .sidenav .main-menu .sub-menu {
        position: static !important;
        display: none;
        width: 100% !important;
        min-width: 100% !important;
        margin: 0;
        padding: 0 0 5px 15px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }

    .sidenav .main-menu .sub-menu li {
        display: block !important;
        width: 100%;
        padding: 0 !important;
        border: none;
    }

    .sidenav .main-menu .sub-menu li a {
        display: block;
        padding: 10px;
        color: #fff !important;
        background: transparent !important;
        font-size: 14px;
        text-align: left;
    }

    .sidenav .main-menu .sub-menu li a:hover {
        color: var(--first-theme-color, #7c0603) !important;
    }

    .sidenav .main-menu .menu-item-has-children:hover > .sub-menu,
    .sidenav .main-menu .menu-item-has-children:focus-within > .sub-menu {
        display: block;
    }

    .sidenav #site-navigation {
        width: 100%;
        margin-top: 45px;
    }

}

/* --- Logo switching --- */
.tgmrn-logo-mobile {
    display: none;
}

.tgmrn-logo-desktop {
    display: inline-block;
}

@media (max-width: 1024px) {
    .tgmrn-logo-desktop {
        display: none;
    }
    .tgmrn-logo-mobile {
        display: inline-block;
    }
}

/* =====================================================
   MOBILE - Contact Button inside Menu Column
   ===================================================== */

/* Hide desktop contact button on mobile, show cloned one */
@media screen and (max-width: 767px) {
    .d-md-block {
        display: none !important;
    }
    
    .d-inline-block.d-md-none {
        display: inline-block !important;
    }
}

/* Show cloned contact button on mobile only */
.mobile-contact-btn {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .mobile-contact-btn {
        display: inline-block !important;
        font-size: 14px !important;
        padding: 10px 25px !important;
        margin: 0 !important;
        background-color: var(--first-theme-color, #7c0603) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 50px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        min-width: 120px !important;
        text-align: center !important;
        max-width: 160px !important;
    }
    
    .mobile-contact-btn:hover {
        background: #000000 !important;
        color: #ffffff !important;
    }
}

/* =========================================================
   SUBMENU VERTICAL FIX — Desktop dropdown + Mobile sidenav
   ========================================================= */

.main-nav ul.sub-menu,
.sidenav .sub-menu {
    display: block !important;
}

.main-nav ul.sub-menu li,
.sidenav .sub-menu li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    white-space: normal !important;
}

.main-nav ul.sub-menu li a,
.sidenav .sub-menu li a {
    display: block !important;
    width: 100% !important;
}

/* Nested (3rd-level) submenus should still flow right, not below */
.main-nav ul ul ul.sub-menu {
    top: 0;
    left: 100% !important;
}

/* =========================================================
   HERO BANNER - TWO BUTTONS (Prospectus + Admission)
   ========================================================= */

.tgmrn-hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tgmrn-hero-btn-group .button {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 30px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tgmrn-hero-btn-group .button:hover {
    background-color: var(--first-theme-color);
    color: #ffffff;
    box-shadow: 0px 4px 4px 0px #ffffff40;
}

/* Optional: make Admission button stand out in theme color by default */
.tgmrn-hero-btn-group .tgmrn-btn-admission {
    background-color: var(--first-theme-color);
    color: #ffffff;
}

.tgmrn-hero-btn-group .tgmrn-btn-admission:hover {
    background-color: #000000;
    color: #ffffff;
}

@media screen and (max-width: 767px) {
    .tgmrn-hero-btn-group {
        justify-content: center;
        gap: 12px;
    }

    .tgmrn-hero-btn-group .button {
        padding: 10px 22px;
        font-size: 13px;
    }
}

html, body {
    height: 100%;
}

#pageholder {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* or 100dvh for better mobile support */
}

/* your main content wrapper between header and footer */
#content {
    flex: 1 0 auto;
}

/* footer no longer needs its own height fixes, it just gets pushed down */
#footer {
    flex-shrink: 0;
}

/* =========================================================
   TGMRN - ABOUT US PAGE
   Page ID: 16
   Theme Color: #7c0603
   ========================================================= */

/* =========================================================
   FEATURED IMAGE
   ========================================================= */

.post-16.type-page {
    background: #f8f8f8;
}

.post-16 > img.wp-post-image {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 0;
}


/* =========================================================
   ENTRY CONTENT CARD
   ========================================================= */

.post-16 .entry-content {
    position: relative;

    /*max-width: 1100px;*/
    margin: -60px auto 40px;

    background: #ffffff;

    padding: 45px 50px;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);

    border-top: 4px solid #7c0603;

    color: #444;
    font-size: 16px;
    line-height: 1.9;

    z-index: 2;
}


/* =========================================================
   PARAGRAPHS
   ========================================================= */

.post-16 .entry-content p {
    margin: 0 0 22px;
    text-align: justify;
    color: #4a4a4a;
}

.post-16 .entry-content p:last-child {
    margin-bottom: 0;
}

/* First paragraph — lead-in styling */
.post-16 .entry-content p:first-of-type {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.85;
    color: #292929;

    padding-left: 20px;
    border-left: 4px solid #7c0603;
}


/* =========================================================
   DECORATIVE ACCENT (optional heading if you add one later)
   ========================================================= */

.post-16 .entry-content h1,
.post-16 .entry-content h2,
.post-16 .entry-content h3 {
    position: relative;
    color: #7c0603;
    margin: 30px 0 18px;
    padding-bottom: 12px;
}

.post-16 .entry-content h1::after,
.post-16 .entry-content h2::after,
.post-16 .entry-content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: #7c0603;
}


/* =========================================================
   FOOTER / EDIT LINK
   ========================================================= */

.post-16 .clearfix {
    clear: both;
}

.post-16 .entry-meta .edit-link {
    display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .post-16 > img.wp-post-image {
        max-height: 320px;
        border-radius: 0 0 14px 14px;
    }

    .post-16 .entry-content {
        margin: -40px 20px 35px;
        padding: 32px 30px;
    }

    .post-16 .entry-content p:first-of-type {
        font-size: 17px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .post-16 > img.wp-post-image {
        max-height: 240px;
        border-radius: 0 0 10px 10px;
    }

    .post-16 .entry-content {
        margin: -30px 12px 30px;
        padding: 25px 20px;
        font-size: 15px;
        line-height: 1.8;
        border-top-width: 3px;
    }

    .post-16 .entry-content p {
        text-align: left;
        margin-bottom: 18px;
    }

    .post-16 .entry-content p:first-of-type {
        font-size: 16px;
        padding-left: 14px;
        border-left-width: 3px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .post-16 > img.wp-post-image {
        max-height: 200px;
    }

    .post-16 .entry-content {
        margin: -22px 8px 25px;
        padding: 20px 16px;
        font-size: 14.5px;
    }

    .post-16 .entry-content p:first-of-type {
        font-size: 15px;
    }
}

.breadcrumb.my-3 {
    display: none !important;
}

/* =========================================
   PRINCIPAL DESK PAGE
   ========================================= */
/* Page Header */
.site-main .page-header {
    margin-bottom: 35px;
    text-align: center;
}

.site-main .page-header .breadcrumb {
    font-size: 14px;
    margin-bottom: 15px !important;
}

.site-main .page-header .home-main {
    color: var(--first-theme-color);
    text-decoration: none;
    font-weight: 500;
}

.site-main .page-header .current-breadcrumb {
    color: #777;
}

.site-main .page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--first-theme-color);
    margin: 0;
}

/* Principal Desk Article */
.site-main article.post-20 {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 0 20px 50px;
}

/* Principal Image */
.site-main article.post-20 > img {
    width: 350px;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    float: left;
    margin: 0 40px 25px 0;
    border-radius: 8px;
    display: block;
}

/* Content */
.site-main article.post-20 .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.site-main article.post-20 .entry-content p {
    margin-bottom: 20px;
}

/* Principal Name */
.site-main article.post-20 .widget-title {
    color: var(--first-theme-color);
    font-size: 22px;
    font-weight: 700;
    /*margin-top: 30px;*/
    margin-bottom: 0;
}

/* Clear Float */
.site-main article.post-20 .clearfix {
    clear: both;
}


/* =========================================
   MOBILE
   ========================================= */

@media screen and (max-width: 767px) {

    .site-main {
        margin-top: 110px !important;
    }

    .site-main .page-header {
        margin-bottom: 25px;
    }

    .site-main .page-header h1 {
        font-size: 28px;
    }

    .site-main .page-header .breadcrumb {
        font-size: 12px;
    }

    .site-main article.post-20 {
        padding: 0 15px 35px;
    }

    /* Image becomes full width */
    .site-main article.post-20 > img {
        float: none;
        width: 100%;
        max-width: 350px;
        height: auto;
        max-height: none;
        margin: 0 auto 25px;
        display: block;
    }

    .site-main article.post-20 .entry-content {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .site-main article.post-20 .entry-content p {
        margin-bottom: 18px;
    }

    .site-main article.post-20 .widget-title {
        font-size: 20px;
        margin-top: 25px;
    }
}

/* =========================================
   TGMRN LEADERSHIP SECTION
========================================= */

.tgmrn-leadership-section {
    padding: 80px 0;
    background: #fff;
}

.tgmrn-leadership-content {
    padding-right: 40px;
}

.tgmrn-leadership-section .section-title {
    margin-bottom: 35px;
}

.tgmrn-leadership-section .section-title span {
    display: block;
    color: #7c0603;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.tgmrn-leadership-section .section-title h2 {
    color: #7c0603;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 15px;
}

.tgmrn-leadership-section .section-title p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}


/* LEADER CARD */

.tgmrn-leader-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: #fff;
    border-left: 4px solid #7c0603;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.tgmrn-leader-image {
    flex: 0 0 150px;
}

.tgmrn-leader-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #7c0603;
    padding: 4px;
}

.tgmrn-leader-info {
    flex: 1;
}

.tgmrn-leader-info .leader-designation {
    color: #7c0603;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.tgmrn-leader-info h3 {
    margin: 7px 0 12px;
    font-size: 25px;
    color: #222;
    font-weight: 700;
}

.tgmrn-leader-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.leader-read-more {
    display: inline-block;
    background: #7c0603;
    color: #fff !important;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.leader-read-more:hover {
    background: #5c0402;
    color: #fff !important;
}


/* RIGHT IMAGE */

.tgmrn-leadership-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 450px;
}

.tgmrn-leadership-image-box img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.leadership-image-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );
}

.leadership-image-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.leadership-image-overlay h3 {
    color: #fff;
    font-size: 25px;
    margin: 8px 0 0;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .tgmrn-leadership-section {
        padding: 50px 0;
    }

    .tgmrn-leadership-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .tgmrn-leadership-section .section-title h2 {
        font-size: 30px;
    }

    .tgmrn-leader-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .tgmrn-leader-info p {
        text-align: left;
    }

    .tgmrn-leadership-image-box {
        min-height: 350px;
    }

    .tgmrn-leadership-image-box img {
        height: 350px;
    }

}

/* =====================================================
   HEADER FIX - LAPTOPS (1200px - 1599px)
   ===================================================== */
@media screen and (min-width: 1200px) and (max-width: 1599px) {

    .main-header .header-sec {
        padding: 0 14px !important;
    }

    .main-header .header-sec .row {
        flex-wrap: nowrap !important;
        gap: 10px;
    }

    /* Logo column: only as wide as the logo */
    .main-header .header-sec .row > [class*="col-"]:nth-child(1) {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .tgmrn-logo-desktop img {
        max-height: 60px;
        width: auto;
    }

    /* Menu column: take the remaining space and allow shrinking */
    .main-header .header-sec .row > [class*="col-"]:nth-child(2) {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    /* Spread the items evenly instead of overflowing from the center */
    .main-nav .main-menu {
        justify-content: space-between !important;
        white-space: nowrap;
    }

    .main-nav li {
        padding: 0 !important;
    }

    /* Font and padding scale with screen width */
    .main-nav a {
        font-size: clamp(11px, 0.95vw, 14px) !important;
        padding: 6px clamp(3px, 0.45vw, 8px) !important;
    }

    /* Contact button slightly smaller */
    .main-header .header-sec .row > [class*="col-"]:nth-child(3) {
        flex: 0 0 auto !important;
    }

    .main-header .header-sec .header-btn a {
        padding: 8px 18px !important;
        font-size: 13px !important;
    }
}

