/*
Theme Name: KST UHT
Theme URI: http://localhost/wordpress
Author: Юлиан Чернашки
Description: Тема за КСТ УХТ
Version: 1.0
*/

html, body{
    margin: 0;
    padding: 0;
}

body{
    color: #111111;
    background-color: #f0f4f7;
    font-family: "Open Sans", sans-serif;
}

@media (min-width: 1200px) {
    main{
        width: 1140px;
        margin: 0 auto;    
    }
}
@media (max-width: 1199px) {
    main{
        width: 94%;
        margin: 0 3%;    
    }
}

a {
    text-decoration: none;
    color: #398bd8;
  }
  

  a:hover {
    color: rgb(29, 129, 83);
    text-decoration: none;
  }
.main_wrapper, header, .footer-wrapper{
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) {
  .main_wrapper, header, .footer-wrapper{
      width: 100%;
  }
}
.main_wrapper h2{
    font-size: 60px;
    text-align: center;    
}
footer{
  background: #67d09f;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 50px;
}
footer h3{
    color: #000000;
}
footer .column.column-3{
    color: black;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
    line-height: 24px;
}
footer .column.column-2{
    padding-top: 50px;
}
footer .column.column-1{
    color: black;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
    line-height: 24px;
}
footer .column.column-1 a{
    color: black;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}
footer .column.column-1 a:hover{
    text-decoration: underline;
    font-weight: bold;
}
footer .column.column-1 ul li{
    margin-bottom: 8px;
}

.main_wrapper h2:not(h2.wp-block-heading){
    padding-top: 60px;
    padding-bottom: 60px;
    background: url('https://kst.uft-plovdiv.bg/images/b6fb42d…_1280.jpg');
}




.wp-block-column.block-akd-img {
    display: inline-block;
    /*
	width: 270px;
	*/
    padding: 10px;
    background: white;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    position: relative;
    overflow: hidden;
}
.block-akd-img .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{
    flex: none;
    height: 250px;
}

.wp-block-column.block-akd-img img {
    width: 230px;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}
.block-akd-img figure.wp-block-image{
    text-align: center;
}


.wp-block-column.block-akd-img h4, 
.wp-block-column.block-akd-img h5 {
    margin: 5px 0;
}


.wp-block-column.block-akd-img a.block-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
}

.wp-block-column.block-akd-img:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}


.wp-block-columns {
    width: 100%;
    overflow: hidden; 
    margin-bottom: 20px;
}


.wp-block-columns .wp-block-column:first-child {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}


.wp-block-columns .wp-block-column:last-child {
    /*
	width: 65%;
	*/
    display: inline-block;
    vertical-align: top;
    text-align: left; 
}
h2.wp-block-heading.profile-page-h2 {
    margin-top: 0;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: top;
    font-size: 34px;
    color: #ffffff;
}

.wp-block-button__link {
    background: #478ac9;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid #478ac9;
    transition: all 0.3s ease-in-out;
}


.wp-block-button__link:hover {
    background: white;
    color: #478ac9;
    border: 2px solid #478ac9;
}

.katedra-kolona-list{
    text-align: left;
}
h2.wp-block-heading.katedra-h2{
    margin-top: 50px;
    margin-bottom: 30px;
    color: #008c4a;
    text-align: center;
}
.page-content[data-currentpageurl="катедра"]{
    padding-left: 50px; 
    padding-right: 50px;
}


.profile-ul1 {
    list-style: none; 
    padding-left: 0;
    margin-top: 186px;
}
.profile-ul1 li {
    margin-bottom: 10px;
}
.profile-ul1 li strong {
    color: #008c4a; 
}


.wp-block-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.wp-block-table table {
    width: 100%;
    border: 2px solid #008c4a;
    background: #ffffff;
}

.wp-block-table th,
.wp-block-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
}

.wp-block-table th {
    background: #008c4a;
    color: white;
}


.profile-page-h3 {
    color: #008c4a; 
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    font-size: 34px;
}


.wp-block-table table tr:first-child {
    background: #008c4a; /* Зелен фон */
    color: white; /* Бял текст */
    font-weight: bold;
}


.wp-block-table table tr:first-child th,
.wp-block-table table tr:first-child td {
    color: white;
}


.wp-block-table table td:nth-child(5), 
.wp-block-table table td:nth-child(6), 
.wp-block-table table th:nth-child(5), 
.wp-block-table table th:nth-child(6) { 
    width: 60px; 
    text-align: center;
}




body.page-child header.hero h1[data-currentpageurl^="академичен-състав/"]{
    display: none;
}
header.hero h1{
    color: #ffffff;
    text-align: center;
    padding-top: 150px;
    font-size: 48px;
    font-weight: 400;
}
header.hero{
    height: 400px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-size: cover;
}
body .page-content{
    padding-top: 250px;
}
body .page-content[data-currentpageurl^="академичен-състав/"]{
    padding-top: 20px;
}
body .page-content[data-currentpageurl^="академичен-състав/"] > .wp-block-columns > .wp-block-column{
    background: transparent;
}
body .page-content[data-currentpageurl^="академичен-състав/"] > .wp-block-columns > .wp-block-column .wp-block-image.size-full img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body .page-content[data-currentpageurl^="академичен-състав/"] > .wp-block-columns > .wp-block-column figure.wp-block-image.size-full {
  height: 100%;    
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; 
}
body .page-content[data-currentpageurl^="академичен-състав/"] > .wp-block-columns .wp-block-column:nth-child(2) p{
    font-size: 0.8em;
}
body.page-child header.hero{
    height: 500px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-size: cover;
}
.main_wrapper h2.profile-page-h2{
    text-align: left;
}


.wp-block-columns .full-block-colum {
	display: block;
    width: 100%;
	padding: 200px;
    text-align: center;
	flex: none;
}

.full-block-colum-kandidat-studenti > .kolona-kandidat-studenti {
    background-color: white; 
    padding: 20px;
    display: inline-block;
    vertical-align: top; 
    margin-right: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: center;
}


.img-kandidat-studenti {
	flex: none;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #008c4a;
    display: block;
    margin: 0 auto 5px; 
    position: relative;
    text-align: center;
}


.img-kandidat-studenti img {
	flex: none;
    width: 60%;
    height: auto;
    display: block;
    position: absolute;
	text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.p-kandidat-studenti {
	flex: none;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    padding: 0 10px;
    margin-top: 5px; 
}


.logo_container {
    padding-top: 8px;
}

.top-navigation {
    padding: 8px 0 0 0;
    margin-top: 10px;
    /*
    background: #333;    
    opacity: 0.8;
    */
}


.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}


.nav-menu > li {
    position: relative;
}


.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: 0.3s;
    display: block;
    text-shadow: 4px 4px 10px #000000;
}

li.current-menu-item > a {
    border: 1px solid #67d09f;
    border-radius: 5px;
}
ul.sub-menu ul.sub-menu li.current-menu-item > a {
    border: none;
}


.nav-menu a:hover {
    background: #67d09f;
    border-radius: 5px;
}


.nav-menu .sub-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    background: #444;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
}


.nav-menu .sub-menu li {
    position: relative;
}


.nav-menu .sub-menu a {
    padding: 10px;
    color: white;
}


.nav-menu .sub-menu a:hover {
    background: #555;
}


.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}


.nav-menu li:hover > .sub-menu {
    display: block;
}


.profile-buton{
    margin-bottom: 40px;
}


.wp-block-column {
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    gap: 5px;
}
.wp-block-columns {
    display: flex;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    justify-content: flex-start;
    gap: 0;
}


.img-icon-tel img, .icon-adress-contacti img , .icon-tech-sytrudnik img{
    width: 24px; 
    text-align: right;
    height: auto; 
    margin-right: 5px;
}
.wp-block-image, .size-full, .img-icon-tel figure{
    text-align: right;
}
.kontakti-labels{
    padding-left: 0 !important;
    margin-left: 0 !important;
    left: -8px;
}
@media (max-width: 767px) {
  .kontakti-labels{
      left: 0;
  }
}
.kontakti-label-p{
    padding-left: 52px;
}
h2.wp-block-heading.h2-contacti {
    font-size: 24px;
    color: #383838;
    text-align: left; 
}
figure.img-icon-tel, figure.icon-adress-contacti, figure.icon-tech-sytrudnik{
    margin-top: 14px;
}
.wp-block-columns.eplus-wrapper{
    margin: 0;
    padding-bottom: 10px;
}
.wp-block-column.eplus-wrapper{
    padding: 20px 20px 0 20px;
}
.wp-block-column.eplus-wrapper:first-child{
    /*padding-right: 0;*/
}
.wp-block-column.eplus-wrapper{
    margin-left: 4px;
    margin-right: 4px;
}
.page-content[data-currentpageurl="академичен-състав"] .block-akd-img.wp-block-column{
    margin-left: 28px;
    margin-right: 28px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 40px;
    padding-bottom: 26px;
}
p.has-text-align-left.eplus-wrapper{
    margin: 0 0 0 20px;
}

.p-contacti{
    font-size: 18px;
    line-height: 28px;
    text-align: center; 
}
.tehn-satrudnik-p{
    text-align: left;
    line-height: 28px;
    padding-left: 0;
}


.contact-form-7 {
    background: #f0f4f7;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.contact-form-7 input, .contact-form-7 textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}


.contact-form-7 .first-row {
    display: flex;
    gap: 10px;
}

.contact-form-7 .first-row input {
    width: calc(50% - 5px); 
}

.wpcf7-submit input[type="submit"] {
    background: #67d09f;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.wpcf7-submit input[type="submit"]:hover {
    background: #005700;
}


.profile-ul2{
    list-style-type: circle; 
    padding-left: 30px;
    margin-bottom: 50px;
}




.wpcf7-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 50px 20px 24px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.wpcf7-form p label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}


.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.wpcf7-form textarea {
    resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


input[type="submit"], button {
    background: #007e43;
    border-radius: 20px !important;
    color: white;
    font-size: 18px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    text-transform: uppercase;
}

.wpcf7-form input[type="submit"] {
    background: #478ac9;
    border: 2px solid #478ac9;
}
.wpcf7-form input[type="submit"]:hover {
    background: white !important;
    color: #478ac9 !important;
    border: 2px solid #478ac9;
}
 

.wpcf7-response-output {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.diplomirane-h2{
    background: #ffffff;
    color: #111111;
    margin-top: 50px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 100px;
    border-radius: 10px;
}
.diplomirane-prilojeniq-i-dati{
    background: #ffffff;
    padding: 150px 50px;
    margin: 15px !important;
    border-radius: 10px;
}
.diplomirane-materiali{
    background-image: linear-gradient(#008c4a, #6cbfd0);
}

body .page-content[data-currentpageurl='кст']{
    padding-top: 0;
}
h1[data-currentpageurl='кст']{
    display: none;
}

body .page-content[data-currentpageurl="контакти"] > .wp-block-columns{
    background: #ffffff;
}


.wp-block-columns, .cql-blok-coloni1 {
  text-align: center;
  font-size: 0; 
  margin: 40px;
}
.cql-blok-coloni1{
    margin-bottom: 0;
}
@media (max-width: 767px){
  .wp-block-columns, .cql-blok-coloni1 {
    margin-left: 0;
    margin-right: 0;
  }
}


.wp-block-column, .kolona1-ot-coloni1,
.kolona2-ot-coloni1,
.kolona3-ot-coloni1 {
  display: inline-block;
  vertical-align: top;
  width: calc(33.333% - 50px);
  margin-right: 15px;
  font-size: 16px;
  background-color: white;
  color: #333;
  padding: 40px 20px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.img-ot-koloni2{
    text-align: center;
}
.img-ot-koloni2 img{
    width: 80px;
}
.h2-ot-koloni2.wp-block-heading{
    color: #383838;
}


.kolona1-ot-coloni1,
.kolona2-ot-coloni1,
.kolona3-ot-coloni1 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  color: white;
  box-shadow: 0px 0px 6px 1px #6e6e6e;    
}

.kolona1-ot-coloni1::before,
.kolona2-ot-coloni1::before,
.kolona3-ot-coloni1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}


h2.wp-block-heading {
  font-size: 2.2em;
  margin: 10px 0;
  color: #008c4a;
}
h3{
    font-size: 1.5em;
    color: #008c4a;
}


p {
  font-size: 1em;
  line-height: 1.6;
  margin: 10px 0;
}


.h2-kst-stranica, .icon-kst-stranica{
    position: relative;
    z-index: 1;
    text-align: center;
}
h2.wp-block-heading.h2-kst-stranica{
    color: #ffffff;
}
.icon-kst-stranica img{
    width: 80px;
    margin-top: 20px;  
    margin-bottom: 20px;
}
.kolonka-background-kst-page{
    display: none;
}
.cql-blok-chisla{
    margin-top: 0;
    background: transparent !important;
}

.kolona1-ot-coloni1 {
  background: #478ac9;
  margin: 20px 20px 0px 20px !important;
  padding: 30px 30px 48px 30px !important;
}
.kolona2-ot-coloni1 {
  background: #478ac9;
  margin: 20px 20px 0px 20px !important;
  padding: 30px 30px 48px 30px !important;
}
.kolona3-ot-coloni1 {
  background: #478ac9;
  margin: 20px 20px 0px 20px !important;
  padding: 30px 30px 48px 30px !important;
}
.chisla-kolona1,
.chisla-kolona2,
.chisla-kolona3 {
	background: none;
    padding-top: 20px;
}

.chisla-kolona1 p,
.chisla-kolona2 p,
.chisla-kolona3 p{
	font-size: 3.75em;
    line-height: 1;
    font-weight: bold;
    color: #008c4a;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}

.chisla-kolona1 h6,
.chisla-kolona2 h6,
.chisla-kolona3 h6 {
	margin-top: 10px;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #555555;
}


.kst-h2-stranica-large {
  text-align: center;
  font-size: 56px !important;
  margin: 60px 0 30px;
  
}
.page-content[data-currentpageurl="студенти/дипломиране"] > .wp-block-columns > .wp-block-column {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kolona1-ot-koloni2,
.kolona2-ot-koloni2,
.kolona3-ot-koloni2 {
	margin: 20px !important;
    padding: 30px !important;
    font-family: "Open Sans", sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /*box-shadow: 0px 0px 6px 1px #c2c2c2;*/
}
.kolona1-ot-koloni2 h2,
.kolona2-ot-koloni2 h2,
.kolona3-ot-koloni2 h2{
    font-family: "Roboto", sans-serif;
    font-size: 30px;
    font-weight: 300;
}
.kolona3-ot-koloni2{
    text-align: center !important;
}


.ages-columns{
    display: none !important;
}
.soliloquy-item h2{
    position: absolute;
    top: 250px;
    width: 900px;
    left: 50%;
    margin-left: -450px;
    color: #ffffff;
    text-align: center;
    font-size: 50px;
    text-shadow: 4px 4px 10px #000000;
}
.kst-spacer-klas{
    padding-top: 280px;
    background: transparent !important;
}
.soliloquy-container{
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: -1 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 592px !important;
    overflow: hidden !important;
    max-height: 592px !important;
}
.soliloquy-container .soliloquy-image{
    width: 100% !important;
    position: relative;
    transform: translateY(-10%);
    z-index: -2;
    filter: brightness(65%);
}
.soliloquy-next{
    display: none !important;
}
.soliloquy-prev{
    display: none !important;
}


.h2-zabavna-stranica {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #2c3e50;
  margin: 40px 0 20px;
}


#student-quote {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-style: italic;
  font-size: 18px;
  padding: 15px 20px;
  border-left: 4px solid #0073aa;
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}


#game {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px;
  max-width: 600px;
  margin: 30px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#choices button {
  background-color: #ffcc80;
  border: none;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 6px;
  margin: 6px;
  transition: 0.3s;
}

#choices button:hover {
  background-color: #ffa726;
  color: #fff;
}

.vicove-blok {
  margin-top: 30px;
  margin-bottom: 30px;
  gap: 20px;
}



.blok-butoni-zabavna-stranuca {
  justify-content: center !important;
  text-align: center;
  margin: 30px;
  gap: 20px;
}

.boton-kolona-zbavna-stranica {
  display: flex;
  justify-content: center;
}

.boton-test a.wp-block-button__link {
  background-color: #3498db;
  color: #fff;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-align: center;
}

.boton-test a.wp-block-button__link:hover {
  background-color: #1d6fa5;
}


.page-content[data-currentpageurl="катедра"] {
    text-align: justify;
}

.katedara-img-blok {
    flex: none;
    width: 100%;
    min-height: 380px;
    margin: 0 auto;
}
.katedara-img-blok > .katedra-colona-img {
    background-color: white;
    padding: 20px;
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.katedara-img-blok > .katedra-colona-img figure{
    margin: 0;
}
.katedra-block-list {
    flex: none;
    width: 100%;
    min-height: 380px; 
    margin: 0 auto;
} 

.katedra-block-list > .katedra-kolona-list {
    background-color: white; 
    padding: 20px;
    display: inline-block; 
    vertical-align: top; 
    margin-right: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    text-align: center;
}


.wp-pagenavi {
    text-align: center;
    margin-top: 30px;
    font-family: inherit;
}

.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-block;
    margin: 5px 4px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.wp-pagenavi a:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.wp-pagenavi .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}

.main_wrapper_news,
.posts_grid {
    display: block; 
    text-align: center;
}

.custom-pagination {
    text-align: center;
    margin-top: 40px;
}

.js-studenti-page > div{
    cursor: pointer;
}
.js-studenti-page > div:hover{
    box-shadow: 0 0 4px 1px rgba(150, 150, 150, 0.2);
    transform: scale(1.02);
}
.js-studenti-page > div:hover a{
    font-weight: bold;
    color: #008c4a !important;
}
.has-1-column .wp-block-column {
  flex-basis: 27.3333% !important;
  max-width: 27.3333% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.has-2-columns .wp-block-column {
  flex-basis: 50% !important;
  max-width: 50% !important;
}
@media (max-width: 767px){
  .has-1-column .wp-block-column, .has-2-columns .wp-block-column {
    max-width: 82% !important;
  }
}



@media (min-width: 1200px) {
    #rl-gallery-container-1 .rl-basicgrid-gallery .rl-gallery-item{
        width: calc(33.33% - 2px) !important;
    }
    #rl-gallery-container-1 .rl-basicgrid-gallery .rl-gallery-item a img{
        width: 90% !important;
        height: auto !important;
        margin-bottom: 20px;
    }
}



.single-it_news .news-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', sans-serif;
}

.single-it_news .news-container h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.single-it_news .news-container .news-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.single-it_news .news-container .news-thumbnail {
    margin-bottom: 25px;
}

.single-it_news .news-container .news-thumbnail img {
    width: 100%;
    border-radius: 8px;
}

.single-it_news .news-container .news-content {
    line-height: 1.8;
    font-size: 17px;
}

.single-it_news .news-thumbnail img {
    width: 300px;
    height: 200px;
    display: block;
    border-radius: 12px 12px 0 0; 
    object-fit: cover;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.related-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.related-post:hover {
    transform: translateY(-3px);
}

.related-post img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.related-post-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.related-post-title:hover {
    color: #0073aa;
    text-decoration: underline;
}

.it-news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.it-news-item {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    background: #fafafa;
}
.it-news-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.it-news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.it-news-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    padding: 15px;
}

.it-news-item:hover {
    transform: translateY(-5px);
}

.it-news-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.it-news-item h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.it-news-item h3 a {
    color: #0073aa;
    text-decoration: none;
}

.it-news-item h3 a:hover {
    color: #005077;
}

.it-news-item div {
    color: #444;
    font-size: 14px;
}

.it-news-item .read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background-color: #0073aa;
    color: #fff;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.it-news-item .read-more:hover {
    background-color: #005077;
}

.boton-kolona-zbavna-stranica{
    background: transparent;
}
.page-content[data-currentpageurl="студенти/кандидат-студенти"] .wp-block-column{background: transparent;}
.page-content[data-currentpageurl="студенти/кандидат-студенти"] .kolona-kandidat-studenti.wp-block-column{background: #ffffff;}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 999;
}

.menu-toggle-label span {
    display: block;
    height: 5px;
    background: #eeeeee;
    border-radius: 2px;
}


.menu-toggle-checkbox {
    display: none;
}


.top-navigation {
    display: flex;
}

@media (max-width: 767px) {    
    .logo_container {
        padding-left: 10px;
    }
    .menu-toggle-label {
        display: flex;
    }

    .header-wrapper nav.top-navigation {
        display: none;
        flex-direction: column;
        background: #070607;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }   
    
    .menu-toggle-checkbox:checked + .menu-toggle-label + nav.top-navigation {
        display: block;
    }    
    
    nav.top-navigation ul.nav-menu{
        flex-direction: column;
    }
    
    .nav-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-menu li {
        padding: 12px 16px;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li.menu-item-has-children > a::after {
        content: '▸';
        float: right;
        margin-left: 8px;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

    .nav-menu li.submenu-opened > a::after {
        transform: rotate(90deg);
    }  
    
    footer .footer-wrapper{
        display: block;
        width: 100%;
    }  
    footer .footer-wrapper .column{
        display: block;
        width: 100%;
    }  
    footer .column-1, footer .column-3{
        text-align: left;
        padding-left: 40px;
        padding-top: 20px;
        box-sizing: border-box;
    }
    footer .column-3{
        padding-bottom: 50px;
    }
    footer .column-3 h3{
        margin-bottom: 0;
    }
    
    .kst-h2-stranica-large{
        font-size: 42px !important;
    }
    
    .main_wrapper .posts_grid{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 992px) {
    div.page-content[data-currentpageurl^='академичен-състав/'] > div[class*='wp-container-core-columns-is-layout-'] > div:first-child{
        flex-basis:33.33% !important;
        padding-left: 0;
    }
    div.page-content[data-currentpageurl^='академичен-състав/'] > div[class*='wp-container-core-columns-is-layout-'] div:last-child{
        flex-basis: 66.66% !important;
    }
    body .page-content[data-currentpageurl^="академичен-състав/"] > .wp-block-columns > .wp-block-column figure.wp-block-image.size-full{
        height: 99%;
    }        
    body.page-child header.hero[style*='akademic_profile.jpg'] {
        height: 420px;
    }
    div.page-content[data-currentpageurl^='академичен-състав/'] .profile-ul1{
        margin-top: 96px;
    }
}

@media (max-width: 767px) {  
    body.home header h1{
        display: none;
    }
    body.home .soliloquy-item h2{
        width: 100%;
        margin-left: 0;
        left: auto;
        font-size: 40px;
        padding: 0 20px;
    }
    body.home .soliloquy-container, body.home header.hero {
        background-color: #070607;
    }
    body.home .soliloquy-container .soliloquy-image{
        width: 300% !important;
        max-width: 300%;
    }
    .page-content, .page-content[data-currentpageurl]{
        padding-left: 16px;
        padding-right: 16px;
    }
    body.page-child header.hero[style*='akademic_profile.jpg'] {
        height: 807px;
    }
    body .page-content[data-currentpageurl^="академичен-състав/"] .profile-ul1{
        margin-top: 40px;
    }
    body .page-content[data-currentpageurl^="академичен-състав/"] figure.wp-block-table table{
        table-layout: auto;
        width: 300%;
        font-size: 14px;
    }
    body .page-content[data-currentpageurl="студенти/дипломиране"] .wp-block-column, .page-content[data-currentpageurl="студенти/кандидат-студенти"] .wp-block-column{
        margin-top: 10px;
    }
    body .page-content[data-currentpageurl="забавна-зона-за-студенти"] blockquote{
        margin-left: 0;
        margin-right: 0;
    }
    .nav-menu{
        gap: 6px;
    }
    .nav-menu li{
        padding-bottom: 18px;
    }
    .vicove-blok{
        width: 100%;
    }
    .img-icon-tel, .icon-adress-contacti, .icon-tech-sytrudnik{
        text-align: left;
        margin-left: -20px;
        margin-bottom: 0;
    }
    .kontakti-label-p{
        padding-left: 0;
        margin-left: 0 !important;
    }
    
    .profile-page-h2 {
        font-size: 10px;
    }
}

.nav-menu a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.75em;
    margin-left: 6px;
    opacity: 0.7;
}


.nav-menu a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.75em;
    margin-left: 6px;
    opacity: 0.7;
}

/* Всички input-и + select + number */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
  width: 100%;
  box-sizing: border-box;
}
.wpcf7 input[type="number"],
.wpcf7 select {
    width: 30%;
    box-sizing: border-box;
}
.wpcf7 input[name="grad-year"]{
  width: 22%;
  box-sizing: border-box;
}

.wpcf7 select[name="it-sector"]{
  width: 17%;
  box-sizing: border-box;
}
/* Специално за dropdown (OKC, Да/Не) */
.wpcf7 select {
  display: block;
}

/* Ако някои полета още са тесни */
.wpcf7-form-control {
  width: 100%;
}
/* Всички input + select */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select {
  height: 35px;            /* ← контролира височината */
  padding: 0 14px;         /* вътрешен отстъп */
  font-size: 15px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* textarea да е по-висок */
.wpcf7 textarea {
  padding: 12px 14px;
  min-height: 120px;
  font-size: 16px;
  border-radius: 8px;
  box-sizing: border-box;
}


.wpcf7 {
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) { 
    .wpcf7 input[type="number"],
.wpcf7 select {
    width: 43%;
    box-sizing: border-box;
}
.wpcf7 input[name="grad-year"]{
  width: 30%;
  box-sizing: border-box;
}

.wpcf7 select[name="it-sector"]{
  width: 25%;
  box-sizing: border-box;
}
}

/*
@media (max-width: 767px) {

  .page-content[data-currentpageurl="академичен-състав"] .wp-block-column{
      width: 100% !important;
      max-width: 100% !important;
      display: block !important;
  }

  .page-content[data-currentpageurl="академичен-състав"] .wp-block-columns{
      display: flex !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      align-items: center;
  }

  .page-content[data-currentpageurl="академичен-състав"] .block-akd-img img{
      width: 100% !important;
      height: auto !important;
      object-fit: cover;
  }

}

@media (max-width: 767px) {

  .page-content[data-currentpageurl*="академичен-състав"] .wp-block-columns.akad-sastav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: 24px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  
  .page-content[data-currentpageurl*="академичен-състав"] .akad-sastav + .akad-sastav {
    margin-top: 24px !important;
  }

  .page-content[data-currentpageurl*="академичен-състав"] .wp-block-column.block-akd-img {

    width: calc(100% - 24px) !important;
    max-width: 340px !important;

    flex-basis: auto !important;

    margin: 0 auto !important;
    padding: 16px !important;

    background: #fff !important;
    border-radius: 12px !important;

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);

    box-sizing: border-box !important;
  }

 
  .page-content[data-currentpageurl*="академичен-състав"] .wp-block-image,
  .page-content[data-currentpageurl*="академичен-състав"] figure {
    margin: 0 !important;
  }


  .page-content[data-currentpageurl*="академичен-състав"] .block-akd-img img {

    width: 85% !important;
    max-width: 260px !important;

    height: auto !important;

    display: block !important;
    margin: 0 auto !important;

    border-radius: 10px;
  }

}
*/
@media (max-width: 767px) {

  /* Главен контейнер */
  .page-content[data-currentpageurl*="академичен-състав"] .wp-block-columns.akad-sastav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: 24px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Разстояние между групите */
  .page-content[data-currentpageurl*="академичен-състав"] .akad-sastav + .akad-sastav {
    margin-top: 24px !important;
  }

  /* Карта на преподавател */
  .page-content[data-currentpageurl*="академичен-състав"] .wp-block-column.block-akd-img {

    width: calc(100% - 24px) !important;
    max-width: 340px !important;

    flex-basis: auto !important;

    margin: 0 auto !important;
    padding: 16px !important;

    background: #fff !important;
    border-radius: 12px !important;

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);

    box-sizing: border-box !important;
  }

  /* Махаме излишни margins */
  .page-content[data-currentpageurl*="академичен-състав"] .wp-block-image,
  .page-content[data-currentpageurl*="академичен-състав"] figure {
    margin: 0 !important;
  }

  /* Снимки */
  .page-content[data-currentpageurl*="академичен-състав"] .block-akd-img img {

    width: 85% !important;
    max-width: 260px !important;

    height: 260px !important;

    object-fit: cover !important;
    object-position: center top;

    display: block !important;
    margin: 0 auto !important;

    border-radius: 10px;
  }

}
