/* ==========================================================================
   Raiganj University - About Us, Vice-Chancellor's desk, Vision/Mission
   File: assets/css/06-about-vision.css
   ======================================================================= */

/* Two-col feature */
.feature{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:stretch; }
.feature .ph{
  aspect-ratio:4/3; background:linear-gradient(135deg, var(--paper), var(--gold-soft));
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--ink-soft); letter-spacing:.08em;
}
/* Separate paragraph colours for About Us and VC Desk */
.about-panel > p{
  color:#5B4F42;
  line-height:1.7;
  margin-top:16px;
}


.checklist{ list-style:none; padding:0; margin:20px 0 0; }
.checklist li{ padding:8px 0 8px 26px; position:relative; font-size:14.5px; border-top:1px solid var(--line); }
.checklist li:before{ content:"\2014"; position:absolute; left:0; color:var(--gold); }

/* Shared CTA button used inside About panel & VC card */
.btn-more{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 20px; font-size:13.5px; font-weight:600;
  border:1px solid var(--maroon); border-radius:var(--radius);
  background:var(--maroon); color:#fff; width:fit-content;
}
.btn-more:hover{ background:var(--maroon-dark); }

/* About Us - bordered panel with background texture */
.about-panel {
    border: 1px solid var(--line);
    /* border-top: 3px solid var(--maroon); */
    background-color: var(--paper);
    background-image: radial-gradient(rgba(122, 44, 34, 0.09) 1px, transparent 1px), radial-gradient(rgba(122, 44, 34, 0.06) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px;
    background-position: 0 0, 10px 10px;
    padding: 36px 34px;
    position: relative;
    display: flex;
    flex-direction: column;
    /* border-radius: 20px; */
}

.about-panel .about-cta{ margin-top:auto; padding-top:24px; }

/* Vice-Chancellor profile card */
.vc-card {
    background: #f4eee1;
    color: #5B4F42;
    padding: 36px 32px;
    position: relative;
    /* border-top: 3px solid var(--gold); */
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    order: 1;
}

.vc-card .btn-more{
  background:var(--gold); color:var(--maroon-dark); border-color:var(--gold); margin-top:auto;
}
.vc-card .btn-more:hover{ background:var(--gold-soft); }
.vc-card .eyebrow{ color:var(--gold-soft); }
.vc-photo{
  width:152px; height:152px; border-radius:50%;
  background:var(--maroon-dark);
  border:3px solid var(--gold-soft);
  box-shadow:0 14px 30px rgba(0,0,0,0.35), 0 0 0 6px rgba(200,155,60,0.12);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 22px;
}
.vc-photo img{
  width:100%; height:100%; object-fit:cover; object-position:top center;
  display:block;
}
.vc-card h3{ font-size:22px;  margin-top:14px; align-self:stretch; }
.vc-card .vc-title{
  font-family:'IBM Plex Mono', monospace; font-size:14px; letter-spacing:.08em; text-transform:uppercase;
  color:#9f9211; margin-top:4px; align-self:stretch;
}
.vc-quote{
  font-family:'Fraunces', serif; font-style:italic; font-weight:600;
  font-size:17.5px; line-height:1.55;
  color:#FFFFFF; margin:18px 0 6px; padding:2px 0 2px 18px;
  border-left:3px solid var(--gold);
  align-self:stretch; text-align:left; opacity:1;
}
.vc-history{
  font-size:14pt; font-weight:500; line-height:1.75; color:#FFFFFF;
  margin:14px 0 22px; text-align:left; align-self:stretch; opacity:1;
}
.vc-card .link-more{ color:var(--gold-soft); border-bottom-color:var(--gold-soft); }

/* Vision & Mission */
.vm-section{
  background:var(--paper);
  background-image:
    radial-gradient(rgba(122,44,34,0.07) 1px, transparent 1px),
    radial-gradient(rgba(122,44,34,0.05) 1px, transparent 1px);
  background-size:22px 22px, 22px 22px;
  background-position:0 0, 11px 11px;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
/*  padding:72px 24px 64px;*/
	padding:52px 14px 54px;
}
.vm-head{ max-width:100%; margin:0 auto 40px; text-align:center; }
.vm-head h2{ font-size:clamp(28px,3.4vw,38px); color:var(--maroon-dark); margin-top:10px; }
.vm-grid{
  max-width:100%; margin:0 auto;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:stretch; gap:1px; padding: 0px 30px;
}
.vm-col{
  padding:46px 42px; position:relative; display:flex; flex-direction:column;
  box-shadow:0 18px 40px rgba(20,10,8,0.10);
}
.vm-col:first-child{ border-radius:14px 0 0 14px; }
.vm-col:last-child{ border-radius:0 14px 14px 0; }
.vm-col-maroon{
  background:linear-gradient(160deg, var(--maroon), var(--maroon-dark));
  border-top:4px solid var(--gold);
}
.vm-col-maroon .eyebrow{ color:var(--gold-soft); }
.vm-col-maroon h3{ color:#fff; }
.vm-col-maroon p{ color:#F3E3E7; }
.vm-col-light{
  background:linear-gradient(160deg, #FBF3DE, #F0DBA4);
  border:1px solid rgba(200,155,60,0.4); border-top:4px solid var(--maroon);
}
.vm-col-light .eyebrow{ color:var(--maroon); }
.vm-col-light h3{ color:var(--maroon-dark); }
.vm-col-light p{ color:#5B4520; }
.vm-icon{
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.vm-col-maroon .vm-icon{ background:rgba(255,255,255,0.14); color:var(--gold-soft); }
.vm-col-light .vm-icon{ background:rgba(110,20,35,0.10); color:var(--maroon); }
.vm-icon svg{ width:28px; height:28px; }
.vm-col .eyebrow{ display:block; margin-bottom:8px; }
.vm-col h3{ font-size:27px; margin-bottom:16px; }
.vm-col p{ line-height:1.75; font-size:14pt; }
.vm-divider{
  display:flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:50%;
  background:var(--gold); color:#fff;
  box-shadow:0 10px 26px rgba(200,155,60,0.45), 0 0 0 6px var(--paper);
  align-self:center; margin:0 -32px; position:relative; z-index:2;
  flex-shrink:0;
}
.vm-divider svg{ width:28px; height:28px; }
.vm-readmore-wrap{ display:flex; justify-content:center; padding:36px 24px 0; }
@media (max-width:900px){
  .vm-grid{ grid-template-columns:1fr; }
  .vm-col:first-child{ border-radius:14px 14px 0 0; }
  .vm-col:last-child{ border-radius:0 0 14px 14px; }
  .vm-divider{ margin:-22px auto; }
  .vm-col{ padding:38px 26px; }
}

/* =========================================================
   Mobile Responsive - About Us + Vice-Chancellor
   ========================================================= */

@media (max-width: 900px) {

    /* Stack the two cards vertically */
    .feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Vice-Chancellor FIRST */
    .vc-card {
        order: 1;
    }

    /* About Us / Department SECOND */
    .about-panel {
        order: 2;
    }

    /* About panel */
    .about-panel {
        padding: 30px 24px;
    }

    /* VC card */
    .vc-card {
        padding: 30px 24px;
    }

    .vc-photo {
        width: 135px;
        height: 135px;
        margin-bottom: 18px;
    }

    .vc-card h3 {
        font-size: 21px;
    }

    .vc-quote {
        font-size: 16px;
        line-height: 1.55;
    }

    .vc-history {
        font-size: 14px;
        line-height: 1.7;
    }
}


/* =========================================================
   Small Mobile Devices
   ========================================================= */

@media (max-width: 600px) {

    .feature {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-panel,
    .vc-card {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .vc-photo {
        width: 125px;
        height: 125px;
    }

    .about-panel h2 {
        font-size: 25px !important;
        line-height: 1.25;
    }

    .about-panel > p {
        font-size: 14px;
        line-height: 1.7;
    }

    .checklist li {
        font-size: 14px;
        line-height: 1.5;
    }

    .vc-card h3 {
        font-size: 20px;
    }

    .vc-card .vc-title {
        font-size: 12px;
    }

    .vc-quote {
        font-size: 15.5px;
        line-height: 1.6;
    }

    .vc-history {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .btn-more {
        font-size: 13px;
        padding: 10px 17px;
    }
}