/* ============================================================
   S.N. Sen B.V. P.G. College — Custom Theme Stylesheet
   Loaded after the original style.css — overrides where needed.
   ============================================================ */

.blink {
    animation: blinker 1.5s linear infinite;
    color: red;
    font-family: sans-serif;
}
@keyframes blinker {
    50% { opacity: 0; }
}

.modal-header {
    border-bottom-color: #000;
    background: #ea6645 !important;
    color: #fff !important;
}
@media (max-width: 1199px) {
    .navigation-wrapper .primary-navigation-wrapper header .navbar-brand img {
        left: 0px;
    }
}

/* ===== DPG-style header ===== */
.sen-header { font-family: 'Montserrat', Arial, sans-serif; box-sizing: border-box; }
.sen-header *, .sen-header *::before, .sen-header *::after { box-sizing: border-box; }
.sen-header img { max-width: 100%; height: auto; }

/* Top utility bar (original site navy) */
.sen-topbar {
    background: #012951;
    border-bottom: 1px solid #021a36;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}
.sen-topbar .sen-row {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: nowrap; gap: 10px;
}
.sen-topbar .sen-right { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; flex: 1 1 auto; justify-content: flex-end; }
.sen-topbar .sen-phone { color: #fff; font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
.sen-topbar .sen-phone a { color: #fff; text-decoration: none; }
.sen-topbar .sen-phone i { color: #ffd54f; margin-right: 6px; }
.sen-topbar ul.sen-toplinks {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: nowrap; align-items: center; white-space: nowrap;
}
.sen-topbar ul.sen-toplinks li { margin: 0; padding: 0; }
.sen-topbar ul.sen-toplinks li a {
    color: #fff; font-weight: 600; text-decoration: none;
    padding: 4px 10px; border-right: 1px solid rgba(255,255,255,0.18);
    display: inline-block; line-height: 1;
}
.sen-topbar ul.sen-toplinks li:last-child a { border-right: 0; }
.sen-topbar ul.sen-toplinks li a:hover,
.sen-topbar ul.sen-toplinks li a:focus { color: #ea6645; }
.sen-topbar .sen-social { display: inline-flex; gap: 6px; flex-wrap: nowrap; }
.sen-topbar .sen-social a {
    width: 30px; height: 30px; border-radius: 4px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; font-size: 15px; flex: 0 0 auto;
}
.sen-topbar .sen-social .sen-wa { background: #25d366; }
.sen-topbar .sen-social .sen-fb { background: #1877f2; }
.sen-topbar .sen-social .sen-ig { background: #e1306c; }
.sen-topbar .sen-social .sen-yt { background: #ff0000; }
.sen-topbar .sen-social .sen-search { background: #0a4a8f; }

/* Brand row (light theme like DPG) */
.sen-brandbar {
    background: #ffffff;
    color: #1a1a1a;
    padding: 16px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}
.sen-brandbar .sen-row {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    justify-content: space-between;
}
.sen-brand-left {
    display: flex; align-items: center; gap: 20px;
    flex: 0 1 auto; min-width: 0;
}
.sen-brandbar .sen-logo { flex: 0 0 auto; }
.sen-brandbar .sen-logo img { height: 80px; width: auto; max-height: 80px; }
.sen-brandbar .sen-title {
    flex: 0 1 auto; min-width: 0; text-align: left;
}
.sen-brandbar .sen-title h1 {
    margin: 0; color: #012951;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 24px; font-weight: 700; letter-spacing: 0.3px; line-height: 1.1;
    white-space: nowrap;
}
.sen-naac-line {
    display: flex; align-items: center; justify-content: flex-start; gap: 10px;
    margin: 6px 0 0; color: #d68910;
    font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}
.sen-naac-line::before,
.sen-naac-line::after {
    content: ''; flex: 0 0 60px;
    height: 2px; background: #d68910;
}
.sen-naac-line::before { flex: 0 0 30px; }

/* Contact blocks */
.sen-contact {
    display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
}
.sen-contact-icon {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid #ea6645; color: #ea6645;
    background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; flex: 0 0 auto;
}
.sen-contact-text { line-height: 1.25; }
.sen-contact-text .label {
    display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #012951;
}
.sen-contact-text .val,
.sen-contact-text .val a {
    display: block; font-size: 13px; font-weight: 600; color: #333; text-decoration: none;
    white-space: nowrap;
}
.sen-contact-text .val a:hover { color: #ea6645; }

/* News strip (above About) */
.sen-news-strip {
    background: #f4f6fa;
    border: 1px solid #e3e6ec;
    border-left: 4px solid #ea6645;
    border-radius: 4px;
    max-width: 1170px;
    margin: 18px auto 0;
    padding: 0;
}
.sen-news-strip .inner { display: flex; align-items: center; gap: 14px; padding: 10px 18px; }
.sen-news-strip .sen-news-label {
    flex: 0 0 auto;
    background: #012951; color: #fff;
    padding: 6px 14px; border-radius: 3px;
    font-weight: 800; font-size: 12px; letter-spacing: 1px;
    white-space: nowrap;
}
.sen-news-strip .sen-news-label i { margin-right: 6px; color: #ffd54f; }
.sen-news-strip marquee {
    flex: 1 1 auto; min-width: 0;
    font-size: 14px; color: #333; font-weight: 600;
}
.sen-news-strip marquee a { color: #012951; text-decoration: none; }
.sen-news-strip marquee a:hover { color: #ea6645; }
@media (max-width: 480px) {
    .sen-news-strip .container { gap: 10px; }
    .sen-news-strip .sen-news-label { padding: 4px 10px; font-size: 11px; }
    .sen-news-strip marquee { font-size: 13px; }
}

/* Accreditation badges (middle) */
.sen-mid-badges { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.sen-acc-badge {
    border: 1px solid #d8d8d8; padding: 6px 12px; border-radius: 6px;
    text-align: center; background: #fff; min-width: 90px; line-height: 1.15;
}
.sen-acc-badge .top { font-size: 18px; font-weight: 800; color: #012951; }
.sen-acc-badge .bot { font-size: 11px; font-weight: 700; color: #555; letter-spacing: 0.5px; }
.sen-acc-badge.accent .top { color: #d62828; }

/* Admission button */
.sen-admission {
    background: #ea6645; color: #fff; text-align: center;
    padding: 10px 16px; border-radius: 4px;
    text-decoration: none; line-height: 1.1;
    flex: 0 0 auto;
    box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.sen-admission:hover, .sen-admission:focus {
    background: #d6532f; color: #fff; text-decoration: none;
}
.sen-admission .label { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; display: block; }
.sen-admission .year { font-size: 18px; font-weight: 800; display: block; margin-top: 2px; }

/* Main blue nav */
.sen-mainnav {
    background: #012951;
    position: relative;
    z-index: 10;
    width: 100%;
    display: block;
    clear: both;
    border: 0;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}
.sen-mainnav > .container { width: 100%; max-width: 100%; padding: 0; }
.sen-mainnav .sen-nav-toggle {
    display: none; background: transparent; border: 0; color: #fff;
    padding: 12px 14px; font-size: 18px; cursor: pointer; width: 100%; text-align: left;
}
.sen-mainnav .sen-nav-toggle i { margin-right: 8px; }
.sen-mainnav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: stretch;
}
.sen-mainnav ul li { flex: 0 0 auto; }
.sen-mainnav ul li a {
    display: block; color: #fff; font-weight: 700; text-decoration: none;
    padding: 14px 22px; font-size: 15px; letter-spacing: 0.3px;
    white-space: nowrap;
}
.sen-mainnav ul li a:hover, .sen-mainnav ul li a:focus { background: #021a36; color: #ea6645; }

/* Dropdown submenus */
.sen-mainnav ul li { position: relative; }
.sen-mainnav ul li.has-children > a::after {
    content: '\25BE';
    font-size: 10px; margin-left: 6px; vertical-align: 1px;
}
.sen-mainnav ul ul {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff;
    min-width: 240px;
    flex-direction: column;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    padding: 6px 0;
    z-index: 1001;
    border-top: 3px solid #ea6645;
}
.sen-mainnav ul li:hover > ul,
.sen-mainnav ul li.is-open > ul { display: flex; }
.sen-mainnav ul ul li { width: 100%; flex: 0 0 auto; text-align: left; }
.sen-mainnav ul ul li a {
    color: #333; padding: 10px 18px;
    font-size: 14px; font-weight: 600; letter-spacing: 0;
    white-space: normal;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}
.sen-mainnav ul ul li:last-child a { border-bottom: 0; }
.sen-mainnav ul ul li a:hover, .sen-mainnav ul ul li a:focus {
    background: #f4f6fa; color: #ea6645;
}
.sen-mainnav ul ul li.has-children > a::after {
    content: '\25B8';
    font-size: 10px; margin-left: 8px;
}
.sen-mainnav ul ul ul { top: -9px; left: 100%; }

@media (max-width: 1199px) {
    .sen-topbar { font-size: 13px; }
    .sen-topbar ul.sen-toplinks li a { padding: 4px 7px; }
    .sen-mainnav ul li a { padding: 12px 13px; font-size: 14px; }
    .sen-brandbar .sen-title h1 { font-size: 22px; white-space: normal; }
}

@media (max-width: 991px) {
    .sen-topbar .sen-row { flex-wrap: wrap; justify-content: center; }
    .sen-topbar .sen-right { flex-wrap: wrap; justify-content: center; }
    .sen-topbar ul.sen-toplinks { flex-wrap: wrap; justify-content: center; white-space: normal; }
    .sen-brandbar .sen-row { gap: 14px; justify-content: center; text-align: center; }
    .sen-brandbar .sen-title { flex: 1 1 100%; max-width: none; text-align: center; }
    .sen-brandbar .sen-title h1 { font-size: 24px; }
    .sen-brandbar .sen-title p { text-align: center; }
    .sen-naac-line { justify-content: center; }
    .sen-mainnav ul li a { padding: 12px 14px; font-size: 14px; }
}

@media (max-width: 767px) {
    .sen-topbar { font-size: 12px; padding: 6px 0; }
    .sen-topbar .sen-row { justify-content: center; text-align: center; }
    .sen-topbar .sen-right { justify-content: center; width: 100%; flex-wrap: wrap; }
    .sen-topbar ul.sen-toplinks {
        display: flex; flex-wrap: wrap; justify-content: center;
        white-space: normal;
        margin-bottom: 6px; width: 100%;
    }
    .sen-topbar ul.sen-toplinks li a {
        padding: 4px 8px;
        border-right: 1px solid rgba(255,255,255,0.15);
        line-height: 1.6;
    }
    .sen-brandbar { padding: 14px 0; }
    .sen-brandbar .sen-title h1 { font-size: 20px; letter-spacing: 0.2px; }
    .sen-brandbar .sen-title p { font-size: 12px; }
    .sen-brandbar .sen-logo img { height: 64px; }
    .sen-contact { gap: 8px; }
    .sen-contact-icon { width: 34px; height: 34px; font-size: 14px; }
    .sen-contact-text .label { font-size: 11px; }
    .sen-contact-text .val { font-size: 12px; }
    .sen-admission { padding: 8px 14px; }
    .sen-admission .year { font-size: 16px; }

    .sen-mainnav .sen-nav-toggle { display: block; }
    .sen-mainnav > .container > ul { display: none; flex-direction: column; background: #012951; }
    .sen-mainnav.is-open > .container > ul { display: flex; }
    .sen-mainnav ul li { width: 100%; }
    .sen-mainnav ul li a { padding: 12px 16px; border-top: 1px solid #1a5ba0; font-size: 15px; }

    /* Inline submenus on mobile */
    .sen-mainnav ul ul {
        position: static; box-shadow: none; padding: 0;
        border-top: 0; min-width: 0; background: #021a36;
    }
    .sen-mainnav ul li.is-open > ul { display: flex; }
    .sen-mainnav ul ul li a {
        color: #fff; padding: 10px 28px; font-size: 14px;
        border-top: 1px solid #1a5ba0; border-bottom: 0;
    }
    .sen-mainnav ul ul li a:hover, .sen-mainnav ul ul li a:focus {
        background: #021a36; color: #ea6645;
    }
    .sen-mainnav ul ul ul li a { padding-left: 44px; }
    .sen-mainnav ul li.has-children > a::after {
        float: right; content: '\002B';
        margin-left: 0;
    }
    .sen-mainnav ul li.is-open > a::after { content: '\2212'; }
}

@media (max-width: 480px) {
    .sen-brandbar .sen-row { gap: 10px; }
    .sen-brandbar .sen-title h1 { font-size: 18px; }
    .sen-brandbar .sen-logo img { height: 56px; }
    .sen-naac-line { font-size: 11px; }
    .sen-established { font-size: 12px; }
    .sen-topbar .sen-social a { width: 28px; height: 28px; font-size: 13px; }
}

/* ============================================================
   SITE-WIDE RESPONSIVE FIXES
   ============================================================ */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
.sen-header .sen-logo img { width: auto; }
iframe { max-width: 100%; border: 0; }

/* Modal */
#myModal .modal-dialog { max-width: 95%; margin: 20px auto; }
#myModal .modal-body iframe { width: 100% !important; height: 60vh !important; }
#myModal .modal-body img { max-width: 100%; height: auto !important; width: auto !important; }

/* Slider — match original site layout */
#homepage-carousel { position: relative; overflow-x: hidden; }
#homepage-carousel .container { position: relative; }
#homepage-carousel .image-carousel-slide img { max-width: 100%; height: auto; display: block; }
#homepage-carousel .slider-content h1 { text-align: center; }

/* Owl-carousel fallback: if JS hasn't init'd the carousel, show only first slide */
.image-carousel:not(.owl-loaded) .image-carousel-slide ~ .image-carousel-slide { display: none; }

/* Original site's orange decorative block on the LEFT of the slider */
#homepage-carousel .container::before {
    content: '';
    position: absolute;
    top: 50px;
    right: 100%;
    width: 100vw;
    height: 215px;
    background-color: #ea6645;
    background-image: url("../img/background-city.png");
    background-position: right 0;
    background-repeat: repeat-x;
    z-index: 0;
    pointer-events: none;
}

/* ===== Slider responsive (tablet & mobile) ===== */
@media (max-width: 991px) {
    #homepage-carousel .container::before { display: none; }
    #homepage-carousel { padding: 20px 0; }
    #homepage-carousel .col-md-6,
    #homepage-carousel .col-sm-7,
    #homepage-carousel .col-sm-5 {
        width: 100% !important; float: none !important; padding: 10px 15px;
    }
    #homepage-carousel .image-carousel { width: 100% !important; max-width: 100%; }
    #homepage-carousel .image-carousel-slide { width: 100% !important; }
    #homepage-carousel .image-carousel-slide img { width: 100% !important; height: auto !important; }
    #homepage-carousel .slider-content { padding: 12px 8px; }
    #homepage-carousel .slider-content h1 {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin: 8px 0 !important;
        font-weight: 500 !important;
    }
}
@media (max-width: 600px) {
    #homepage-carousel .slider-content h1 { font-size: 14px !important; }
}
@media (max-width: 380px) {
    #homepage-carousel .slider-content h1 { font-size: 13px !important; }
}

/* News strip — stack on small screens so marquee doesn't overflow */
@media (max-width: 600px) {
    .sen-news-strip .inner {
        flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px;
    }
    .sen-news-strip .sen-news-label { align-self: flex-start; }
}

/* SEN Group of Institutions block — col-md-31 is a custom 4-up class. */
.col-md-31 { padding: 0 10px; box-sizing: border-box; }
@media (min-width: 992px) {
    .col-md-31 { width: 25%; float: left; }
}
@media (max-width: 991px) and (min-width: 601px) {
    .col-md-31 { width: 50%; float: left; }
}
@media (max-width: 600px) {
    .col-md-31 { width: 100%; float: none; }
}
.connect-block .row::after { content: ''; display: table; clear: both; }

/* Gallery grid — responsive columns */
.gallery-list { list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-list li {
    flex: 1 1 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    margin: 0;
}
.gallery-list li a, .gallery-list li img { display: block; }
.gallery-list li img {
    width: 100% !important; height: auto !important;
    aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px;
}
@media (max-width: 767px) {
    .gallery-list li { flex: 1 1 calc(50% - 10px); max-width: calc(50% - 10px); }
}
@media (max-width: 380px) {
    .gallery-list li { flex: 1 1 100%; max-width: 100%; }
}

/* Media coverage / testimonial / news marquees */
section#our-professors marquee,
section#testimonials marquee,
.events.small marquee,
.professors marquee { max-width: 100%; }
section#our-professors marquee img { max-height: 240px; height: auto; }
@media (max-width: 600px) {
    section#our-professors .element-framed { height: auto !important; padding: 12px !important; }
    section#our-professors marquee img { max-height: 180px; }
}

/* About / Events / News column section */
@media (max-width: 991px) {
    #about, #events-small { margin-bottom: 18px; }
}
section .section-content img.add-margin { max-width: 100%; height: auto; }

/* Author/testimonial */
.author-carousel .author-picture img { max-width: 100px; height: auto; }
@media (max-width: 600px) {
    .author-carousel blockquote { padding: 0 10px; }
}

/* Footer */
#page-footer .copyright,
#page-footer .copyright.pull-right { float: none !important; }
@media (max-width: 767px) {
    #page-footer .footer-inner { text-align: center; }
    #page-footer .copyright { display: block; margin: 6px 0; }
}

/* Generic block padding */
@media (max-width: 600px) {
    .block { padding: 20px 0; }
    .block .container { padding-left: 12px; padding-right: 12px; }
}

/* Marquees never push content past viewport */
marquee { max-width: 100%; }

/* Bootstrap container fix on very narrow screens */
@media (max-width: 360px) {
    .container { padding-left: 10px !important; padding-right: 10px !important; }
}

/* ============================================================
   FINAL MOBILE POLISH
   ============================================================ */

/* Justify text on phones reads badly — force left-align everywhere */
@media (max-width: 767px) {
    [style*="text-align:justify"],
    [style*="text-align: justify"] { text-align: left !important; }
}

/* About column text */
section#about p { text-align: left; }
section#about .section-content img.add-margin {
    max-width: 100%; height: auto; margin: 0 auto 12px;
}
@media (max-width: 991px) {
    section#about, section#events-small {
        margin-bottom: 24px; padding: 0 8px;
    }
}

/* Events column */
section.events.small article.event { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
section.events.small article.event aside { flex: 1 1 auto; min-width: 0; }
section.events.small article.event aside header a { word-wrap: break-word; }

/* News & Notices column (third column) */
.professors .element-framed {
    word-wrap: break-word;
}
.professors .element-framed marquee {
    display: block; max-width: 100%;
    height: 130px;
}
@media (max-width: 991px) {
    .professors .element-framed { padding: 10px !important; }
    .professors .element-framed a[style*="font-size:18px"] { font-size: 16px !important; }
}

/* Connect / Alumni / News buttons */
.professor-thumbnail.bg { margin-bottom: 10px; }
.professor-thumbnail.bg h3 { font-size: 16px; word-wrap: break-word; }
.professor-thumbnail.bg h3 a { display: block; padding: 12px; line-height: 1.3; }
@media (max-width: 480px) {
    .professor-thumbnail.bg h3 { font-size: 14px; }
}

/* Testimonial / "8 New Courses" red banner */
section#testimonials > .block { padding-top: 16px; padding-bottom: 16px; }
section#testimonials [style*="background-color:#f5f5f5"] {
    padding: 10px; margin: 0 !important;
}
section#testimonials h6 {
    text-align: left !important;
    font-size: 14px; line-height: 1.5;
    word-wrap: break-word;
}
section#testimonials h6 img {
    height: 36px !important; width: 36px !important;
    vertical-align: middle; margin-right: 6px;
}
@media (max-width: 600px) {
    section#testimonials h6 { font-size: 13px; }
    section#testimonials h6 img { height: 28px !important; width: 28px !important; }
}

/* Author/quote block */
.author-carousel .author blockquote {
    display: flex; align-items: flex-start; gap: 14px;
    flex-wrap: wrap; padding: 0 10px;
}
.author-carousel .author-picture { flex: 0 0 auto; }
.author-carousel .paragraph-wrapper { flex: 1 1 240px; min-width: 0; }
.author-carousel .paragraph-wrapper header[style*="text-align:justify"] {
    text-align: left !important;
    font-size: 14px; line-height: 1.6;
}
@media (max-width: 600px) {
    .author-carousel .author blockquote { gap: 10px; }
    .author-carousel .author-picture img { max-width: 70px; }
    .author-carousel .paragraph-wrapper header { font-size: 13px !important; }
}

/* SEN Group section — dark navy block */
.block-dark-background { padding: 18px 12px; }
.block-dark-background section header h2 { font-size: 22px; line-height: 1.3; }
.block-dark-background article.social-post {
    padding: 12px; margin-bottom: 12px;
    word-wrap: break-word;
}
.block-dark-background article.social-post header { font-size: 15px; }
.block-dark-background article.social-post p { font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) {
    .block-dark-background { padding: 14px 8px; }
    .block-dark-background section header h2 { font-size: 18px; }
    .block-dark-background .nav.nav-pills { display: none; }
}

/* Media coverage marquee */
section#our-professors .section-content .element-framed {
    height: auto !important; min-height: 200px;
    padding: 12px !important;
    text-align: center;
}
section#our-professors marquee img {
    max-height: 220px; width: auto !important; height: auto;
}
@media (max-width: 600px) {
    section#our-professors .element-framed { min-height: 160px; }
    section#our-professors marquee img { max-height: 150px; }
}

/* Footer polish */
#page-footer .footer-inner { padding: 14px 12px; }
#page-footer .copyright a { display: inline-block; padding: 2px 4px; }
@media (max-width: 600px) {
    #page-footer .copyright { font-size: 12px; line-height: 1.7; }
    #page-footer .copyright a { padding: 2px 6px; }
}

/* Modal mobile */
@media (max-width: 600px) {
    #myModal .modal-dialog { margin: 10px auto; max-width: 96%; }
    #myModal .modal-body { padding: 12px; }
    #myModal .modal-body iframe { height: 50vh !important; }
    #myModal .modal-body img { max-width: 60% !important; }
}

/* Slider arrows / chevrons that the carousel might inject */
#homepage-carousel .owl-buttons div,
#homepage-carousel .image-carousel .owl-prev,
#homepage-carousel .image-carousel .owl-next {
    font-size: 14px;
}

/* Outer page wrapper safety */
.wrapper { overflow-x: hidden; }
.block .container { word-wrap: break-word; }

/* Headings inside content blocks — prevent overflow */
h1, h2, h3, h4, h5, h6, p { word-wrap: break-word; }

/* Read more buttons */
.read-more, .btn-framed {
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
}
