@import url("https://lacasuriortodoxe.ro/scripturi/fonturi/gelasio/style.css");
@import url("https://lacasuriortodoxe.ro/scripturi/fonturi/inter/style.css");
@import url("https://lacasuriortodoxe.ro/scripturi/fonturi/teko/style.css");

* {
    box-sizing: border-box;
}

html {
    font-size: 10px;
    line-height: 10px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Gelasio', Georgia, sans-serif;
    line-height: 1.4;
}

a {
    color: #005B91;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.separator {
    width: 100%;
    height: 1px;
    background: #CCCCCC;
    margin-top: 7px;
    margin-bottom: 7px;
}

.contur {
    border: 1px solid #CCC;
    padding: 7px;
}

.fundal {
    background: #EBEFF8;
}

/*/
 * Antet ESC Home
/*/

.container {
    max-width: 1200px;
    margin: 0 auto 0;
    padding-left: 10px;
    padding-right: 10px;
}

header.esc-header {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
}

header.esc-header img {
    max-height: 80px;
    max-width: 100%;
}

header.esc-header nav {
    flex: 1;
    text-align: right;
    padding-top: 25px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

header.esc-header nav a {
    font-family: 'Inter', helvetica, sans-serif;
    display: inline-block;
    vertical-align: top;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
}

header.esc-header nav a:hover {
    background: #EFEFEF;
    text-decoration: none;
}


.esc-meniu nav {
    flex: 1;
    padding-top: 25px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.esc-meniu nav a {
    font-family: 'Inter', helvetica, sans-serif;
    display: inline-block;
    vertical-align: top;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
}

.esc-meniu nav a:hover {
    background: #EFEFEF;
    text-decoration: none;
}


.ticker {
    font-family: 'Inter', helvetica, sans-serif;
    display: flex;
    background: #005B91;
    color: #FFFFFF;
    font-size: 1.3rem;
}
.ticker .titlu {
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    background: #D9D9D9;
    color: #005B91;
}
.ticker marquee {
    padding: 10px 20px;
    font-weight: bold;
}

@media all and (max-width: 890px) {
    header.esc-header {
        display: block;
        text-align: center;
    }
    header.esc-header nav {
        border-top: 1px solid #CCCCCC;
        padding-top: 10px;
        text-align: center;
        margin-top: 5px;
    }
    header.esc-header nav a {
        padding-left: 7px;
        padding-right: 7px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}


/*/
 * Hero Section
/*/

#esc-hero {
    background: #1b76aa;
    font-family: 'Teko', Impact, sans-serif;
    height: 400px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    max-height: 1000px;
}

#esc-hero .esc-hero-separator {
    display: block;
}

#esc-hero .esc-hero-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #FFFFFF;
    display: block;
}

#esc-hero .esc-hero-video video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.7;
}

#esc-hero .esc-hero-text {
    color: #fff;
    padding-top: 0;
    transition: all 2s ease-in-out;
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    z-index: 9;
    display: block;
    transform: translateY(-50%);
}

#esc-hero .esc-hero-text-line-one, #esc-hero .esc-hero-text-line-two {
    font-size: 90px;
    text-transform: uppercase;
    line-height: 100%;
    text-align: center;
    position: relative;
}

#esc-hero .esc-hero-text-line-two {
    margin-top: 50px;
}

#esc-hero .esc-hero-text-line-one {
    transform: translateX(-200%);
    animation: 1s ease-out 1s 1 heroFromLeft;
    animation-fill-mode: forwards;
    display: inline-block;
}

#esc-hero .esc-hero-text-line-two {
    transform: translateX(200%);
    animation: 1.5s ease-out 1.5s 1 heroFromRight;
    animation-fill-mode: forwards;
    display: inline-block;
}

@keyframes heroFromLeft {
	0% {
		transform: translateX(-200%);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes heroFromRight {
	0% {
		transform: translateX(200%);
	}
	100% {
		transform: translateX(0);
	}
}

#esc-hero .esc-hero-text-line-bracket-one, #esc-hero .esc-hero-text-line-bracket-two {
    color: #fff200;
    padding: 0 10px;
    font-size: 130px;
    font-weight: 500;
    position: absolute;
    top: 0;
}

#esc-hero .esc-hero-text-line-bracket-one {
    transform: translateX(-3000px);
    animation: 1s ease-out 1s 1 heroBracketFromLeft;
    animation-fill-mode: forwards;
    animation-delay: 3s;
    left: -60px;
}

#esc-hero .esc-hero-text-line-bracket-two {
    transform: translateX(3000px);
    animation: 1s ease-out 1s 1 heroBracketFromRight;
    animation-fill-mode: forwards;
    animation-delay: 3s;
    right: -60px;
}


@keyframes heroBracketFromLeft {
    0% {
    	transform: translateX(-3000px);
    }
    100% {
    	transform: translateX(0);
    }
}

@keyframes heroBracketFromRight {
    0% {
    	transform: translateX(3000px);
    }
    100% {
    	transform: translateX(0);
    }
}

/* Text :: PC :: "&" and small text */

#esc-hero .esc-hero-text-line-and {
    color: #eb008b;
    font-size: 50px;
    padding: 0 10px;
}

#esc-hero .esc-hero-text-line-small {
    font-size: 50px;
    text-transform: none;
    padding: 0 10px;
}


@media screen and (max-width: 1350px) {
    #esc-hero .esc-hero-text-line-one, #esc-hero .esc-hero-text-line-two {
        font-size: 65px;
    }
    #esc-hero .esc-hero-text-line-bracket-one, #esc-hero .esc-hero-text-line-bracket-two {
        font-size: 90px;
    }
    #esc-hero .esc-hero-text-line-two {
        margin-top: 40px;
    }
}

@media screen and (max-width: 1000px) {
    #esc-hero .esc-hero-text-line-one, #esc-hero .esc-hero-text-line-two {
        font-size: 50px;
    }
    #esc-hero .esc-hero-text-line-and {
        font-size: 40px;
    }
    #esc-hero .esc-hero-text-line-small {
        font-size: 40px;
    }
    #esc-hero .esc-hero-text-line-bracket-one, #esc-hero .esc-hero-text-line-bracket-two {
        font-size: 60px;
    }
    #esc-hero .esc-hero-text-line-bracket-one {
        left: -30px;
    }
    #esc-hero .esc-hero-text-line-bracket-two {
        right: -30px;
    }
    #esc-hero .esc-hero-text-line-two {
        margin-top: 40px;
    }
}

@media screen and (max-width: 735px) {
    #esc-hero .esc-hero-text-line-and {
        font-size: 30px;
    }
    #esc-hero .esc-hero-text-line-small {
        font-size: 30px;
    }
    #esc-hero .esc-hero-text-line-and {
        display: block;
    }
    #esc-hero .esc-hero-text-line-small {
        display: block;
    }
    #esc-hero .esc-hero-text-line-bracket-one, #esc-hero .esc-hero-text-line-bracket-two {
        font-size: 80px;
    }
    #esc-hero .esc-hero-text-line-bracket-one {
        left: -30px;
    }
    #esc-hero .esc-hero-text-line-bracket-two {
        right: -30px;
    }
    #esc-hero .esc-hero-text-line-one, #esc-hero .esc-hero-text-line-two {
        font-size: 75px;
    }
    #esc-hero .esc-hero-text-line-two {
        margin-top: 10px;
    }
}

@media screen and (max-width: 595px) {
    #esc-hero .esc-hero-text-line-one, #esc-hero .esc-hero-text-line-two {
        font-size: 60px;
    }
}

@media screen and (max-width: 460px) {
    #esc-hero .esc-hero-text-line-and, #esc-hero .esc-hero-text-line-small {
        font-size: 20px;
    }
    #esc-hero .esc-hero-text-line-bracket-one, #esc-hero .esc-hero-text-line-bracket-two {
        font-size: 60px;
    }
    #esc-hero .esc-hero-text-line-bracket-one {
        left: -30px;
    }
    #esc-hero .esc-hero-text-line-bracket-two {
        right: -30px;
    }
    #esc-hero .esc-hero-text-line-one, #esc-hero .esc-hero-text-line-two {
        font-size: 45px;
    }
    #esc-hero .esc-hero-text-line-two {
        margin-top: 20px;
    }
}

@media screen and (max-width: 360px) {
    #esc-hero .esc-hero-text-line-one, #esc-hero .esc-hero-text-line-two {
        font-size: 35px;
    }
    #esc-hero .esc-hero-text-line-two {
        margin-top: 20px;
    }
}

.esc-hero-divider {
    width: 100%;
    text-align: center;
    padding: 7px;
    color: #FFFFFF;
    background: #005B91;
    font-family: 'Inter', helvetica, sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

/*/
 * Stiri
/*/

.stiri-top {
    display: flex;
    gap: 7px;
    margin-bottom: 20px;
}
.stiri-top .stiri-col-1 {
    display: block;
    width: 650px;
}
.stiri-top .stiri-col-2 {
    flex: 1;
    border: 1px solid #CCCCCC;
    padding: 7px;
    position: relative;
}

@media all and (max-width: 1020px) {
    .stiri-top .stiri-col-1 {
        width: 50%;
    }
}

@media all and (max-width: 680px) {
    .stiri-top {
        display: block;
    }
    .stiri-top .stiri-col-1 {
        width: 100%;
        margin-bottom: 15px;
    }
    .stiri-top .stiri-col-2 {
        width: 100%;
    }
}









/*/
 * Titluri
/*/

.titlu-1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #CCCCCC;
}

.titlu-2 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.titlu-3 {
    font-size: 1.6rem;
    line-height: 1.2;
}



/*/
 * * * * * * * * * * * * * * * * * * * 
 * ARTICOL MARE
 * * * * * * * * * * * * * * * * * * *
/*/

.articol-mediu {
    display: flex;
    gap: 10px;
    text-decoration: none;
}
.articol-mediu .imagine {
    width: 260px;
    height: 100%;
    overflow: hidden;
    min-height: 200px;
    position: relative;
}
.articol-mediu .imagine img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease-in-out;
    position: absolute;
}
.articol-mediu:hover .imagine img {
    transform: scale(1.05);
}
.articol-mediu .descriere {
    flex: 1;
    min-width: 0;
}
.articol-mediu .descriere .data {
    font-family: 'Inter', helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #005B91;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.articol-mediu .descriere .titlu {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.25;
    color: #111111;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease-in-out;
}
.articol-mediu:hover .descriere .titlu {
    color: #005B91;
}
.articol-mediu .descriere .intro {
    font-size: 1.3rem;
    color: #666666;
    line-height: 1.4;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.articol-mediu .descriere .citeste {
    font-size: 1.3rem;
    font-family: 'Inter', helvetica, sans-serif;
    font-weight: 600;
    text-align: left;
    display: block;
}

@media all and (max-width: 1020px) {
    .articol-mediu .imagine {
        width: 180px;
    }
    .articol-mediu .descriere .titlu {
        font-size: 1.6rem;
    }
}

@media all and (max-width: 680px) {
    .articol-mediu {
        flex-direction: column;
        gap: 7px;
    }
    .articol-mediu .imagine {
        width: 100%;
        height: 180px;
    }
    .articol-mediu .descriere .intro {
        -webkit-line-clamp: 4;
    }
}

@media all and (max-width: 400px) {
    .articol-mediu .descriere .intro {
        display: none;
    }
}

/*/
 * Articol Mare
/*/

.articol-mare {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.articol-mare img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.articol-mare .descriere {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.9);
    color: #FFFFFF;
    z-index: 2;
}
.articol-mare .descriere .data {
    font-family: 'Inter', helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.articol-mare .descriere .titlu {
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 10px;
    transition: color 0.2s ease-in-out;
}
.articol-mare:hover .titlu {
    color: #fff200;
}
.articol-mare .descriere .intro {
    font-size: 1.3rem;
}
.stiri-col-1 .articol-mare {
    height: 100%;
}
@media all and (max-width: 400px) {
    .articol-mare .descriere .titlu {
        margin-bottom: 0;
    }
    .articol-mare .descriere .intro {
        display: none;
    }
}
.articol-mare.articol-mare-fix {
    height: 400px;
}

/* Articol mic */

.articol-mic {
    display: flex;
    gap: 7px;
}
.articol-mic .imagine {
    width: 52px;
    height: 53px;
    overflow: hidden;
}
.articol-mic .imagine img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.articol-mic .descriere {
    flex: 1;
}
.articol-mic .descriere .data {
    font-size: 1.1rem;
    font-family: 'Inter', helvetica, sans-serif;
    font-weight: bold;
    color: #005B91;
}
.articol-mic .descriere .titlu {
    font-size: 1.4rem;
    color: #111;
    text-decoration: none;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.articol-mic .descriere .titlu:hover {
    text-decoration: underline;
}

/* List items with date badge */

.articol-data {
    display: flex;
    gap: 10px;
    text-decoration: none;
    transition: background 0.15s ease-in-out;
    flex: 1;
    align-items: center;
}
.articol-data:last-child {
    border-bottom: 0;
}
.articol-data .data {
    font-family: 'Teko', Impact, sans-serif;
    width: 55px;
    flex: none;
    text-align: center;
    background: #005B91;
    color: #FFFFFF;
    padding: 4px 0;
    line-height: 1;
}
.articol-data .data .zi {
    display: block;
    font-size: 2.6rem;
}
.articol-data .data .luna {
    display: block;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.articol-data .text .titlu {
    font-family: 'Inter', helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #111111;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
}
.articol-data .text .titlu:hover {
    color: #005B91;
    text-decoration: none;
}
.articol-data .text .intro {
    font-size: 1.2rem;
    color: #666666;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Articol lista */

.articol-lista {
    font-weight: normal;
    margin-bottom: 5px;
    padding-left: 7px;
    background-image: url('general-bulina.gif');
    background-repeat: no-repeat;
    background-position: 0 7px;
}
.articol-lista .titlu {
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.2;
}
.articol-lista .data {
  color: #999999;
  font-size: 1.0rem;
  font-family: 'Ubuntu', Arial;
}

/* Articol mic protopopiate */

.stiri-protopopiate {
    margin-bottom: 20px;
}
.stiri-protopopiate .stiri-rand {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}
.stiri-protopopiate .stiri-protopopiat {
    padding: 7px;
    border: 1px solid #CCCCCC;
}
.stiri-protopopiate .articol-mic .imagine {
    width: 64px;
    height: 64px;
}
.stiri-protopopiate .articol-mic .descriere .data {
    margin-bottom: 10px;
}

@media all and (max-width: 960px) {
    .stiri-protopopiate .stiri-rand {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (max-width: 500px) {
    .stiri-protopopiate .stiri-rand {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Empty state */

.stiri-gol {
    border: 1px solid #CCCCCC;
    padding: 15px;
    font-family: 'Inter', helvetica, sans-serif;
    font-size: 1.3rem;
    color: #666666;
    text-align: center;
}

/* Responsive */

@media all and (max-width: 900px) {
    .stiri-parohie-featured {
        display: block;
    }
    .stiri-parohie-featured-card {
        width: 100%;
        margin-bottom: 15px;
    }
    .stiri-parohie-featured-card .articol-mare {
        min-height: 250px;
    }
}

@media all and (max-width: 480px) {
    .stiri-parohie-featured-card .articol-mare .descriere .intro {
        display: none;
    }
    .stiri-parohie-featured-card .articol-mare .descriere .titlu {
        font-size: 1.6rem;
    }
}

/*/
 * Articol
/*/

.pagina-articol {
    display: flex;
    padding-top: 15px;
}

.pagina-articol-stanga {
    width: 65%;
    padding-top: 15px;
    padding-left: 30px;
    padding-right: 30px;
    background: #FFFFFF;
    border-radius: 10px;
}

.pagina-articol-dreapta {
    width: 35%;
    padding-left: 50px;
    padding-right: 40px;
    padding-top: 15px;
}


@media all and (max-width: 770px) {
    .pagina-articol {
        display: block;
    }
    .pagina-articol-stanga {
        width: 100%;
        display: block;
        padding-top: 15px;
    }
    .pagina-articol-dreapta {
        width: 100%;
        padding: 0;
        padding-top: 15px;
        display: block;
    }
}

article.articol .titlu {
    font-size: 2.9rem;
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 5px;
    color: #005B91;
}
@media all and (max-width: 400px) {
    article.articol .titlu {
        font-size: 2.3rem;
    }
}
article.articol .autor {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
}
article.articol .data {
    color: #000000;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
article.articol .linkuri {
    font-size: 1.3rem;
    padding-top: 7px;
    padding-bottom: 7px;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
}
article.articol .linkuri a {
    text-decoration: underline;
    color: #005B91;
}
article.articol .continut {
    margin-top: 10px;
    font-family: 'Gelasio', Arial, Helvetica, sans-serif;
}
article.articol .continut p {
    display: block;
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: justify;
    position: relative;
    font-weight: 500;
}
article.articol .continut h2, article .continut h3, article .continut h4 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-top: 30px;
}
article.articol .continut code {
    background: #efefef;
    border-radius: 5px;
    padding: 2px 5px;
}
article.articol .continut mark {
    background: #F2E7D5;
    border-radius: 5px;
    padding: 2px 5px;
}
article.articol .continut a {
    color: #044364;
    font-weight: bold;
    padding-bottom: 1px;
    border-bottom: 2px solid #044364;
}
article.articol .continut a:hover {
    color: #990000;
    border-bottom: 2px solid #990000;
    text-decoration: none;
}
article.articol .continut blockquote {
    border-left: 5px solid #990000;
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #333;
    display: block;
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: justify;
    position: relative;
}
article.articol .continut pre {
    background: #F3E8E8;
    padding: 10px 15px;
    color: #000;
    font-family: monospace;
    text-align: left;
    border-radius: 10px;
    font-size: 1.2rem;
}
article.articol .continut img {
    display: inline-block;
    max-width: 100%;
    border: 1px solid #CCCCCC;
    padding: 5px;
    height: auto !important;
}
article.articol .continut hr {
    width: 100%;
    height: 5px;
    border: 0;
    background: #990000;
    margin-bottom: 15px;
    margin-top: 15px;
}
article.articol .recomanda {
    padding-left: 20px;
    background-image: url('general-share.png');
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
}
article.articol .continut ul {
    padding-left: 20px;
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 15px;
}
article.articol figure {
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}

/*/
 * Module
/*/

.modul {
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
}
.modul .modul-titlu {
    color: #005B91;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 3px solid #005B91;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: inline-block;
}
.modul .modul-continut {
    font-size: 1.3rem;
    display: block;
}
.modul .modul-continut img {
    max-width: 100%;
    margin: 0 auto 0;
    display: block;
}


/*/
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * PAROHII SI MANASTIRI
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
/*/

/*/
 * Biserici::Header
/*/
        
#biserici-header {
    position: absolute;
    top: 60px;
    left: 30px;
    z-index: 900;
    width: calc(100% - 60px);
}

#biserici-header .container {
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 10px;
    padding: 15px 20px;
    font-family: Inter, sans-serif;
}

#biserici-header .nav {
    position: relative;
}

#biserici-header nav {
    white-space: nowrap;
    overflow-x: auto;
}

#biserici-header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#biserici-header nav ul li {
    display: inline-block;
    vertical-align: top;
}
#biserici-header nav ul li a {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 5px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 2.0rem;
    background: rgba(0,0,0,0);
    transition: background ease .3s;
}
#biserici-header nav ul li:first-child a {
    color: #333;
    background-color: #EFEFEF;
}
#biserici-header nav ul li a:hover {
    background: rgba(0,0,0,0.08);
}
#biserici-header nav ul li:first-child a:hover {
    color: #fff;
    background-color: #CCC;
}
#biserici-header nav ul li.newsletter a span {
    background: linear-gradient(
        to right,
        #7953cd 20%,
        #eb008b 30%,
        #0190cd 70%,
        #eb008b 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@media all and (max-width: 800px) {
    #biserici-header {
        top: 40px;
        width: 100%;
        left: 0;
    }
    #biserici-header .container {
        border-radius: 0;
        width: 100%;
    }
}

#biserici-header.biserici-articol-header {
    position: static;
    margin: 0;
    left: 0;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*/
 * Biserici::Articol
/*/

.biserici-articol-container {
    min-height: 100vh;
    width: 100%;
}

.biserici-articol-coloane {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.biserici-articol-banner {
    position: sticky;
    top: 40px;
    height: calc(100svh - 40px);
    width: fit-content;
    overflow: hidden;
    line-height: 0;
}

.biserici-articol-banner img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

.biserici-articol-text {
    min-width: 0;
    width: 100%;
    padding: 0 30px;
    margin: 0 auto;
}

.biserici-articol-text-container {
    display: flex;
    gap: 30px;
}

.biserici-articol-text-container-stanga {
    width: 65%;
    padding-top: 15px;
}

.biserici-articol-text-container-dreapta {
    width: 35%;
    padding-top: 15px;
}

.biserici-articol-banner .computer {
    display: block;
}
.biserici-articol-banner .mobile {
    display: none;
}

@media all and (max-width: 768px) {
}

@media (max-width: 1280px) {
    .biserici-articol-text-container {
        display: block;
    }
    .biserici-articol-text-container-stanga {
        width: 100%;
        padding-top: 15px;
    }
    .biserici-articol-text-container-dreapta {
        width: 100%;
        padding-top: 15px;
    }
}

@media (max-width: 900px) {
    .biserici-articol-container {
        padding: 0;
    }
    .biserici-articol-coloane {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .biserici-articol-banner {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
    .biserici-articol-banner img {
        width: auto;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }
    .biserici-articol-text {
        width: 100%;
        max-width: none;
        padding-top: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    .biserici-articol-banner .computer {
        display: none;
    }
    .biserici-articol-banner .mobile {
        display: block;
    }
    #biserici-header.biserici-articol-header {
        margin-top: 0;
        position: absolute;
        top: 40px;
        left: 0;
    }
    #biserici-header.biserici-articol-header .container {
        padding: 7px;
    }
}

/*/
 * Biserici::Banner
/*/

#biserici-hero {
    width: 100%;
}
#biserici-hero img {
    max-width: 100%;
    width: 100%;
}
#biserici-hero .computer {
    display: block;
}
#biserici-hero .mobile {
    display: none;
}

@media all and (max-width: 768px) {
    #biserici-hero .computer {
        display: none;
    }
    #biserici-hero .mobile {
        display: block;
    }
}

/*/
 * Biserici::Istoric
/*/

.biserici-istoric {
    padding: 10px;
    font-family: 'Gelasio', Georgia, sans-serif;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #333333;
    text-align: justify;
    position: absolute;
    left: 0;
    top: 40px;
    height: calc(100% - 50px);
    overflow-y: auto;
}
.biserici-istoric p, .biserici-istoric div {
    margin: 0 0 10px;
}
.biserici-istoric p:last-child, .biserici-istoric div:last-child {
    margin-bottom: 0;
}
.biserici-istoric img {
    max-width: 100%;
    display: block;
    margin: 10px auto;
    border: 1px solid #CCCCCC;
    padding: 5px;
}
.biserici-istoric h2,
.biserici-istoric h3 {
    font-family: 'Inter', helvetica, sans-serif;
    font-size: 1.8rem;
    color: #005B91;
    margin: 15px 0 7px;
}
.biserici-istoric blockquote {
    border-left: 5px solid #990000;
    padding-left: 15px;
    color: #333;
    margin: 0 0 10px;
}

@media all and (max-width: 680px) {
    .biserici-istoric {
        position: static;
        overflow: auto;
        height: auto;
        left: 0;
        top: 0;
    }
}

/*/
 * Biserici::Contact
/*/

.biserici-contact {
    background: #F3F4F5;
    margin-bottom: 20px;
	padding: 20px 0;
}

.biserici-contact .container {
	display: flex;
	align-items: center;
	gap: 50px;
}

.biserici-contact .col img {
	width: 100%;
}

.biserici-contact .text p, .biserici-contact .text div {
	margin: 0 0 1em;
    color: #242424;
    font-size: 1.5rem;
	line-height: 1.5;
}

.biserici-contact .col {
	flex: 0 1 50%;
}

@media all and (max-width: 800px) {
    .biserici-contact .container {
        display: block;
    }
    .biserici-contact .container .col:first-child {
        margin-bottom: 0;
    }
}

#biserici-harta {
    width: 100%;
    aspect-ratio: 16 / 9;
    font-size: 1.2rem;
}

/*/
 * Biserici::Galerie
/*/

.biserici-galerie-marquee {
    overflow: hidden;
    position: relative;
    padding: 24px 0;
    background: linear-gradient(135deg, #f6f8fb 0%, #eef2f7 50%, #f6f8fb 100%);
    border-top: 1px solid rgba(0,0,0,.05);
    border-bottom: 1px solid rgba(0,0,0,.05);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    margin-bottom: 20px;
}

.biserici-galerie-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll 80s linear infinite;
}

.biserici-galerie-marquee:hover .biserici-galerie-marquee-track {
    animation-play-state: paused;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.biserici-galerie-marquee-item {
    flex: 0 0 auto;
    list-style: none;
    line-height: 0;
}

.biserici-galerie-marquee-item img {
    height: 220px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(30, 40, 60, .18);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    background: #fff;
    padding: 4px;
}

.biserici-galerie-marquee-item img:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 14px 32px rgba(30, 40, 60, .30);
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .biserici-galerie-marquee-track { animation: none; }
}

/*/
 * Biserici::Meteo
/*/

.weather-panel {
    width: 100%;
    background: #F3F4F5;
    padding: 16px 18px;
    font-family: 'Inter', Helvetica, sans-serif;
    box-sizing: border-box;
    font-size: 1.1rem;
}

.weather-header {
    margin-bottom: 12px;
    text-align: center;
}

.weather-header h2 {
    color: #1a365d;
    font-size: 1.4rem;
    margin: 0;
}

.forecast-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    margin-bottom: 8px;
    transition: background 0.2s ease;
}

.forecast-row:hover { background: #edf2f7; }
.forecast-row:last-child { margin-bottom: 0; }

.row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 70px;
}

.row-date {
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
    white-space: nowrap;
}

.row-date .day-name { display: block; }
.row-date .day-num  { display: block; font-size: 1.1rem; color: #718096; font-weight: 500; }

.weather-icon-wrapper img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.1));
}

.row-condition {
    flex: 1;
    color: #4a5568;
    font-weight: 500;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row-metrics {
    display: flex;
    gap: 10px;
    align-items: baseline;
    white-space: nowrap;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.metric .m-label {
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 0.9rem;
}

.metric .m-value { font-weight: 600; color: #1a202c; }

.temp-high { color: #dd6b20; }
.temp-low  { color: #3182ce; }

.weather-credit {
    margin-top: 10px;
    text-align: center;
    font-size: 1.1rem;
    color: #a0aec0;
}

.weather-credit a { color: #718096; }