:root {
--font-h1: clamp(44px, 8vw, 200px);         /* 44px -> 200px (было 10vw) */
  --font-h2: clamp(44px, 8vw, 200px);         /* 44px -> 200px (было 10vw) */
  --font-h3: clamp(22px, 3.6vw, 80px);        /* 22px -> 80px (было 4.5vw) */
  --font-h4: clamp(22px, 3.6vw, 80px);        /* 22px -> 80px (было 4.5vw) */
  --font-large: clamp(44px, 6vw, 99px);    /* 44px -> 103px (было 5.5vw) */
  --font-medium: clamp(22px, 3.6vw, 80px);    /* 22px -> 80px (было 4.5vw) */
  --font-64: clamp(22px, 2.8vw, 64px);        /* 22px -> 64px (было 3.5vw) */
  --font-body: clamp(16px, 1.6vw, 28px);      /* 16px -> 28px (было 2vw) */
  --font-small: clamp(14px, 1.44vw, 24px);    /* 14px -> 24px (было 1.8vw) */
  --font-smallest: clamp(12px, 0.96vw, 18px); /* 12px -> 18px (было 1.2vw) */
}
body {
    background: #042222;font-variant-numeric:lining-nums;
}

main#content.fullscreen section {
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant', serif;
}

#rom1 {
    position: relative;
    background: url(/rom/img/bg-top.png);
    display: flex;
    align-items: center;    
    justify-content: center; 
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;      
}

img.lion {
    max-width: 1422px;
    width: 100%;
}

.monogram-frame {
    position: relative;
    border: none;
    padding: clamp(3.5em, 5.9vw, 6em) clamp(36px, 5.9vw, 80px) !important;	
}

.monogram-frame::before {
    content: '';
    position: absolute;
    top: 0;    
   left: 10px;
    right: 10px;
    bottom: 0;
    border-style: solid;
    border-width: clamp(66px, 8vw, 120px) clamp(80px, 10vw, 150px);
    border-image-source: url(/rom/img/monogram-frame.png);
    border-image-slice: 50%;
    border-image-repeat: round;
    pointer-events: none;
    z-index: 1;
}

.monogram-frame > * {
    position: relative;
    z-index: 2;
}

.prew-text {
    font-size: var(--font-h3);
    font-family: 'Cormorant', serif;
    color: #F3E6D9;
    text-align: center;
    line-height: 1;
}

.prew-text-sub {
    color: #F3E6D9;
    font-size: var(--font-body);
    text-align: center;
}

.gizmo::after {
    content: '';
    display: block;
    width: 100%;
     margin: clamp(15px, 2vw, 60px) 0;
    background-image: url(/rom/img/gizmo.png);
    background-repeat: no-repeat;
    background-position: center;
    height: clamp(32px, 4vw, 65px);
	    background-size: contain;
}

h2 {
    color: #94978d;
    text-align: center;
    font-size: var(--font-h2);
    font-family: 'Cormorant', serif;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: clamp(20px, 5vw, 60px);
    margin-bottom: clamp(15px, 5vw, 60px);
}

.news {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 440px));
    justify-content: center;
}




.news article {
    border: 2px solid #F3E6D9;
    padding: 10px;           
    border-radius: 15px; 
    display: flex;	
flex-direction: column;
    justify-content: space-around;	
}

h2.entry-title {
    color: #F3E6D9;
    margin-top: 20px;
    margin-bottom: 20px;
}
.circle-entry-date-linck {
    width: 100%;
    max-width: 800px;
    margin-top: 33px !important;
}
.entry-date {
    display: block;
    color: #F3E6D9;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: var(--font-small);
    font-family: 'Cormorant', serif;
    text-transform: uppercase;
    text-align: center;
	box-sizing: border-box;

}

.circle-entry-date-linck .entry-date {
    
    font-size: var(--font-64);
		    border: 1px solid #F3E6D9;
    padding: 20px 30px;
    border-radius: 10px;
	    display: flex;
    justify-content: space-between;
	    align-items: center;
   
}

article a.entry-link, .circle-entry-link {
    color: #F3E6D9 !important;
    text-align: center;
    display: block;
    border: 1px solid #F3E6D9;
    padding: 10px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: var(--font-smallest);
    font-weight: 400;
    width: 40%;
    /*max-width: 380px;*/
    margin: 0 auto;
}

.circle-entry-link {

    margin: 0 ;
	    font-size: var(--font-body);
}

img.wp-post-image {
    width: 100%;
}

main#content section#rom3, .prew-text, .prew-text-sub {
    max-width: 1360px;
    margin: 0 auto;
}

section#rom4 {
    background: url(/rom/img/bg-2.png);
    background-size: contain;
    background-position: top clamp(9rem, 12vw, 15rem) center;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
}

main#content section#rom4 {
    padding: 0!important;
}

.circle-bg {
    position: relative;
    height: auto;
    background: #042222;
    padding: 80px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 50rem;
    border-radius: 50% / 100% 100% 0 0;
	    border-top: 1px solid #94978d;
}



h3.circle-entry-title {
    color: #F3E6D9;
    font-size: var(--font-h3);
    max-width: clamp(260px, 59vw, 1000px);
    margin: 0 auto;
    margin-top: clamp(40px, 8vw, 100px);
}

.circle-entry-text {
    color: #F3E6D9;
    font-size: var(--font-body);
    max-width: 1360px;
	    max-width: clamp(500px, 65vw, 1000px);
}

.flip::after {
    transform: scaleY(-1);
}

.circle-entry-date * {
    color: #F3E6D9;
    font-size: var(--font-64);
}

.circle-entry-date .entry-date {
    display: inline-block;
    font-size: var(--font-64);
    text-transform: lowercase;
    margin-right: 1rem;  
}

.circle-entry-date .entry-date:last-child {
    margin-right: 0;
}

#rom5.menu-block {
    display: grid;
    grid-template-columns: 2fr 1fr;  
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    align-items: stretch;
}

.menu-img-block {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid #F3E6D9;
    padding: 10px;
    border-radius: 15px!important;
	box-sizing: border-box;
}

.menu-text-block h2 {
    text-align: left;
    margin: 0;
}

.menu-text {
    font-size: var(--font-body);
    color: #F3E6D9;
}

.menu-text-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
    height: 100%; 
}

.menu-text-block h2 {
    margin-top: 0;
    margin-bottom: auto; 
}

.menu-text {
    margin-top: auto; 
    margin-bottom: 0;
}

i {
    font-family: 'Cormorant', serif;
}

#rom6.playing-cards-block {
    display: grid;
    grid-template-columns: auto 1fr auto;  
    gap: 40px;
    align-items: center;  
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    align-items: stretch;
}

.card-block {
    max-width: 380px;
    width: 100%;
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-direction: column;
}

.playing-cards-text {
    flex: 1;  
    padding: 0 20px;
}

img.card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid #F3E6D9;
    padding: 5px;
    border-radius: 15px !important;
}

.playing-cards-text h3 {
    font-size: var(--font-large);
    color: #94978d;
    text-align: center;
    max-width: 790px;
    margin: 0 auto;
    text-transform: uppercase;
}
 #rom3-1 h3 {
    font-size: var(--font-h3);
    color: #94978d;
    text-align: center;
    max-width: 790px;
    margin: 0 auto;
    text-transform: uppercase;
}


.playing-cards-text h4 {
    font-size: var(--font-medium);
    color: #F3E6D9;
    text-align: center;
}

.playing-cards-text p {
    font-size: var(--font-body);
    color: #F3E6D9;
    text-align: center;
}
.page #content #rom3-1 p {
    font-size: var(--font-body);
    color: #F3E6D9;
    text-align: center;
	margin-top: clamp(15px, 5vw, 60px);
    margin-bottom: clamp(15px, 5vw, 60px);
}

footer#footer {
    height: 0px;
}

section {
   margin-top: clamp(3rem, 5vw, 17rem) !important;
    margin-bottom: clamp(3rem, 5vw, 17rem) !important;
}
section:first-of-type {
    margin-top: 0!important;
}

section:last-of-type {
    margin-bottom: 0!important;
}

@media (max-width: 1200px) {
    .circle-bg {
        padding: 60px 18px;
        margin-top: 34rem;
        border-radius: 50% / 60% 60% 0 0;
    }
	#rom5.menu-block {
    grid-template-columns: 1fr;
	}
	#rom5.menu-block .menu-text-block h2, .menu-text{text-align:center}
  #rom6.playing-cards-block {
        grid-template-columns: 1fr;  
        gap: 10px;
    }
    
    .card-block:first-child {
        order: 2;  
    }
    
    .playing-cards-text {
        order: 1; 
    }
    
    .card-block:last-child {
        order: 3;  
    }
    
  .card-block {
        max-width: 100%;  
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;  
    }
    
    .card-img {
        max-width: 220px;  
        width: 100%;

    }
 h3 {
    margin: 25px 0 0 0;
}
}

@media (max-width: 768px) {
    .circle-bg {
        padding: 40px 15px;
        margin-top: 13rem;
        border-radius: 50% / 25% 25% 0 0;
    }
	section {
   margin-top: 3rem;
    margin-bottom:3rem;
}
.circle-entry-date-linck .entry-date {

    flex-direction: column;
}
.circle-entry-date-linck {
   
    max-width: 266px;

}
	.card-block {
  
        gap: 5px;
flex-direction: row;
    }
	.card-img {
        max-width: 130px;


    }
	.news {
    grid-template-columns: 1fr ;
}
 h3 {
    margin: 0;
}
h2 {
	margin-top: 20px;
        margin-bottom: 15px;
    }
section#rom4 {
        background-position: top 5rem center;
    }
}